Hi,

Good day! I am able to boot OpenBSD 6.9 ARMv7 image with Banana Pi M2 Zero.
It detected the Wi-Fi network card but was unable to use it because it
requires the firmware. Is it possible to copy this brcmfmac43430-sdio.bin
firmware somewhere in the installer as an option so that we can use it
during installation?

Available network interfaces are: bwfm0 vlan0.
Which network interface do you wish to configure? (or 'done') [bwfm0]
ifconfig: SIOCS80211NWKEY: Operation not supported by device
Access point? (ESSID, 'any', list# or '?') [any]
IPv4 address for bwfm0? (or 'dhcp' or 'none') [dhcp]
bwfm0: failed loadfirmware of file brcmfmac43430-sdio.bin
bwfm0: could not init bus
bwfm0: no link..........sleeping

Please see attached captured installation (with dmesg) process for details.

Thanks and best regards,
Archimedes
Connected to /dev/cuaU1 (speed 115200)

U-Boot SPL 2020.07 (Oct 01 2020 - 19:51:28 -0600)
DRAM: 512 MiB
Trying to boot from MMC1


U-Boot 2020.07 (Oct 01 2020 - 19:51:28 -0600) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: Banana Pi BPI-M2-Zero
DRAM:  512 MiB
MMC:   mmc@1c0f000: 0, mmc@1c10000: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
starting USB...
No working controllers found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
22344 bytes read in 3 ms (7.1 MiB/s)
Found EFI removable media binary efi/boot/bootarm.efi
Scanning disk m...@1c0f000.blk...
** Unrecognized filesystem type **
Card did not respond to voltage select!
Scanning disk m...@1c10000.blk...
Disk m...@1c10000.blk not ready
Found 3 disks
BootOrder not defined
EFI boot manager: Cannot load any image
106528 bytes read in 11 ms (9.2 MiB/s)
disks: sd0*
>> OpenBSD/armv7 BOOTARM 1.17
boot>
cannot open sd0a:/etc/random.seed: No such file or directory
booting sd0a:/bsd: 2303520+486672+9565044+474468 [177788+120+371776+203210]=0x0

OpenBSD/armv7 booting ...
arg0 0xc0ff503c arg1 0x0 arg2 0x47ef7000
Allocating page tables
IRQ stack: p0x41024000 v0xc1024000
ABT stack: p0x41025000 v0xc1025000
UND stack: p0x41026000 v0xc1026000
SVC stack: p0x41027000 v0xc1027000
Creating L1 page table at 0x40ff8000
Mapping kernel
Constructing L2 page tables
undefined page type 0x2 pa 0x40000000 va 0x40000000 pages 0x2000 attr 0x8
type 0x7 pa 0x42000000 va 0x42000000 pages 0x5ef7 attr 0x8
type 0x9 pa 0x47ef7000 va 0x47ef7000 pages 0x12 attr 0x8
type 0x7 pa 0x47f09000 va 0x47f09000 pages 0x1029d attr 0x8
type 0x2 pa 0x581a6000 va 0x581a6000 pages 0xc93 attr 0x8
type 0x7 pa 0x58e39000 va 0x58e39000 pages 0x1 attr 0x8
type 0x2 pa 0x58e3a000 va 0x58e3a000 pages 0x100 attr 0x8
type 0x1 pa 0x58f3a000 va 0x58f3a000 pages 0x1b attr 0x8
type 0x0 pa 0x58f55000 va 0x58f55000 pages 0x5 attr 0x8
type 0x4 pa 0x58f5a000 va 0x58f5a000 pages 0x1 attr 0x8
type 0x6 pa 0x58f5b000 va 0x58f5b000 pages 0x1 attr 0x8000000000000008
type 0x4 pa 0x58f5c000 va 0x58f5c000 pages 0x2 attr 0x8
type 0x6 pa 0x58f5e000 va 0x58f5e000 pages 0x2 attr 0x8000000000000008
type 0x0 pa 0x58f60000 va 0x58f60000 pages 0x1 attr 0x8
type 0x4 pa 0x58f61000 va 0x58f61000 pages 0x1 attr 0x8
type 0x0 pa 0x58f62000 va 0x58f62000 pages 0x1 attr 0x8
type 0x4 pa 0x58f63000 va 0x58f63000 pages 0x2 attr 0x8
type 0x0 pa 0x58f65000 va 0x58f65000 pages 0x4 attr 0x8
type 0x2 pa 0x58f69000 va 0x58f69000 pages 0x5027 attr 0x8
type 0x5 pa 0x5df90000 va 0x5df90000 pages 0x1 attr 0x8000000000000008
type 0x2 pa 0x5df91000 va 0x5df91000 pages 0x3a attr 0x8
type 0x0 pa 0x5dfcb000 va 0x5dfcb000 pages 0x2 attr 0x8
type 0x2 pa 0x5dfcd000 va 0x5dfcd000 pages 0x2033 attr 0x8
pmap Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2021 OpenBSD. All rights reserved.  https://www.OpenBSD.org

OpenBSD 6.9 (RAMDISK) #341: Tue Apr 20 04:59:54 MDT 2021
    dera...@armv7.openbsd.org:/usr/src/sys/arch/armv7/compile/RAMDISK
real mem  = 404307968 (385MB)
avail mem = 379551744 (361MB)
random: boothowto does not indicate good seed
mainbus0 at root: Banana Pi BPI-M2-Zero
cpu0 at mainbus0 mpidr 0: ARM Cortex-A7 r0p5
cpu0: 32KB 32b/line 2-way L1 VIPT I-cache, 32KB 64b/line 4-way L1 D-cache
cpu0: 512KB 64b/line 8-way L2 cache
cortex0 at mainbus0
psci0 at mainbus0: PSCI 0.0
simplebus0 at mainbus0: "soc"
sxisid0 at simplebus0
sxiccmu0 at simplebus0
sxipio0 at simplebus0: 94 pins
ampintc0 at simplebus0 nirq 160, ncpu 4: "interrupt-controller"
sxirtc0 at simplebus0
sxiccmu1 at simplebus0
sxipio1 at simplebus0: 12 pins
sxisyscon0 at simplebus0
"clock" at simplebus0 not configured
"mixer" at simplebus0 not configured
"dma-controller" at simplebus0 not configured
"lcd-controller" at simplebus0 not configured
sximmc0 at simplebus0
sdmmc0 at sximmc0: 4-bit, sd high-speed, mmc high-speed, dma
sximmc1 at simplebus0
sdmmc1 at sximmc1: 4-bit, sd high-speed, mmc high-speed, dma
"usb" at simplebus0 not configured
"phy" at simplebus0 not configured
ehci0 at simplebus0
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "Generic EHCI root hub" rev 2.00/1.00 
addr 1
ohci0 at simplebus0: version 1.0
"timer" at simplebus0 not configured
"dram-controller" at simplebus0 not configured
sxidog0 at simplebus0
com0 at simplebus0: ns16550, no working fifo
com0: console
com1 at simplebus0: ns16550, no working fifo
"hdmi-phy" at simplebus0 not configured
"codec-analog" at simplebus0 not configured
"deinterlace" at simplebus0 not configured
"video-codec" at simplebus0 not configured
"crypto" at simplebus0 not configured
"gpu" at simplebus0 not configured
"thermal-sensor" at simplebus0 not configured
gpio0 at sxipio0: 32 pins
gpio1 at sxipio0: 32 pins
gpio2 at sxipio0: 32 pins
gpio3 at sxipio0: 32 pins
gpio4 at sxipio0: 32 pins
gpio5 at sxipio0: 32 pins
gpio6 at sxipio0: 32 pins
gpio7 at sxipio1: 32 pins
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "Generic OHCI root hub" rev 1.00/1.00 
addr 1
agtimer0 at mainbus0: 24000 kHz
scsibus0 at sdmmc0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <SD/MMC, SD16G, 0000> removable
sd0: 30186MB, 512 bytes/sector, 61820928 sectors
bwfm0 at sdmmc1 function 1
manufacturer 0x02d0, product 0xa9a6 at sdmmc1 function 2 not configured
softraid0 at root
scsibus1 at softraid0: 256 targets
bootfile: sd0a:/bsd
boot device: sd0
root on rd0a swap on rd0b dump on rd0b
WARNING: bad clock chip time
WARNING: CHECK AND RESET THE DATE!
bwfm0: failed loadfirmware of file brcmfmac43430-sdio.bin
cpu0: DVFS failed
erase ^?, werase ^W, kill ^U, intr ^C, status ^T

Welcome to the OpenBSD/armv7 6.9 installation program.
(I)nstall, (U)pgrade, (A)utoinstall or (S)hell? I
At any prompt except password prompts you can escape to a .â–’â–’â–’â–’by
typing '!'. Default answers are shown in []'s and are selected by
pressing RETURN.  You can exit this program at any time by pressing
Control-C, but this can leave your system in an inconsistent state.

Terminal type? [vt220]
System hostname? (short form, e.g. 'foo') bpi

Available network interfaces are: bwfm0 vlan0.
Which network interface do you wish to configure? (or 'done') [bwfm0]
ifconfig: SIOCS80211NWKEY: Operation not supported by device
Access point? (ESSID, 'any', list# or '?') [any]
IPv4 address for bwfm0? (or 'dhcp' or 'none') [dhcp]
bwfm0: failed loadfirmware of file brcmfmac43430-sdio.bin
bwfm0: could not init bus
bwfm0: no link..........sleeping
IPv6 address for bwfm0? (or 'autoconf' or 'none') [none]
Available network interfaces are: bwfm0 vlan0.
Which network interface do you wish to configure? (or 'done') [done] bwfm0
ifconfig: SIOCS80211NWKEY: Operation not supported by device
Access point? (ESSID, 'any', list# or '?') [any]
IPv4 address for bwfm0? (or 'dhcp' or 'none') [dhcp]
bwfm0: no link..........sleeping
IPv6 address for bwfm0? (or 'autoconf' or 'none') [none]
Available network interfaces are: bwfm0 vlan0.
Which network interface do you wish to configure? (or 'done') [done]
DNS domain name? (e.g. 'example.com') [my.domain] banana.pi
DNS nameservers? (IP address list or 'none') [none]

Password for root account? (will not echo)
Password for root account? (again)
Start sshd(8) by default? [yes]
Setup a user? (enter a lower-case loginname, or 'no') [no] bpi
Full name for user bpi? [bpi]
Password for user bpi? (will not echo)
Password for user bpi? (again)
WARNING: root is targeted by password guessing attacks, pubkeys are safer.
Allow root ssh login? (yes, no, prohibit-password) [no]

Available disks are: sd0.
Which disk is the root disk? ('?' for details) [sd0]
Disk: sd0       geometry: 3848/255/63 [61820928 Sectors]
Offset: 0       Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
*0: 0C      2  10   9 -      2  75   9 [       32768:        4096 ] FAT32L
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
 3: A6      2  75  10 -      4  52  48 [       36864:       30720 ] OpenBSD
Use (W)hole disk or (E)dit the MBR? [whole]
Creating a msdos partition and an OpenBSD partition for rest of sd0...done.
/dev/rsd0i: 32668 sectors in 8167 FAT16 clusters (2048 bytes/cluster)
bps=512 spc=4 res=1 nft=2 rde=512 mid=0xf8 spf=32 spt=63 hds=255 hid=32768 
bsec=32768
The auto-allocated layout for sd0 is:
#                size           offset  fstype [fsize bsize   cpg]
  a:          1024.0M            65536  4.2BSD   2048 16384     1 # /
  b:           641.6M          2162688    swap
  c:         30186.0M                0  unused
  d:          1669.8M          3476640  4.2BSD   2048 16384     1 # /tmp
  e:          2598.3M          6896288  4.2BSD   2048 16384     1 # /var
  f:          3437.2M         12217696  4.2BSD   2048 16384     1 # /usr
  g:           965.2M         19257056  4.2BSD   2048 16384     1 # /usr/X11R6
  h:          3929.8M         21233696  4.2BSD   2048 16384     1 # /usr/local
  i:            16.0M            32768   MSDOS
  j:          1687.4M         29281888  4.2BSD   2048 16384     1 # /usr/src
  k:          5894.9M         32737760  4.2BSD   2048 16384     1 # /usr/obj
  l:          8305.9M         44810464  4.2BSD   2048 16384     1 # /home
Use (A)uto layout, (E)dit auto layout, or create (C)ustom layout? [a]
/dev/rsd0a: 1024.0MB in 2097152 sectors of 512 bytes
6 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each
newfs: reduced number of fragments per cylinder group from 103680 to 103640 to 
enlarge last cylinder group
/dev/rsd0l: 8305.9MB in 17010464 sectors of 512 bytes
42 cylinder groups of 202.42MB, 12955 blocks, 25920 inodes each
/dev/rsd0d: 1669.8MB in 3419648 sectors of 512 bytes
9 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each
/dev/rsd0f: 3437.2MB in 7039360 sectors of 512 bytes
17 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each
/dev/rsd0g: 965.2MB in 1976640 sectors of 512 bytes
5 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each
/dev/rsd0h: 3929.8MB in 8048192 sectors of 512 bytes
20 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each
/dev/rsd0k: 5894.9MB in 12072704 sectors of 512 bytes
30 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each
/dev/rsd0j: 1687.4MB in 3455872 sectors of 512 bytes
9 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each
/dev/rsd0e: 2598.3MB in 5321408 sectors of 512 bytes
13 cylinder groups of 202.50MB, 12960 blocks, 25920 inodes each
/dev/sd0a (7d841f3e87d6ab30.a) on /mnt type ffs (rw, asynchronous, local)
/dev/sd0l (7d841f3e87d6ab30.l) on /mnt/home type ffs (rw, asynchronous, local, 
nodev, nosuid)
/dev/sd0d (7d841f3e87d6ab30.d) on /mnt/tmp type ffs (rw, asynchronous, local, 
nodev, nosuid)
/dev/sd0f (7d841f3e87d6ab30.f) on /mnt/usr type ffs (rw, asynchronous, local, 
nodev)
/dev/sd0g (7d841f3e87d6ab30.g) on /mnt/usr/X11R6 type ffs (rw, asynchronous, 
local, nodev)
/dev/sd0h (7d841f3e87d6ab30.h) on /mnt/usr/local type ffs (rw, asynchronous, 
local, nodev)
/dev/sd0k (7d841f3e87d6ab30.k) on /mnt/usr/obj type ffs (rw, asynchronous, 
local, nodev, nosuid)
/dev/sd0j (7d841f3e87d6ab30.j) on /mnt/usr/src type ffs (rw, asynchronous, 
local, nodev, nosuid)
/dev/sd0e (7d841f3e87d6ab30.e) on /mnt/var type ffs (rw, asynchronous, local, 
nodev, nosuid)

Let's install the sets!
Location of sets? (disk http nfs or 'done') [http]

Reply via email to