Skip to content

[patch v7]layerscape: add 64b/32b target for ls1043ardb device#417

Closed
fsl-jyt wants to merge 1 commit intolede-project:masterfrom
fsl-jyt:patchv7
Closed

[patch v7]layerscape: add 64b/32b target for ls1043ardb device#417
fsl-jyt wants to merge 1 commit intolede-project:masterfrom
fsl-jyt:patchv7

Conversation

@fsl-jyt
Copy link
Contributor

@fsl-jyt fsl-jyt commented Oct 16, 2016

Add support for NXP layerscape ls1043ardb 64b/32b Dev board.

LS1043a is an SoC with 4x64-bit up to 1.6 GHz ARMv8 A53 cores.
ls1043ardb support features as: 2GB DDR4, 128MB NOR/512MB NAND, USB3.0, eSDHC,
I2C, GPIO, PCIe/Mini-PCIe, 6x1G/1x10G network port, etc.

64b/32b ls1043ardb target is using 4.4 kernel, and rcw/u-boot/fman images from
NXP QorIQ SDK release.

All of 4.4 kernel patches porting from SDK release or upstream.

QorIQ SDK ISOs can be downloaded from this location:
http://www.nxp.com/products/software-and-tools/run-time-software/linux-sdk/linux-sdk-for-qoriq-processors:SDKLINUX

Signed-off-by: Yutang Jiang yutang.jiang@nxp.com

@fsl-jyt
Copy link
Contributor Author

fsl-jyt commented Oct 16, 2016

V7 patch update summary:

  1. According to nbd168’s suggestion, remove some unnecessary config options except for one:

