LS1043A custom board can't boot from SD card

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

LS1043A custom board can't boot from SD card

1,039 Views
mark_xingchangy
Contributor II

We build our own board with LS1043A, boot source is SD card. Unfortunately it can't boot up. There is nothing output from UART console. And the ASLEEP pin keep high. It works with RAM boot through CodeWarrior. But can't boot from SD card.

Please see what we have done below,

1. Have verified the UART works with BareMetal CodeWarrior code.

2. SD card can be programmed with CodeWarrior and verified the content is good.

3. RAM boot with CodeWarrior works to run u-boot. There is UART output for RAM boot.

The main difference between our designed board and LS1043ARDB EVK are as the listing:

1. No CPLD for our board, but there is CPLD in EVK

2. The DDR RAM is difference. It is MT40A512M8 in EVK. For our board, MT40A512M16 is used. I have verified it works through RAM boot with CodeWarrior.

3. No SERDES for our board, EVK has SERDES. But I have disconnect SERDES physically and disable it in RCW in EVK. Also verified the modification in EVK work.

Is there any comment/suggestion about this case? Thanks much for your help!

Labels (1)
0 Kudos
3 Replies

695 Views
yipingwang
NXP TechSupport
NXP TechSupport

Hello Mark Yang,

Please configure hardware switch setting as boot from SD on your target board.

Please modify RCW configuration in board/freescale/ls1043ardb/ls1043ardb_rcw_sd.cfg in u-boot source code according to your custom board.

Please refer to the section "Debug u-boot with CodeWarrior for ARMv8" in the document Use CodeWarrior for ARMv8 to Debug U-boot and Linux Kernel and Bring up Bare Boards to attach CodeWarrior to the target board without setting breakpoint to check whether valid source code is executing.

For SD u-boot, after power on reset, the first stage u-boot is loaded to OCRAM, and run in OCRAM, which will init DDR and load the second stage u-boot to DDR, then dump to DDR to boot up to u-boot command line.


Have a great day,
TIC

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

0 Kudos

695 Views
mark_xingchangy
Contributor II

Hi Yiping,

Thanks much for your reply!

1. After investigation, found that the signal of ASLEEP is not correct, which will not be able to go to low. Please see the scope capture as the attached.quasi-10A6.png

2. If try to connect to CodeWarrior without RCW override, it will fail. We got one of error code, which is 69. Please refer to the screen shot below.

3. The original design for SDHC is 1.8Volt. We were suggested to change to 3.3Volt. The signal of ASLEEP looks good now. But there isn't UART console output, also there is error for CodeWarrior connection.

pastedImage_2.png

Error of CodeWarrior connection without RCW override

pastedImage_3.png

For our design, there isn't CPLD. Is there any magic behind in CPLD? How to adapt the design without CPLD?

B.R.

Mark Yang

0 Kudos

695 Views
mark_xingchangy
Contributor II

For the signal in the scope capture above, the definition is as the following:

The Yellow    - PORESET

The Pink       - HRESET

The  Blue      - RESET_REQ

The Green    - ASLEEP

B.R.

Mark Yang

0 Kudos