AnsweredAssumed Answered

T1024RDB booting from SD card

Question asked by Valentin Movsik on Oct 3, 2016
Latest reply on Oct 12, 2016 by Valentin Movsik

Hi Everyone,


I'm using T1024RDB board and trying to boot from SD Card. I've prepared SD card  based on this  document…  and setted up env with the next values :


=> printenv loadaddr

=> printenv fdtaddr


=> printenv bootfile


=> printenv fdtfile


=> printenv bootcmd
bootcmd=setenv bootargs root=/dev/mmcblk0p2 rw rootdelay=5 console=$consoledev,$baudrate;mmcinfo;ext2load mmc 0:2 0x1000000 /boot/$bootfile;ext2load mmc 0:2 0x2000000 /boot/$fdtfile;bootm 0x1000000 - 0x2000000



After I plugged in a SD, powered on the board and  tried to run from the card. I'm getting the next print-out :


Hit any key to stop autoboot:  0
Device: FSL_SDHC
Manufacturer ID: 3
OEM: 5344
Name: SD16G
Tran Speed: 25000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 14.8 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
5469444 bytes read in 526 ms (9.9 MiB/s)
31073 bytes read in 59 ms (513.7 KiB/s)
WARNING: adjusting available memory to 30000000
Wrong Image Format for bootm command
ERROR: can't get kernel image!



From the print-out I can see that two files (uImage and uImage-t1024rdb.dtb)  were downloaded successfully  and sizes of downloaded files are equal to sizes what actually are on SD card. Looks fine ?! ... I don't know ...

But for some reason I'm getting the error message : Wrong Image Format for bootm command .


Exactly the same uImage and uImage-t1024rdb.dtb files I'm running for TFTP and NFS deployments without any problem.


What am I doing wrong people ?!


Thank you.