Failure to bring up secondary cpu's

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.
I'm trying to replace LK with U-boot on MSM8016 (Dragonboard410c)
The kernel loads successfully however the secondary CPU's fails to
boot. (log below)
I assume I have some low level initialization that has some effect on that.
Anyone has any idea what could be the problem or where to add some
debug messages ?

Thanks,
Ramon.

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.15+linaro+ (rfried@lx-rfried) (gcc
version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #3 SMP PREEMPT Thu
May 3 15:13:26 IDT 2018
[    0.000000] Boot CPU: AArch64 Processor [410fd030]
[    0.000000] Machine model: Qualcomm Technologies, Inc. APQ 8016 SBC
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 16 MiB at 0x00000000bc800000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem
0x0000000000000000-0x00000000bd9fffff]
[    0.000000] NUMA: NODE_DATA [mem 0xbd996d00-0xbd9987ff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000bd9fffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x0000000085ffffff]
[    0.000000]   node   0: [mem 0x0000000089f00000-0x000000008e9fffff]
[    0.000000]   node   0: [mem 0x000000008eb00000-0x00000000bd9fffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000000bd9fffff]
[    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 23 pages/cpu @ffff80003d933000 s55704
r8192 d30312 u94208
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: enabling workaround for ARM errata
826319, 827319, 824069
[    0.000000] CPU features: enabling workaround for ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 232344
[    0.000000] Policy zone: DMA
[    0.000000] Kernel command line: root=/dev/mmcblk0p10 rw rootwait
console=ttyMSM0,115200n8 text
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Memory: 892084K/944128K available (10364K kernel code,
1556K rwdata, 4828K rodata, 1152K init, 422K bss, 35660K reserved,
16384K 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 - 0xffff000008aa0000
( 10368 KB)
[    0.000000]     .rodata : 0xffff000008aa0000 - 0xffff000008f60000
(  4864 KB)
[    0.000000]       .init : 0xffff000008f60000 - 0xffff000009080000
(  1152 KB)
[    0.000000]       .data : 0xffff000009080000 - 0xffff000009205200
(  1557 KB)
[    0.000000]        .bss : 0xffff000009205200 - 0xffff00000926ec68
(   423 KB)
[    0.000000]     fixed   : 0xffff7dfffe7fb000 - 0xffff7dfffec00000
(  4116 KB)
[    0.000000]     PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000
(    16 MB)
[    0.000000]     vmemmap : 0xffff7e0000000000 - 0xffff800000000000
(  2048 GB maximum)
[    0.000000]               0xffff7e0000000000 - 0xffff7e0000f68000
(    15 MB actual)
[    0.000000]     memory  : 0xffff800000000000 - 0xffff80003da00000
(   986 MB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4.
[    0.000000]  Tasks RCU enabled.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] arch_timer: cp15 and mmio timer(s) running at 19.20MHz
(virt/virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff
max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000005] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps
every 4398046511078ns
[    0.000732] Console: colour dummy device 80x25
[    0.000794] Calibrating delay loop (skipped), value calculated
using timer frequency.. 38.40 BogoMIPS (lpj=76800)
[    0.000807] pid_max: default: 32768 minimum: 301
[    0.000898] Security Framework initialized
[    0.001440] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.001712] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.001746] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.001763] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.015254] ASID allocator initialised with 65536 entries
[    0.023243] Hierarchical SRCU implementation.
[    0.035880] EFI services will not be available.
[    0.043807] smp: Bringing up secondary CPUs ...
[    1.089047] CPU1: failed to come online
[    1.089056] CPU1: failed in unknown state : 0x0
[    2.146282] CPU2: failed to come online
[    2.146291] CPU2: failed in unknown state : 0x0
[    3.203521] CPU3: failed to come online
[    3.203529] CPU3: failed in unknown state : 0x0
[    3.203585] smp: Brought up 1 node, 1 CPU
[    3.203591] SMP: Total of 1 processors activated.
[    3.203601] CPU features: detected feature: 32-bit EL0 Support
[    3.203725] CPU: All CPU(s) started at EL1
[    3.203737] alternatives: patching kernel code
[    3.204356] devtmpfs: initialized
[    3.215384] random: get_random_u32 called from
bucket_table_alloc+0x108/0x258 with crng_init=0
[    3.219778] Registered cp15_barrier emulation handler
[    3.219793] Registered setend emulation handler
[    3.220136] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 7645041785100000 ns
[    3.220187] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    3.220954] pinctrl core: initialized pinctrl subsystem
[    3.222948] DMI not present or invalid.
[    3.223305] NET: Registered protocol family 16
[    3.227621] random: fast init done
[    3.230769] cpuidle: using governor menu
[    3.232595] vdso: 2 pages (1 code @ ffff000008aa6000, 1 data @
ffff000009085000)
[    3.232615] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    3.233847] DMA: preallocated 256 KiB pool for atomic allocations
[    3.234873] Serial: AMBA PL011 UART driver
[    3.313117] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    3.324927] ACPI: Interpreter disabled.
[    3.327452] vgaarb: loaded
[    3.327920] SCSI subsystem initialized
[    3.333425] usbcore: registered new interface driver usbfs
[    3.333528] usbcore: registered new interface driver hub
[    3.333689] usbcore: registered new device driver usb
[    3.335403] pps_core: LinuxPPS API ver. 1 registered
[    3.335412] pps_core: Software ver. 5.3.6 - Copyright 2005-2007
Rodolfo Giometti <giometti@xxxxxxxx>
[    3.335479] PTP clock support registered
[    3.335835] EDAC MC: Ver: 3.0.0
[    3.337293] dmi: Firmware registration failed.
[    3.341455] Advanced Linux Sound Architecture Driver Initialized.
[    3.343201] clocksource: Switched to clocksource arch_sys_counter
[    3.343366] VFS: Disk quotas dquot_6.6.0
[    3.343424] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    3.343624] pnp: PnP ACPI: disabled
[    3.358912] NET: Registered protocol family 2
[    3.359932] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    3.360042] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[    3.360197] TCP: Hash tables configured (established 8192 bind 8192)
[    3.360337] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    3.360379] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    3.360534] NET: Registered protocol family 1
[    3.369734] RPC: Registered named UNIX socket transport module.
[    3.369743] RPC: Registered udp transport module.
[    3.369749] RPC: Registered tcp transport module.
[    3.369755] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.370447] hw perfevents: enabled with armv8_cortex_a53 PMU
driver, 7 counters available
[    3.370756] kvm [1]: HYP mode not available
[    3.372481] audit: initializing netlink subsys (disabled)
[    3.373917] audit: type=2000 audit(3.363:1): state=initialized
audit_enabled=0 res=1
[    3.374348] workingset: timestamp_bits=44 max_order=18 bucket_order=0
[    3.388860] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    3.390649] NFS: Registering the id_resolver key type
[    3.390676] Key type id_resolver registered
[    3.390682] Key type id_legacy registered
[    3.390695] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    3.390911] 9p: Installing v9fs 9p2000 file system support
[    3.394784] Block layer SCSI generic (bsg) driver version 0.4
loaded (major 246)
[    3.399118] io scheduler noop registered
[    3.399498] io scheduler cfq registered (default)
[    3.399507] io scheduler mq-deadline registered
[    3.399514] io scheduler kyber registered
[    3.447446] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    3.450968] SuperH (H)SCI(F) driver initialized
[    3.452946] msm_serial 78af000.serial: msm_serial: detected port #1
[    3.453050] msm_serial 78af000.serial: uartclk = 19200000
[    3.453118] 78af000.serial: ttyMSM1 at MMIO 0x78af000 (irq = 9,
base_baud = 1200000) is a MSM
[    3.453991] msm_serial 78b0000.serial: msm_serial: detected port #0
[    3.454066] msm_serial 78b0000.serial: uartclk = 7372800
[    3.454127] 78b0000.serial: ttyMSM0 at MMIO 0x78b0000 (irq = 10,
base_baud = 460800) is a MSM
[    3.454146] msm_serial: console setup on port #0
[    4.279147] console [ttyMSM0] enabled
[    4.284599] msm_serial: driver initialized
[    4.289157] qcom-iommu 1ef0000.iommu: iommu sec: pgtable size: 94208
[    4.307493] loop: module loaded
[    4.315488] spi_qup 78b7000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[    4.317409] spi_qup 78b9000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[    4.323690] spmi spmi-0: PMIC arbiter version v2 (0x20010000)
[    4.339048] s1: supplied by regulator-dummy
[    4.339662] s2: supplied by regulator-dummy
[    4.342510] s3: supplied by regulator-dummy
[    4.346591] s4: supplied by regulator-dummy
[    4.350744] l1: supplied by regulator-dummy
[    4.354849] l2: supplied by regulator-dummy
[    4.359003] l3: supplied by regulator-dummy
[    4.363237] l4: supplied by regulator-dummy
[    4.367367] l5: supplied by regulator-dummy
[    4.371472] l6: supplied by regulator-dummy
[    4.375686] l7: supplied by regulator-dummy
[    4.379869] l8: supplied by regulator-dummy
[    4.384010] l9: supplied by regulator-dummy
[    4.388187] l10: supplied by regulator-dummy
[    4.392347] l11: supplied by regulator-dummy
[    4.396851] l12: supplied by regulator-dummy
[    4.401130] l13: supplied by regulator-dummy
[    4.405357] l14: supplied by regulator-dummy
[    4.409616] l15: supplied by regulator-dummy
[    4.413893] l16: supplied by regulator-dummy
[    4.418127] l17: supplied by regulator-dummy
[    4.422370] l18: supplied by regulator-dummy
[    4.428150] libphy: Fixed MDIO Bus: probed
[    4.432308] tun: Universal TUN/TAP device driver, 1.6
[    4.437463] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[    4.440334] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[    4.445520] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[    4.451295] igb: Copyright (c) 2007-2014 Intel Corporation.
[    4.458197] igbvf: Intel(R) Gigabit Virtual Function Network Driver
- version 2.4.0-k
[    4.463718] igbvf: Copyright (c) 2009 - 2012 Intel Corporation.
[    4.472373] sky2: driver version 1.30
[    4.478369] usbcore: registered new interface driver rtl8150
[    4.481544] usbcore: registered new interface driver r8152
[    4.487055] usbcore: registered new interface driver asix
[    4.492415] usbcore: registered new interface driver ax88179_178a
[    4.497825] usbcore: registered new interface driver cdc_ether
[    4.503892] usbcore: registered new interface driver net1080
[    4.509620] usbcore: registered new interface driver cdc_subset
[    4.515433] usbcore: registered new interface driver zaurus
[    4.521094] usbcore: registered new interface driver cdc_ncm
[    4.526825] VFIO - User Level meta-driver version: 0.3
[    4.538958] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.538999] ehci-pci: EHCI PCI platform driver
[    4.545196] ehci-platform: EHCI generic platform driver
[    4.549184] ehci-orion: EHCI orion driver
[    4.554275] ehci-exynos: EHCI EXYNOS driver
[    4.558352] ehci-msm: Qualcomm On-Chip EHCI Host Controller
[    4.562356] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.567720] ohci-pci: OHCI PCI platform driver
[    4.573993] ohci-platform: OHCI generic platform driver
[    4.578596] ohci-exynos: OHCI EXYNOS driver
[    4.584469] usbcore: registered new interface driver usb-storage
[    4.588034] usbcore: registered new interface driver usbserial
[    4.594037] usbcore: registered new interface driver usbserial_generic
[    4.599628] usbserial: USB Serial support registered for generic
[    4.623217] usb3503 usb2513: switched to HUB mode
[    4.623239] usb3503 usb2513: usb3503_probe: probed in hub mode
[    4.639308] msm_hsusb 78d9000.usb: 78d9000.usb supply vbus not
found, using dummy regulator
[    4.643608] input: pm8941_pwrkey as
/devices/platform/soc/200f000.spmi/spmi-0/0-00/200f000.spmi:pm8916@0:pwrkey@800/input/input0
[    4.648759] i2c /dev entries driver
[    4.660586] i2c_qup 78b6000.i2c: using default clock-frequency 100000
[    4.661478] i2c_qup 78b6000.i2c:
[    4.661478]  tx channel not available
[    4.669429] i2c_qup 78b8000.i2c: using default clock-frequency 100000
[    4.675086] i2c_qup 78b8000.i2c:
[    4.675086]  tx channel not available
[    4.682585] i2c_qup 78ba000.i2c: using default clock-frequency 100000
[    4.688498] i2c_qup 78ba000.i2c:
[    4.688498]  tx channel not available
[    4.701808] qcom-tsens 4a8000.thermal-sensor: tsens calibration failed
[    4.705687] sdhci: Secure Digital Host Controller Interface driver
[    4.708431] sdhci: Copyright(c) Pierre Ossman
[    4.714918] Synopsys Designware Multimedia Card Interface Driver
[    4.720626] sdhci-pltfm: SDHCI platform and OF driver helper
[    4.728465] sdhci_msm 7864900.sdhci: Got CD GPIO
[    4.734140] ledtrig-cpu: registered to indicate activity on CPUs
[    4.738121] usbcore: registered new interface driver usbhid
[    4.741970] usbhid: USB HID core driver
[    4.751146] usbcore: registered new interface driver snd-usb-audio
[    4.754098] NET: Registered protocol family 10
[    4.761557] Segment Routing with IPv6
[    4.761623] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    4.765393] NET: Registered protocol family 17
[    4.770526] 9pnet: Installing 9P2000 support
[    4.774979] Key type dns_resolver registered
[    4.780169] registered taskstats version 1
[    4.805234] s1: supplied by regulator-dummy
[    4.805312] s1: Bringing 0uV into 375000-375000uV
[    4.808313] msm_hsusb 78d9000.usb: 78d9000.usb supply vbus not
found, using dummy regulator
[    4.819560] sdhci_msm 7864900.sdhci: Got CD GPIO
[    4.822195] s2: supplied by regulator-dummy
[    4.828826] input: gpio_keys as /devices/platform/gpio_keys/input/input1
[    4.829234] hctosys: unable to open rtc device (rtc0)
[    4.829665] ALSA device list:
[    4.829667]   No soundcards found.
[    4.833204] sdhci_msm 7864900.sdhci: Got CD GPIO
[    4.851070] s3: supplied by regulator[    4.859896] s4: supplied by
regulator-dummy
[    4.859939] s4: Bringing 0uV into 1800000-1800000uV
[    4.863391] l1: supplied by s3
[    4.867848] l1: Bringing 0uV into 375000-375000uV
[    4.871312] l2: supplied by s3
[    4.875726] l2: Bringing 0uV into 1200000-1200000uV
[    4.878971] l3: supplied by s3
[    4.883464] l3: Bringing 0uV into 375000-375000uV
[    4.886852] l4: supplied by s4
[    4.891350] l4: Bringing 0uV into 1750000-1750000uV
[    4.894616] l5: supplied by s4
[    4.899087] l5: Bringing 0uV into 1750000-1750000uV
[    4.902519] l6: supplied by s4
[    4.906983] l6: Bringing 0uV into 1800000-1800000uV
[    4.910391] l7: supplied by s4
[    4.914874] l7: Bringing 0uV into 1750000-1750000uV
[    4.918308] l8: supplied by regulator-dummy
[    4.922774] l8: Bringing 0uV into 1750000-1750000uV
[    4.927269] l9: supplied by regulator-dummy
[    4.931803] l9: Bringing 0uV into 1750000-1750000uV
[    4.936279] l10: supplied by regulator-dummy
[    4.940834] l10: Bringing 0uV into 1750000-1750000uV
[    4.945619] l11: supplied by regulator-dummy
[    4.950289] l11: Bringing 0uV into 1750000-1750000uV
[    4.954843] l12: supplied by regulator-dummy
[    4.959495] l12: Bringing 0uV into 1750000-1750000uV
[    4.964092] l13: supplied by regulator-dummy
[    4.968692] l13: Bringing 0uV into 1750000-1750000uV
[    4.973245] l14: supplied by regulator-dummy
[    4.977893] l14: Bringing 0uV into 1750000-1750000uV
[    4.982431] l15: supplied by regulator-dummy
[    4.987098] l15: Bringing 0uV into 1750000-1750000uV
[    4.992049] l16: supplied by regulator-dummy
[    4.996295] l16: Bringing 0uV into 1750000-1750000uV
[    5.000830] l17: supplied by regulator-dummy
[    5.005504] l17: Bringing 0uV into 3300000-3300000uV
[    5.010681] l18: supplied by regulator-dummy
[    5.014697] l18: Bringing 0uV into 1750000-1750000uV
[    5.019591] Waiting for root device /dev/mmcblk0p10...
--
To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux