LS1028ARBD: Booting from SD Card

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LS1028ARBD: Booting from SD Card

跳至解决方案
1,497 次查看
kumar_086
Contributor IV

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!

0 项奖励
1 解答
1,478 次查看
yipingwang
NXP TechSupport
NXP TechSupport

=> 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

在原帖中查看解决方案

0 项奖励
2 回复数
1,479 次查看
yipingwang
NXP TechSupport
NXP TechSupport

=> 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

0 项奖励
1,470 次查看
kumar_086
Contributor IV

@yipingwang,

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

0 项奖励