AnsweredAssumed Answered

LS1012A TWR boot from SD problem

Question asked by Dennis Wokke on Apr 20, 2015
Latest reply on Apr 22, 2015 by Dennis Wokke

Hi all,

 

So I build a new kernel for the LS1021ATWR board using the QorIQ SDK 1.7. As far as I can tell this has been build without a problem.

Now I want to run the new kernel on the LS1021atwr board via a SD card. For this I followed the manual and copied all files to the SD card, maikng sure the uImage and uImage.dtb are in the boot folder.

Booting the board now hangs almost directly when the SD card is read.

The following shows up in the  terminal on the host.

 

--------------------------------------------------------------------------------------------------------

 

U-Boot 2014.01Layerscape-SDK-V1.3+gb7dab7a (Oct 20 2014 - 14:14:11)

 

 

CPU:   Freescale LayerScape LS1021E, Version: 1.0, (0x87081110)

Clock Configuration:

       CPU0(ARMV7):1000 MHz,

       Bus:300  MHz, DDR:800  MHz (1600 MT/s data rate),

Reset Configuration Word (RCW):

       00000000: 0608000a 00000000 00000000 00000000

       00000010: 20000000 00407900 e0025a00 21046000

       00000020: 00000000 00000000 00000000 20038000

       00000030: 00000000 881b7540 00000000 00000000

Board: LS1021ATWR

CPLD:  V2.3

PCBA:  V4.0

VBank: 1

I2C:   ready

DRAM:  1 GiB (DDR3, 32-bit, CL=10.5, ECC off)

Using SERDES1 Protocol: 32 (0x20)

Flash: 128 MiB

MMC:   FSL_SDHC: 0

EEPROM: NXID v1

Firmware 'Microcode version 0.0.0 for T1040 r1.0' for 1040 V1.0

QE: uploading microcode 'Microcode for T1040 r1.0'

In:    serial

Out:   serial

Err:   serial

SATA link 0 timeout.

AHCI 0001.0300 1 slots 1 ports ? Gbps 0x1 impl SATA mode

flags: 64bit ncq pm clo only pmp fbss pio slum part ccc

scanning bus for devices...

Found 0 device(s).

Net:   eTSEC1 is in sgmii mode.

eTSEC2 is in sgmii mode.

eTSEC1 [PRIME], eTSEC2, eTSEC3

Hit any key to stop autoboot:  0

Device: FSL_SDHC

Manufacturer ID: 2

OEM: 544d

Name: SA08G

Tran Speed: 50000000

Rd Block Len: 512

SD version 3.0

High Capacity: Yes

Capacity: 7.2 GiB

Bus Width: 4-bit

3079912 bytes read in 305 ms (9.6 MiB/s)

--------------------------------------------------------------------------------------------------------


Any idea on what I'm doing wrong. SOmething I failed to do first. I'm completely lost as this is my first time using embedded linux.


Best regards,

Dennis

Outcomes