Port-arm archive

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

Re: RPI3 Kernel Config for 8.0

On 17 Jun 2017, at 01:14, Jared McNeill <jmcneill%invisible.ca@localhost> wrote:

What is the value of "sysctl machdep.board_model" on your two boards? We should be able to detect this at runtime.

I returned the RPI2 boards to Amazon.. But here’s info about my RPI3:

hermes$ uname -ap
NetBSD hermes.lorenz.place 8.0_BETA NetBSD 8.0_BETA (RPI2.201706101850Z) evbarm earmv7hf

hermes$ dmesg | head
NetBSD 8.0_BETA (RPI2.201706101850Z)
total memory = 944 MB
avail memory = 924 MB
sysctl_createv: sysctl_create(machine_arch) returned 17
timecounter: Timecounters tick every 10.000 msec
mainbus0 (root)
cpu0 at mainbus0 core 0: 600 MHz Cortex-A53 r0p4 (Cortex V8A core)
cpu0: DC enabled IC enabled WB disabled EABT branch prediction enabled
cpu0: 32KB/64B 2-way L1 VIPT Instruction cache
cpu0: 32KB/64B 4-way write-back-locking-C L1 PIPT Data cache
cpu0: 512KB/64B 16-way write-through L2 PIPT Unified cache
vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN propagation, denormals
cpu1 at mainbus0 core 1
cpu2 at mainbus0 core 2
cpu3 at mainbus0 core 3
obio0 at mainbus0
bcmicu0 at obio0: Multiprocessor
armgtmr0 at obio0: ARMv7 Generic 64-bit Timer (19200 kHz)
armgtmr0: interrupting on irq 3
timecounter: Timecounter "armgtmr0" frequency 19200000 Hz quality 500
bcmmbox0 at obio0 intr 193: VC mailbox
vcmbox0 at bcmmbox0
vchiq0 at obio0 intr 194: BCM2835 VCHIQ
bcmpm0 at obio0: Power management, Reset and Watchdog controller
bcmdmac0 at obio0: DMA0 DMA2 DMA4 DMA5 DMA8 DMA9 DMA10
bcmrng0 at obio0: RNG
plcom0 at obio0 intr 185
plcom0: txfifo disabled
plcom0: console

hermes$ sysctl -a | grep machdep
machdep.debug = 0
machdep.booted_device = ld0
machdep.powersave = 1
machdep.firmware_revision = 1483542619
machdep.board_model = 0
machdep.board_revision = 10625154
machdep.cpu_arch = 8A
machdep.cpu_id = 1091555380
machdep.fpu_id = 1090732084
machdep.fpu_present = 1
machdep.hwdiv_present = 1
machdep.neon_present = 1
machdep.simd_present = 1
machdep.simdex_present = 1
machdep.synchprim_present = 32
machdep.printfataltraps = 0
machdep.unaligned_sigbus = 0
machdep.kmpages = 1077
machdep.cpu.frequency.target = 1200
machdep.cpu.frequency.current = 1200
machdep.cpu.frequency.min = 600
machdep.cpu.frequency.max = 1200

So, board_model is not detected I suppose? Value is 0. 

Something else: when NFS mounting an FS of my iMac (running Mac OS 10.9.5) I receive this log message in 8.0_BETA:

Jun 17 00:32:29 hermes /netbsd: psmac:/Volumes/LaCie: inaccurate wcc data (ctime) detected, disabling wcc
  (ctime 1497652347.000000000 1497652347.000000000, mtime 1497652347.000000000 1497652347.000000000)

I suppose this is a minor incompatibility between Mac OS X and NetBSD which does not harm. Correct?


Home | Main Index | Thread Index | Old Index