In target/linux/layerscape/64b/target.mk:
+CFLAGS:=-Os -pipe -fno-caller-saves
This should be removed
If remove it, will lead the libnl-tiny-0.1 arise compile error. So reserve it.

  1. Remove “base-files/etc/inittab”.
  2. Enable “multi-core squashfs decompression” option.
  3. Using $(IMAGE_ROOTFS) to replace directly refer to root.squashfs
  4. Using the generic pad-to template.
  5. Change “Device/* templates” from tab-indented to space-indented.
  6. Remove the kmod-e1000e from DEVICE_PACKAGES.
  7. Enabling i2c and sdhci in the kernel config and dropping the modules.mk
  8. Remove the mk_firmware and getting rid of some 64bit/32bit code duplication , using Build/append- template to re-structure the firmware.bin.
  9. Introduce the rcw/uboot/fman package, and merge rcw/uboot/fman/dtb/kernel/rfs to a entire flash image firmware for lede.

@fsl-jyt
Copy link
Contributor Author

fsl-jyt commented Oct 16, 2016

A simple bootup log both in 64b and 32b:

U-Boot 2016.012.0+ga9b437f (Aug 15 2016 - 19:24:19 +0800)

SoC: unknown (0x87920410)
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
I2C: ready
Model: LS1043A RDB Board
Board: LS1043ARDB, boot from vBank 0
CPLD: V1.4
PCBA: V3.0
SERDES Reference Clocks:
SD1_CLK1 = 156.25MHZ, SD1_CLK2 = 100.00MHZ
DRAM: Initializing DDR....
Detected UDIMM Fixed DDR on board
2 GiB (DDR4, 32-bit, CL=11, ECC off)
SEC0: RNG instantiated
PPA Firmware: Version 0.2
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
Using SERDES1 Protocol: 5205 (0x1455)
Flash: 128 MiB
NAND: 512 MiB
MMC: FSL_SDHC: 0
EEPROM: NXID v1
PCIe1: disabled
PCIe2: Root Complex no link, regs @ 0x3500000
PCIe3: Root Complex x1 gen1, regs @ 0x3600000
PCI:
01:00.0 - 8086:10d3 - Network controller
PCIe3: Bus 00 - 01
In: serial
Out: serial
Err: serial
SCSI: Error: SCSI Controller(s) 1B4B:9170 not found
Net: Fman1: Uploading microcode version 106.4.18
e1000: 00:1b:21:46:61:df
FM1@DTSEC1, FM1@DTSEC2, FM1@DTSEC3, FM1@DTSEC4, FM1@DTSEC5, FM1@DTSEC6, FM1@TGEC1, e1000#0 [PRIME]
Hit any key to stop autoboot: 0
=> pri
baudrate=115200
bootargs=root=/dev/ram0 rw console=ttyS0,115200 earlycon=uart8250,0x21c0500,115200 ramdisk_size=0x10000000
bootcmd=cpld reset altbank
bootdelay=3
console=ttyAMA0,38400n8
cpoptee=tftp 0x80000000 $dir/tee.bin ; erase 0x64700000 +$filesize ; cp.b 0x80000000 0x64700000 $filesize; echo Comapring OPTEE; cmp.b 0x80000000 0x64700000 $filesize;
cpppa=tftp 0x80000000 $dir/ppa-tee.itb ; erase 0x64500000 +$filesize; cp.b 0x80000000 0x64500000 $filesize; echo "Compariung PPA" ; cmp.b 0x80000000 0x64500000 $filesize;
cpuboot=tftp 0x80000000 $dir/u-boot-dtb.bin ; erase 0x64100000 +$filesize ; cp.b 0x80000000 0x64100000 $filesize ; echo "Comparing uboot" ; cmp.b 0x80000000 0x64100000 $filesize;
dir=b44382/ls1043ardb/tee-sdk-2.0-rel-1.0
eth1addr=00:04:9f:04:1c:74
eth2addr=00:04:9f:04:1c:75
eth3addr=00:04:9f:04:1c:76
eth4addr=00:04:9f:04:1c:77
eth5addr=00:04:9f:04:1c:78
eth6addr=00:04:9f:04:1c:79
eth7addr=00:1b:21:46:61:df
ethact=e1000#0
ethaddr=00:04:9f:04:1c:73
ethprime=e1000#0
fdt_high=0xffffffffffffffff
fdtcontroladdr=ffbc7738
fileaddr=a0000000
filesize=774399f
flshb=tftp 0x82000000 b45939/ls1043ardb/u-boot.bin;protect off 0x64100000 0x641fffff;erase 0x64100000 0x641fffff;cp.b 82000000 64100000 100000;protect on 0x64100000 0x641fffff;cpld reset altbank
fman_ucode=60300000
gatewayip=192.168.1.1
hwconfig=fsl_ddr:bank_intlv=auto
img_itb=b30332/sdk_ga_1609-tc1/ls1043ardb/kernel_virt_def.itb
initrd_high=0xffffffffffffffff
ipaddr=192.168.2.153
kernel_addr=0x100000
kernel_load=0xa0000000
kernel_size=0x2800000
kernel_start=0x61100000
loadaddr=0x80100000
netmask=255.255.255.0
othbootargs=console=ttyS0,115200 earlycon=uart8250,0x21c0500,115200 ramdisk_size=0x10000000
raddr_itb=0xa0000000
ramdisk_addr=0x800000
ramdisk_size=0x2000000
scsidevs=0
serverip=192.168.2.1
stderr=serial
stdin=serial
stdout=serial
upbank4=tftp 82000000 b18965/ls1043-rdb/u-boot-dtb.bin && protect off all && erase 64100000 641fffff && cp.b 0x82000000 64100000 100000

Environment size: 2057/131068 bytes
=> cpld reset altbank

U-Boot 2016.01 (Oct 16 2016 - 18:21:05 +0000)

SoC: unknown (0x87920410)
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
I2C: ready
Model: LS1043A RDB Board
Board: LS1043ARDB, boot from vBank 4
CPLD: V1.4
PCBA: V3.0
SERDES Reference Clocks:
SD1_CLK1 = 156.25MHZ, SD1_CLK2 = 100.00MHZ
DRAM: Initializing DDR....
Detected UDIMM Fixed DDR on board
2 GiB (DDR4, 32-bit, CL=11, ECC off)
SEC0: RNG instantiated
Not a microcode
Waking secondary cores to start from ffd0b000
All (4) cores are up.
Using SERDES1 Protocol: 5205 (0x1455)
Flash: 128 MiB
NAND: 512 MiB
MMC: FSL_SDHC: 0
*** Warning - bad CRC, using default environment

Error: flags type check failure for "serverip" <= "" (type: i)

himport_r: can't insert "serverip=" into hash table

Error: flags type check failure for "ipaddr" <= "" (type: i)

himport_r: can't insert "ipaddr=" into hash table
EEPROM: NXID v1
PCIe1: disabled
PCIe2: Root Complex no link, regs @ 0x3500000
PCIe3: Root Complex x1 gen1, regs @ 0x3600000
PCI:
01:00.0 - 8086:10d3 - Network controller
PCIe3: Bus 00 - 01
In: serial
Out: serial
Err: serial
SCSI: Error: SCSI Controller(s) 1B4B:9170 not found
Net: Fman1: Uploading microcode version 108.4.5
e1000: 00:1b:21:46:61:df
FM1@DTSEC1, FM1@DTSEC2, FM1@DTSEC3 [PRIME], FM1@DTSEC4, FM1@DTSEC5, FM1@DTSEC6, FM1@TGEC1, e1000#0
Hit any key to stop autoboot: 0
=> pri
baudrate=115200
bootargs=console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 mtdparts=60000000.nor:1m(nor_bank0_rcw),1m(nor_bank0_uboot),1m(nor_bank0_uboot_env),1m(nor_bank0_fman_uconde),40m(nor_bank0_fit),1m(nor_bank4_rcw),1m(nor_bank4_uboot),1m(nor_bank4_uboot_env),1m(nor_bank4_fman_ucode),40m(nor_bank4_fit);7e800000.flash:1m(nand_uboot),1m(nand_uboot_env),20m(nand_fit);spi0.0:1m(uboot),5m(kernel),1m(dtb),9m(file_system)
bootcmd=run wrtboot
bootdelay=10
console=ttyAMA0,38400n8
eth1addr=00:04:9F:04:1C:74
eth2addr=00:04:9F:04:1C:75
eth3addr=00:04:9F:04:1C:76
eth4addr=00:04:9F:04:1C:77
eth5addr=00:04:9F:04:1C:78
eth6addr=00:04:9F:04:1C:79
eth7addr=00:1b:21:46:61:df
ethact=FM1@DTSEC3
ethaddr=00:04:9F:04:1C:73
ethprime=FM1@DTSEC3
fdt_high=0xffffffffffffffff
fdtaddr=8f000000
fdtcontroladdr=ffbc8738
fman_ucode=60300000
hwconfig=fsl_ddr:bank_intlv=auto
initrd_high=0xffffffffffffffff
kernel_addr=0x100000
kernel_load=0xa0000000
kernel_size=0x2800000
kernel_start=0x61100000
loadaddr=82000000
mtdparts=mtdparts=60000000.nor:1m(nor_bank0_rcw),1m(nor_bank0_uboot),1m(nor_bank0_uboot_env),1m(nor_bank0_fman_uconde),40m(nor_bank0_fit),1m(nor_bank4_rcw),1m(nor_bank4_uboot),1m(nor_bank4_uboot_env),1m(nor_bank4_fman_ucode),40m(nor_bank4_fit);7e800000.flash:1m(nand_uboot),1m(nand_uboot_env),20m(nand_fit);spi0.0:1m(uboot),5m(kernel),1m(dtb),9m(file_system)
ramdisk_addr=0x800000
ramdisk_size=0x2000000
ramdiskaddr=88000000
stderr=serial
stdin=serial
stdout=serial
wrtboot=setenv bootargs root=/dev/mtdblock6 rootfstype=squashfs,jffs2 noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 mtdparts=60000000.nor:1M(rcw),1M(u-boot),1M(u-boot-env),1M(fman),1M(dtb),5M(kernel),54M(rootfs),64M(otherbank),60M@0x400000(firmware) && cp.b 60400000 $fdtaddr 100000 && cp.b 60500000 $loadaddr 500000 && bootm $loadaddr - $fdtaddr
wrtupdate=tftp a0000000 /lede-layerscape-64b-ls1043ardb-squashfs-firmware.bin && protect off all && erase 60000000 +4000000 && cp.b a0000000 60000000 $filesize && reset

Environment size: 2110/131068 bytes
=>
=> setenv serverip 192.168.2.1
=> setenv ipaddr 192.168.2.153
=> setenv ethact e1000#0
=> ping $serverip
Using e1000#0 device
host 192.168.2.1 is alive
=>
=> tftp a0000000 jyt/openwrt/ls1043/lede-layerscape-64b-ls1043ardb-squashfs-firmware.bin && protect off all && erase 60000000 +4000000 && cp.b a0000000 60000000 $filesize
Using e1000#0 device
TFTP from server 192.168.2.1; our IP address is 192.168.2.153
Filename 'jyt/openwrt/ls1043/lede-layerscape-64b-ls1043ardb-squashfs-firmware.bin'.
Load address: 0xa0000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#############################T ####################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
######################
6.7 MiB/s
done
Bytes transferred = 67108864 (4000000 hex)
Un-Protect Flash Bank # 1

................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ done
Erased 512 sectors
Copy to Flash... 9....8....7....6....5....4....3....2....1....done
=> reset
resetting ...
?

U-Boot 2016.012.0+ga9b437f (Aug 15 2016 - 19:24:19 +0800)

SoC: unknown (0x87920410)
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
I2C: ready
Model: LS1043A RDB Board
Board: LS1043ARDB, boot from vBank 0
CPLD: V1.4
PCBA: V3.0
SERDES Reference Clocks:
SD1_CLK1 = 156.25MHZ, SD1_CLK2 = 100.00MHZ
DRAM: Initializing DDR....
Detected UDIMM Fixed DDR on board
2 GiB (DDR4, 32-bit, CL=11, ECC off)
SEC0: RNG instantiated
PPA Firmware: Version 0.2
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
Using SERDES1 Protocol: 5205 (0x1455)
Flash: 128 MiB
NAND: 512 MiB
MMC: FSL_SDHC: 0
EEPROM: NXID v1
PCIe1: disabled
PCIe2: Root Complex no link, regs @ 0x3500000
PCIe3: Root Complex x1 gen1, regs @ 0x3600000
PCI:
01:00.0 - 8086:10d3 - Network controller
PCIe3: Bus 00 - 01
In: serial
Out: serial
Err: serial
SCSI: Error: SCSI Controller(s) 1B4B:9170 not found
Net: Fman1: Uploading microcode version 106.4.18
e1000: 00:1b:21:46:61:df
FM1@DTSEC1, FM1@DTSEC2, FM1@DTSEC3, FM1@DTSEC4, FM1@DTSEC5, FM1@DTSEC6, FM1@TGEC1, e1000#0 [PRIME]
Hit any key to stop autoboot: 0
=> pri
baudrate=115200
bootargs=root=/dev/ram0 rw console=ttyS0,115200 earlycon=uart8250,0x21c0500,115200 ramdisk_size=0x10000000
bootcmd=cpld reset altbank
bootdelay=3
console=ttyAMA0,38400n8
cpoptee=tftp 0x80000000 $dir/tee.bin ; erase 0x64700000 +$filesize ; cp.b 0x80000000 0x64700000 $filesize; echo Comapring OPTEE; cmp.b 0x80000000 0x64700000 $filesize;
cpppa=tftp 0x80000000 $dir/ppa-tee.itb ; erase 0x64500000 +$filesize; cp.b 0x80000000 0x64500000 $filesize; echo "Compariung PPA" ; cmp.b 0x80000000 0x64500000 $filesize;
cpuboot=tftp 0x80000000 $dir/u-boot-dtb.bin ; erase 0x64100000 +$filesize ; cp.b 0x80000000 0x64100000 $filesize ; echo "Comparing uboot" ; cmp.b 0x80000000 0x64100000 $filesize;
dir=b44382/ls1043ardb/tee-sdk-2.0-rel-1.0
eth1addr=00:04:9f:04:1c:74
eth2addr=00:04:9f:04:1c:75
eth3addr=00:04:9f:04:1c:76
eth4addr=00:04:9f:04:1c:77
eth5addr=00:04:9f:04:1c:78
eth6addr=00:04:9f:04:1c:79
eth7addr=00:1b:21:46:61:df
ethact=e1000#0
ethaddr=00:04:9f:04:1c:73
ethprime=e1000#0
fdt_high=0xffffffffffffffff
fdtcontroladdr=ffbc7738
fileaddr=a0000000
filesize=774399f
flshb=tftp 0x82000000 b45939/ls1043ardb/u-boot.bin;protect off 0x64100000 0x641fffff;erase 0x64100000 0x641fffff;cp.b 82000000 64100000 100000;protect on 0x64100000 0x641fffff;cpld reset altbank
fman_ucode=60300000
gatewayip=192.168.1.1
hwconfig=fsl_ddr:bank_intlv=auto
img_itb=b30332/sdk_ga_1609-tc1/ls1043ardb/kernel_virt_def.itb
initrd_high=0xffffffffffffffff
ipaddr=192.168.2.153
kernel_addr=0x100000
kernel_load=0xa0000000
kernel_size=0x2800000
kernel_start=0x61100000
loadaddr=0x80100000
netmask=255.255.255.0
othbootargs=console=ttyS0,115200 earlycon=uart8250,0x21c0500,115200 ramdisk_size=0x10000000
raddr_itb=0xa0000000
ramdisk_addr=0x800000
ramdisk_size=0x2000000
scsidevs=0
serverip=192.168.2.1
stderr=serial
stdin=serial
stdout=serial
upbank4=tftp 82000000 b18965/ls1043-rdb/u-boot-dtb.bin && protect off all && erase 64100000 641fffff && cp.b 0x82000000 64100000 100000

Environment size: 2057/131068 bytes
=> cpld reset altbank

U-Boot 2016.01 (Oct 16 2016 - 19:19:29 +0000)

SoC: unknown (0x87920410)
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
I2C: ready
Model: LS1043A RDB Board
Board: LS1043ARDB, boot from vBank 4
CPLD: V1.4
PCBA: V3.0
SERDES Reference Clocks:
SD1_CLK1 = 156.25MHZ, SD1_CLK2 = 100.00MHZ
DRAM: Initializing DDR....
Detected UDIMM Fixed DDR on board
2 GiB (DDR4, 32-bit, CL=11, ECC off)
SEC0: RNG instantiated
Not a microcode
Waking secondary cores to start from ffd0b000
All (4) cores are up.
Using SERDES1 Protocol: 5205 (0x1455)
Flash: 128 MiB
NAND: 512 MiB
MMC: FSL_SDHC: 0
*** Warning - bad CRC, using default environment

EEPROM: NXID v1
PCIe1: disabled
PCIe2: Root Complex no link, regs @ 0x3500000
PCIe3: Root Complex x1 gen1, regs @ 0x3600000
PCI:
01:00.0 - 8086:10d3 - Network controller
PCIe3: Bus 00 - 01
In: serial
Out: serial
Err: serial
SCSI: Error: SCSI Controller(s) 1B4B:9170 not found
Net: Fman1: Uploading microcode version 108.4.5
e1000: 00:1b:21:46:61:df
FM1@DTSEC1, FM1@DTSEC2, FM1@DTSEC3 [PRIME], FM1@DTSEC4, FM1@DTSEC5, FM1@DTSEC6, FM1@TGEC1, e1000#0
Hit any key to stop autoboot: 0
=> pri
baudrate=115200
bootargs=console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 mtdparts=60000000.nor:1m(nor_bank0_rcw),1m(nor_bank0_uboot),1m(nor_bank0_uboot_env),1m(nor_bank0_fman_uconde),40m(nor_bank0_fit),1m(nor_bank4_rcw),1m(nor_bank4_uboot),1m(nor_bank4_uboot_env),1m(nor_bank4_fman_ucode),40m(nor_bank4_fit);7e800000.flash:1m(nand_uboot),1m(nand_uboot_env),20m(nand_fit);spi0.0:1m(uboot),5m(kernel),1m(dtb),9m(file_system)
bootcmd=run wrtboot
bootdelay=10
console=ttyAMA0,38400n8
eth1addr=00:04:9F:04:1C:74
eth2addr=00:04:9F:04:1C:75
eth3addr=00:04:9F:04:1C:76
eth4addr=00:04:9F:04:1C:77
eth5addr=00:04:9F:04:1C:78
eth6addr=00:04:9F:04:1C:79
eth7addr=00:1b:21:46:61:df
ethact=FM1@DTSEC3
ethaddr=00:04:9F:04:1C:73
ethprime=FM1@DTSEC3
fdt_high=0xffffffffffffffff
fdtaddr=8f000000
fdtcontroladdr=ffbc8738
fman_ucode=60300000
hwconfig=fsl_ddr:bank_intlv=auto
initrd_high=0xffffffffffffffff
kernel_addr=0x100000
kernel_load=0xa0000000
kernel_size=0x2800000
kernel_start=0x61100000
loadaddr=82000000
mtdparts=mtdparts=60000000.nor:1m(nor_bank0_rcw),1m(nor_bank0_uboot),1m(nor_bank0_uboot_env),1m(nor_bank0_fman_uconde),40m(nor_bank0_fit),1m(nor_bank4_rcw),1m(nor_bank4_uboot),1m(nor_bank4_uboot_env),1m(nor_bank4_fman_ucode),40m(nor_bank4_fit);7e800000.flash:1m(nand_uboot),1m(nand_uboot_env),20m(nand_fit);spi0.0:1m(uboot),5m(kernel),1m(dtb),9m(file_system)
ramdisk_addr=0x800000
ramdisk_size=0x2000000
ramdiskaddr=88000000
stderr=serial
stdin=serial
stdout=serial
wrtboot=setenv bootargs root=/dev/mtdblock6 rootfstype=squashfs,jffs2 noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 mtdparts=60000000.nor:1M(rcw),1M(u-boot),1M(u-boot-env),1M(fman),1M(dtb),5M(kernel),54M(rootfs),64M(otherbank),60M@0x400000(firmware) && cp.b 60400000 $fdtaddr 100000 && cp.b 60500000 $loadaddr 500000 && bootm $loadaddr - $fdtaddr
wrtupdate=tftp a0000000 /lede-layerscape-64b-ls1043ardb-squashfs-firmware.bin && protect off all && erase 60000000 +4000000 && cp.b a0000000 60000000 $filesize && reset

Environment size: 2110/131068 bytes
=> run wrtboot

Booting kernel from Legacy Image at 82000000 ...

Image Name: ARM64 LEDE Linux-4.4.24
Image Type: AArch64 Linux Kernel Image (gzip compressed)
Data Size: 3218091 Bytes = 3.1 MiB
Load Address: 80080000
Entry Point: 80080000
Verifying Checksum ... OK

Flattened Device Tree blob at 8f000000

Booting using the fdt blob at 0x8f000000
Uncompressing Kernel Image ... OK
Using Device Tree in place at 000000008f000000, end 000000008f0197c6

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.4.24 (jyt@BP) (gcc version 5.4.0 (LEDE GCC 5.4.0 r1262+1) ) #0 SMP Sun Oct 16 19:19:29 2016
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] earlycon: Early serial console at MMIO 0x21c0500 (options '')
[ 0.000000] bootconsole [uart0] enabled
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: initialized node qman-fqd, compatible id fsl,qman-fqd
[ 0.000000] Reserved memory: initialized node qman-pfdr, compatible id fsl,qman-pfdr
[ 0.000000] Reserved memory: initialized node bman-fbpr, compatible id fsl,bman-fbpr
[ 0.000000] PERCPU: Embedded 15 pages/cpu @ffffffc07fd8e000 s23808 r8192 d29440 u61440
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: enabling workaround for ARM erratum 845719
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 515592
[ 0.000000] Kernel command line: root=/dev/mtdblock6 rootfstype=squashfs,jffs2 noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 mtdparts=60000000.nor:1M(rcw),1M(u-boot),1M(u-boot-env),1M(fman),1M(dtb),5M(kernel),54M(rootfs),64M(otherbank),60M@0x400000(firmware)
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.000000] software IO TLB mem 0xf6200000-0xfa200000 mapped at [ffffffc076200000-ffffffc07a1fffff]
[ 0.000000] Memory: 1927076K/2095104K available (4784K kernel code, 280K rwdata, 2112K rodata, 252K init, 812K bss, 168028K reserved, 0K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vmalloc : 0xffffff8000000000 - 0xffffffbdbfff0000 ( 246 GB)
[ 0.000000] vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000 ( 8 GB maximum)
[ 0.000000] 0xffffffbdc0000000 - 0xffffffbdc1ff8000 ( 31 MB actual)
[ 0.000000] fixed : 0xffffffbffabfd000 - 0xffffffbffac00000 ( 12 KB)
[ 0.000000] PCI I/O : 0xffffffbffae00000 - 0xffffffbffbe00000 ( 16 MB)
[ 0.000000] modules : 0xffffffbffc000000 - 0xffffffc000000000 ( 64 MB)
[ 0.000000] memory : 0xffffffc000000000 - 0xffffffc07fe00000 ( 2046 MB)
[ 0.000000] .init : 0xffffffc00073f000 - 0xffffffc00077e000 ( 252 KB)
[ 0.000000] .text : 0xffffffc000080000 - 0xffffffc00073e384 ( 6905 KB)
[ 0.000000] .data : 0xffffffc00078f000 - 0xffffffc0007d5200 ( 281 KB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] CONFIG_RCU_FANOUT set to non-default value of 32
[ 0.000000] NR_IRQS:64 nr_irqs:64 0
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] Architected cp15 timer(s) running at 25.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns
[ 0.000002] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns
[ 0.008165] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[ 0.018569] pid_max: default: 32768 minimum: 301
[ 0.023238] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.029973] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.037518] EFI services will not be available.
[ 0.042089] ASID allocator initialised with 65536 entries
[ 0.048018] Detected VIPT I-cache on CPU1
[ 0.048036] CPU1: Booted secondary processor [410fd034]
[ 0.048153] Detected VIPT I-cache on CPU2
[ 0.048165] CPU2: Booted secondary processor [410fd034]
[ 0.048272] Detected VIPT I-cache on CPU3
[ 0.048285] CPU3: Booted secondary processor [410fd034]
[ 0.048304] Brought up 4 CPUs
[ 0.079074] SMP: Total of 4 processors activated.
[ 0.083796] CPU: All CPU(s) started at EL2
[ 0.087913] alternatives: patching kernel code
[ 0.095451] DMI not present or invalid.
[ 0.099407] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.109342] atomic64_test: passed
[ 0.113005] NET: Registered protocol family 16
[ 0.117921] fsl-mc bus type registered
[ 0.121740] MC object device driver fsl_mc_dprc registered
[ 0.127275] MC object device driver fsl_mc_allocator registered
[ 0.133267] Bman ver:0a02,02,01
[ 0.140731] qman-fqd addr 0xff000000 size 0x800000
[ 0.145546] qman-pfdr addr 0xfc000000 size 0x2000000
[ 0.150531] Qman ver:0a01,03,02,00
[ 0.154017] vdso: 2 pages (1 code @ ffffffc000795000, 1 data @ ffffffc000794000)
[ 0.161553] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.167710] Serial: AMBA PL011 UART driver
[ 0.212180] ACPI: Interpreter disabled.
[ 0.216254] SCSI subsystem initialized
[ 0.220236] usbcore: registered new interface driver usbfs
[ 0.225796] usbcore: registered new interface driver hub
[ 0.231159] usbcore: registered new device driver usb
[ 0.236744] i2c i2c-0: IMX I2C adapter registered
[ 0.241467] i2c i2c-0: can't use DMA
[ 0.245348] dmi: Firmware registration failed.
[ 0.249836] bman-fbpr addr 0xfe000000 size 0x1000000
[ 0.254839] Bman err interrupt handler present
[ 0.259658] Bman portal initialised, cpu 0
[ 0.263835] Bman portal initialised, cpu 1
[ 0.268007] Bman portal initialised, cpu 2
[ 0.272178] Bman portal initialised, cpu 3
[ 0.276293] Bman portals initialised
[ 0.280748] Qman err interrupt handler present
[ 0.285507] QMan: Allocated lookup table at ffffff800017d000, entry count 131073
[ 0.293681] Qman portal initialised, cpu 0
[ 0.298243] Qman portal initialised, cpu 1
[ 0.302806] Qman portal initialised, cpu 2
[ 0.307374] Qman portal initialised, cpu 3
[ 0.311483] Qman portals initialised
[ 0.315158] Bman: BPID allocator includes range 32:32
[ 0.320272] Qman: FQID allocator includes range 256:256
[ 0.325517] Qman: FQID allocator includes range 32768:32768
[ 0.331158] Qman: CGRID allocator includes range 0:256
[ 0.336431] Qman: pool channel allocator includes range 1025:15
[ 0.342438] No USDPAA memory, no 'fsl,usdpaa-mem' in device-tree
[ 0.348498] fsl-ifc 1530000.ifc: Freescale Integrated Flash Controller
[ 0.355065] fsl-ifc 1530000.ifc: IFC version 1.4, 8 banks
[ 0.361005] clocksource: Switched to clocksource arch_sys_counter
[ 0.367273] pnp: PnP ACPI: disabled
[ 0.371338] NET: Registered protocol family 2
[ 0.375957] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 0.383315] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[ 0.390145] TCP: Hash tables configured (established 16384 bind 16384)
[ 0.396747] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[ 0.402813] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[ 0.409379] NET: Registered protocol family 1
[ 0.413872] RPC: Registered named UNIX socket transport module.
[ 0.419815] RPC: Registered udp transport module.
[ 0.424541] RPC: Registered tcp transport module.
[ 0.429261] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.436356] futex hash table entries: 1024 (order: 5, 131072 bytes)
[ 0.442717] No memory allocated for crashlog
[ 0.450351] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.456581] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.466878] io scheduler noop registered (default)
[ 0.472263] PCI host bridge /soc/pcie@3500000 ranges:
[ 0.477342] IO 0x4800010000..0x480001ffff -> 0x00000000
[ 0.482858] MEM 0x4840000000..0x487fffffff -> 0x40000000
[ 0.488452] layerscape-pcie 3500000.pcie: PCI host bridge to bus 0000:00
[ 0.495190] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.500698] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.506909] pci_bus 0000:00: root bus resource [mem 0x4840000000-0x487fffffff](bus address [0x40000000-0x7fffffff])
[ 0.517647] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.525756] pci 0000:00:00.0: BAR 1: assigned [mem 0x4840000000-0x4843ffffff]
[ 0.532931] pci 0000:00:00.0: BAR 0: assigned [mem 0x4844000000-0x4844ffffff]
[ 0.540100] pci 0000:00:00.0: BAR 6: assigned [mem 0x4845000000-0x4845ffffff pref]
[ 0.547709] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.552717] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[ 0.558966] PCI host bridge /soc/pcie@3600000 ranges:
[ 0.564046] IO 0x5000010000..0x500001ffff -> 0x00000000
[ 0.569555] MEM 0x5040000000..0x507fffffff -> 0x40000000
[ 0.575119] layerscape-pcie 3600000.pcie: PCI host bridge to bus 0001:00
[ 0.581856] pci_bus 0001:00: root bus resource [bus 00-ff]
[ 0.587365] pci_bus 0001:00: root bus resource [io 0x10000-0x1ffff](bus address [0x0000-0xffff])
[ 0.596372] pci_bus 0001:00: root bus resource [mem 0x5040000000-0x507fffffff](bus address [0x40000000-0x7fffffff])
[ 0.621051] pci 0001:00:00.0: BAR 1: assigned [mem 0x5040000000-0x5043ffffff]
[ 0.628221] pci 0001:00:00.0: BAR 0: assigned [mem 0x5044000000-0x5044ffffff]
[ 0.635396] pci 0001:00:00.0: BAR 6: assigned [mem 0x5045000000-0x5045ffffff pref]
[ 0.643006] pci 0001:00:00.0: BAR 8: assigned [mem 0x5046000000-0x50460fffff]
[ 0.650174] pci 0001:00:00.0: BAR 7: assigned [io 0x10000-0x10fff]
[ 0.656473] pci 0001:01:00.0: BAR 1: assigned [mem 0x5046000000-0x504607ffff]
[ 0.663656] pci 0001:01:00.0: BAR 6: assigned [mem 0x5046080000-0x50460bffff pref]
[ 0.671265] pci 0001:01:00.0: BAR 0: assigned [mem 0x50460c0000-0x50460dffff]
[ 0.678445] pci 0001:01:00.0: BAR 3: assigned [mem 0x50460e0000-0x50460e3fff]
[ 0.685628] pci 0001:01:00.0: BAR 2: assigned [io 0x10000-0x1001f]
[ 0.691937] pci 0001:00:00.0: PCI bridge to [bus 01]
[ 0.696921] pci 0001:00:00.0: bridge window [io 0x10000-0x10fff]
[ 0.703219] pci 0001:00:00.0: bridge window [mem 0x5046000000-0x50460fffff]
[ 0.710799] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.717613] console [ttyS0] disabled
[ 0.721224] 21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 18, base_baud = 25000000) is a 16550A
[ 0.730072] console [ttyS0] enabled
[ 0.730072] console [ttyS0] enabled
[ 0.737050] bootconsole [uart0] disabled
[ 0.737050] bootconsole [uart0] disabled
[ 0.745011] 21c0600.serial: ttyS1 at MMIO 0x21c0600 (irq = 18, base_baud = 25000000) is a 16550A
[ 0.753870] of_serial: probe of 21d0500.serial failed with error -28
[ 0.760243] of_serial: probe of 21d0600.serial failed with error -28
[ 0.766847] Unable to detect cache hierarchy from DT for CPU 0
[ 0.774672] loop: module loaded
[ 0.779321] 60000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x00227e
[ 0.789322] Amd/Fujitsu Extended Query Table at 0x0040
[ 0.794460] Amd/Fujitsu Extended Query version 1.3.
[ 0.799501] number of CFI chips: 1
[ 0.802905] 9 cmdlinepart partitions found on MTD device 60000000.nor
[ 0.809333] Creating 9 MTD partitions on "60000000.nor":
[ 0.814640] 0x000000000000-0x000000100000 : "rcw"
[ 0.819611] 0x000000100000-0x000000200000 : "u-boot"
[ 0.824822] 0x000000200000-0x000000300000 : "u-boot-env"
[ 0.830377] 0x000000300000-0x000000400000 : "fman"
[ 0.835414] 0x000000400000-0x000000500000 : "dtb"
[ 0.840379] 0x000000500000-0x000000a00000 : "kernel"
[ 0.845592] 0x000000a00000-0x000004000000 : "rootfs"
[ 0.850800] mtd: device 6 (rootfs) set to be root filesystem
[ 0.856468] 1 squashfs-split partitions found on MTD device rootfs
[ 0.862640] 0x000000b00000-0x000004000000 : "rootfs_data"
[ 0.868286] 0x000004000000-0x000008000000 : "otherbank"
[ 0.873785] 0x000000400000-0x000004000000 : "firmware"
[ 0.879678] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xac
[ 0.886028] nand: Micron MT29F4G08ABBDAH4
[ 0.890027] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 0.897848] Bad block table found at page 262080, version 0x01
[ 0.904148] Bad block table found at page 262016, version 0x01
[ 0.910568] fsl,ifc-nand 7e800000.nand: IFC NAND device at 0x7e800000, bank 1
[ 0.918141] libphy: Fixed MDIO Bus: probed
[ 0.922339] libphy: Freescale XGMAC MDIO Bus: probed
[ 0.928624] libphy: Freescale XGMAC MDIO Bus: probed
[ 0.935106] libphy: Freescale XGMAC MDIO Bus: probed
[ 0.940102] libphy: Freescale XGMAC MDIO Bus: probed
[ 0.945104] libphy: Freescale XGMAC MDIO Bus: probed
[ 0.950100] libphy: Freescale XGMAC MDIO Bus: probed
[ 0.955106] libphy: Freescale XGMAC MDIO Bus: probed
[ 0.960102] libphy: Freescale XGMAC MDIO Bus: probed
[ 0.965104] libphy: Freescale XGMAC MDIO Bus: probed
[ 0.981785] Freescale FM module, FMD API version 21.1.0
[ 0.988707] Freescale FM Ports module
[ 0.992369] fsl_mac: fsl_mac: FSL FMan MAC API based driver
[ 0.998272] fsl_mac 1ae0000.ethernet: FMan MEMAC
[ 1.002891] fsl_mac 1ae0000.ethernet: FMan MAC address: 00:04:9f:04:1c:73
[ 1.009954] fsl_mac 1ae2000.ethernet: FMan MEMAC
[ 1.014568] fsl_mac 1ae2000.ethernet: FMan MAC address: 00:04:9f:04:1c:74
[ 1.021394] fsl_mac 1ae4000.ethernet: FMan MEMAC
[ 1.026003] fsl_mac 1ae4000.ethernet: FMan MAC address: 00:04:9f:04:1c:75
[ 1.032830] fsl_mac 1ae6000.ethernet: FMan MEMAC
[ 1.037440] fsl_mac 1ae6000.ethernet: FMan MAC address: 00:04:9f:04:1c:76
[ 1.044511] fsl_mac 1ae8000.ethernet: FMan MEMAC
[ 1.049121] fsl_mac 1ae8000.ethernet: FMan MAC address: 00:04:9f:04:1c:77
[ 1.056194] fsl_mac 1aea000.ethernet: FMan MEMAC
[ 1.060804] fsl_mac 1aea000.ethernet: FMan MAC address: 00:04:9f:04:1c:78
[ 1.067637] fsl_mac 1af0000.ethernet: FMan MEMAC
[ 1.072251] fsl_mac 1af0000.ethernet: FMan MAC address: 00:04:9f:04:1c:79
[ 1.079106] fsl_dpa: FSL DPAA Ethernet driver
[ 1.085182] fsl_dpa: fsl_dpa: Probed interface eth0
[ 1.091565] fsl_dpa: fsl_dpa: Probed interface eth1
[ 1.098288] fsl_dpa: fsl_dpa: Probed interface eth2
[ 1.105371] fsl_dpa: fsl_dpa: Probed interface eth3
[ 1.112828] fsl_dpa: fsl_dpa: Probed interface eth4
[ 1.120638] fsl_dpa: fsl_dpa: Probed interface eth5
[ 1.128827] fsl_dpa: fsl_dpa: Probed interface eth6
[ 1.133760] fsl_advanced: FSL DPAA Advanced drivers:
[ 1.138714] fsl_proxy: FSL DPAA Proxy initialization driver
[ 1.144409] fsl_dpa_shared: FSL DPAA Shared Ethernet driver
[ 1.150056] fsl_dpa_macless: FSL DPAA MACless Ethernet driver
[ 1.155879] fsl_oh: FSL FMan Offline Parsing port driver
[ 1.161397] i2c /dev entries driver
[ 1.165061] sdhci: Secure Digital Host Controller Interface driver
[ 1.171233] sdhci: Copyright(c) Pierre Ossman
[ 1.175580] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.182334] sdhci-esdhc 1560000.esdhc: No vmmc regulator found
[ 1.188156] sdhci-esdhc 1560000.esdhc: No vqmmc regulator found
[ 1.231014] mmc0: SDHCI controller on 1560000.esdhc [1560000.esdhc] using ADMA 64-bit
[ 1.239500] Freescale USDPAA process driver
[ 1.243677] fsl-usdpaa: no region found
[ 1.247504] Freescale USDPAA process IRQ driver
[ 1.252386] NET: Registered protocol family 10
[ 1.257477] NET: Registered protocol family 17
[ 1.261935] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.274533] 8021q: 802.1Q VLAN Support v1.8
[ 1.279083] fsl_generic: FSL DPAA Generic Ethernet driver
[ 1.281312] mmc0: new SDHC card at address c1e7
[ 1.281477] mmcblk0: mmc0:c1e7 SD04G 3.69 GiB
[ 1.282664] mmcblk0: p1
[ 1.296580] fdt: not creating '/sys/firmware/fdt': CRC check failed
[ 1.304441] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
[ 1.311591] Freeing unused kernel memory: 252K (ffffffc00073f000 - ffffffc00077e000)
[ 1.319335] Freeing alternatives memory: 48K (ffffffc00077e000 - ffffffc00078a000)
[ 1.638683] init: Console is alive
[ 2.310718] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 2.316217] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 2.323945] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x00010010
[ 2.332659] xhci-hcd xhci-hcd.0.auto: irq 27, io mem 0x02f00000
[ 2.338786] hub 1-0:1.0: USB hub found
[ 2.342541] hub 1-0:1.0: 1 port detected
[ 2.346534] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 2.352016] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 2.359683] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 2.367934] hub 2-0:1.0: USB hub found
[ 2.371699] hub 2-0:1.0: 1 port detected
[ 2.375708] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 2.381194] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[ 2.388910] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x00010010
[ 2.397616] xhci-hcd xhci-hcd.1.auto: irq 28, io mem 0x03000000
[ 2.403706] hub 3-0:1.0: USB hub found
[ 2.407453] hub 3-0:1.0: 1 port detected
[ 2.411447] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 2.416924] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[ 2.424593] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 2.432845] hub 4-0:1.0: USB hub found
[ 2.436593] hub 4-0:1.0: 1 port detected
[ 2.440603] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 2.446108] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 5
[ 2.453829] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x00010010
[ 2.462534] xhci-hcd xhci-hcd.2.auto: irq 29, io mem 0x03100000
[ 2.468618] hub 5-0:1.0: USB hub found
[ 2.472384] hub 5-0:1.0: 1 port detected
[ 2.476372] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 2.481855] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 6
[ 2.489522] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[ 2.497778] hub 6-0:1.0: USB hub found
[ 2.501530] hub 6-0:1.0: 1 port detected
[ 2.506238] usbcore: registered new interface driver usb-storage
[ 2.517091] init: - preinit -
[ 2.561848] random: jshn: uninitialized urandom read (4 bytes read, 2 bits of entropy available)
[ 2.574258] random: jshn: uninitialized urandom read (4 bytes read, 2 bits of entropy available)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 2.751042] usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd
[ 2.787531] random: procd: uninitialized urandom read (4 bytes read, 4 bits of entropy available)
[ 2.787584] usb-storage 4-1:1.0: USB Mass Storage device detected
[ 2.787680] scsi host0: usb-storage 4-1:1.0
[ 2.791023] usb usb5-port1: over-current condition
[ 2.821020] usb usb6-port1: over-current condition
[ 3.867898] scsi 0:0:0:0: Direct-Access Kingston DataTraveler 3.0 PMAP PQ: 0 ANSI: 6
[ 4.644081] sd 0:0:0:0: [sda] 30310400 512-byte logical blocks: (15.5 GB/14.5 GiB)
[ 4.653263] sd 0:0:0:0: [sda] Write Protect is off
[ 4.659651] sd 0:0:0:0: [sda] No Caching mode page found
[ 4.664961] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 4.718507] mount_root: no usable overlay filesystem found, using tmpfs overlay
[ 4.726820] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 4.745370] sda: sda1
[ 4.751731] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 4.778754] procd: - early -
[ 5.387306] procd: - ubus -
[ 5.439634] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[ 5.448650] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[ 5.457610] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[ 5.466634] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[ 5.475592] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[ 5.484576] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[ 5.493561] random: ubusd: uninitialized urandom read (4 bytes read, 17 bits of entropy available)
[ 5.502576] procd: - init -
Please press Enter to activate this console.
[ 6.931475] device eth0 entered promiscuous mode
[ 6.936813] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready

BusyBox v1.25.1 () built-in shell (ash)

 _________
/        /\      _    ___ ___  ___

/ LE / \ | | | | | __|
/ DE / \ | |
| || |) | |
/________/ LE \ |
|**|**/|_| lede-project.org
\ \ DE /
\ LE \ / -----------------------------------------------------------
\ DE \ / Reboot (HEAD, r1262+664)
_____
_/ -----------------------------------------------------------

