Hello
According to this documents Freescale Technical Information Center, I tried to boot the kernel from SD card.
But the boot is failed because there is no command "ext2load".
I use the pre-installed U-boot(2014.01-00632-gf891181).
Regards
Shimada
It looks like that u-boot on your board is too old. Load the latest version of the u-boot for your board.
Freescale offers the latest Linux SDK 1.7 for QorIQ processors:
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=SDKLINUX&fsrch=1&sr=1&pageNum=1#
This SDK contains source files for image building and built images for different boards.
Load u-boot from this SDK to your board.
http://www.freescale.com/infocenter/index.jsp?topic=%2FQORIQSDK%2F6332565.html
Thank you.
Using u-boot from SDK 1.7, the board can execute "ext2load".
But there is another program.
Although I copied the uImage.dtb in the SD card, the board cannot load the dtb file.
I sent the command `ext2load mmc 0:2 $fdtaddr /boot/uImage.dtb`, but the board said "** File not found uImage **".
I also tried to download the dtb file using tftp, but loading failed to timeout, despite using the same configuration in the pre-installed u-boot.
See below command sequence for the MPC8308 board. Use similar command sequence for your board.
setenv mmcargs "setenv bootargs root=/dev/mmcblk0p1 rootwait rw console=$consoledev,$baudrate $othbootargs;mmcinfo"
setenv mmcload_uImage "ext2load mmc 0:1 $loadaddr /boot/uImage"
setenv mmcload_dtb "ext2load mmc 0:1 $fdtaddr /boot/mpc8308erdb.dtb"
setenv mmcboot "run mmcargs;run mmcload_uImage;run mmcload_dtb;bootm $loadaddr - $fdtaddr"
run mmcboot
I tried it, but same state.
The console output is as follow:
=> setenv mmcargs "setenv bootargs root=/dev/mmcblk0p2 rootwait rw console=$consoledev,$baudrate $othbootargs;mmcinfo"
=> setenv mmcload_uImage "ext2load mmc 0:2 $loadaddr /boot/uImage"
=> setenv mmcload_dtb "ext2load mmc 0:2 $fdtaddr /boot/uImage.dtb"
=> setenv mmcboot "run mmcargs;run mmcload_uImage;run mmcload_dtb;bootm $loadaddr - $fdtaddr"
=> saveenv
Saving Environment to Flash...
Un-Protected 1 sectors
Erasing Flash...
. done
Erased 1 sectors
Writing to Flash... 9....8....7....6....5....4....3....2....1....done
Protected 1 sectors
=> run mmcboot
Device: FSL_SDHC
Manufacturer ID: 74
OEM: 4a45
Name: SDC
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 14.7 GiB
Bus Width: 4-bit
3079896 bytes read in 279 ms (10.5 MiB/s)
** File not found uImage **
## Booting kernel from Legacy Image at 82000000 ...
Image Name: Linux-3.12.19-rt30+ls1+g6619b8b
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3079832 Bytes = 2.9 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
Starting kernel ...