LS1028ARBD: Booting from SD Card

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1028ARBD: Booting from SD Card

Jump to solution
1,402 Views
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 Kudos
1 Solution
1,383 Views
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

View solution in original post

0 Kudos
2 Replies
1,384 Views
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 Kudos
1,375 Views
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 Kudos