TWR-LS1021A rev x3 with rev.2 silicon does not boot uboot from SD card

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

TWR-LS1021A rev x3 with rev.2 silicon does not boot uboot from SD card

2,462 次查看
bob_behrooz
NXP Employee
NXP Employee

TWR-LS1021A rev x3 with rev.2 silicon does not boot attached uboot from SD card.

SW3=off on on off off off off on   SW2=off off on off off on on on

This is error message:

U-Boot SPL 2015.01+ls1+g6ba8eed (Aug 18 2015 - 09:19:58)

spl: mmc init failed: err - -19

### ERROR ### Please RESET the board ###

 

The attached u-boot is programmed into the SD card correctly, I read it from SD card and compared it with original.

I tried the same attached u-boot and SW3, 2  settings on LS1021A rev x3 with rev.1 silicon and it does boot from SD card!  

 

What does "spl: mmc init failed: err - -19" mean?

Any suggestions? 

Original Attachment has been moved to: u-boot-ls1021atwr-sdk18-sd.bin.zip

6 回复数

1,890 次查看
bob_behrooz
NXP Employee
NXP Employee

Never mind; TWR-LS1021A rev.2 silicon needs a different uboot than LS1021A rev.1.

0 项奖励

1,890 次查看
kporenta
Contributor III

Hi Babek,

what do you mean by different u-boot. Just compile options or some addition patch for U-Boot in SDK 1.8?

Klemen

0 项奖励

1,890 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello Klemen PORENTA,

SDK 1.8 is only used for TWR-LS1021A Rev 1.0 boards, for Rev 2.0 boards, you need to download "Linux SDK for LS1021A v0.4" from QorIQ LS1021A Dual-Core Processor with LCD Co|Freescale  .


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,889 次查看
bob_behrooz
NXP Employee
NXP Employee

Thank you all, now I have SDK for LS1021A Rev2 v0.4. Next I need uboot for SD and uboot for QSPI. Can not find instruction on building these uboot in SDK RM. Where should I look?

Thanks,

Bob 

0 项奖励

1,889 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello Babek Behrooz,

Please use the following procedure.

SD u-boot:

$bitbake u-boot -c cleansstate

Modify the variable UBOOT_CONFIG as sdcard in meta-fsl-arm/conf/machine/ls1021atwr.conf.

$bitbake u-boot

QSPI u-boot:

$bitbake u-boot -c cleansstate

Modify the variable UBOOT_CONFIG as qspi in meta-fsl-arm/conf/machine/ls1021atwr.conf.

$bitbake u-boot

Please note that the generated u-boot image has already included RCW.


Have a great day,
Yiping

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

1,889 次查看
addiyi
NXP Employee
NXP Employee

LS1021 Rev2 is nor supported in SDK 1.8, but in SDK-for-LS1021A-Rev2-v0.4. Only Rev1 is supported by SDK 1.8.

Adrian