My ls1012ardb board both flash bank are SDK 2.0 image.
I downloaded lsdk 1712 and followed LSDK-KC-REV0.pdf 4.1.2.2's guide
step1. wget http://www.nxp.com/lgfiles/sdk/lsdk1712/firmware_ls1012ardb_uboot_qspiboot.img
step2. put firmware_ls1012ardb_uboot_qspiboot.img to my tftp server folder
step3. start up 1012 board, with switch set flash bank1
step4. input commands as below:
=> tftp a0000000 firmware_ls1012ardb_uboot_qspiboot.img
=> i2c mw 0x24 0x7 0xfc;i2c mw 0x24 0x3 0xf5
=> sf probe 0:0
=> sf erase 0 +$filesize && sf write 0xa0000000 0 $filesize
=> reset
And I got those messages:
U-Boot 2017.07-g9f7df1b (Dec 23 2017 - 00:29:54 +0800)
SoC: LS1012AE Rev1.0 (0x87040010)
Clock Configuration:
CPU0(A53):1000 MHz
Bus: 250 MHz DDR: 1000 MT/s
Reset Configuration Word (RCW):
00000000: 0800000a 00000000 00000000 00000000
00000010: 35080000 c000000c 40000000 00001800
00000020: 00000000 00000000 00000000 00014571
00000030: 00000000 18c2a120 00000096 00000000
I2C: ready
DRAM: 958 MiB
Using SERDES1 Protocol: 13576 (0x3508)
PPA Firmware: Version LSDK-17.12
SEC Firmware: 'loadables' present in config
WARNING: Calling __hwconfig without a buffer and before environment is ready
MMC: FSL_SDHC: 0, FSL_SDHC: 1
SF: Detected s25fs512s with page size 512 Bytes, erase size 256 KiB, total 64 MiB
In: serial
Out: serial
Err: serial
Model: LS1012A RDB Board
Board: LS1012ARDB Version: unknown, boot from QSPI: bank2
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: PFE class pe firmware
PFE tmu pe firmware
ls1012a_configure_serdes 0
PCIe0: pcie@3400000 Root Complex: no link
pfe_eth0
Warning: pfe_eth0 (eth0) using random MAC address - e6:ed:4e:56:80:bd
, pfe_eth1
Warning: pfe_eth1 (eth1) using random MAC address - ce:e4:a2:63:dd:61
Hit any key to stop autoboot: 0
MMC: no card present
mmc_init: -123, time 1001
starting USB...
USB0: Register 200017f NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
USB device 0: unknown device
Trying load from qspi..
SF: Detected s25fs512s with page size 512 Bytes, erase size 256 KiB, total 64 MiB
device 0 offset 0x1000000, size 0x2800000
SF: 41943040 bytes @ 0x1000000 Read: OK
## Loading kernel from FIT Image at a0000000 ...
Bad FIT kernel image format!
ERROR: can't get kernel image!
=>
As document described I should enter linux? Do I miss or misunderstand something?
Allright, I use flexbuild to make firmware_ls1012ardb_uboot_qspiboot.img locally (36MB) and this image works...