Current-Users archive

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

support for Raspberry Pi zero 2 w



Can someone take a look at PR kern/57498 which includes patches and
links to resources to provide a native dtb for the rpi02w and also update the rpi firmware so it will boot up. Dmesg after updates below.
Note although the wifi chip is now visible the rpi02w uses the
synatics syn43436 and this needs different firmware. This is available
on some linux distros and does get the wifi working, but it's a bit
flaky and will need some work on the bwfm driver.

Cheers,
Dave 

[   1.0000000] NetBSD/evbarm (fdt) booting ...
[   1.0000000] [ Kernel symbol table missing! ]
[   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]     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.99.4 (GENERIC) #0: Wed Jun 28 20:06:55 BST
2023
[   1.0000000] 	root%cruncher.anduin.org.uk@localhost:/usr/obj/arm7/sys/arch/evba
rm/compile/GENERIC
[   1.0000000] total memory = 448 MB
[   1.0000000] avail memory = 422 MB
[   1.0000000] armfdt0 (root)
[   1.0000000] simplebus0 at armfdt0: Raspberry Pi Zero 2 W Rev 1.0
[   1.0000000] simplebus1 at simplebus0
[   1.0000000] simplebus2 at simplebus0
[   1.0000000] cpus0 at simplebus0
[   1.0000000] simplebus3 at simplebus0
[   1.0000000] cpu0 at cpus0: 600 MHz Cortex-A53 r0p4 (Cortex V8A core)
[   1.0000000] cpu0: DC enabled IC enabled WB enabled EABT branch
prediction enabled
[   1.0000000] cpu0: L1 32KB/64B 2-way (256 set) VIPT Instruction cache
[   1.0000000] cpu0: L1 32KB/64B 4-way (128 set) write-back-locking-C
PIPT Data cache
[   1.0000000] cpu0: L2 512KB/64B 16-way (512 set) write-through PIPT
Unified cache
[   1.0000000] vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN
propagation, denormals
[   1.0000000] cpu1 at cpus0: 600 MHz Cortex-A53 r0p4 (Cortex V8A core)
[   1.0000000] cpu1: DC enabled IC enabled WB enabled EABT branch
prediction enabled
[   1.0000000] cpu1: L1 32KB/64B 2-way (256 set) VIPT Instruction cache
[   1.0000000] cpu1: L1 32KB/64B 4-way (128 set) write-back-locking-C
PIPT Data cache
[   1.0000000] cpu1: L2 512KB/64B 16-way (512 set) write-through PIPT
Unified cache
[   1.0000000] vfp1 at cpu1: NEON MPE (VFP 3.0+), rounding, NaN
propagation, denormals
[   1.0000000] cpu2 at cpus0: 600 MHz Cortex-A53 r0p4 (Cortex V8A core)
[   1.0000000] cpu2: DC enabled IC enabled WB enabled EABT branch
prediction enabled
[   1.0000000] cpu2: L1 32KB/64B 2-way (256 set) VIPT Instruction cache
[   1.0000000] cpu2: L1 32KB/64B 4-way (128 set) write-back-locking-C
PIPT Data cache
[   1.0000000] cpu2: L2 512KB/64B 16-way (512 set) write-through PIPT
Unified cache
[   1.0000000] vfp2 at cpu2: NEON MPE (VFP 3.0+), rounding, NaN
propagation, denormals
[   1.0000000] cpu3 at cpus0: 600 MHz Cortex-A53 r0p4 (Cortex V8A core)
[   1.0000000] cpu3: DC enabled IC enabled WB enabled EABT branch
prediction enabled
[   1.0000000] cpu3: L1 32KB/64B 2-way (256 set) VIPT Instruction cache
[   1.0000000] cpu3: L1 32KB/64B 4-way (128 set) write-back-locking-C
PIPT Data cache
[   1.0000000] cpu3: L2 512KB/64B 16-way (512 set) write-through PIPT
Unified cache
[   1.0000000] vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN
propagation, denormals
[   1.0000000] bcmicu0 at simplebus1
[   1.0000000] fclock0 at simplebus2: 19200000 Hz fixed clock (osc)
[   1.0000000] bcmcprman0 at simplebus1: BCM283x Clock Controller
[   1.0000000] bcmaux0 at simplebus1
[   1.0000000] fclock1 at simplebus2: 480000000 Hz fixed clock (otg)
[   1.0000000] bcmicu1 at simplebus1: Multiprocessor
[   1.0000000] syscon0 at simplebus1: couldn't get registers
[   1.0000000] gtmr0 at simplebus0: Generic Timer
[   1.0000000] gtmr0: interrupting on local_intc irq 3
[   1.0000000] armgtmr0 at gtmr0: Generic Timer (19200 kHz, virtual)
[   1.0000040] plcom0 at simplebus1: ARM PL011 UART
[   1.0000040] plcom0: txfifo 16 bytes
[   1.0000040] plcom0: interrupting on icu irq 57
[   1.0000040] com0 at simplebus1: BCM AUX UART, 1-byte FIFO
[   1.0000040] com0: console
[   1.0000040] com0: interrupting on icu irq 29
[   1.0000040] usbnopphy0 at simplebus0: USB PHY
[   1.0000040] /soc/thermal@7e212000 at simplebus1 not configured
[   1.0000040] bcmgpio0 at simplebus1: GPIO controller 2835
[   1.0000040] bcmgpio0: pins 0..31 interrupting on icu irq 49
[   1.0000040] bcmgpio0: pins 32..54 interrupting on icu irq 50
[   1.0000040] gpio0 at bcmgpio0: 54 pins
[   1.0000040] bcmdmac0 at simplebus1: DMA0 DMA2 DMA4 DMA5 DMA6 DMA7
DMA8 DMA9 DMA10 DMA11
[   1.0000040] /soc/power at simplebus1 not configured
[   1.0000040] mmcpwrseq0 at simplebus0: Simple MMC power sequence
provider
[   1.0000040] bsciic0 at simplebus1: Broadcom Serial Controller
[   1.0000040] bsciic0: interrupting on icu irq 53
[   1.0000040] iic0 at bsciic0: I2C bus
[   1.0000040] bcmmbox0 at simplebus1: VC mailbox
[   1.0000040] bcmmbox0: interrupting on icu irq 65
[   1.0000040] vcmbox0 at bcmmbox0
[   1.0000040] /soc/timer@7e003000 at simplebus1 not configured
[   1.0000040] /soc/txp@7e004000 at simplebus1 not configured
[   1.0000040] bcmsdhost0 at simplebus1: SD HOST controller
[   1.0000040] bcmsdhost0: interrupting on icu irq 56
[   1.0000040] bsciic1 at simplebus1: Broadcom Serial Controller
[   1.0000040] bsciic1: interrupting on icu irq 53
[   1.0000040] iic1 at bsciic1: I2C bus
[   1.0000040] sdhc0 at simplebus1: SDHC controller
[   1.0000040] sdhc0: interrupting on icu irq 62
[   1.0000040] bsciic2 at simplebus1: Broadcom Serial Controller
[   1.0000040] bsciic2: interrupting on icu irq 53
[   1.0000040] iic2 at bsciic2: I2C bus
[   1.0000040] dwctwo0 at simplebus1: USB controller
[   1.0000040] dwctwo0: interrupting on icu irq 9
[   1.0000040] bcmpmwdog0 at simplebus1: Power management, Reset and
Watchdog controller
[   1.0000040] /soc/vec@7e806000 at simplebus1 not configured
[   1.0000040] /soc/hdmi@7e902000 at simplebus1 not configured
[   1.0000040] /soc/gpu at simplebus1 not configured
[   1.0000040] genfb0 at simplebus1no data for est. mode 640x480x67
[   1.0000040] : switching to framebuffer console
[   1.0000040] wsdisplay0 at genfb0 kbdmux 1: console (default, vt100
emulation)
[   1.0000040] vchiq0 at simplebus1: BCM2835 VCHIQ
[   1.0000040] armpmu0 at simplebus0: Performance Monitor Unit
[   1.0000040] gpioleds0 at simplebus0: ACT
[   1.0000040] bcmrng0 at simplebus1: RNG
[   1.0000040] entropy: ready
[   1.4770978] sdmmc0 at bcmsdhost0
[   1.4870998] sdhc0: SDHC 3.0, rev 153, platform DMA, 200000 kHz, HS
3.3V, re-tuning mode 1, 1024 byte blocks
[   1.5171045] sdmmc1 at sdhc0 slot 0
[   1.5371042] usb0 at dwctwo0: USB revision 2.0
[   1.5671140] armpmu0: interrupting on local_intc irq 9
[   1.5771151] uhub0 at usb0: NetBSD (0x0000) DWC2 root hub (0x0000),
class 9/0, rev 2.00/1.00, addr 1
[   1.6671264] sdmmc0: direct I/O error 5, r=6 p=0xa5af2f14 write
[   1.7171328] sdmmc0: SD card status: 4-bit, C4
[   1.7271355] ld0 at sdmmc0: <0x03:0x5344:AALCD:0x80:0x5b6f481d:0x114>
[   1.7271355] ld0: 30436 MB, 7729 cyl, 128 head, 63 sec, 512
bytes/sect x 62333952 sectors
[   1.7671443] ld0: 4-bit width, High-Speed/SDR25, 50.000 MHz
[   1.8571534] sdmmc1: 4-bit width, 50.000 MHz
[   1.8571534] bwfm0 at sdmmc1 function 1
[   1.8671535] (manufacturer 0x2d0, product 0xa9a6) at sdmmc1 function
2 not configured
[   2.3071993] uhidev0 at uhub0 port 1 configuration 1 interface 0
[   2.3172017] uhidev0: vendor 04f3 (0x04f3) product 0103 (0x0103), rev
2.00/1.07, addr 2, iclass 3/1
[   2.3472080] ukbd0 at uhidev0
[   2.3472080] wskbd0 at ukbd0: console keyboard, using wsdisplay0
[   2.3572069] uhidev1 at uhub0 port 1 configuration 1 interface 1
[   2.3572069] uhidev1: vendor 04f3 (0x04f3) product 0103 (0x0103), rev
2.00/1.07, addr 2, iclass 3/0
[   2.3872108] uhidev1: 2 report ids
[   2.3972120] uhid0 at uhidev1 reportid 1: input=2, output=0,
feature=0
[   2.3972120] uhid1 at uhidev1 reportid 2: input=1, output=0,
feature=0
[   2.4072119] uhub0: illegal enable change, port 1
[   2.4072119] swwdog0: software watchdog initialized
[   2.4472182] WARNING: 2 errors while detecting hardware; check system
log.
[   2.4472182] boot device: ld0
[   2.4572187] root on ld0a dumps on ld0b
[   2.4872215] root file system type: ffs
[   2.4872215] kern.module.path=/stand/evbarm/10.99.4/modules
[   2.4972236] WARNING: no TOD clock present
[   2.4972236] vchiq0: interrupting on icu irq 66
[   2.4972236] WARNING: using filesystem time
[   2.5073267] vcaudio0 at vchiq0: auds
[   2.5157482] WARNING: CHECK AND RESET THE DATE!
[   2.5372305] audio0 at vcaudio0: playback
[   2.5372305] audio0: slinear_le:16 -> slinear_le:16 2ch 48000Hz, blk
7680 bytes (40ms) for playback
[   2.5472390] spkr0 at audio0: PC Speaker (synthesized)
[   2.5472390] wsbell at spkr0 not configured
[   2.6072401] bwfm0: NVRAM file not available
Wed Jun 28 19:25:47 UTC 2023
Starting root file system check:
/dev/rld0a: file system is clean; not checking
fdisk: Cannot determine the number of heads
Not resizing / (/dev/ld0a): already correct size
Starting devpubd.
Setting sysctl variables:
ddb.onpanic: 1 -> 0
Starting file system checks:
/dev/rld0e: 608 files, 23319 free (23319 clusters)
Loaded entropy from /var/db/entropy-file.
Setting tty flags.
Starting network.
Hostname: armv7
IPv6 mode: host
Configuring network interfaces:.
Adding interface aliases:.
Waiting for duplicate address detection to finish...
Starting dhcpcd.
Starting mdnsd.
Building databases: dev, utmp, utmpx.
wsconscfg: screen 1 is already configured
wsconscfg: screen 2 is already configured
wsconscfg: screen 3 is already configured
Starting syslogd.
Mounting all file systems...
Clearing temporary files.
Updating fontconfig cache: done.
Creating a.out runtime link editor directory cache.
Checking quotas: done.
Setting securelevel: kern.securelevel: 0 -> 1
Starting virecover.
Starting local daemons:.
machdep.cpu.frequency.target: 600 -> 1000
Updating motd.
Starting ntpd.
Starting sshd.
Jun 28 19:25:55 armv7 ntpd[1261]: error resolving pool
2.netbsd.pool.ntp.org: Temporary failure in name resolution (2)
Starting postfix.
Starting inetd.
Starting cron.



Home | Main Index | Thread Index | Old Index