On Mon, Sep 27, 2021 at 10:55:16AM -0000, Stuart Henderson wrote:
> On 2021-09-26, Joseph Olatt <j...@eskimo.com> wrote:
> > Hi Matheus and beebeet...@posteo.de,
> >
> > I have OpenBSD 6.9 successfully running on multiple Raspberry Pi 3Bs
> > without any issues. The one that is having issues is a 4B. I am
> > following the instructions at: 
> >
> >   https://ftp.openbsd.org/pub/OpenBSD/6.9/arm64/INSTALL.arm64
> >
> > and when I try to boot up, I get:
> 
> Try a snapshot instead, the newer U-Boot version might work better.
> (There have been various hardware revisions of the Pi 4 model B).

Thank you for the suggestion.

I tried the following snapshot:

  https://cdn.openbsd.org/pub/OpenBSD/snapshots/arm64/miniroot70.img

  Build date: 27-Sep-2021 20:10
  Size: 45088768

Didn't have much luck. The install process rebooted after the following
error:

  bwfm0: failed loadfirmware of file 
brcmfmac43455-sdio.raspberrypi,4-model-b.bin
  panic: do_el0_error

Wonder if the following error in the beginning (full transcript of
install process listed below):  

  libfdt fdt_check_header(): FDT_ERR_BADMAGIC

has anything to do with my woes...

Next, I'll try the pftf UEFI firmware mentioned in INSTALL.arm64, per
your suggestion, as soon as I find some spare time.


/* Full transcript of install */
  Connected to /dev/cuaU0 (speed 115200)
  
  
  U-Boot 2021.07 (Aug 12 2021 - 02:45:29 -0600)
  
  DRAM:  3.9 GiB
  RPI 4 Model B (0xc03114)
  MMC:   mmcnr@7e300000: 1, emmc2@7e340000: 0
  Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1... 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... 2 USB Device(s) found
         scanning usb for storage devices... 0 Storage Device(s) found
  Hit any key to stop autoboot:  0 
  switch to partitions #0, OK
  mmc0 is current device
  Scanning mmc 0:1...
  libfdt fdt_check_header(): FDT_ERR_BADMAGIC
  Card did not respond to voltage select! : -110
  Scanning disk mm...@7e300000.blk...
  Disk mm...@7e300000.blk not ready
  Scanning disk em...@7e340000.blk...
  ** Unrecognized filesystem type **
  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
  170694 bytes read in 33 ms (4.9 MiB/s)
  libfdt fdt_check_header(): FDT_ERR_BADMAGIC
  Booting /efi\boot\bootaa64.efi
  disks: sd0*
  >> OpenBSD/arm64 BOOTAA64 1.6
  boot> 
  cannot open sd0a:/etc/random.seed: No such file or directory
  booting sd0a:/bsd: 2574016+699492+13009456+629216 
