EasyManua.ls Logo

DFI KS211 - Page 34

DFI KS211
35 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
www.d .comAppendix A BSP User Guide
34
Appendix A
When a MMC/SD or eMMC device is ready for Android system boot, you can power on the
board to setup the u-boot environment for loading the kernel/ramdisk from the device by
pressing any key to enter.
On the u-boot shell:
U-Boot > setenv ethaddr 00:04:9f:00:ea:d3 [setup the MAC address]
U-Boot > setenv fec_addr 00:04:9f:00:ea:d3 [setup the MAC address]
U-Boot > setenv loadaddr <kernel load addr> [0x90800000 for i.MX51, 0x70800000 for
i.MX50/3]
U-Boot > setenv rd_loadaddr <ramdisk load addr> [0x90D00000 for i.MX51, 0x70D00000
for i.MX50/3]
U-Boot > setenv bootcmd 'run bootcmd_eMMC; bootm ${loadaddr} ${rd_loadaddr}'
U-Boot > setenv bootcmd_eMMC 'mmc read 1 ${loadaddr} 0x800 0x2000; mmc read 1
${rd_loadaddr} 0x3000 0x300;' [load kernel and ramdisk from MMC/SD or eMMC]
[About the SD boot, please use the "mmc read 0" replace the "mmc read 1"]
U-Boot > setenv bootargs <SD/MMC bootargs> [For different platforms, please refer to
below table]
U-Boot > saveenv [Save the environments]