=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password

in order to prevent unauthorized SSH logins.

root@lede:/# ifconfig
br-lan Link encap:Ethernet HWaddr 00:04:9F:04:1C:73
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fd34:7f84:5a1::1/60 Scope:Global
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

eth0 Link encap:Ethernet HWaddr 00:04:9F:04:1C:73
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:1461 (1.4 KiB)
Memory:1ae0000-1ae0fff

eth1 Link encap:Ethernet HWaddr 00:04:9F:04:1C:74
inet6 addr: fe80::204:9fff:fe04:1c74/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:1010 (1010.0 B)
Memory:1ae2000-1ae2fff

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@lede:/# cat /proc/mtd [ 17.925504] jffs2: Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
[ 17.933938] jffs2: empty_blocks 0, bad_blocks 0, c->nr_blocks 424

dev: size erasesize name
mtd0: 00100000 00020000 "rcw"
mtd1: 00100000 00020000 "u-boot"
mtd2: 00100000 00020000 "u-boot-env"
mtd3: 00100000 00020000 "fman"
mtd4: 00100000 00020000 "dtb"
mtd5: 00500000 00020000 "kernel"
mtd6: 03600000 00020000 "rootfs"
mtd7: 03500000 00020000 "rootfs_data"
mtd8: 04000000 00020000 "otherbank"
mtd9: 03c00000 00020000 "firmware"
mtd10: 20000000 00020000 "7e800000.flash"
root@lede:/#
root@lede:/# reboot
root@lede:/# [ 29.076860] device eth0 left promiscuous mode
[ 29.081259] br-lan: port 1(eth0) entered disabled state
[ 29.106704] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 33.445220] reboot: Restarting system

