Hello,

I'm trying to get bwfm to work with the onboard wireless
of the rpi4b v1.4. It seems to only very rarely attach.

radish# fw_update fw_update: add none; update none; keep bwfm radish#
# ifconfig -a | grep bwfm
#

I have managed to get it to attach twice across many reboots:

radish$ grep bwfm /var/log/messages
Mar 23 23:45:58 radish /bsd: bwfm0 at sdmmc0 function 1
Mar 23 23:45:58 radish /bsd: bwfm0: address re:da:ct:ed
Mar 24 00:34:47 radish /bsd: bwfm0 at sdmmc0 function 1
Mar 24 00:34:47 radish /bsd: bwfm0: address re:da:ct:ed

Possibly related, I've (later) had to recompile the kernel to accomodate
apcupsd connected to usb2

## from pkg-readmes/apcupsd

"The option with fewest side-effects is to add the following entries to
the table in /sys/dev/usb/usb_quirks.c and build/install a new kernel:

{ USB_VENDOR_APC, USB_PRODUCT_APC_UPS, ANY, { UQ_BAD_HID }},
{ USB_VENDOR_APC, USB_PRODUCT_APC_UPS5G, ANY, { UQ_BAD_HID }},"

apcupsd works fine now. No luck at all getting bwfm available
subsequently. Any suggestions, please?

full output from the serial console:

###
U-Boot 2021.10 (Sep 08 2023 - 11:13:24 -0600)

DRAM:  7.9 GiB
RPI 4 Model B (0xd03114)
MMC:   mmcnr@7e300000: 1, emmc2@7e340000: 0
Loading Environment from FAT... Card did not respond to voltage select! : -110
In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet@7d580000
PCIe BRCM: link up, 5.0 Gbps x1 (SSC)
starting USB...
Bus xhci_pci: Register 5000420 NbrPorts 5
Starting the controller
USB XHCI 1.00
scanning bus xhci_pci for devices... 4 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
       Hit any key to stop autoboot:  0
       Card did not respond to voltage select! : -110
       sdhci_set_clock: Timeout to wait cmd & data inhibit
       sdhci_set_clock: Timeout to wait cmd & data inhibit
       sdhci_set_clock: Timeout to wait cmd & data inhibit
       sdhci_send_command: MMC: 1 busy timeout increasing to: 200 ms.
       sdhci_send_command: MMC: 1 busy timeout increasing to: 400 ms.
       sdhci_send_command: MMC: 1 busy timeout increasing to: 800 ms.
       sdhci_send_command: MMC: 1 busy timeout increasing to: 1600 ms.
       sdhci_send_command: MMC: 1 busy timeout increasing to: 3200 ms.
       sdhci_send_command: MMC: 1 busy timeout.

       Device 0: Vendor: Micron   Rev: PMAP Prod: CT1000X9SSD9
       Type: Hard Disk
       Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
       ... is now current device
       Scanning usb 0:1...
       libfdt fdt_check_header(): FDT_ERR_BADMAGIC
       sdhci_set_clock: Timeout to wait cmd & data inhibit
       sdhci_set_clock: Timeout to wait cmd & data inhibit
       sdhci_set_clock: Timeout to wait cmd & data inhibit
       sdhci_send_command: MMC: 1 busy timeout.
       Scanning disk mm...@7e300000.blk...
       Disk mm...@7e300000.blk not ready
       Card did not respond to voltage select! : -110
       Scanning disk em...@7e340000.blk...
       Disk em...@7e340000.blk not ready
       Scanning disk usb_mass_storage.lun0...
       Found 3 disks
       No EFI system partition
       BootOrder not defined
       EFI boot manager: Cannot load any image
       Found EFI removable media binary efi/boot/bootaa64.efi
       219050 bytes read in 4 ms (52.2 MiB/s)
       libfdt fdt_check_header(): FDT_ERR_BADMAGIC
       Booting /efi\boot\bootaa64.efi
       disks: sd0*
       >> OpenBSD/arm64 BOOTAA64 1.18
