AnsweredAssumed Answered

LS1043ARDB cannot bring up the kernel downloaded from TFTP

Question asked by Jheng-Jhong Wu on Dec 21, 2016
Latest reply on Dec 27, 2016 by Jheng-Jhong Wu

Switches set to boot from default NOR.

Try to set TFTP boot but cannot succeed to bring up the kernel downloaded from TFTP.

What's wrong?

 

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

environment

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

baudrate=115200
bootargs=console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,0x21c0500,115200
bootcmd=cp.b $kernel_start $kernel_load $kernel_size && bootm $kernel_load
bootdelay=3
console=ttyAMA0,38400n8
eth1addr=00:04:9f:04:4d:c4
eth2addr=00:04:9f:04:4d:c5
eth3addr=00:04:9f:04:4d:c6
eth4addr=00:04:9f:04:4d:c7
eth5addr=00:04:9f:04:4d:c8
eth6addr=00:04:9f:04:4d:c9
ethact=FM1@DTSEC1
ethaddr=00:04:9f:04:4d:c3
ethprime=e1000#0
fdt_high=0xffffffffffffffff
fman_ucode=60300000
gatewayip=192.168.1.1
hwconfig=fsl_ddr:bank_intlv=auto
initrd_high=0xffffffffffffffff
ipaddr=192.168.1.100
kernel_addr=0x100000
kernel_load=0xa0000000
kernel_size=0x2800000
kernel_start=0x61100000
loadaddr=0x80100000
netmask=255.255.255.0
ramdisk_addr=0x800000
ramdisk_size=0x2000000
scsidevs=0
serverip=192.168.1.1
stderr=serial
stdin=serial
stdout=serial

Environment size: 902/131068 bytes

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

command

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

=> setenv ipaddr 10.20.2.200
=> setenv serverip 10.20.2.26
=> setenv netmask 255.255.255.0
=> setenv gatewayip 10.20.2.26
=> setenv bootargs "root=/dev/ram0 earlycon=uart8250,0x21c0500,mmio,115200 console=ttyS0,115200"
=> tftp a0000000 kernel.itb

=> bootm a0000000

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

log

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

=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2016.12.21 17:44:27 =~=~=~=~=~=~=~=~=~=~=~=


U-Boot 2015.01QorIQ-SDK-V1.7+gc297f5b (Dec 20 2015 - 13:08:26)

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
Board: LS1043ARDB, boot from vBank 0
CPLD: V1.4
PCBA: V3.0
SERDES Reference Clocks:
SD1_CLK1 = 156.25MHZ, SD1_CLK2 = 100.00MHZ
I2C: ready
DRAM: Initializing DDR....
Detected UDIMM Fixed DDR on board
2 GiB (DDR4, 32-bit, CL=11, ECC off)
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)
fman_port_enet_if:71: port(FM1_DTSEC3) is OK
fman_port_enet_if:77: port(FM1_DTSEC4) is OK
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 no link, regs @ 0x3600000
In: serial
Out: serial
Err: serial
Net: Fman1: Uploading microcode version 106.4.17
FM1@DTSEC1, FM1@DTSEC2, FM1@DTSEC3, FM1@DTSEC4, FM1@DTSEC5, FM1@DTSEC6, FM1@TGEC1
Hit any key to stop autoboot: 3     0
=> printenv
baudrate=115200
bootargs=console=ttyS0,115200 root=/dev/ram0 earlycon=uart8250,0x21c0500,115200
bootcmd=cp.b $kernel_start $kernel_load $kernel_size && bootm $kernel_load
bootdelay=3
console=ttyAMA0,38400n8
eth1addr=00:04:9f:04:4d:c4
eth2addr=00:04:9f:04:4d:c5
eth3addr=00:04:9f:04:4d:c6
eth4addr=00:04:9f:04:4d:c7
eth5addr=00:04:9f:04:4d:c8
eth6addr=00:04:9f:04:4d:c9
ethact=FM1@DTSEC1
ethaddr=00:04:9f:04:4d:c3
ethprime=e1000#0
fdt_high=0xffffffffffffffff
fman_ucode=60300000
gatewayip=192.168.1.1
hwconfig=fsl_ddr:bank_intlv=auto
initrd_high=0xffffffffffffffff
ipaddr=192.168.1.100
kernel_addr=0x100000
kernel_load=0xa0000000
kernel_size=0x2800000
kernel_start=0x61100000
loadaddr=0x80100000
netmask=255.255.255.0
ramdisk_addr=0x800000
ramdisk_size=0x2000000
scsidevs=0
serverip=192.168.1.1
stderr=serial
stdin=serial
stdout=serial

