AnsweredAssumed Answered

LS1043 cannot boot Kernel

Question asked by jayaram d on Feb 1, 2018

Hi All,

 

     I am trying to boot   LS1043 with Linux kernel 4.1 , but it is not booting . Below is the console log.  bootargs : console=ttyS0,115200 root=/dev/ram0 ramdisk_size=0x10000 earlycon=uart8250,mmio,0x21c0500 maxcpus=1 loglevel=8 .   Can please help me to resolve this problem. Thank you.

 

Starting kernel ...

Booting Linux on physical CPU 0x0
Initializing cgroup subsys cpu
Linux version 4.1.8-rt8 (rajeshwari@rajeshwari) (gcc version 4.9.3 20150311 (prerelease) (Linaro GCC 4.9-2015.03) ) #26 SMP Tue Jan 30 10:51:31 IS
T 2018
CPU: AArch64 Processor [410fd034] revision 4
Detected VIPT I-cache on CPU0
alternatives: enabling workaround for ARM erratum 845719
earlycon: Early serial console at MMIO 0x21c0500 (options '')
bootconsole [uart0] enabled
efi: Getting EFI parameters from FDT:
efi: UEFI not found.
cma: Reserved 16 MiB at 0x00000000bb000000
On node 0 totalpages: 261632
DMA zone: 4088 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 261632 pages, LIFO batch:31
PERCPU: Embedded 16 pages/cpu @ffffffc03fd90000 s28096 r8192 d29248 u65536
pcpu-alloc: s28096 r8192 d29248 u65536 alloc=16*4096
pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 257544
Kernel command line: console=ttyS0,115200 root=/dev/ram0 ramdisk_size=0x10000 earlycon=uart8250,mmio,0x21c0500 maxcpus=1 loglevel=8
log_buf_len individual max cpu contribution: 4096 bytes
log_buf_len total cpu_extra contributions: 12288 bytes
log_buf_len min size: 16384 bytes
log_buf_len: 32768 bytes
early log buf free: 14812(90%)
PID hash table entries: 4096 (order: 3, 32768 bytes)
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
software IO TLB [mem 0xb6200000-0xba200000] (64MB) mapped at [ffffffc036200000-ffffffc03a1fffff]
Memory: 866520K/1046528K available (5389K kernel code, 445K rwdata, 2188K rodata, 424K init, 203K bss, 163624K reserved, 16384K cma-reserved)
Virtual kernel memory layout:
vmalloc : 0xffffff8000000000 - 0xffffffbdbfff0000 ( 246 GB)
vmemmap : 0xffffffbdc0000000 - 0xffffffbfc0000000 ( 8 GB maximum)
0xffffffbdc2000000 - 0xffffffbdc2ff8000 ( 15 MB actual)
fixed : 0xffffffbffabfd000 - 0xffffffbffac00000 ( 12 KB)
PCI I/O : 0xffffffbffae00000 - 0xffffffbffbe00000 ( 16 MB)
modules : 0xffffffbffc000000 - 0xffffffc000000000 ( 64 MB)
memory : 0xffffffc000000000 - 0xffffffc03fe00000 ( 1022 MB)
.init : 0xffffffc0007e9000 - 0xffffffc000853000 ( 424 KB)
.text : 0xffffffc000080000 - 0xffffffc0007e8504 ( 7586 KB)
.data : 0xffffffc000859000 - 0xffffffc0008c8600 ( 446 KB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Hierarchical RCU implementation.
Additional per-CPU info printed with stalls.
RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
NR_IRQS:64 nr_irqs:64 0
GIC CPU mask not found - kernel will fail to boot.
GIC CPU mask not found - kernel will fail to boot.
Architected cp15 timer(s) running at 25.00MHz (phys).
clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns
sched_clock: 56 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns
Console: colour dummy device 80x25
Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=250000)
pid_max: default: 32768 minimum: 301
Security Framework initialized
Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
Initializing cgroup subsys memory
Initializing cgroup subsys hugetlb
hw perfevents: enabled with arm/armv8-pmuv3 PMU driver, 7 counters available
EFI services will not be available.
Brought up 1 CPUs
SMP: Total of 1 processors activated.
CPU: All CPU(s) started at EL2
alternatives: patching kernel code
devtmpfs: initialized
DMI not present or invalid.
clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
cpuidle: using governor ladder
cpuidle: using governor menu
vdso: 2 pages (1 code @ ffffffc000861000, 1 data @ ffffffc000860000)
hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
DMA: preallocated 256 KiB pool for atomic allocations
Serial: AMBA PL011 UART driver
vgaarb: loaded
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switched to clocksource arch_sys_counter
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PCI: CLS 0 bytes, default 64
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
in free_reserved_area
Freeing initrd memory: 13116K (ffffffc002e1b000 - ffffffc003aea000)
kvm [1]: interrupt-controller@1404000 IRQ9
kvm [1]: timer IRQ3
kvm [1]: Hyp mode initialized successfully
futex hash table entries: 1024 (order: 4, 65536 bytes)
audit: initializing netlink subsys (disabled)
audit: type=2000 audit(0.000:1): initialized
HugeTLB registered 2 MB page size, pre-allocated 0 pages
VFS: Disk quotas dquot_6.6.0
VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
fuse init (API version 7.23)
9p: Installing v9fs 9p2000 file system support
io scheduler noop registered
io scheduler cfq registered (default)
PCI host bridge /soc/pcie@3500000 ranges:
IO 0x4800010000..0x480001ffff -> 0x00000000
MEM 0x4840000000..0x487fffffff -> 0x40000000
layerscape-pcie 3500000.pcie: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [bus 00-ff]
pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
pci_bus 0000:00: root bus resource [mem 0x4840000000-0x487fffffff] (bus address [0x40000000-0x7fffffff])
pci 0000:00:00.0: [1957:8080] type 01 class 0x060400
pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x00ffffff]
pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x03ffffff]
pci 0000:00:00.0: reg 0x38: [mem 0x00000000-0x00ffffff pref]
pci 0000:00:00.0: supports D1 D2
pci 0000:00:00.0: PME# supported from D0 D1 D2 D3hot
pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
pci 0000:00:00.0: BAR 1: assigned [mem 0x4840000000-0x4843ffffff]
pci 0000:00:00.0: BAR 0: assigned [mem 0x4844000000-0x4844ffffff]
pci 0000:00:00.0: BAR 6: assigned [mem 0x4845000000-0x4845ffffff pref]
pci 0000:00:00.0: PCI bridge to [bus 01]
pcieport 0000:00:00.0: enabling device (0000 -> 0002)
pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
pcie_pme 0000:00:00.0:pcie01: service driver pcie_pme loaded
aer 0000:00:00.0:pcie02: service driver aer loaded
PCI host bridge /soc/pcie@3600000 ranges:
IO 0x5000010000..0x500001ffff -> 0x00000000
MEM 0x5040000000..0x507fffffff -> 0x40000000
layerscape-pcie 3600000.pcie: PCI host bridge to bus 0001:00
pci_bus 0001:00: root bus resource [bus 00-ff]
pci_bus 0001:00: root bus resource [io 0x10000-0x1ffff] (bus address [0x0000-0xffff])
pci_bus 0001:00: root bus resource [mem 0x5040000000-0x507fffffff] (bus address [0x40000000-0x7fffffff])
pci 0001:00:00.0: [1957:8080] type 01 class 0x060400
pci 0001:00:00.0: reg 0x10: [mem 0x00000000-0x00ffffff]
pci 0001:00:00.0: reg 0x14: [mem 0x00000000-0x03ffffff]
pci 0001:00:00.0: reg 0x38: [mem 0x00000000-0x00ffffff pref]
pci 0001:00:00.0: supports D1 D2
pci 0001:00:00.0: PME# supported from D0 D1 D2 D3hot
pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
pci 0001:00:00.0: BAR 1: assigned [mem 0x5040000000-0x5043ffffff]
pci 0001:00:00.0: BAR 0: assigned [mem 0x5044000000-0x5044ffffff]
pci 0001:00:00.0: BAR 6: assigned [mem 0x5045000000-0x5045ffffff pref]
pci 0001:00:00.0: PCI bridge to [bus 01]
pcieport 0001:00:00.0: enabling device (0000 -> 0002)
pcieport 0001:00:00.0: Signaling PME through PCIe PME interrupt
pcie_pme 0001:00:00.0:pcie01: service driver pcie_pme loaded
aer 0001:00:00.0:pcie02: service driver aer loaded
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
msm_serial: driver initialized
console [ttyS0] disabled
21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 18, base_baud = 18750000) is a 16550A
console [ttyS0] enabled
console [ttyS0] enabled
bootconsole [uart0] disabled
bootconsole [uart0] disabled
21c0600.serial: ttyS1 at MMIO 0x21c0600 (irq = 18, base_baud = 18750000) is a 16550A
21d0500.serial: ttyS2 at MMIO 0x21d0500 (irq = 19, base_baud = 18750000) is a 16550A
21d0600.serial: ttyS3 at MMIO 0x21d0600 (irq = 19, base_baud = 18750000) is a 16550A
Unable to detect cache hierarcy from DT for CPU 0
brd: module loaded
loop: module loaded
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>

Outcomes