Redboot (SBC-i.MX51)

Aus BECOM Systems Support
Version vom 31. Oktober 2023, 09:03 Uhr von Peter (Diskussion | Beiträge) (1 Version importiert)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

Building Redboot with OpenEmbedded

There is a recipe for the RedBoot boot loader in the OpenEmbedded package database. Run

bitbake sbc-imx51-redboot

to build RedBoot. The files redboot.bin and redboot.bin_nopadding are placed into

btmxc/tmp/deploy/glibc/images/sbc-imx51

after building.

Note that the SBC-i.MX51 images build RedBoot automatically.

Building Redboot without OpenEmbedded

In OpenEmbedded: Setting up the Bluetechnix OE Framework you should have cloned our Redboot repository by now. We will now build a bootloader.

  • Go to your development environment, then to your bootloader repository (in this example for the SBC-i.MX51)
cd ~/oe/redboot_i.fly
  • Run the set-paths-for-building script
. ./set-paths-for-building
  • Enter the build directory, then execute the build-redboot.sh script
cd build
./build-redboot.sh
  • This will build a lot of files, yet only two of them are of interest to us:
    • redboot.bin_nopadding - The bootloader being stripped of the padding at the beginning
    • redboot.bin - The bootloader containing the padding

Further documentation

We have summarized a short reference for Redboot.

The GIT repository also contains the Redboot documentation as it is provided by Freescale: /doc/redboot_mx51.pdf

Official website: [1]