Dear Experts,
We have LS1028A flex build image compiled for SD Card booting. While programming the .img file from NOR U-Boot (received with EVM supplied) faced the attached boot error. Tried with other SD Cards as well similar error was observed.
Followed the SW2, SW3, SW5 settings as per LS1028A RDB Startup guide and verified the methods mentioned in links,
https://community.nxp.com/t5/Other-NXP-Products/LS1028ARDB-OpenIL-boot-from-SD-card-fail/m-p/1097055
https://community.nxp.com/t5/Layerscape/ls1028ard-secure-boot-failed/m-p/1079710
Any more configurations to be performed?
Please help!
解決済! 解決策の投稿を見る。
=> mmc write 0xa0000000 0 <blk_cnt>
Here, blk_cnt refers to number of blocks in SD card that need to be written as per the file size.
So you should use 52528480/512=102594(0x190c2)
=> mmc write 0xa0000000 0 0x190c2
=> mmc write 0xa0000000 0 <blk_cnt>
Here, blk_cnt refers to number of blocks in SD card that need to be written as per the file size.
So you should use 52528480/512=102594(0x190c2)
=> mmc write 0xa0000000 0 0x190c2
Corrected the mmc write command data size from bytes to block_count, The mmc write was successful and EVM booting successfully from the SD Card (mmc dev 0). Thank you so much for this solution.
Also, When the same is tried from eMMC Memory (mmc dev 1) writing the flexbuild generated SD Card img file to onboard eMMC memory at Block 0x8. Memory write was successful but the EVM is not booting (Changed the SW2 [3:0] - "1001"). Any corrections to be made here?
Thanks
Kumar