LS1046ARDB - onboard mmc

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

LS1046ARDB - onboard mmc

3,155 Views
gaborkocsis
Contributor III

Hello Everybody,

We have a new LS1046ARDB. There is an onboard MMC on it (MTFC4GAxxx).

My question is how can we get access for it? It doesn't appear as device either in U-Boot or Linux.

I tried all the ways that I could do based on the LS1046ARDBRM.pdf, LS1046ARDBGSG.pdf, and SPF-29142.pdf.

Thanks in advance

Gabor Kocsis

7 Replies

1,724 Views
adharankar
Contributor II

Hello.

My board is also exhibiting the same symptom as described by Gabor Kocsis. Following is the output of UBoot after power on. I too have tried to write the RCW in 'rcw_1600_qspiboot_emmc.bin'.

What might I be missing?

NOTICE:  UDIMM 18ASF1G72AZ-2G6B1

NOTICE:  8 GB DDR4, 64-bit, CL=15, ECC on, CS0+CS1
NOTICE:  BL2: v1.5(release):LSDK-18.12
NOTICE:  BL2: Built : 14:38:10, Jan  7 2019
NOTICE:  BL31: v1.5(release):LSDK-18.12
NOTICE:  BL31: Built : 14:38:06, Jan  7 2019
NOTICE:  Welcome to LS1046 BL31 Phase


U-Boot 2018.09 (Jan 07 2019 - 14:37:42 +0000)

SoC:  LS1046AE Rev1.0 (0x87070010)
Clock Configuration:
       CPU0(A72):1800 MHz  CPU1(A72):1800 MHz  CPU2(A72):1800 MHz  
       CPU3(A72):1800 MHz  
       Bus:      700  MHz  DDR:      2100 MT/s  FMAN:     800  MHz
Reset Configuration Word (RCW):
       00000000: 0e150012 10000000 00000000 00000000
       00000010: 11335559 40005012 40025000 c1000000
       00000020: 00000000 00000000 00000000 00238800
       00000030: 20124000 00003101 00000096 00000001
Model: LS1046A RDB Board
Board: LS1046ARDB, boot from QSPI vBank 4
CPLD:  V2.3
PCBA:  V2.0
SERDES Reference Clocks:
SD1_CLK1 = 156.25MHZ, SD1_CLK2 = 100.00MHZ
I2C:   ready
DRAM:  7.9 GiB (DDR4, 64-bit, CL=15, ECC on)
       DDR Chip-Select Interleaving Mode: CS0+CS1
SEC0: RNG instantiated
Using SERDES1 Protocol: 4403 (0x1133)
Using SERDES2 Protocol: 21849 (0x5559)
NAND:  512 MiB
MMC:   FSL_SDHC: 0
Loading Environment from SPI Flash... SF: Detected s25fs512s with page size 256 Bytes, erase size 256 KiB, total 64 MiB
OK
EEPROM: NXID v1
In:    serial
Out:   serial
Err:   serial
Net:   SF: Detected s25fs512s with page size 256 Bytes, erase size 256 KiB, total 64 MiB
Fman1: Uploading microcode version 106.4.18
FM1@TGEC1: system interface XFI
FM1@TGEC1: Aquantia AQR107 Firmware Version 3.2.3
PCIe0: pcie@3400000 Root Complex: no link
PCIe1: pcie@3500000 Root Complex: no link
PCIe2: pcie@3600000 Root Complex: no link
FM1@DTSEC3 [PRIME], FM1@DTSEC4, FM1@DTSEC5, FM1@DTSEC6, FM1@TGEC1, FM1@TGEC2
Hit any key to stop autoboot:  0
=> mmc rescan
MMC: no card present
=> mmc info
MMC: no card present

0 Kudos

1,724 Views
ufedor
NXP Employee
NXP Employee

In the QorIQ LS1046A Reference Design Board Getting Started Guide it is written:

"When you boot from eMMC, you cannot insert an SD card.
If you want to boot from an SD card, insert a bootable SD card. When an SD card is inserted, eMMC will be disabled."

Isn't it your case?

1,724 Views
gaborkocsis
Contributor III

