Port-mips archive

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

Unifi USG-3P Cavium CN5020



Hello -- realizing that 1) I have no use for my old Unifi USG-3P, 2) I have never tried NetBSD on a MIPS device, I decided to give NetBSD-10 a try on it.

Booting with NetBSD-10 RELEASE was pretty straightforward using the octeon.img on a USB stick (replacing existing). Here's my bootcmd:
    bootcmd=fatload usb 0 $loadaddr netbsd;bootoctlinux root=dk1a

Cool.

But I noticed this in dmesg:
    [   1.0000000] cpu1 at cpunode0 core 1: disabled (uniprocessor kernel)

So I built a new kernel using OCTEON as the base and added:
    options     MULTIPROCESSOR

Now I see this in dmesg:
    [     1.000000] cpu1 at cpunode0 core 1 disabled (unresponsive)

Is there another option needed in the kernel config?
Is multiprocessor even supported on evbmips octeon?

Full dmesg (with generic uniprocessor kernel) below.

Thanks -- Joel

[   1.0000000] MIPS32/64 params: cpu arch: 256
[   1.0000000] MIPS32/64 params: TLB entries: 64
[ 1.0000000] MIPS32/64 params: Icache: line=128, total=32768, ways=4, sets=64, colors=1 [ 1.0000000] MIPS32/64 params: Dcache: line=128, total=16384, ways=64, sets=2, colors=0 [ 1.0000000] MIPS32/64 params: SDcache: line=128, total=131072, ways=8, sets=128, colors=2
[   1.0000000]   Dcache is coherent
[   1.0000000] u-boot bootmem desc @ 0x24108 version 3.0
[   1.0000000] phys segment: 0xfc000 @ 0x102000
[   1.0000000] adding 0xfc000 @ 0x102000 to freelist 3
[   1.0000000] phys segment: 0x78c0000 @ 0x840000
[   1.0000000] adding 0x78c0000 @ 0x840000 to freelist 3
[   1.0000000] phys segment: 0x7efa000 @ 0x8102000
[   1.0000000] adding 0x7efa000 @ 0x8102000 to freelist 3
[   1.0000000] phys segment: 0xff00000 @ 0x410000000
[   1.0000000] adding 0xff00000 @ 0x410000000 to freelist 0
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[ 1.0000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, [ 1.0000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[   1.0000000]     2024
[   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.0000000] The Regents of the University of California. All rights reserved.

[   1.0000000] NetBSD 10.0 (OCTEON) #0: Thu Mar 28 08:33:33 UTC 2024
[ 1.0000000] mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbmips/compile/OCTEON
[   1.0000000] Cavium Octeon CN5020-500
[   1.0000000] total memory = 512 MB
[   1.0000000] avail memory = 495 MB
[   1.0000000] mainbus0 (root)
[ 1.0000000] cpunode0 at mainbus0: 2 cores, crypto+kasumi, 64bit-mul, unaligned-access ok
[   1.0000000] cpu0 at cpunode0 core 0: 500.00MHz
[ 1.0000000] cpu0: Cavium CN5020-500 (0xd0601) Rev. 1 with software emulated floating point [ 1.0000000] cpu0: 64 TLB entries, 512TB (49-bit) VAs, 512TB (49-bit) PAs, 256MB max page size
[   1.0000000] cpu0: 32KB/128B 4-way set-associative L1 instruction cache
[ 1.0000000] cpu0: 16KB/128B 64-way set-associative write-through coherent L1 data cache [ 1.0000000] cpu0: 128KB/128B 8-way set-associative write-back L2 unified cache
[   1.0000000] cpu1 at cpunode0 core 1: disabled (uniprocessor kernel)
[   1.0000000] wdog0 at cpunode0: default period is 4 seconds
[   1.0000000] iobus0 at mainbus0
[   1.0000000] iobus0: initializing POW
[   1.0000000] iobus0: initializing FPA
[ 1.0000000] com0 at iobus0 address 0x0001180000000800: ns16650, no ERS, 16-byte FIFO
[   1.0000000] com0: console
[   1.0000000] com at iobus0 address 0x0001180000000c00 not configured
[   1.0000000] octrnm0 at iobus0 address 0x0001180040000000
[   1.0000000] entropy: ready
[   1.0000000] octtwsi at iobus0 address 0x0001180000001000 not configured
[   1.0000000] octmpi at iobus0 address 0x0001070000001000 not configured
[   1.0000000] octsmi0 at iobus0 address 0x0001180000001800
[   1.0000000] octpip0 at iobus0 address 0x00011800a0000000
[   1.0000000] octgmx0 at octpip0
[   1.0000000] cnmac0 at octgmx0: address=0x1180008000000: RGMII
[   1.0000000] cnmac0: Ethernet address fc:ec:da:47:57:cc
[ 1.0000000] atphy0 at cnmac0 phy 7: Atheros AR8035 10/100/1000 PHY, rev. 2 [ 1.0000000] atphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseSX-FDX, 1000baseT-FDX, auto
[   1.0000000] cnmac1 at octgmx0: address=0x1180008000000: RGMII
[   1.0000000] cnmac1: Ethernet address fc:ec:da:47:57:cd
[ 1.0000000] atphy1 at cnmac1 phy 6: Atheros AR8035 10/100/1000 PHY, rev. 2 [ 1.0000000] atphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseSX-FDX, 1000baseT-FDX, auto
[   1.0000000] cnmac2 at octgmx0: address=0x1180008000000: RGMII
[   1.0000000] cnmac2: Ethernet address fc:ec:da:47:57:ce
[ 1.0000000] atphy2 at cnmac2 phy 5: Atheros AR8035 10/100/1000 PHY, rev. 2 [ 1.0000000] atphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseSX-FDX, 1000baseT-FDX, auto
[   1.0000000] dwctwo0 at iobus0 address 0x0001180068000000
[   1.0000000] usb0 at dwctwo0: USB revision 2.0
[   1.0000000] bootbus0 at mainbus0
[ 1.0199710] uhub0 at usb0: NetBSD (0x0000) DWC2 root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[   1.6699592] umass0 at uhub0 port 1 configuration 1 interface 0
[ 1.6699592] umass0: SanDisk (0x0781) SDDR-B531 (0xcfcb), rev 2.10/29.20, addr 2
[   1.6868219] scsibus0 at umass0: 2 targets, 1 lun per target
[   1.6901173] uhub0: illegal enable change, port 1
[ 1.8799585] sd0 at scsibus0 target 0 lun 0: <SanDisk, SDDR-B531, 2920> disk removable
[   1.8922643] sd0: fabricating a geometry
[ 1.8922643] sd0: 3780 MB, 3780 cyl, 64 head, 32 sec, 512 bytes/sect x 7741440 sectors
[   1.9052178] sd0: fabricating a geometry
[   1.9113169] dk0 at sd0: "octeon-boot", 163840 blocks at 32768, type: ntfs
[ 1.9228068] dk1 at sd0: "octeon-root", 7536640 blocks at 196608, type: ffs
[   1.9299701] swwdog0: software watchdog initialized
[   1.9299701] WARNING: 1 error while detecting hardware; check system log.
[   1.9420332] boot device: sd0
[   1.9420332] root on dk1
[   1.9699649] root file system type: ffs
[   1.9699649] kern.module.path=/stand/evbmips/10.0/modules
[   1.9848694] WARNING: no TOD clock present
[   1.9848694] WARNING: using filesystem time
[   1.9929320] WARNING: CHECK AND RESET THE DATE!


Home | Main Index | Thread Index | Old Index