U-Boot 2016.012.0+ga9b437f (Aug 15 2016 - 19:24:19 +0800)

SoC: unknown (0x87920410)
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
I2C: ready
Model: LS1043A RDB Board
Board: LS1043ARDB, boot from vBank 0
CPLD: V1.4
PCBA: V3.0
SERDES Reference Clocks:
SD1_CLK1 = 156.25MHZ, SD1_CLK2 = 100.00MHZ
DRAM: Initializing DDR....
Detected UDIMM Fixed DDR on board
2 GiB (DDR4, 32-bit, CL=11, ECC off)
SEC0: RNG instantiated
PPA Firmware: Version 0.2
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
Using SERDES1 Protocol: 5205 (0x1455)
Flash: 128 MiB
NAND: 512 MiB
MMC: FSL_SDHC: 0
EEPROM: NXID v1
PCIe1: disabled
PCIe2: Root Complex no link, regs @ 0x3500000
PCIe3: Root Complex x1 gen1, regs @ 0x3600000
PCI:
01:00.0 - 8086:10d3 - Network controller
PCIe3: Bus 00 - 01
In: serial
Out: serial
Err: serial
SCSI: Error: SCSI Controller(s) 1B4B:9170 not found
Net: Fman1: Uploading microcode version 106.4.18
e1000: 00:1b:21:46:61:df
FM1@DTSEC1, FM1@DTSEC2, FM1@DTSEC3, FM1@DTSEC4, FM1@DTSEC5, FM1@DTSEC6, FM1@TGEC1, e1000#0 [PRIME]
Hit any key to stop autoboot: 0
=> pri
baudrate=115200
bootargs=root=/dev/ram0 rw console=ttyS0,115200 earlycon=uart8250,0x21c0500,115200 ramdisk_size=0x10000000
bootcmd=cpld reset altbank
bootdelay=3
console=ttyAMA0,38400n8
cpoptee=tftp 0x80000000 $dir/tee.bin ; erase 0x64700000 +$filesize ; cp.b 0x80000000 0x64700000 $filesize; echo Comapring OPTEE; cmp.b 0x80000000 0x64700000 $filesize;
cpppa=tftp 0x80000000 $dir/ppa-tee.itb ; erase 0x64500000 +$filesize; cp.b 0x80000000 0x64500000 $filesize; echo "Compariung PPA" ; cmp.b 0x80000000 0x64500000 $filesize;
cpuboot=tftp 0x80000000 $dir/u-boot-dtb.bin ; erase 0x64100000 +$filesize ; cp.b 0x80000000 0x64100000 $filesize ; echo "Comparing uboot" ; cmp.b 0x80000000 0x64100000 $filesize;
dir=b44382/ls1043ardb/tee-sdk-2.0-rel-1.0
eth1addr=00:04:9f:04:1c:74
eth2addr=00:04:9f:04:1c:75
eth3addr=00:04:9f:04:1c:76
eth4addr=00:04:9f:04:1c:77
eth5addr=00:04:9f:04:1c:78
eth6addr=00:04:9f:04:1c:79
eth7addr=00:1b:21:46:61:df
ethact=e1000#0
ethaddr=00:04:9f:04:1c:73
ethprime=e1000#0
fdt_high=0xffffffffffffffff
fdtcontroladdr=ffbc7738
fileaddr=a0000000
filesize=774399f
flshb=tftp 0x82000000 b45939/ls1043ardb/u-boot.bin;protect off 0x64100000 0x641fffff;erase 0x64100000 0x641fffff;cp.b 82000000 64100000 100000;protect on 0x64100000 0x641fffff;cpld reset altbank
fman_ucode=60300000
gatewayip=192.168.1.1
hwconfig=fsl_ddr:bank_intlv=auto
img_itb=b30332/sdk_ga_1609-tc1/ls1043ardb/kernel_virt_def.itb
initrd_high=0xffffffffffffffff
ipaddr=192.168.2.153
kernel_addr=0x100000
kernel_load=0xa0000000
kernel_size=0x2800000
kernel_start=0x61100000
loadaddr=0x80100000
netmask=255.255.255.0
othbootargs=console=ttyS0,115200 earlycon=uart8250,0x21c0500,115200 ramdisk_size=0x10000000
raddr_itb=0xa0000000
ramdisk_addr=0x800000
ramdisk_size=0x2000000
scsidevs=0
serverip=192.168.2.1
stderr=serial
stdin=serial
stdout=serial
upbank4=tftp 82000000 b18965/ls1043-rdb/u-boot-dtb.bin && protect off all && erase 64100000 641fffff && cp.b 0x82000000 64100000 100000

