SD card not detected on the LS1043ARDB Rev1.1

cancel
Showing results for 
Search instead for 
Did you mean: 

SD card not detected on the LS1043ARDB Rev1.1

1,006 Views
zalbassam
Contributor I

Hi,

I received a new LS1043ARDB Rev1.1 and I see that the u-boot (and the kernel) is not detecting the sd card, see below. Is there a difference between rev1.0 v rev 1.1 regarding the sdhc? or maybe in the wiring? Thanks.

<p>

U-Boot 2017.07-g503eff0 (Sep 26 2017 - 15:00:50 +0800)

SoC: LS1043AE Rev1.1 (0x87920011)
Clock Configuration:
CPU0(A53):1600 MHz CPU1(A53):1600 MHz CPU2(A53):1600 MHz
CPU3(A53):1600 MHz
Bus: 400 MHz DDR: 1600 MT/s FMAN: 500 MHz
Reset Configuration Word (RCW):
00000000: 08100010 0a000000 00000000 00000000
00000010: 14550002 80004012 e0025000 c1002000
00000020: 00000000 00000000 00000000 00038800
00000030: 00000000 00001101 00000096 00000001
Model: LS1043A RDB Board
Board: LS1043ARDB, boot from vBank 0
CPLD: V2.0
PCBA: V5.0
SERDES Reference Clocks:
SD1_CLK1 = 156.25MHZ, SD1_CLK2 = 100.00MHZ
I2C: ready
DRAM: Initializing DDR....
Detected UDIMM Fixed DDR on board
1.9 GiB (DDR4, 32-bit, CL=11, ECC off)
Using SERDES1 Protocol: 5205 (0x1455)
SEC0: RNG instantiated
PPA Firmware: Version LSDK-17.09
Firmware 'Microcode version 0.0.1 for LS1021a r1.0' for 1021 V1.0
QE: uploading microcode 'Microcode for LS1021a r1.0' version 0.0.1
Flash: 128 MiB
NAND: 512 MiB
MMC: FSL_SDHC: 0
EEPROM: NXID v1
In: serial
Out: serial
Err: serial
Net: Fman1: Uploading microcode version 108.4.9
PCIe0: pcie@3400000 disabled
PCIe1: pcie@3500000 Root Complex: no link
PCIe2: pcie@3600000 Root Complex: no link
FM1@DTSEC1, FM1@DTSEC2, FM1@DTSEC3 [PRIME], FM1@DTSEC4, FM1@DTSEC5, FM1@DTSEC6, FM1@TGEC1
Hit any key to stop autoboot: 0
=>
=> mmc list
FSL_SDHC: 0
=> mmc rescan
MMC: no card present
mmc_init: -123, time 1001
=> mmcinfo
MMC: no card present
mmc_init: -123, time 1000
=>

</p>

Labels (1)
0 Kudos
5 Replies

549 Views
zalbassam
Contributor I

Can Someone please help? We are blocked because of this issue.

With NOR boot, card no working and and no card insert/removed interrupt, on the latest LSDK 1712: http://www.nxp.com/lgfiles/sdk/lsdk1712/firmware_ls1043ardb_uboot_norboot.img 

With Nand boot, The card works if plugged in while boot up, but no card insert/removed interrupt coming through. also on LSDK 1712.

Same issue with LSDK 1709.

0 Kudos

549 Views
zalbassam
Contributor I

Looking further into it, It seems like the difference between NAND boot and NOR boot in my case is the rcw IIC2_EXT field. In the non-working case (NOR boot), as shown in my original question, the IIC2_EXT is set to 001, which selects "SDHC_CD_B, SDHC_WP" according the LS1043 reference manual. The working case (NAND boot) has the IIC2_EXT set to 000 which is "IIC2_SCL, IIC2_SDA"!

Can you please clarify why the SD card is detect and working when the  IIC2_EXT is set 000 and not working when set to 001? Is the Reference manual wrong or has this pin mux changed for Rev 1.1?

Thank you

P.S: I have loaded lsdk 1712 and the sd card is detected after setting IIC2_EXT set to 000 with NOR boot.

0 Kudos

549 Views
Pavel
NXP TechSupport
NXP TechSupport

Test your board using NAND boot:

SW4[1-8] +SW5[1] = 0b'10000011_0

 

Old revision of the LS1043ARDB u-boot do not detect SD card if NOR boot is used.


Have a great day,
Pavel Chubakov

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

0 Kudos

549 Views
zalbassam
Contributor I

You are right, switching to NAND boot solved the problem, the SD card is recognized.

When you say older revision of LS1043ARDB u-boot, you mean "U-Boot 2017.07-g503eff0 (Sep 26 2017 - 15:00:50 +0800)" is old? Where to find the newer version? I have downloaded the SDK and the uboot version there is even older.

Thanks

0 Kudos

549 Views
zalbassam
Contributor I

Any one can help?

0 Kudos