NetBSD-Bugs archive

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

port-arm32/53079: On BananaPI M3 only one cpu is recognized out of eight cpus.



>Number:         53079
>Category:       port-arm32
>Synopsis:       On BananaPI M3 only one cpu is recognized out of eight cpus.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-arm32-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 08 01:15:00 +0000 2018
>Originator:     Arun
>Release:        NetBSD 8.99.12 (SUNXI) #0: Mon Mar 5 12:42:28 UTC 2018
>Organization:
Accord Software, Inc.
>Environment:
>Description:

All cpus are not recognized. See output below.

-----------------------------------------------------------------------
NetBSD 8.99.12 (SUNXI) #0: Mon Mar  5 12:42:28 UTC 2018
        mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/SUNXI
total memory = 2048 MB
avail memory = 2019 MB
armfdt0 (root)
fdt0 at armfdt0: Banana Pi BPI-M3
fdt1 at fdt0
fdt2 at fdt0
fdt3 at fdt0
cpus0 at fdt0
cpu0 at cpus0: Cortex-A7 r0p5 (Cortex V7A core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: 32KB/32B 2-way L1 VIPT Instruction cache
cpu0: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
cpu0: 512KB/64B 8-way write-through L2 PIPT Unified cache
vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
cpu1 at cpus0: disabled (unresponsive)
cpu2 at cpus0: disabled (unresponsive)
cpu3 at cpus0: disabled (unresponsive)
/cpus/cpu@100 at cpus0 not configured
/cpus/cpu@101 at cpus0 not configured
/cpus/cpu@102 at cpus0 not configured
/cpus/cpu@103 at cpus0 not configured
gic0 at fdt1: GIC


Is the kernel not configured to recognize all cpus?
-----------------------------------------------------------------------

When running Ubuntu on the same bpi m3, all cpus are shown to be activated.

Ubuntu 16.04.3 LTS bpi-iot-ros-ai ttyS0

bpi-iot-ros-ai login: root
Password:
Last login: Mon Jan 15 21:55:47 CST 2018 on tty1
root@bpi-iot-ros-ai:~# dmesg | grep cpu
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] [mcpm_smp_init_cpus] ncores=8
[    0.000000] PERCPU: Embedded 8 pages/cpu @c21e4000 s12160 r8192 d12416 u32768
[    0.000000] pcpu-alloc: s12160 r8192 d12416 u32768 alloc=8*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7
[    0.003278] Initializing cgroup subsys cpuacct
[    0.050315] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.010000] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.010000] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.010000] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.010000] CPU4: thread -1, cpu 0, socket 1, mpidr 80000100
[    0.010000] CPU5: thread -1, cpu 1, socket 1, mpidr 80000101
[    0.010000] CPU6: thread -1, cpu 2, socket 1, mpidr 80000102
[    0.010000] CPU7: thread -1, cpu 3, socket 1, mpidr 80000103
[   23.362412] dhd_dpc_thread: set dpc_cpucore 0 from config.txt
root@bpi-iot-ros-ai:~#
-----------------------------------------------------------------------

>How-To-Repeat:
Do a install.

Also, there is no output to the hdmi monitor.  Have to use serial console.
>Fix:



Home | Main Index | Thread Index | Old Index