Environment size: 2057/131068 bytes
=> cpld reset altbank

U-Boot 2016.01 (Oct 16 2016 - 19:19:29 +0000)

SoC: unknown (0x87920410)
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
I2C: ready
Model: LS1043A RDB Board
Board: LS1043ARDB, boot from vBank 4
CPLD: V1.4
PCBA: V3.0
SERDES Reference Clocks:
SD1_CLK1 = 156.25MHZ, SD1_CLK2 = 100.00MHZ
DRAM: Initializing DDR....
Detected UDIMM Fixed DDR on board
2 GiB (DDR4, 32-bit, CL=11, ECC off)
SEC0: RNG instantiated
Not a microcode
Waking secondary cores to start from ffd0b000
All (4) cores are up.
Using SERDES1 Protocol: 5205 (0x1455)
Flash: 128 MiB
NAND: 512 MiB
MMC: FSL_SDHC: 0
*** Warning - bad CRC, using default environment

EEPROM: NXID v1
PCIe1: disabled
PCIe2: Root Complex no link, regs @ 0x3500000
PCIe3: Root Complex x1 gen1, regs @ 0x3600000
PCI:
01:00.0 - 8086:10d3 - Network controller
PCIe3: Bus 00 - 01
In: serial
Out: serial
Err: serial
SCSI: Error: SCSI Controller(s) 1B4B:9170 not found
Net: Fman1: Uploading microcode version 108.4.5
e1000: 00:1b:21:46:61:df
FM1@DTSEC1, FM1@DTSEC2, FM1@DTSEC3 [PRIME], FM1@DTSEC4, FM1@DTSEC5, FM1@DTSEC6, FM1@TGEC1, e1000#0
Hit any key to stop autoboot: 0
=> pri
baudrate=115200
bootargs=console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 mtdparts=60000000.nor:1m(nor_bank0_rcw),1m(nor_bank0_uboot),1m(nor_bank0_uboot_env),1m(nor_bank0_fman_uconde),40m(nor_bank0_fit),1m(nor_bank4_rcw),1m(nor_bank4_uboot),1m(nor_bank4_uboot_env),1m(nor_bank4_fman_ucode),40m(nor_bank4_fit);7e800000.flash:1m(nand_uboot),1m(nand_uboot_env),20m(nand_fit);spi0.0:1m(uboot),5m(kernel),1m(dtb),9m(file_system)
bootcmd=run wrtboot
bootdelay=10
console=ttyAMA0,38400n8
eth1addr=00:04:9F:04:1C:74
eth2addr=00:04:9F:04:1C:75
eth3addr=00:04:9F:04:1C:76
eth4addr=00:04:9F:04:1C:77
eth5addr=00:04:9F:04:1C:78
eth6addr=00:04:9F:04:1C:79
eth7addr=00:1b:21:46:61:df
ethact=FM1@DTSEC3
ethaddr=00:04:9F:04:1C:73
ethprime=FM1@DTSEC3
fdt_high=0xffffffffffffffff
fdtaddr=8f000000
fdtcontroladdr=ffbc8738
fman_ucode=60300000
hwconfig=fsl_ddr:bank_intlv=auto
initrd_high=0xffffffffffffffff
kernel_addr=0x100000
kernel_load=0xa0000000
kernel_size=0x2800000
kernel_start=0x61100000
loadaddr=82000000
mtdparts=mtdparts=60000000.nor:1m(nor_bank0_rcw),1m(nor_bank0_uboot),1m(nor_bank0_uboot_env),1m(nor_bank0_fman_uconde),40m(nor_bank0_fit),1m(nor_bank4_rcw),1m(nor_bank4_uboot),1m(nor_bank4_uboot_env),1m(nor_bank4_fman_ucode),40m(nor_bank4_fit);7e800000.flash:1m(nand_uboot),1m(nand_uboot_env),20m(nand_fit);spi0.0:1m(uboot),5m(kernel),1m(dtb),9m(file_system)
ramdisk_addr=0x800000
ramdisk_size=0x2000000
ramdiskaddr=88000000
stderr=serial
stdin=serial
stdout=serial
wrtboot=setenv bootargs root=/dev/mtdblock6 rootfstype=squashfs,jffs2 noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 mtdparts=60000000.nor:1M(rcw),1M(u-boot),1M(u-boot-env),1M(fman),1M(dtb),5M(kernel),54M(rootfs),64M(otherbank),60M@0x400000(firmware) && cp.b 60400000 $fdtaddr 100000 && cp.b 60500000 $loadaddr 500000 && bootm $loadaddr - $fdtaddr
wrtupdate=tftp a0000000 /lede-layerscape-64b-ls1043ardb-squashfs-firmware.bin && protect off all && erase 60000000 +4000000 && cp.b a0000000 60000000 $filesize && reset

Environment size: 2110/131068 bytes
=>
=> setenv serverip 192.168.2.1
=> setenv ipaddr 192.168.2.153
=> setenv ethact e1000#0
=> ping $serverip
Using e1000#0 device
host 192.168.2.1 is alive
=>
=> tftp a0000000 jyt/openwrt/ls1043/lede-layerscape-32b-ls1043ardb-squashfs-firmware.bin && protect off all && erase 60000000 +4000000 && cp.b a0000000 60000000 $filesize && reset
Using e1000#0 device
TFTP from server 192.168.2.1; our IP address is 192.168.2.153
Filename 'jyt/openwrt/ls1043/lede-layerscape-32b-ls1043ardb-squashfs-firmware.bin'.
Load address: 0xa0000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##################################T ###############################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
######################
6.7 MiB/s
done
Bytes transferred = 67108864 (4000000 hex)
Un-Protect Flash Bank # 1

................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ done
Erased 512 sectors
Copy to Flash... 9....8....7....6....5....4....3....2....1....done
resetting ...

U-Boot 2016.012.0+ga9b437f (Aug 15 2016 - 19:24:19 +0800)

