LS1028ARBD: Booting from SD Card

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LS1028ARBD: Booting from SD Card

ソリューションへジャンプ
1,807件の閲覧回数
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,788件の閲覧回数
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,789件の閲覧回数
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,780件の閲覧回数
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 件の賞賛
返信