NetBSD-Users archive

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

Raspberrypi camera in NetBSD



Hello,

Do you have some hints on how to make the raspberrypi camera work (if possible) on NetBSD? I have a RaspberrypiZeroW with NetBSD running fine but the only information I have found in internet about the camera is

http://mail-index.netbsd.org/port-arm/2024/06/24/msg008778.html

and

http://mail-index.netbsd.org/current-users/2021/11/16/msg041683.html

but it is not enough for me to make it work. I have connected it to the Pi but I do not see any clues on dmesg. Not sure if a module must be loaded.


Thanks so much.
Ramiro.


netbsd-raspaZeroW# dmesg
[ 1.000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, [ 1.000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, [ 1.000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[     1.000000]     2024
[     1.000000]     The NetBSD Foundation, Inc.  All rights reserved.
[     1.000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.000000] The Regents of the University of California. All rights reserved.

[     1.000000] NetBSD 10.0 (RPI) #0: Thu Mar 28 08:33:33 UTC 2024
[ 1.000000] mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/RPI
[     1.000000] total memory = 448 MB
[     1.000000] avail memory = 429 MB
[     1.000000] timecounter: Timecounters tick every 10.000 msec
[     1.000000] Kernelized RAIDframe activated
[     1.000000] armfdt0 (root)
[     1.000000] simplebus0 at armfdt0: Raspberry Pi Zero W Rev 1.1
[     1.000000] simplebus1 at simplebus0
[     1.000000] simplebus2 at simplebus0
[     1.000000] simplebus3 at simplebus0
[     1.000000] cpus0 at simplebus0
[     1.000000] cpu0 at cpus0: 700 MHz ARM1176JZ-S r0p7 (ARM11J V6ZK core)
[     1.000000] cpu0: DC enabled IC enabled WB enabled LABT
[     1.000000] cpu0: L1 16KB/32B 4-way (128 set) VIPT Instruction cache
[ 1.000000] cpu0: L1 16KB/32B 4-way (128 set) write-back-locking-C VIPT Data cache
[     1.000000] vfp0 at cpu0: VFP11, rounding, exceptions
[     1.000000] fclock0 at simplebus2: 19200000 Hz fixed clock (osc)
[     1.000000] fclock1 at simplebus2: 480000000 Hz fixed clock (otg)
[     1.000000] bcmicu0 at simplebus1
[     1.000000] bcmcprman0 at simplebus1: BCM283x Clock Controller
[     1.000000] bcmtmr0 at simplebus1: VC System Timer
[     1.000000] bcmtmr0: interrupting on icu irq 3
[     1.000000] bcmaux0 at simplebus1
[     1.000000] /soc/thermal@7e212000 at simplebus1 not configured
[     1.000000] bcmgpio0 at simplebus1: GPIO controller 2835
[     1.000000] bcmgpio0: pins 0..31 interrupting on icu irq 49
[     1.000000] bcmgpio0: pins 32..54 interrupting on icu irq 50
[     1.000000] gpio0 at bcmgpio0: 54 pins
[ 1.000000] bcmdmac0 at simplebus1: DMA0 DMA2 DMA4 DMA5 DMA6 DMA7 DMA8 DMA9 DMA10 DMA11
[     1.000000] /soc/power at simplebus1 not configured
[     1.000000] /wifi-pwrseq at simplebus0 not configured
[     1.000000] /phy at simplebus0 not configured
[     1.000000] bsciic0 at simplebus1: Broadcom Serial Controller
[     1.000000] bsciic0: interrupting on icu irq 53
[     1.000000] iic0 at bsciic0: I2C bus
[     1.000000] bcmmbox0 at simplebus1: VC mailbox
[     1.000000] bcmmbox0: interrupting on icu irq 65
[     1.000000] vcmbox0 at bcmmbox0
[     1.000000] /soc/firmware at simplebus1 not configured
[     1.000000] /soc/txp@7e004000 at simplebus1 not configured
[     1.000000] plcom0 at simplebus1: ARM PL011 UART
[     1.000000] plcom0: txfifo disabled
[     1.000000] plcom0: interrupting on icu irq 57
[     1.000000] bcmsdhost0 at simplebus1: SD HOST controller
[     1.000000] bcmsdhost0: interrupting on icu irq 56
[     1.000000] bsciic1 at simplebus1: Broadcom Serial Controller
[     1.000000] bsciic1: interrupting on icu irq 53
[     1.000000] iic1 at bsciic1: I2C bus
[     1.000000] com0 at simplebus1: BCM AUX UART, 1-byte FIFO
[     1.000000] com0: console
[     1.000000] com0: interrupting on icu irq 29
[     1.000000] sdhc0 at simplebus1: SDHC controller
[     1.000000] sdhc0: interrupting on icu irq 62
[     1.000000] bsciic2 at simplebus1: Broadcom Serial Controller
[     1.000000] bsciic2: interrupting on icu irq 53
[     1.000000] iic2 at bsciic2: I2C bus
[     1.000000] dwctwo0 at simplebus1: USB controller
[     1.000000] dwctwo0: interrupting on icu irq 9
[ 1.000000] bcmpmwdog0 at simplebus1: Power management, Reset and Watchdog controller
[     1.000000] /soc/vec@7e806000 at simplebus1 not configured
[     1.000000] /soc/hdmi@7e902000 at simplebus1 not configured
[     1.000000] /soc/gpu at simplebus1 not configured
[     1.000000] genfb0 at simplebus1: switching to framebuffer console
[ 1.000000] genfb0: framebuffer at 0x5e876000, size 1280x720, depth 32, stride 5120 [ 1.000000] wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 emulation)
[     1.000000] wsmux1: connecting to wsdisplay0
[     1.000000] wsdisplay0: screen 1-3 added (default, vt100 emulation)
[     1.000000] vchiq0 at simplebus1: BCM2835 VCHIQ
[     1.000000] /arm-pmu at simplebus0 not configured
[     1.000000] gpioleds0 at simplebus0: ACT
[     1.000000] bcmrng0 at simplebus1: RNG
[     1.000000] entropy: ready
[ 1.000000] timecounter: Timecounter "bcmtmr0" frequency 1000000 Hz quality 100 [ 1.000003] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
[     1.060018] sdmmc0 at bcmsdhost0
[ 1.060018] sdhc0: SDHC 3.0, rev 153, caps <01610000/00000000>, platform DMA, 200000 kHz, HS 3.3V, re-tuning mode 1, 1024 byte blocks
[     1.060018] sdmmc1 at sdhc0 slot 0
[     1.060018] dwctwo0: Core Release: 2.80a (snpsid=4f54280a)
[     1.060018] usb0 at dwctwo0: USB revision 2.0
[ 1.080073] uhub0 at usb0: NetBSD (0x0000) DWC2 root hub (0x0000), class 9/0, rev 2.00/1.00, addr 1
[     1.080073] uhub0: 1 port with 1 removable, self powered
[     1.080073] IPsec: Initialized Security Association Processing.
[     1.160231] sdmmc0: direct I/O error 5, r=6 p=0xc96f2f2c write
[     1.180257] sdmmc0: SD card status: 4-bit, C10, U1, A1
[     1.180257] ld0 at sdmmc0: <0x03:0x5344:SD64G:0x85:0xfad04282:0x175>
[ 1.180257] ld0: 60874 MB, 7760 cyl, 255 head, 63 sec, 512 bytes/sect x 124669952 sectors
[     1.200289] ld0: 4-bit width, High-Speed/SDR25, 50.000 MHz
[     1.290400] sdmmc1: 4-bit width, 50.000 MHz
[     1.290400] bwfm0 at sdmmc1 function 1
[ 1.300422] (manufacturer 0x2d0, product 0xa9a6) at sdmmc1 function 2 not configured
[     1.730865] urtwn0 at uhub0 port 1
[ 1.730865] urtwn0: Realtek (0x0bda) 802.11n NIC (0x8179), rev 2.00/0.00, addr 2 [ 1.790963] urtwn0: MAC/BB RTL8188EU, RF 6052 1T1R, address e4:fa:c4:52:ac:4c
[     1.790963] urtwn0: 1 rx pipe, 2 tx pipes
[ 1.790963] uhub0: autoconfiguration error: illegal enable change, port 1
[     1.800991] swwdog0: software watchdog initialized
[     1.821031] WARNING: 1 error while detecting hardware; check system log.
[     1.821031] boot device: ld0
[     1.821031] root on ld0a dumps on ld0b
[     1.831047] root file system type: ffs
[     1.841074] kern.module.path=/stand/evbarm/10.0/modules
[     1.841074] vchiq0: interrupting on icu irq 66
[ 1.841074] vchiq: vchiq_init_state: slot_zero = 0xc9b40000, is_master = 0
[     1.841074] vchiq: local ver 8 (min 3), remote ver 8.
[     1.841074] vcaudio0 at vchiq0: auds
[ 1.841074] notice: vchiq_get_state: g_state.remote->initialised != 1 (0)
[     1.841074] bwfm0: Firmware file default:    brcmfmac43430-sdio.bin
[ 1.841074] bwfm0: Firmware file model-spec: brcmfmac43430-sdio.raspberrypi,model-zero-w.bin
[     1.861150] WARNING: no TOD clock present
[     1.861150] WARNING: using filesystem time
[     1.863504] WARNING: CHECK AND RESET THE DATE!
[     1.863504] audio0 at vcaudio0: playback
[ 1.863504] audio0: slinear_le:16 -> slinear_le:16 2ch 48000Hz, blk 7680 bytes (40ms) for playback
[     1.863504] spkr0 at audio0: PC Speaker (synthesized)
[     1.863504] wsbell at spkr0 not configured
[     1.901238] bwfm0: Found Firmware file: brcmfmac43430-sdio.bin
[     2.021468] bwfm0: NVRAM file default:    brcmfmac43430-sdio.txt
[ 2.021468] bwfm0: NVRAM file model-spec: brcmfmac43430-sdio.raspberrypi,model-zero-w.txt [ 2.021468] bwfm0: Found NVRAM file: brcmfmac43430-sdio.raspberrypi,model-zero-w.txt
[     2.031499] bwfm0: CLM file default:    brcmfmac43430-sdio.clm_blob
[ 2.031499] bwfm0: CLM file model-spec: brcmfmac43430-sdio.raspberrypi,model-zero-w.clm_blob
[     3.803391] bwfm0: CHIPACTIVE
[     3.903493] bwfm0: address b8:27:eb:ed:85:47
[ 3.903493] bwfm0: wl0: Oct 23 2017 03:55:53 version 7.45.98.38 (r674442 CY) FWID 01-e58d219f
[    18.250291] wsdisplay0: screen 4 added (default, vt100 emulation)
netbsd-raspaZeroW#



Home | Main Index | Thread Index | Old Index