SoC: unknown (0x87920410)
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
I2C: ready
Model: LS1043A RDB Board
Board: LS1043ARDB, boot from vBank 0
CPLD: V1.4
PCBA: V3.0
SERDES Reference Clocks:
SD1_CLK1 = 156.25MHZ, SD1_CLK2 = 100.00MHZ
DRAM: Initializing DDR....
Detected UDIMM Fixed DDR on board
2 GiB (DDR4, 32-bit, CL=11, ECC off)
SEC0: RNG instantiated
PPA Firmware: Version 0.2
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
Using SERDES1 Protocol: 5205 (0x1455)
Flash: 128 MiB
NAND: 512 MiB
MMC: FSL_SDHC: 0
EEPROM: NXID v1
PCIe1: disabled
PCIe2: Root Complex no link, regs @ 0x3500000
PCIe3: Root Complex x1 gen1, regs @ 0x3600000
PCI:
01:00.0 - 8086:10d3 - Network controller
PCIe3: Bus 00 - 01
In: serial
Out: serial
Err: serial
SCSI: Error: SCSI Controller(s) 1B4B:9170 not found
Net: Fman1: Uploading microcode version 106.4.18
e1000: 00:1b:21:46:61:df
FM1@DTSEC1, FM1@DTSEC2, FM1@DTSEC3, FM1@DTSEC4, FM1@DTSEC5, FM1@DTSEC6, FM1@TGEC1, e1000#0 [PRIME]
Hit any key to stop autoboot: 0
=> pri
baudrate=115200
bootargs=root=/dev/ram0 rw console=ttyS0,115200 earlycon=uart8250,0x21c0500,115200 ramdisk_size=0x10000000
bootcmd=cpld reset altbank
bootdelay=3
console=ttyAMA0,38400n8
cpoptee=tftp 0x80000000 $dir/tee.bin ; erase 0x64700000 +$filesize ; cp.b 0x80000000 0x64700000 $filesize; echo Comapring OPTEE; cmp.b 0x80000000 0x64700000 $filesize;
cpppa=tftp 0x80000000 $dir/ppa-tee.itb ; erase 0x64500000 +$filesize; cp.b 0x80000000 0x64500000 $filesize; echo "Compariung PPA" ; cmp.b 0x80000000 0x64500000 $filesize;
cpuboot=tftp 0x80000000 $dir/u-boot-dtb.bin ; erase 0x64100000 +$filesize ; cp.b 0x80000000 0x64100000 $filesize ; echo "Comparing uboot" ; cmp.b 0x80000000 0x64100000 $filesize;
dir=b44382/ls1043ardb/tee-sdk-2.0-rel-1.0
eth1addr=00:04:9f:04:1c:74
eth2addr=00:04:9f:04:1c:75
eth3addr=00:04:9f:04:1c:76
eth4addr=00:04:9f:04:1c:77
eth5addr=00:04:9f:04:1c:78
eth6addr=00:04:9f:04:1c:79
eth7addr=00:1b:21:46:61:df
ethact=e1000#0
ethaddr=00:04:9f:04:1c:73
ethprime=e1000#0
fdt_high=0xffffffffffffffff
fdtcontroladdr=ffbc7738
fileaddr=a0000000
filesize=774399f
flshb=tftp 0x82000000 b45939/ls1043ardb/u-boot.bin;protect off 0x64100000 0x641fffff;erase 0x64100000 0x641fffff;cp.b 82000000 64100000 100000;protect on 0x64100000 0x641fffff;cpld reset altbank
fman_ucode=60300000
gatewayip=192.168.1.1
hwconfig=fsl_ddr:bank_intlv=auto
img_itb=b30332/sdk_ga_1609-tc1/ls1043ardb/kernel_virt_def.itb
initrd_high=0xffffffffffffffff
ipaddr=192.168.2.153
kernel_addr=0x100000
kernel_load=0xa0000000
kernel_size=0x2800000
kernel_start=0x61100000
loadaddr=0x80100000
netmask=255.255.255.0
othbootargs=console=ttyS0,115200 earlycon=uart8250,0x21c0500,115200 ramdisk_size=0x10000000
raddr_itb=0xa0000000
ramdisk_addr=0x800000
ramdisk_size=0x2000000
scsidevs=0
serverip=192.168.2.1
stderr=serial
stdin=serial
stdout=serial
upbank4=tftp 82000000 b18965/ls1043-rdb/u-boot-dtb.bin && protect off all && erase 64100000 641fffff && cp.b 0x82000000 64100000 100000

Environment size: 2057/131068 bytes
=> cpld reset altbank

U-Boot 2016.01 (Oct 16 2016 - 19:19:29 +0000)

SoC: unknown (0x87920410)
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
I2C: ready
Model: LS1043A RDB Board
Board: LS1043ARDB, boot from vBank 4
CPLD: V1.4
PCBA: V3.0
SERDES Reference Clocks:
SD1_CLK1 = 156.25MHZ, SD1_CLK2 = 100.00MHZ
DRAM: Initializing DDR....
Detected UDIMM Fixed DDR on board
2 GiB (DDR4, 32-bit, CL=11, ECC off)
SEC0: RNG instantiated
Not a microcode
Waking secondary cores to start from ffd0b000
All (4) cores are up.
Using SERDES1 Protocol: 5205 (0x1455)
Flash: 128 MiB
NAND: 512 MiB
MMC: FSL_SDHC: 0
*** Warning - bad CRC, using default environment

EEPROM: NXID v1
PCIe1: disabled
PCIe2: Root Complex no link, regs @ 0x3500000
PCIe3: Root Complex x1 gen1, regs @ 0x3600000
PCI:
01:00.0 - 8086:10d3 - Network controller
PCIe3: Bus 00 - 01
In: serial
Out: serial
Err: serial
SCSI: Error: SCSI Controller(s) 1B4B:9170 not found
Net: Fman1: Uploading microcode version 108.4.5
e1000: 00:1b:21:46:61:df
FM1@DTSEC1, FM1@DTSEC2, FM1@DTSEC3 [PRIME], FM1@DTSEC4, FM1@DTSEC5, FM1@DTSEC6, FM1@TGEC1, e1000#0
Hit any key to stop autoboot: 0
=> pri
baudrate=115200
bootargs=console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,mmio,0x21c0500 mtdparts=60000000.nor:1m(nor_bank0_rcw),1m(nor_bank0_uboot),1m(nor_bank0_uboot_env),1m(nor_bank0_fman_uconde),40m(nor_bank0_fit),1m(nor_bank4_rcw),1m(nor_bank4_uboot),1m(nor_bank4_uboot_env),1m(nor_bank4_fman_ucode),40m(nor_bank4_fit);7e800000.flash:1m(nand_uboot),1m(nand_uboot_env),20m(nand_fit);spi0.0:1m(uboot),5m(kernel),1m(dtb),9m(file_system)
bootcmd=run wrtboot
bootdelay=10
console=ttyAMA0,38400n8
eth1addr=00:04:9F:04:1C:74
eth2addr=00:04:9F:04:1C:75
eth3addr=00:04:9F:04:1C:76
eth4addr=00:04:9F:04:1C:77
eth5addr=00:04:9F:04:1C:78
eth6addr=00:04:9F:04:1C:79
eth7addr=00:1b:21:46:61:df
ethact=FM1@DTSEC3
ethaddr=00:04:9F:04:1C:73
ethprime=FM1@DTSEC3
fdt_high=0xffffffffffffffff
fdtaddr=8f000000
fdtcontroladdr=ffbc8738
fman_ucode=60300000
hwconfig=fsl_ddr:bank_intlv=auto
initrd_high=0xffffffffffffffff
kernel_addr=0x100000
kernel_load=0xa0000000
kernel_size=0x2800000
kernel_start=0x61100000
loadaddr=82000000
mtdparts=mtdparts=60000000.nor:1m(nor_bank0_rcw),1m(nor_bank0_uboot),1m(nor_bank0_uboot_env),1m(nor_bank0_fman_uconde),40m(nor_bank0_fit),1m(nor_bank4_rcw),1m(nor_bank4_uboot),1m(nor_bank4_uboot_env),1m(nor_bank4_fman_ucode),40m(nor_bank4_fit);7e800000.flash:1m(nand_uboot),1m(nand_uboot_env),20m(nand_fit);spi0.0:1m(uboot),5m(kernel),1m(dtb),9m(file_system)
ramdisk_addr=0x800000
ramdisk_size=0x2000000
ramdiskaddr=88000000
stderr=serial
stdin=serial
stdout=serial
wrtboot=setenv bootargs root=/dev/mtdblock6 rootfstype=squashfs,jffs2 noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 mtdparts=60000000.nor:1M(rcw),1M(u-boot),1M(u-boot-env),1M(fman),1M(dtb),5M(kernel),54M(rootfs),64M(otherbank),60M@0x400000(firmware) && cp.b 60400000 $fdtaddr 100000 && cp.b 60500000 $loadaddr 500000 && bootm $loadaddr - $fdtaddr
wrtupdate=tftp a0000000 /lede-layerscape-64b-ls1043ardb-squashfs-firmware.bin && protect off all && erase 60000000 +4000000 && cp.b a0000000 60000000 $filesize && reset

Environment size: 2110/131068 bytes
=> boot

Booting kernel from Legacy Image at 82000000 ...

Image Name: ARM LEDE Linux-4.4.24
Image Type: ARM Linux Kernel Image (gzip compressed)
Data Size: 2808768 Bytes = 2.7 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK

Flattened Device Tree blob at 8f000000

