Generate SB file for eMMC image programming
The eMMC image always starts at offset 0x400. The i.MX RT boot image generated by the elftosb utility with “_nopadding.bin” will be used for programming.
There are two types of eMMC boot mode: Normal boot and Fast boot
Normal mode
There are 6 steps in the BD file to program the bootable image to eMMC for normal boot mode.
The bootable image file path is provided in sources block.
Prepare eMMC option block.
Enable eMMC access using enable command.
Erase eMMC card memory as needed.
Program boot image binary into eMMC.
Program optimal eMMC boot parameters into Fuse (optional, remove it if it is not required in actual project).
Example BD file for eMMC boot image programming for Normal boot mode
Parent topic:Generate SB file for eMMC image programming
Fast Mode
There are nine steps in the BD file to program the bootable image to eMMC for Fast boot mode.
The bootable image file path is provided in “sources” block.
Prepare eMMC option block and enable eMMC access using “enable” command.
Erase eMMC card memory as needed.
Program boot image binary into eMMC.
Program optimal eMMC boot parameters into Fuse (optional, remove it if it is not required in actual project).
Prepare 2nd eMMC option block.
Re-enable eMMC access using new option block.
Erase data in User Data area as required.
Load User Data file to User Data area.
Example BD file for eMMC boot image programming for Fast boot mode
The BD file for encrypted eMMC boot image and KeyBlob programming is similar to SD.
Parent topic:Generate SB file for eMMC image programming
Parent topic:Generate SB file for bootable image programming