Environment size: 902/131068 bytes
=> setenv ipaddr 10.20.2.200
=> setenv serverip 10.20.2.26
=> setenv netmask 255.255.255.0
=> setenv gatewayip 10.20.2.26
=> setenv bootargs "root=/dev/ram0 earlycon=uart8250,0x21c0500,mmio,115200 console=ttyS0,115200"
=> tftp a0000000 kernel.itb
Using FM1@DTSEC1 device
TFTP from server 10.20.2.26; our IP address is 10.20.2.200
Filename 'kernel.itb'.
Load address: 0xa0000000
Loading: * #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
####################
1.8 MiB/s
done
Bytes transferred = 32726607 (1f35e4f hex)
=> bootm a0000000
## Loading kernel from FIT Image at a0000000 ...
Using 'config@1' configuration
Trying 'kernel@1' kernel subimage
Description: ARM64 Linux kernel
Type: Kernel Image
Compression: gzip compressed
Data Start: 0xa00000d4
Data Size: 5465897 Bytes = 5.2 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x80080000
Entry Point: 0x80080000
Verifying Hash Integrity ... OK
## Loading ramdisk from FIT Image at a0000000 ...
Using 'config@1' configuration
Trying 'ramdisk@1' ramdisk subimage
Description: Ramdisk
Type: RAMDisk Image
Compression: uncompressed
Data Start: 0xa053d094
Data Size: 27232880 Bytes = 26 MiB
Architecture: AArch64
OS: Linux
Load Address: unavailable
Entry Point: unavailable
Verifying Hash Integrity ... OK
## Loading fdt from FIT Image at a0000000 ...
Using 'config@1' configuration
Trying 'fdt@1' fdt subimage
Description: Flattened Device Tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0xa05368b4
Data Size: 26463 Bytes = 25.8 KiB
Architecture: AArch64
Verifying Hash Integrity ... OK
Loading fdt from 0xa05368b4 to 0x90000000
Booting using the fdt blob at 0x90000000
Uncompressing Kernel Image ... OK
Using Device Tree in place at 0000000090000000, end 000000009001975e

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 4.1.30-rt34+g4004071 (victor@u14d-64b) (gcc version 4.9.3 20150311 (prerelease) (Linaro GCC 4.9-2015.03) ) #1 SMP Tue Dec 13 15:29:03 CST 2016
[ 0.000000] CPU: AArch64 Processor [410fd034] revision 4
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] alternatives: enabling workaround for ARM erratum 845719
[ 0.000000] earlycon: Early serial console at MMIO 0x21c0500 (options 'mmio,115200')
[ 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 bman-fbpr, compatible id fsl,bman-fbpr
[ 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] cma: Reserved 16 MiB at 0x00000000fb000000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv0.2 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] PERCPU: Embedded 18 pages/cpu @ffff80007fd84000 s34880 r8192 d30656 u73728
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 515592
[ 0.000000] Kernel command line: root=/dev/ram0 earlycon=uart8250,0x21c0500,mmio,115200 console=ttyS0,115200
[ 0.000000] log_buf_len individual max cpu contribution: 4096 bytes
[ 0.000000] log_buf_len total cpu_extra contributions: 12288 bytes
[ 0.000000] log_buf_len min size: 16384 bytes
[ 0.000000] log_buf_len: 32768 bytes
[ 0.000000] early log buf free: 14400(87%)
[ 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 0xf5000000-0xf9000000] (64MB) mapped at [ffff800075000000-ffff800078ffffff]
[ 0.000000] Memory: 1879488K/2095104K available (7746K kernel code, 581K rwdata, 3196K rodata, 480K init, 757K bss, 199232K reserved, 16384K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vmalloc : 0xffff000000000000 - 0xffff7bffbfff0000 (126974 GB)
[ 0.000000] vmemmap : 0xffff7bffc0000000 - 0xffff7fffc0000000 ( 4096 GB maximum)
[ 0.000000] 0xffff7bffc0000000 - 0xffff7bffc1ff8000 ( 31 MB actual)
[ 0.000000] fixed : 0xffff7ffffabfd000 - 0xffff7ffffac00000 ( 12 KB)
[ 0.000000] PCI I/O : 0xffff7ffffae00000 - 0xffff7ffffbe00000 ( 16 MB)
[ 0.000000] modules : 0xffff7ffffc000000 - 0xffff800000000000 ( 64 MB)
[ 0.000000] memory : 0xffff800000000000 - 0xffff80007fe00000 ( 2046 MB)
[ 0.000000] .init : 0xffff800000b32000 - 0xffff800000baa000 ( 480 KB)
[ 0.000000] .text : 0xffff800000080000 - 0xffff800000b31974 ( 10951 KB)
[ 0.000000] .data : 0xffff800000bbb000 - 0xffff800000c4c600 ( 582 KB)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Additional per-CPU info printed with stalls.
[ 0.000000] RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[ 0.000000] NR_IRQS:64 nr_irqs:64 0
[ 0.000000] GIC CPU mask not found - kernel will fail to boot.
[ 0.000000] GIC CPU mask not found - kernel will fail to boot.
[ 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.008282] Console: colour dummy device 80x25
[ 0.012750] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
[ 0.023150] pid_max: default: 32768 minimum: 301
[ 0.027834] Security Framework initialized
[ 0.031970] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.038700] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.046176] Initializing cgroup subsys memory
[ 0.050564] Initializing cgroup subsys hugetlb
[ 0.055146] hw perfevents: enabled with arm/armv8-pmuv3 PMU driver, 7 counters available
[ 0.063287] EFI services will not be available.

Outcomes