boot> booting sd0a:/bsd: 10660268+2522776+296480+849376 [804614+91+1219920+731039]=0x13b8b58
       [ using 2756440 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2023 OpenBSD. All rights reserved.  https://www.OpenBSD.org

OpenBSD 7.4-stable (RADISH) #0: Sun Mar 24 01:55:32 GMT 2024
       v...@radish.home.arpa:/sys/arch/arm64/compile/RADISH
real mem  = 8418865152 (8028MB)
avail mem = 8123568128 (7747MB)
random: good seed from bootblocks
mainbus0 at root: Raspberry Pi 4 Model B Rev 1.4
efi0 at mainbus0: UEFI 2.8
efi0: Das U-Boot rev 0x20211000
smbios0 at efi0: SMBIOS 3.0
smbios0: vendor U-Boot version "2021.10" date 10/01/2021
smbios0: Unknown Unknown Product
cpu0 at mainbus0 mpidr 0: ARM Cortex-A72 r0p3
cpu0: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu0: 1024KB 64b/line 16-way L2 cache
cpu0: CRC32,ASID16
cpu1 at mainbus0 mpidr 1: ARM Cortex-A72 r0p3
cpu1: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu1: 1024KB 64b/line 16-way L2 cache
cpu1: CRC32,ASID16
cpu2 at mainbus0 mpidr 2: ARM Cortex-A72 r0p3
cpu2: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu2: 1024KB 64b/line 16-way L2 cache
cpu2: CRC32,ASID16
cpu3 at mainbus0 mpidr 3: ARM Cortex-A72 r0p3
cpu3: 48KB 64b/line 3-way L1 PIPT I-cache, 32KB 64b/line 2-way L1 D-cache
cpu3: 1024KB 64b/line 16-way L2 cache
cpu3: CRC32,ASID16
"linux,cma" at mainbus0 not configured
"nvram" at mainbus0 not configured
apm0 at mainbus0
"system" at mainbus0 not configured
"axi" at mainbus0 not configured
simplebus0 at mainbus0: "soc"
bcmclock0 at simplebus0
bcmmbox0 at simplebus0
bcmgpio0 at simplebus0
bcmaux0 at simplebus0
ampintc0 at simplebus0 nirq 256, ncpu 4 ipi: 0, 1, 2: "interrupt-controller"
bcmtmon0 at simplebus0
bcmdmac0 at simplebus0: DMA0 DMA2 DMA4 DMA5 DMA6 DMA7 DMA8 DMA9 DMA10
"timer" at simplebus0 not configured
pluart0 at simplebus0: rev 2, 16 byte fifo
pluart0: console
"local_intc" at simplebus0 not configured
bcmdog0 at simplebus0
bcmirng0 at simplebus0
"firmware" at simplebus0 not configured
"power" at simplebus0 not configured
"mailbox" at simplebus0 not configured
sdhc0 at simplebus0
sdhc0: SDHC 3.00, 250 MHz base clock
sdmmc0 at sdhc0: 4-bit, sd high-speed, mmc high-speed
"gpiomem" at simplebus0 not configured
"fb" at simplebus0 not configured
"vcsm" at simplebus0 not configured
"clocks" at mainbus0 not configured
"phy" at mainbus0 not configured
"clk-27M" at mainbus0 not configured
"clk-108M" at mainbus0 not configured
simplebus1 at mainbus0: "emmc2bus"
sdhc1 at simplebus1
sdhc1: SDHC 3.00, 100 MHz base clock
sdmmc1 at sdhc1: 8-bit, sd high-speed, mmc high-speed, ddr52, dma
"arm-pmu" at mainbus0 not configured
agtimer0 at mainbus0: 54000 kHz
simplebus2 at mainbus0: "scb"
bcmpcie0 at simplebus2
pci0 at bcmpcie0
ppb0 at pci0 dev 0 function 0 "Broadcom BCM2711" rev 0x10
pci1 at ppb0 bus 1
xhci0 at pci1 dev 0 function 0 "VIA VL805 xHCI" rev 0x01: intx, xHCI 1.0
usb0 at xhci0: USB revision 3.0
uhub0 at usb0 configuration 1 interface 0 "VIA xHCI root hub" rev 3.00/1.00 
addr 1
bse0 at simplebus2: address re:da:ct:ed
brgphy0 at bse0 phy 1: BCM54210E 10/100/1000baseT PHY, rev. 2
"dma" at simplebus2 not configured
"hevc-decoder" at simplebus2 not configured
"rpivid-local-intc" at simplebus2 not configured
"h264-decoder" at simplebus2 not configured
"vp9-decoder" at simplebus2 not configured
gpioleds0 at mainbus0: "led0", "led1"
"sd_io_1v8_reg" at mainbus0 not configured
"sd_vcc_reg" at mainbus0 not configured
"fixedregulator_3v3" at mainbus0 not configured
"fixedregulator_5v0" at mainbus0 not configured
simplebus3 at mainbus0: "v3dbus"
"bootloader" at mainbus0 not configured
sdhc_sdclk_frequency_select: command in progress
sdhc_sdclk_frequency_select: command in progress
sdmmc0: can't enable card
sdhc_sdclk_frequency_select: command in progress
sdmmc1: can't enable card
uhub1 at uhub0 port 1 configuration 1 interface 0 "VIA Labs USB2.0 Hub" rev 
2.10/4.21 addr 2
ugen0 at uhub1 port 4 "American Power Conversion Back-UPS XS 1400U  FW:926.T2 .I USB 
FW:T2" rev 1.10/1.06 addr 3
umass0 at uhub0 port 3 configuration 1 interface 0 "Micron CT1000X9SSD9" rev 
3.20/1.10 addr 4
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <Micron, CT1000X9SSD9, PMAP> serial.redacted
sd0: 953869MB, 512 bytes/sector, 1953525168 sectors
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
root on sd0a (85d7aeeee0ab15fc.a) swap on sd0b dump on sd0b
WARNING: CHECK AND RESET THE DATE!
gpio0 at bcmgpio0: 58 pins
Automatic boot in progress: starting file system checks.
/dev/sd0a (85d7aeeee0ab15fc.a): file system is clean; not checking
/dev/sd0l (85d7aeeee0ab15fc.l): file system is clean; not checking
/dev/sd0d (85d7aeeee0ab15fc.d): file system is clean; not checking
/dev/sd0f (85d7aeeee0ab15fc.f): file system is clean; not checking
/dev/sd0g (85d7aeeee0ab15fc.g): file system is clean; not checking
/dev/sd0h (85d7aeeee0ab15fc.h): file system is clean; not checking
/dev/sd0k (85d7aeeee0ab15fc.k): file system is clean; not checking
/dev/sd0j (85d7aeeee0ab15fc.j): file system is clean; not checking
/dev/sd0e (85d7aeeee0ab15fc.e): file system is clean; not checking
pf enabled
starting network
reordering: ld.so libc libcrypto sshd.
starting early daemons: syslogd pflogd ntpd.
starting RPC daemons:.
savecore: no core dump
checking quotas: done.
clearing /tmp
kern.securelevel: 0 -> 1
creating runtime link editor directory cache.
preserving editor files.
starting network daemons: sshd smtpd sndiod.
starting package daemons: sshguard apcupsd.
starting local daemons: cron.
Sun Mar 24 02:39:39 GMT 2024

OpenBSD/arm64 (radish.home.arpa) (console)

login:


--

Reply via email to