Bug ID 1040492
Summary HiKey does not boot
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware aarch64
OS SUSE Other
Status CONFIRMED
Severity Normal
Priority P5 - None
Component Kernel
Assignee afaerber@suse.com
Reporter afaerber@suse.com
QA Contact qa-bugs@suse.de
CC bamvor.zhangjian@huawei.com, mbrugger@suse.com, yousaf.kaukab@suse.com
Found By ---
Blocker ---

The LeMaker HiKey board has been failing to boot the Factory kernel.

By adding "earlycon" in GRUB in a modified JeOS-hikey image I get:

EFI stub: Booting Linux Kernel...
EFI stub: EFI_RNG_PROTOCOL unavailable, no randomness supplied
EFI stub: ERROR: could not determine UEFI Secure Boot status.
EFI stub: Using DTB from configuration table
EFI stub: Exiting boot services and installing virtual address map...
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.10.0-1.g12a7a6d-default (geeko@buildhost) (gcc
version 6.3.1 20170202 [gcc-6-branch revision 245119] (SUSE Linux) ) #1 SMP Mon
Feb 20 13:08:30 UTC 2017 (12a7a6d)
[    0.000000] Boot CPU: AArch64 Processor [410fd033]
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: EFI v2.05 by Das U-boot
[    0.000000] efi:  SMBIOS=0x3d683000 
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000035400000,
size 128 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id
shared-dma-pool
[    0.000000] earlycon: pl11 at MMIO 0x00000000f7113000 (options '115200n8')
[    0.000000] bootconsole [pl11] enabled
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem
0x0000000000000000-0x000000003effefff]
[    0.000000] NUMA: Adding memblock [0x0 - 0x5dfffff] on node 0
[    0.000000] NUMA: Adding memblock [0x5f00000 - 0x5f00fff] on node 0
[    0.000000] NUMA: Adding memblock [0x5f02000 - 0x6dfefff] on node 0
[    0.000000] NUMA: Adding memblock [0x6e00000 - 0x740efff] on node 0
[    0.000000] NUMA: Adding memblock [0x7410000 - 0x8008fff] on node 0
[    0.000000] NUMA: Adding memblock [0x800a000 - 0x21efffff] on node 0
[    0.000000] NUMA: Adding memblock [0x22000000 - 0x3d682fff] on node 0
[    0.000000] NUMA: Adding memblock [0x3d683000 - 0x3d683fff] on node 0
[    0.000000] NUMA: Adding memblock [0x3d684000 - 0x3ef88fff] on node 0
[    0.000000] NUMA: Adding memblock [0x3ef89000 - 0x3ef8afff] on node 0
[    0.000000] NUMA: Adding memblock [0x3ef8b000 - 0x3effefff] on node 0
[    0.000000] NUMA: Initmem setup node 0 [mem 0x00000000-0x3effefff]
[    0.000000] NUMA: NODE_DATA [mem 0x3efbeb00-0x3efc05ff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000000000-0x000000003effefff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000005dfffff]
[    0.000000]   node   0: [mem 0x0000000005f00000-0x0000000005f00fff]
[    0.000000]   node   0: [mem 0x0000000005f02000-0x0000000006dfefff]
[    0.000000]   node   0: [mem 0x0000000006e00000-0x000000000740efff]
[    0.000000]   node   0: [mem 0x0000000007410000-0x0000000008008fff]
[    0.000000]   node   0: [mem 0x000000000800a000-0x0000000021efffff]
[    0.000000]   node   0: [mem 0x0000000022000000-0x000000003d682fff]
[    0.000000]   node   0: [mem 0x000000003d683000-0x000000003d683fff]
[    0.000000]   node   0: [mem 0x000000003d684000-0x000000003ef88fff]
[    0.000000]   node   0: [mem 0x000000003ef89000-0x000000003ef8afff]
[    0.000000]   node   0: [mem 0x000000003ef8b000-0x000000003effefff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000003effefff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] percpu: Embedded 22 pages/cpu @ffff80003eed9000 s52888 r8192
d29032 u90112
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total
pages: 253499
[    0.000000] Policy zone: DMA
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/linux.vmx earlycon
splash=silent plymouth.enable=0 rootflags=size=100% console=ttyAMA3,115200n8
showopts
[    0.000000] log_buf_len individual max cpu contribution: 32768 bytes
[    0.000000] log_buf_len total cpu_extra contributions: 229376 bytes
[    0.000000] log_buf_len min size: 262144 bytes
[    0.000000] log_buf_len: 524288 bytes
[    0.000000] early log buf free: 257960(98%)
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Memory: 788844K/1030124K available (8060K kernel code, 1310K
rwdata, 5672K rodata, 4352K init, 1139K bss, 110208K reserved, 131072K
cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffff000000000000 - 0xffff000008000000   (   128
MB)
[    0.000000]     vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000   (129022
GB)
[    0.000000]       .text : 0xffff000008080000 - 0xffff000008860000   (  8064
KB)
[    0.000000]     .rodata : 0xffff000008860000 - 0xffff000008df0000   (  5696
KB)
[    0.000000]       .init : 0xffff000008df0000 - 0xffff000009230000   (  4352
KB)
[    0.000000]       .data : 0xffff000009230000 - 0xffff000009377a00   (  1311
KB)
[    0.000000]        .bss : 0xffff000009377a00 - 0xffff00000949470c   (  1140
KB)
[    0.000000]     fixed   : 0xffff7dfffe7fd000 - 0xffff7dfffec00000   (  4108
KB)
[    0.000000]     PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000   (    16
MB)
[    0.000000]     vmemmap : 0xffff7e0000000000 - 0xffff800000000000   (  2048
GB maximum)
[    0.000000]               0xffff7e0000000000 - 0xffff7e0000fbffc0   (    15
MB actual)
[    0.000000]     memory  : 0xffff800000000000 - 0xffff80003efff000   (  1007
MB)
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 64.
[    0.000000]  RCU restricting CPUs from NR_CPUS=128 to nr_cpu_ids=8.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=8
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 1.20MHz
(phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff
max_cycles: 0x11b661f8e, max_idle_ns: 1763180809113 ns
[    0.000003] sched_clock: 56 bits at 1200kHz, resolution 833ns, wraps every
4398046510838ns
[    0.008462] clocksource: arm,sp804: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 99544814920 ns
[    0.018055] sched_clock: 32 bits at 19MHz, resolution 52ns, wraps every
111848106981ns
[    0.026706] Console: colour dummy device 80x25
[    0.031251] Calibrating delay loop (skipped), value calculated using timer
frequency.. 2.40 BogoMIPS (lpj=12000)
[    0.041563] pid_max: default: 32768 minimum: 301
[    0.046357] Security Framework initialized
[    0.050515] AppArmor: AppArmor initialized
[    0.054979] Dentry cache hash table entries: 131072 (order: 8, 1048576
bytes)
[    0.062974] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.070289] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.077072] Mountpoint-cache hash table entries: 2048 (order: 2, 16384
bytes)
[    0.084954] ftrace: allocating 29243 entries in 115 pages
[    0.135113] ASID allocator initialised with 65536 entries
[    0.142493] Remapping and enabling EFI services.
[    0.147234]   EFI remap 0x000000003d683000 => 0000000020003000
[    0.153132]   EFI remap 0x000000003ef89000 => 0000000020019000
[    0.159390] smp: Bringing up secondary CPUs ...
[    0.164586] Detected VIPT I-cache on CPU1
[    0.164644] CPU1: Booted secondary processor [410fd033]
[    0.165245] Detected VIPT I-cache on CPU2
[    0.165275] CPU2: Booted secondary processor [410fd033]
[    0.165829] Detected VIPT I-cache on CPU3
[    0.165852] CPU3: Booted secondary processor [410fd033]
[    0.166501] Detected VIPT I-cache on CPU4
[    0.166542] CPU4: Booted secondary processor [410fd033]
[    0.167175] Detected VIPT I-cache on CPU5
[    0.167198] CPU5: Booted secondary processor [410fd033]
[    0.167786] Detected VIPT I-cache on CPU6
[    0.167809] CPU6: Booted secondary processor [410fd033]
[    0.168397] Detected VIPT I-cache on CPU7
[    0.168420] CPU7: Booted secondary processor [410fd033]
[    0.168494] smp: Brought up 1 node, 8 CPUs
[    0.237984] SMP: Total of 8 processors activated.
[    0.242746] CPU features: detected feature: 32-bit EL0 Support
[    0.248710] CPU: All CPU(s) started at EL2
[    0.252891] alternatives: patching kernel code
[    0.258165] devtmpfs: initialized
[    0.267216] SMBIOS 3.0 present.
[    0.270402] DMI: hisilicon hikey/hikey, BIOS 2016.09.01 10/15/2016
[    0.276912] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 19112604462750000 ns
[    0.286926] futex hash table entries: 2048 (order: 6, 262144 bytes)
[    0.297436] pinctrl core: initialized pinctrl subsystem
[    0.303763] NET: Registered protocol family 16
[    0.348318] cpuidle: using governor ladder
[    0.378332] cpuidle: using governor menu
[    0.382893] vdso: 2 pages (1 code @ ffff000008867000, 1 data @
ffff000009235000)
[    0.390395] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.397975] DMA: preallocated 256 KiB pool for atomic allocations
[    0.404271] Serial: AMBA PL011 UART driver
[    0.409919] f8015000.uart: ttyAMA0 at MMIO 0xf8015000 (irq = 7, base_baud =
0) is a PL011 rev2
[    0.418933] OF: amba_device_add() failed (-19) for /soc/uart@f7111000
[    0.425609] uart-pl011 f7112000.uart: could not find pctldev for node
/soc/pinmux@f7010000/uart2_pmx_func, deferring probe

This was reproducible with a next-20170523 kernel and there was resolvable by
enabling CONFIG_PINCTRL_SINGLE=y.

On master branch we already have CONFIG_PINCTRL_SINGLE=m, so I fear we will
need to change that to =y.


You are receiving this mail because: