AnsweredAssumed Answered

QorIQ LS1021A-IOT : Ramdisk Deployment from Flash questions

Question asked by Victor Mazin on Nov 4, 2015


We have the QorIQ LS1021A-IOT reference design board and we would like to deploy the ramdisk from Flash.


I would like to ask the following questions:


1. Is there some manual regarding Ramdisk Deployment from Flash for LS1021A-IOT board?   I was able only to find the detailed instructions for TWR-LS1021A board in the Freescale Linux LS1021A SDK v0.4 manual (see paragraph, page 74)


2. Where can I find the Memory Map table for LS1021A-IOT board?  I would like to find the Start and End Physical Addresses of the NOR Flash memory. The table 5-3 (see page 65 in "QorIQ LS1021A-IOT Gateway Reference Design Board Reference Manual, Rev. 0" document) contains some misprints. Following "IoT Gateway Reference Design" document the LS1021A- IOT board includes 1 Gb QSPI NOR Flash.


3. How can I use the QSPI memory of the LS1021A-IOT board in order to download there Kernel, Ramdisk and Device Tree File?

I turned ON the switch 1 in order to use U-Boot from QSPI (as it is described in the "QorIQ LS1021A-IOT Gateway Reference Design Getting Started Guide, Rev 2, 02/2015" document). Please see boot log, which I received, enclosed.





U-Boot 2015.01+ls1+g3281947 (Aug 28 2015 - 09:22:51)

CPU: Freescale LayerScape LS1021E, Version: 2.0, (0x87081120)

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 08407900 40025a00 21046000

  00000020: 00000000 00000000 00000000 00038000

  00000030: 20024800 881b1340 00000000 00000000

Board: LS1021AIOT

I2C: ready


Using SERDES1 Protocol: 32 (0x20)


SF: Detected S25FL512S_256K with page size 512 Bytes, erase size 256 KiB, total 64 MiB

SF: Warning - Only lower 16MiB accessible, Full access #define CONFIG_SPI_FLASH_BAR

*** Warning - bad CRC, using default environment


PCIe1: Root Complex no link, regs @ 0x3400000

PCIe2: Root Complex no link, regs @ 0x3500000

In: serial

Out: serial

Err: serial

SEC0: RNG instantiated

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).

SCSI: Net: eTSEC1 is in sgmii mode.

eTSEC2 is in sgmii mode.

Phy 4 not found

PHY reset timed out