[216000+109+596472+233168]=0x14014c8
  type 0x0 pa 0x0 va 0x0 pages 0x1 attr 0x8
  type 0x7 pa 0x1000 va 0x1000 pages 0x1ff attr 0x8
  type 0x2 pa 0x200000 va 0x200000 pages 0x4000 attr 0x8
  type 0x7 pa 0x4200000 va 0x4200000 pages 0x3cf0 attr 0x8
  type 0x9 pa 0x7ef0000 va 0x7ef0000 pages 0x20 attr 0x8
  type 0x7 pa 0x7f10000 va 0x7f10000 pages 0x31ef0 attr 0x8
  type 0x4 pa 0x39e00000 va 0x39e00000 pages 0x1 attr 0x8
  type 0x7 pa 0x39e01000 va 0x39e01000 pages 0x1 attr 0x8
  type 0x2 pa 0x39e02000 va 0x39e02000 pages 0x100 attr 0x8
  type 0x1 pa 0x39f02000 va 0x39f02000 pages 0x2a attr 0x8
  type 0x0 pa 0x39f2c000 va 0x39f2c000 pages 0x7 attr 0x8
  type 0x4 pa 0x39f33000 va 0x39f33000 pages 0x1 attr 0x8
  type 0x6 pa 0x39f34000 va 0x3d35274000 pages 0x1 attr 0x8000000000000008
  type 0x4 pa 0x39f35000 va 0x39f35000 pages 0x2 attr 0x8
  type 0x0 pa 0x39f37000 va 0x39f37000 pages 0x1 attr 0x8
  type 0x6 pa 0x39f38000 va 0x3d35278000 pages 0x3 attr 0x8000000000000008
  type 0x4 pa 0x39f3b000 va 0x39f3b000 pages 0x1 attr 0x8
  type 0x6 pa 0x39f3c000 va 0x3d3527c000 pages 0x4 attr 0x8000000000000008
  type 0x0 pa 0x39f40000 va 0x39f40000 pages 0x1 attr 0x8
  type 0x4 pa 0x39f41000 va 0x39f41000 pages 0x1 attr 0x8
  type 0x0 pa 0x39f42000 va 0x39f42000 pages 0x1 attr 0x8
  type 0x4 pa 0x39f43000 va 0x39f43000 pages 0x2 attr 0x8
  type 0x0 pa 0x39f45000 va 0x39f45000 pages 0x1 attr 0x8
  type 0x4 pa 0x39f46000 va 0x39f46000 pages 0x2 attr 0x8
  type 0x2 pa 0x39f48000 va 0x39f48000 pages 0x1408 attr 0x8
  type 0x5 pa 0x3b350000 va 0x3d36690000 pages 0x10 attr 0x8000000000000008
  type 0x2 pa 0x3b360000 va 0x3b360000 pages 0xa0 attr 0x8
  type 0x0 pa 0x3ef5c000 va 0x3ef5c000 pages 0x1 attr 0x8
  type 0x4 pa 0x40000000 va 0x40000000 pages 0xbc000 attr 0x8
  type 0xb pa 0xfe100000 va 0x3d366a0000 pages 0x1 attr 0x8000000000000000
  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 7.0 (RAMDISK) #1249: Mon Sep 27 20:10:08 MDT 2021
      dera...@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/RAMDISK
  real mem  = 4124962816 (3933MB)
  avail mem = 3961278464 (3777MB)
  random: good seed from bootblocks
  mainbus0 at root: Raspberry Pi 4 Model B Rev 1.4
  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
  efi0 at mainbus0: UEFI 2.8
  efi0: Das U-Boot rev 0x20210700
  "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: "interrupt-controller"
  syscon0 at simplebus0: "avs-monitor"
  "thermal" at syscon0 not configured
  bcmdmac0 at simplebus0: DMA0 DMA2 DMA4 DMA5 DMA6 DMA7 DMA8 DMA9
  "timer" at simplebus0 not configured
  pluart0 at simplebus0: 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.0, 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.0, 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
  bse0 at simplebus2: address e4:5f:01:40:4d:18
  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
  "leds" at mainbus0 not configured
  "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
  scsibus0 at sdmmc1: 2 targets, initiator 0
  sd0 at scsibus0 targ 1 lun 0: <SD/MMC, EB1QT, 0030> removable
  sd0: 30528MB, 512 bytes/sector, 62521344 sectors
  bwfm0 at sdmmc0 function 1
  manufacturer 0x02d0, product 0xa9a6 at sdmmc0 function 2 not configured
  manufacturer 0x02d0, product 0xa9a6 at sdmmc0 function 3 not configured
  softraid0 at root
  scsibus1 at softraid0: 256 targets
  root on rd0a swap on rd0b dump on rd0b
  WARNING: CHECK AND RESET THE DATE!
  gpio at bcmgpio0 not configured
  bwfm0: failed loadfirmware of file 
brcmfmac43455-sdio.raspberrypi,4-model-b.bin
  panic: do_el0_error
  syncing disks... done
  
  dump to dev 17,1 not possible
  rebooting...

Reply via email to