No. I can boot from external SD card and I know that in this case the onboard MMC is unavailable. But when I boot from flash and there is no SD card in the SD socket the onboard eMMC should be available by the userguide

0 Kudos

1,724 Views
ufedor
NXP Employee
NXP Employee

Please provide U-Boot booting log and the mmc probing in this case.

0 Kudos

1,724 Views
gaborkocsis
Contributor III

Here is the U-Boot log and at the end of it the tryings with SD / eMMC

U-Boot 2016.092.0+ga06b209 (Mar 30 2017 - 01:18:16 +0800)

SoC: LS1046AE Rev1.0 (0x87070010)
Clock Configuration:
CPU0(A72):1800 MHz CPU1(A72):1800 MHz CPU2(A72):1800 MHz
CPU3(A72):1800 MHz
Bus: 700 MHz DDR: 2100 MT/s FMAN: 800 MHz
Reset Configuration Word (RCW):
00000000: 0e150012 10000000 00000000 00000000
00000010: 11335559 40005012 40025000 c1000000
00000020: 00000000 00000000 00000000 00238800
00000030: 20124000 00003101 00000096 00000001
Model: LS1046A RDB Board
Board: LS1046ARDB, boot from QSPI vBank 0
CPLD: V2.3
PCBA: V2.0
SERDES Reference Clocks:
SD1_CLK1 = 156.25MHZ, SD1_CLK2 = 100.00MHZ
I2C: ready
DRAM: Initializing DDR....using SPD
Detected UDIMM 18ASF1G72AZ-2G3B1
8 GiB (DDR4, 64-bit, CL=15, ECC on)
DDR Chip-Select Interleaving Mode: CS0+CS1
SEC0: RNG instantiated
PPA Firmware: Version 0.2
Using SERDES1 Protocol: 4403 (0x1133)
Using SERDES2 Protocol: 21849 (0x5559)
NAND: 512 MiB
MMC: FSL_SDHC: 0
SF: Detected S25FS512S with page size 256 Bytes, erase size 256 KiB, total 64 MiB
EEPROM: NXID v1
In: serial
Out: serial
Err: serial
SATA link 0 timeout.
AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl SATA mode
flags: 64bit ncq pm clo only pmp fbss pio slum part ccc apst
Found 0 device(s).
SCSI: Net: SF: Detected S25FS512S with page size 256 Bytes, erase size 256 KiB, total 64 MiB
Fman1: Uploading microcode version 106.4.18
PCIe0: pcie@3400000 Root Complex: no link
PCIe1: pcie@3500000 Root Complex: no link
PCIe2: pcie@3600000 Root Complex: no link
FM1@DTSEC3 [PRIME], FM1@DTSEC4, FM1@DTSEC5, FM1@DTSEC6, FM1@TGEC1, FM1@TGEC2
Hit any key to stop autoboot: 10 0
=> mmc rescan [This is the situation when the SD card is not inserted]
MMC: no card present
=> mmc rescan [This is the situation when the SD card is present]
=> mmc list
FSL_SDHC: 0 (SD)
=> mmc list
FSL_SDHC: 0 (SD)
=> mmc rescan [The SD card removed again]
MMC: no card present

0 Kudos

1,724 Views
ufedor
NXP Employee
NXP Employee

For Accessing e-MMC card, please follow below steps:

1. Remove SD Card.
2. Program rcw_1600_qspiboot_emmc.bin into alternate bank 4.
3. boot from QSPI bank 4.
4. On Uboot Prompt try mmc info command, It will display eMMC card details.

0 Kudos

1,724 Views
gaborkocsis
Contributor III

Well I tried these steps above , but the boot from altbank doesn't work at all. It boots from the Bank0 only.

I checked the rcw file it's in its place.

If I forced the boot from Bank 4 by DIP switch set, the ASLEEP LED stayed lit and the boot was failed.

To do this I performed the following steps:

=>tftp 82000000 rcw_1600_qspiboot_emmc.bin

=>sf probe 0:1

=>sf erase 0 +$filesize

=>sf write 82000000 0 $filesize;

=>cpld reset altbank

0 Kudos