Booting using the fdt blob at 0x8f000000
Uncompressing Kernel Image ... OK
Using Device Tree in place at 000000008f000000, end 000000008f0197c6

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.4.24 (jyt@BP) (gcc version 5.4.0 (LEDE GCC 5.4.0 r1262+1) ) #0 SMP Sun Oct 16 19:19:29 2016
[ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=30c5383d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: LS1043A RDB Board
[ 0.000000] Truncating RAM at 0x0000000080000000-0x00000000ffe00000 to -0x00000000b0000000
[ 0.000000] Consider using a HIGHMEM enabled kernel.
[ 0.000000] Reserved memory: initialized node qman-fqd, compatible id fsl,qman-fqd
[ 0.000000] Reserved memory: initialized node qman-pfdr, compatible id fsl,qman-pfdr
[ 0.000000] Reserved memory: initialized node bman-fbpr, compatible id fsl,bman-fbpr
[ 0.000000] Forcing write-allocate cache policy for SMP
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] PERCPU: Embedded 12 pages/cpu @ef1b2000 s19328 r8192 d21632 u49152
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 195072
[ 0.000000] Kernel command line: root=/dev/mtdblock6 rootfstype=squashfs,jffs2 noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 mtdparts=60000000.nor:1M(rcw),1M(u-boot),1M(u-boot-env),1M(fman),1M(dtb),5M(kernel),54M(rootfs),64M(otherbank),60M@0x400000(firmware)
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 715092K/786432K available (4270K kernel code, 143K rwdata, 1540K rodata, 260K init, 462K bss, 71340K reserved, 0K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc05b4eb4 (5812 kB)
[ 0.000000] .init : 0xc05b5000 - 0xc05f6000 ( 260 kB)
[ 0.000000] .data : 0xc05f6000 - 0xc0619f2c ( 144 kB)
[ 0.000000] .bss : 0xc0619f2c - 0xc068d87c ( 463 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] GIC: Using split EOI/Deactivate mode
[ 0.000000] Architected cp15 timer(s) running at 25.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns
[ 0.000002] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns
[ 0.000008] Switching to timer-based delay loop, resolution 40ns
[ 0.000674] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[ 0.000681] pid_max: default: 32768 minimum: 301
[ 0.000718] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000723] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000964] CPU: Testing write buffer coherency: ok
[ 0.001090] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.001106] Setting up static identity map for 0x800082c0 - 0x800082f4
[ 0.001682] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.001915] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.002142] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.002164] Brought up 4 CPUs
[ 0.002173] SMP: Total of 4 processors activated (200.00 BogoMIPS).
[ 0.002176] CPU: All CPU(s) started in HYP mode.
[ 0.002179] CPU: Virtualization extensions available.
[ 0.005549] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[ 0.005631] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.005671] pinctrl core: initialized pinctrl subsystem
[ 0.005952] NET: Registered protocol family 16
[ 0.006103] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.006321] Bman ver:0a02,02,01
[ 0.009156] qman-fqd addr 0xaf800000 size 0x800000
[ 0.009160] qman-pfdr addr 0xac000000 size 0x2000000
[ 0.009165] Qman ver:0a01,03,02,00
[ 0.040402] SCSI subsystem initialized
[ 0.040552] usbcore: registered new interface driver usbfs
[ 0.040584] usbcore: registered new interface driver hub
[ 0.040612] usbcore: registered new device driver usb
[ 0.041007] i2c i2c-0: IMX I2C adapter registered
[ 0.041012] i2c i2c-0: can't use DMA
[ 0.041136] pps_core: LinuxPPS API ver. 1 registered
[ 0.041139] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti giometti@linux.it
[ 0.041156] PTP clock support registered
[ 0.041260] bman-fbpr addr 0xae000000 size 0x1000000
[ 0.041282] Bman err interrupt handler present
[ 0.041671] Bman portal initialised, cpu 0
[ 0.041722] Bman portal initialised, cpu 1
[ 0.041777] Bman portal initialised, cpu 2
[ 0.041827] Bman portal initialised, cpu 3
[ 0.041830] Bman portals initialised
[ 0.042986] Qman err interrupt handler present
[ 0.043808] Qman portal initialised, cpu 0
[ 0.044254] Qman portal initialised, cpu 1
[ 0.044699] Qman portal initialised, cpu 2
[ 0.045141] Qman portal initialised, cpu 3
[ 0.045145] Qman portals initialised
[ 0.045258] Bman: BPID allocator includes range 32:32
[ 0.045309] Qman: FQID allocator includes range 256:256
[ 0.045314] Qman: FQID allocator includes range 32768:32768
[ 0.045371] Qman: CGRID allocator includes range 0:256
[ 0.045501] Qman: pool channel allocator includes range 1025:15
[ 0.045573] No USDPAA memory, no 'fsl,usdpaa-mem' in device-tree
[ 0.045610] fsl-ifc 1530000.ifc: Freescale Integrated Flash Controller
[ 0.045621] fsl-ifc 1530000.ifc: IFC version 1.4, 8 banks
[ 0.046150] clocksource: Switched to clocksource arch_sys_counter
[ 0.046678] NET: Registered protocol family 2
[ 0.046906] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.046949] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.047019] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.047046] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.047065] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.047146] NET: Registered protocol family 1
[ 0.047662] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.047722] No memory allocated for crashlog
[ 0.050981] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.050990] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.051566] io scheduler noop registered
[ 0.051573] io scheduler deadline registered (default)
[ 0.052136] PCI host bridge /soc/pcie@3500000 ranges:
[ 0.052150] IO 0x4800010000..0x480001ffff -> 0x00000000
[ 0.052159] MEM 0x4840000000..0x487fffffff -> 0x40000000
[ 0.052244] layerscape-pcie 3500000.pcie: PCI host bridge to bus 0000:00
[ 0.052252] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.052258] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.052265] pci_bus 0000:00: root bus resource [mem 0x4840000000-0x487fffffff](bus address [0x40000000-0x7fffffff])
[ 0.052431] PCI: bus0: Fast back to back transfers disabled
[ 0.052438] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.052486] PCI: bus1: Fast back to back transfers enabled
[ 0.052532] pci 0000:00:00.0: BAR 1: assigned [mem 0x4840000000-0x4843ffffff]
[ 0.052539] pci 0000:00:00.0: BAR 0: assigned [mem 0x4844000000-0x4844ffffff]
[ 0.052547] pci 0000:00:00.0: BAR 6: assigned [mem 0x4845000000-0x4845ffffff pref]
[ 0.052553] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.052581] pcieport 0000:00:00.0: enabling device (0140 -> 0142)
[ 0.052730] PCI host bridge /soc/pcie@3600000 ranges:
[ 0.052739] IO 0x5000010000..0x500001ffff -> 0x00000000
[ 0.052746] MEM 0x5040000000..0x507fffffff -> 0x40000000
[ 0.052809] layerscape-pcie 3600000.pcie: PCI host bridge to bus 0001:00
[ 0.052815] pci_bus 0001:00: root bus resource [bus 00-ff]
[ 0.052821] pci_bus 0001:00: root bus resource [io 0x10000-0x1ffff](bus address [0x0000-0xffff])
[ 0.052828] pci_bus 0001:00: root bus resource [mem 0x5040000000-0x507fffffff](bus address [0x40000000-0x7fffffff])
[ 0.052974] PCI: bus0: Fast back to back transfers disabled
[ 0.076201] PCI: bus1: Fast back to back transfers disabled
[ 0.076260] pci 0001:00:00.0: BAR 1: assigned [mem 0x5040000000-0x5043ffffff]
[ 0.076268] pci 0001:00:00.0: BAR 0: assigned [mem 0x5044000000-0x5044ffffff]
[ 0.076276] pci 0001:00:00.0: BAR 6: assigned [mem 0x5045000000-0x5045ffffff pref]
[ 0.076282] pci 0001:00:00.0: BAR 8: assigned [mem 0x5046000000-0x50460fffff]
[ 0.076288] pci 0001:00:00.0: BAR 7: assigned [io 0x10000-0x10fff]
[ 0.076296] pci 0001:01:00.0: BAR 1: assigned [mem 0x5046000000-0x504607ffff]
[ 0.076315] pci 0001:01:00.0: BAR 6: assigned [mem 0x5046080000-0x50460bffff pref]
[ 0.076321] pci 0001:01:00.0: BAR 0: assigned [mem 0x50460c0000-0x50460dffff]
[ 0.076339] pci 0001:01:00.0: BAR 3: assigned [mem 0x50460e0000-0x50460e3fff]
[ 0.076357] pci 0001:01:00.0: BAR 2: assigned [io 0x10000-0x1001f]
[ 0.076374] pci 0001:00:00.0: PCI bridge to [bus 01]
[ 0.076380] pci 0001:00:00.0: bridge window [io 0x10000-0x10fff]
[ 0.076386] pci 0001:00:00.0: bridge window [mem 0x5046000000-0x50460fffff]
[ 0.076643] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.077153] console [ttyS0] disabled
[ 0.077170] 21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 33, base_baud = 25000000) is a 16550A
[ 0.955739] console [ttyS0] enabled
[ 0.959350] 21c0600.serial: ttyS1 at MMIO 0x21c0600 (irq = 33, base_baud = 25000000) is a 16550A
[ 0.968228] of_serial: probe of 21d0500.serial failed with error -28
[ 0.974608] of_serial: probe of 21d0600.serial failed with error -28
[ 0.983689] loop: module loaded
[ 0.987868] 60000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x00227e
[ 0.997865] Amd/Fujitsu Extended Query Table at 0x0040
[ 1.003000] Amd/Fujitsu Extended Query version 1.3.
[ 1.008046] number of CFI chips: 1
[ 1.011450] 9 cmdlinepart partitions found on MTD device 60000000.nor
[ 1.017883] Creating 9 MTD partitions on "60000000.nor":
[ 1.023187] 0x000000000000-0x000000100000 : "rcw"
[ 1.028198] 0x000000100000-0x000000200000 : "u-boot"
[ 1.033449] 0x000000200000-0x000000300000 : "u-boot-env"
[ 1.039058] 0x000000300000-0x000000400000 : "fman"
[ 1.044150] 0x000000400000-0x000000500000 : "dtb"
[ 1.049205] 0x000000500000-0x000000a00000 : "kernel"
[ 1.054478] 0x000000a00000-0x000004000000 : "rootfs"
[ 1.059754] mtd: device 6 (rootfs) set to be root filesystem
[ 1.065415] 1 squashfs-split partitions found on MTD device rootfs
[ 1.071592] 0x000000ae0000-0x000004000000 : "rootfs_data"
[ 1.077309] 0x000004000000-0x000008000000 : "otherbank"
[ 1.082843] 0x000000400000-0x000004000000 : "firmware"
[ 1.088867] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xac
[ 1.095208] nand: Micron MT29F4G08ABBDAH4
[ 1.099214] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 1.107023] Bad block table found at page 262080, version 0x01
[ 1.113283] Bad block table found at page 262016, version 0x01
[ 1.119739] fsl,ifc-nand 7e800000.nand: IFC NAND device at 0x7e800000, bank 1
[ 1.127342] libphy: Fixed MDIO Bus: probed
[ 1.132035] libphy: Freescale XGMAC MDIO Bus: probed
[ 1.138399] libphy: Freescale XGMAC MDIO Bus: probed
[ 1.144886] libphy: Freescale XGMAC MDIO Bus: probed
[ 1.149899] libphy: Freescale XGMAC MDIO Bus: probed
[ 1.154903] libphy: Freescale XGMAC MDIO Bus: probed
[ 1.159917] libphy: Freescale XGMAC MDIO Bus: probed
[ 1.164920] libphy: Freescale XGMAC MDIO Bus: probed
[ 1.169933] libphy: Freescale XGMAC MDIO Bus: probed
[ 1.174936] libphy: Freescale XGMAC MDIO Bus: probed
[ 1.191817] Freescale FM module, FMD API version 21.1.0
[ 1.199196] Freescale FM Ports module
[ 1.202850] fsl_mac: fsl_mac: FSL FMan MAC API based driver
[ 1.208778] fsl_mac 1ae0000.ethernet: FMan MEMAC
[ 1.213391] fsl_mac 1ae0000.ethernet: FMan MAC address: 00:04:9f:04:1c:73
[ 1.220467] fsl_mac 1ae2000.ethernet: FMan MEMAC
[ 1.225078] fsl_mac 1ae2000.ethernet: FMan MAC address: 00:04:9f:04:1c:74
[ 1.231918] fsl_mac 1ae4000.ethernet: FMan MEMAC
[ 1.236534] fsl_mac 1ae4000.ethernet: FMan MAC address: 00:04:9f:04:1c:75
[ 1.243367] fsl_mac 1ae6000.ethernet: FMan MEMAC
[ 1.247983] fsl_mac 1ae6000.ethernet: FMan MAC address: 00:04:9f:04:1c:76
[ 1.255059] fsl_mac 1ae8000.ethernet: FMan MEMAC
[ 1.259674] fsl_mac 1ae8000.ethernet: FMan MAC address: 00:04:9f:04:1c:77
[ 1.266755] fsl_mac 1aea000.ethernet: FMan MEMAC
[ 1.271365] fsl_mac 1aea000.ethernet: FMan MAC address: 00:04:9f:04:1c:78
[ 1.278206] fsl_mac 1af0000.ethernet: FMan MEMAC
[ 1.282816] fsl_mac 1af0000.ethernet: FMan MAC address: 00:04:9f:04:1c:79
[ 1.289693] fsl_dpa: FSL DPAA Ethernet driver
[ 1.295627] fsl_dpa: fsl_dpa: Probed interface eth0
[ 1.301568] fsl_dpa: fsl_dpa: Probed interface eth1
[ 1.307505] fsl_dpa: fsl_dpa: Probed interface eth2
[ 1.313430] fsl_dpa: fsl_dpa: Probed interface eth3
[ 1.319381] fsl_dpa: fsl_dpa: Probed interface eth4
[ 1.325326] fsl_dpa: fsl_dpa: Probed interface eth5
[ 1.331292] fsl_dpa: fsl_dpa: Probed interface eth6
[ 1.336232] fsl_advanced: FSL DPAA Advanced drivers:
[ 1.341189] fsl_proxy: FSL DPAA Proxy initialization driver
[ 1.346890] fsl_dpa_shared: FSL DPAA Shared Ethernet driver
[ 1.352552] fsl_dpa_macless: FSL DPAA MACless Ethernet driver
[ 1.358394] fsl_oh: FSL FMan Offline Parsing port driver
[ 1.363931] i2c /dev entries driver
[ 1.367687] sdhci: Secure Digital Host Controller Interface driver
[ 1.373856] sdhci: Copyright(c) Pierre Ossman
[ 1.378212] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.384969] sdhci-esdhc 1560000.esdhc: No vmmc regulator found
[ 1.390798] sdhci-esdhc 1560000.esdhc: No vqmmc regulator found
[ 1.446152] mmc0: SDHCI controller on 1560000.esdhc [1560000.esdhc] using ADMA 64-bit
[ 1.458730] Freescale USDPAA process driver
[ 1.462908] fsl-usdpaa: no region found
[ 1.466744] Freescale USDPAA process IRQ driver
[ 1.475762] NET: Registered protocol family 10
[ 1.484883] NET: Registered protocol family 17
[ 1.489346] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.501950] 8021q: 802.1Q VLAN Support v1.8
[ 1.506191] Registering SWP/SWPB emulation handler
[ 1.511322] fsl_generic: FSL DPAA Generic Ethernet driver
[ 1.516835] hctosys: unable to open rtc device (rtc0)
[ 1.522340] fdt: not creating '/sys/firmware/fdt': CRC check failed
[ 1.530810] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
[ 1.538050] Freeing unused kernel memory: 260K (c05b5000 - c05f6000)
[ 1.556525] mmc0: new SDHC card at address c1e7
[ 1.561238] mmcblk0: mmc0:c1e7 SD04G 3.69 GiB
[ 1.566861] mmcblk0: p1
[ 1.857348] init: Console is alive
[ 2.483917] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 2.489417] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[ 2.497147] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x00010010
[ 2.505856] xhci-hcd xhci-hcd.0.auto: irq 42, io mem 0x02f00000
[ 2.512040] hub 1-0:1.0: USB hub found
[ 2.515791] hub 1-0:1.0: 1 port detected
[ 2.519817] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[ 2.525296] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[ 2.532974] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 2.541283] hub 2-0:1.0: USB hub found
[ 2.545034] hub 2-0:1.0: 1 port detected
[ 2.549083] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 2.554565] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[ 2.562291] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x00010010
[ 2.570998] xhci-hcd xhci-hcd.1.auto: irq 43, io mem 0x03000000
[ 2.577162] hub 3-0:1.0: USB hub found
[ 2.580911] hub 3-0:1.0: 1 port detected
[ 2.584922] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 2.590409] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[ 2.598084] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[ 2.606399] hub 4-0:1.0: USB hub found
[ 2.610147] hub 4-0:1.0: 1 port detected
[ 2.614180] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 2.619671] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 5
[ 2.627401] xhci-hcd xhci-hcd.2.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x00010010
[ 2.636101] xhci-hcd xhci-hcd.2.auto: irq 44, io mem 0x03100000
[ 2.642272] hub 5-0:1.0: USB hub found
[ 2.646021] hub 5-0:1.0: 1 port detected
[ 2.650052] xhci-hcd xhci-hcd.2.auto: xHCI Host Controller
[ 2.655531] xhci-hcd xhci-hcd.2.auto: new USB bus registered, assigned bus number 6
[ 2.663216] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[ 2.671536] hub 6-0:1.0: USB hub found
[ 2.675285] hub 6-0:1.0: 1 port detected
[ 2.680008] usbcore: registered new interface driver usb-storage
[ 2.696208] init: - preinit -
[ 2.793440] random: jshn: uninitialized urandom read (4 bytes read, 0 bits of entropy available)
[ 2.806669] random: jshn: uninitialized urandom read (4 bytes read, 0 bits of entropy available)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 2.926190] usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd
[ 2.962967] random: procd: uninitialized urandom read (4 bytes read, 25 bits of entropy available)
[ 2.962987] usb-storage 4-1:1.0: USB Mass Storage device detected
[ 2.966167] usb usb5-port1: over-current condition
[ 2.976258] scsi host0: usb-storage 4-1:1.0
[ 2.996161] usb usb6-port1: over-current condition
[ 3.163181] random: nonblocking pool is initialized
[ 4.062886] scsi 0:0:0:0: Direct-Access Kingston DataTraveler 3.0 PMAP PQ: 0 ANSI: 6
[ 4.839061] sd 0:0:0:0: [sda] 30310400 512-byte logical blocks: (15.5 GB/14.5 GiB)
[ 4.848229] sd 0:0:0:0: [sda] Write Protect is off
[ 4.854613] sd 0:0:0:0: [sda] No Caching mode page found
[ 4.859923] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 4.939421] sda: sda1
[ 4.945773] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 5.970493] mount_root: no usable overlay filesystem found, using tmpfs overlay
[ 5.978780] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 6.007962] procd: - early -
[ 6.626470] procd: - ubus -
[ 6.686610] procd: - init -
Please press Enter to activate this console.
[ 8.216684] device eth0 entered promiscuous mode
[ 8.222129] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready

