Path: blob/master/Documentation/arm/SH-Mobile/zboot-rom-mmcif.txt
10823 views
ROM-able zImage boot from MMC1-----------------------------23An ROM-able zImage compiled with ZBOOT_ROM_MMCIF may be written to MMC and4SuperH Mobile ARM will to boot directly from the MMCIF hardware block.56This is achieved by the mask ROM loading the first portion of the image into7MERAM and then jumping to it. This portion contains loader code which8copies the entire image to SDRAM and jumps to it. From there the zImage9boot code proceeds as normal, uncompressing the image into its final10location and then jumping to it.1112This code has been tested on an AP4EB board using the developer 1A eMMC13boot mode which is configured using the following jumper settings.14The board used for testing required a patched mask ROM in order for15this mode to function.16178 7 6 5 4 3 2 118x|x|x|x|x| |x|19S4 -+-+-+-+-+-+-+-20| | | | |x| |x on2122The zImage must be written to the MMC card at sector 1 (512 bytes) in23vrl4 format. A utility vrl4 is supplied to accomplish this.2425e.g.26vrl4 < zImage | dd of=/dev/sdX bs=512 seek=12728A dual-voltage MMC 4.0 card was used for testing.293031