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

3,118件の閲覧回数
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 返答(返信)

2,546件の閲覧回数
bob_behrooz
NXP Employee
NXP Employee

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

0 件の賞賛
返信

2,546件の閲覧回数
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 件の賞賛
返信

2,546件の閲覧回数
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!
-----------------------------------------------------------------------------------------------------------------------

2,545件の閲覧回数
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 件の賞賛
返信

2,545件の閲覧回数
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!
-----------------------------------------------------------------------------------------------------------------------

2,545件の閲覧回数
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