BusyBox v1.25.1 () built-in shell (ash)

 _________
/        /\      _    ___ ___  ___

/ LE / \ | | | | | __|
/ DE / \ | |
| || |) | |
/________/ LE \ |
|**|**/|_| lede-project.org
\ \ DE /
\ LE \ / -----------------------------------------------------------
\ DE \ / Reboot (HEAD, r1262+664)
_____
_/ -----------------------------------------------------------

=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password

in order to prevent unauthorized SSH logins.

root@lede:/# ifconfig
br-lan Link encap:Ethernet HWaddr 00:04:9F:04:1C:73
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fdf5:ff8b:a7d5::1/60 Scope:Global
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

eth0 Link encap:Ethernet HWaddr 00:04:9F:04:1C:73
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:1461 (1.4 KiB)
Memory:1ae0000-1ae0fff

eth1 Link encap:Ethernet HWaddr 00:04:9F:04:1C:74
inet6 addr: fe80::204:9fff:fe04:1c74/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:1070 (1.0 KiB)
Memory:1ae2000-1ae2fff

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@lede:/# cat /[ 19.344623] jffs2: Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes
[ 19.353059] jffs2: empty_blocks 0, bad_blocks 0, c->nr_blocks 425
root@lede:/# cat /proc/mtd
dev: size erasesize name
mtd0: 00100000 00020000 "rcw"
mtd1: 00100000 00020000 "u-boot"
mtd2: 00100000 00020000 "u-boot-env"
mtd3: 00100000 00020000 "fman"
mtd4: 00100000 00020000 "dtb"
mtd5: 00500000 00020000 "kernel"
mtd6: 03600000 00020000 "rootfs"
mtd7: 03520000 00020000 "rootfs_data"
mtd8: 04000000 00020000 "otherbank"
mtd9: 03c00000 00020000 "firmware"
mtd10: 20000000 00020000 "7e800000.flash"
root@lede:/#
root@lede:/#
root@lede:/# reboot
root@lede:/# [ 116.564913] device eth0 left promiscuous mode
[ 116.569317] br-lan: port 1(eth0) entered disabled state
[ 116.596224] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 120.938534] reboot: Restarting system

U-Boot 2016.012.0+ga9b437f (Aug 15 2016 - 19:24:19 +0800)

SoC: unknown (0x87920410)
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
I2C: ready
Model: LS1043A RDB Board
Board: LS1043ARDB, boot from vBank 0
CPLD: V1.4
PCBA: V3.0
SERDES Reference Clocks:
SD1_CLK1 = 156.25MHZ, SD1_CLK2 = 100.00MHZ
DRAM: Initializing DDR....
Detected UDIMM Fixed DDR on board
2 GiB (DDR4, 32-bit, CL=11, ECC off)
SEC0: RNG instantiated
PPA Firmware: Version 0.2
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
Using SERDES1 Protocol: 5205 (0x1455)
Flash: 128 MiB
NAND: 512 MiB
MMC: FSL_SDHC: 0
EEPROM: NXID v1
PCIe1: disabled
PCIe2: Root Complex no link, regs @ 0x3500000
PCIe3: Root Complex x1 gen1, regs @ 0x3600000
PCI:
01:00.0 - 8086:10d3 - Network controller
PCIe3: Bus 00 - 01
In: serial
Out: serial
Err: serial
SCSI: Error: SCSI Controller(s) 1B4B:9170 not found
Net: Fman1: Uploading microcode version 106.4.18
e1000: 00:1b:21:46:61:df
FM1@DTSEC1, FM1@DTSEC2, FM1@DTSEC3, FM1@DTSEC4, FM1@DTSEC5, FM1@DTSEC6, FM1@TGEC1, e1000#0 [PRIME]
Hit any key to stop autoboot: 0
=>

Add support for NXP layerscape ls1043ardb 64b/32b Dev board.

LS1043a is an SoC with 4x64-bit up to 1.6 GHz ARMv8 A53 cores.
ls1043ardb support features as: 2GB DDR4, 128MB NOR/512MB NAND, USB3.0, eSDHC,
I2C, GPIO, PCIe/Mini-PCIe, 6x1G/1x10G network port, etc.

64b/32b ls1043ardb target is using 4.4 kernel, and rcw/u-boot/fman images from
NXP QorIQ SDK release.

All of 4.4 kernel patches porting from SDK release or upstream.

QorIQ SDK ISOs can be downloaded from this location:
http://www.nxp.com/products/software-and-tools/run-time-software/linux-sdk/linux-sdk-for-qoriq-processors:SDKLINUX

Signed-off-by: Yutang Jiang <yutang.jiang@nxp.com>
dd if=$(KDIR)/rcw.bin >> $@
endef

define Build/append-ls-uboot
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LS1043a is a ARMv8 64b SoC, for customer can run the old 32b application on it, we change some code to switch to 32b mode while 64b uboot jump to kernel.
So, the 32b kernel is booted by a 64b toolchain compiled uboot, while 32b toolchain cannot compile 64b uboot.
I used an unfriendly way to achieve it in lede: Before make 32b, must first make 64b firmware, while compile uboot in 64b, copy it to bin/targets/layerscape/64b/ , then copy it to current $(KDIR)/ to using while make 32b.
If user do not know it and first make 32b, it should add a check and warning for user:
define Build/append-ls-uboot
if [ 32b = $(SUBTARGET) ]; then
if [ -f $(BIN_DIR)/../64b/$(1)-u-boot-dtb.bin ]; then
$(CP) $(BIN_DIR)/../64b/$(1)-u-boot-dtb.bin $(KDIR)/ ;
else
echo "* WARNING _" ;
echo "$(BIN_DIR)/../64b/$(1)-u-boot-dtb.bin not exist, please first make 64b device:$(1) then make the 32b" ;
echo "_
**********" ;
exit 1;
fi;
fi
dd if=$(KDIR)/$(1)-u-boot-dtb.bin >> $@
endef

@blogic
Copy link
Contributor

blogic commented Oct 18, 2016

building the 64 bit uboot under the 64bit target and then using it inside the 32bit target will break our buildbot setup i am afraid. @jow- any ideas ? we could package the 64bit uboot binary and use that inside the 32bit target

@blogic
Copy link
Contributor

blogic commented Oct 24, 2016

@fsl-jyt @jow- afetr some consideration, we will package the 32bit uboot and host it as a binary so that the 32b target can pull it from the mirror during builds

@fsl-jyt
Copy link
Contributor Author

fsl-jyt commented Oct 25, 2016

@blogic @jow-
Thanks blogic and jow for your consideration, this is a convenient method!
I'm also working on ls1012's backport/support to openwrt/lede, it has a more complex firmware case: network pfe firmware is directly put into the root file system of SDK release, did not put the external address; rcw source code has not been received, only a rcw binary in hand. I have suggested the department to migrate the SDK and other projects to the github, but it is a gradual process. In order to facilitate add ls1043/ls1012 support into openwrt/lede and upstreaming work, I plan to put these 32b uboot binary, PFE and other necessary firmware into my GitHub account, and let the packages build script link to my GitHub account(I noticed that some of the packages in openwrt/lede are pointing to someone’s GitHub account project). In the future, while our’s SDK/PFE and other projects be put into a unified external address, I will change the package link to them.
Do you think about my plan? I will catch my time to do it if you agree. Hope to complete it before replacing a new company prefix, Aha.

@jow-
Copy link
Member

jow- commented Oct 25, 2016

If there are no problems with the redistribution rights of the blob files I see no problem with pulling them from your github account.

@fsl-jyt
Copy link
Contributor Author

fsl-jyt commented Oct 28, 2016

Hi @blogic and @jow-

I submit a new PR 450, please check, thanks!
#450

Thanks & Best Regards
Jiang Yutang

@blogic blogic closed this Oct 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants