On 2021/04/21 14:36, Jake wrote: > hi all, > > it's been a while since i've had enough issues with getting obsd installed > that it warranted a post to one of the lists. i have seen sthen post boot > messages from a known-working rpi 4b rev 1.2, but i have a rpi 4b rev 1.4 > here that has a mostly-broken bse0 and does not work with uboot. > > when booting 6.8, the uefi firmware + miniroot configuration boots fine, > bse0 pulls an ip properly via dhclient, but when it comes time to fetch the > sets via https the transfer goes glacially slow. as in it would take many > hours or days to pull the installation files down. i worked around this by > writing the install files to another usb storage device, so it is indeed > possible to complete the installation in a timely fashion. however, on a > reboot, the problem with bse0 barely working persists. > > i have confirmed that this problem occurs both with the ACPI and devicetree > settings in the uefi firmware. > > i suspect that the rev 1.4 has some hardware change relative to rev 1.2 that > is not obvious. i have included the miniroot boot messsages at the end of > this email. > > when booting the 210418 snapshot, i followed the new instructions and uboot > goes into a loop and never gets to booting miniroot. the messages are > included below.
So this looks similar to the issue on Pi 400 with u-boot 2021.01. The 400 got further with 2021.04, there were still some problems there but I didn't poke at it too hard.. For now stick with the edk2-based firmware and retry with 2021.04 when it hits the tree after ports is open (unless you want to build it yourself). Not sure what is up with bse0, I don't seen that on 4 rev 1.2 or 400. > i think there is little else i can do myself to make this work at this > point. i look forward to any suggestions. > > NOTE: i'm not subscribed to the list, so make sure to reply to me as a cc. > > regards, > > jake > > OpenBSD 6.8 (RAMDISK) #780: Sun Oct 4 20:57:28 MDT 2020 > dera...@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/RAMDISK > real mem = 1995489280 (1903MB) > avail mem = 1901342720 (1813MB) > random: good seed from bootblocks > mainbus0 at root: Raspberry Pi 4 Model B Rev 1.4 > psci0 at mainbus0: PSCI 1.1, SMCCC 1.2 > 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 > efi0 at mainbus0: UEFI 2.7 > efi0: https://github.com/pftf/RPi4 rev 0x10000 > "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 > bcmirng0 at simplebus0 > pluart0 at simplebus0: console > com0 at simplebus0: ns16550, no working fifo > "local_intc" at simplebus0 not configured > bcmdog0 at simplebus0 > simplebus1 at simplebus0: "firmware" > "clocks" at simplebus1 not configured > "gpio" at simplebus1 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 > simplebus2 at mainbus0: "emmc2bus" > > sdhc1 at simplebus2 > 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: tick rate 54000 KHz > simplebus3 at mainbus0: "scb" > bcmpcie0 at simplebus3 > 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 simplebus3: address e4:5f:01:07:1d:fe > brgphy0 at bse0 phy 1: BCM54210E 10/100/1000baseT PHY, rev. 2 > "dma" at simplebus3 not configured > "hevc-decoder" at simplebus3 not configured > "rpivid-local-intc" at simplebus3 not configured > "h264-decoder" at simplebus3 not configured > "vp9-decoder" at simplebus3 not configured > "leds" at mainbus0 not configured > "sd_io_1v8_reg" at mainbus0 not configured > "fixedregulator_3v3" at mainbus0 not configured > "fixedregulator_5v0" at mainbus0 not configured > simplebus4 at mainbus0: "v3dbus" > "clk-108M" at mainbus0 not configured > "sd_vcc_reg" at mainbus0 not configured > 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 > umass0 at uhub0 port 3 configuration 1 interface 0 "Genesys USB3 Reader" rev > 3.00/0.01 addr 3 > umass0: using SCSI over Bulk-Only > scsibus0 at umass0: 2 targets, initiator 0 > sd0 at scsibus0 targ 1 lun 0: <Generic, STORAGE DEVICE, FT01> removable > serial.05e30738000000000001 > sd0: 15192MB, 512 bytes/sector, 31113216 sectors > scsibus1 at sdmmc0: 2 targets, initiator 0 > sd1 at scsibus1 targ 1 lun 0: <SD/MMC, SD16G, 0020> removable > sd1: 15192MB, 512 bytes/sector, 31113216 sectors > softraid0 at root > scsibus2 at softraid0: 256 targets > bootfile: sd0a:/bsd > boot device: sd0 > root on rd0a swap on rd0b dump on rd0b > WARNING: CHECK AND RESET THE DATE! > gpio at bcmgpio0 not configured > > > U-Boot 2021.01 (Apr 16 2021 - 15:39:01 +1000) > > DRAM: 1.9 GiB > RPI 4 Model B (0xb03114) > MMC: mmcnr@7e300000: 1, emmc2@7e340000: 0 > Loading Environment from FAT... *** Warning - bad CRC, using default > environment > > In: serial > Out: serial > Err: serial > Net: eth0: ethernet@7d580000 > PCIe BRCM: link up, 5.0 Gbps x1 (SSC) > starting USB... > Bus xhci_pci: probe failed, error -110 > No working controllers found > Hit any key to stop autoboot: 0 > switch to partitions #0, OK > mmc0 is current device > "Synchronous Abort" handler, esr 0x96000044 > elr: 000000000009bca0 lr : 000000000009c8ac (reloc) > elr: 000000003b377ca0 lr : 000000003b3788ac > x0 : 616353206f686365 x1 : 000000000000000a > x2 : 000000003b3d30e0 x3 : 0000000000000002 > x4 : 000000003af62410 x5 : 000000003af62430 > x6 : 0000000000000021 x7 : 000000003b3d30a0 > x8 : 000000003aff2a00 x9 : 0000000000000008 > x10: 000000003af61a20 x11: 000000003af66ca0 > x12: 0000000000000000 x13: 0000000000000200 > x14: 000000003af4be78 x15: 0000000000000002 > x16: 0000000000004110 x17: 0000007ffffc2228 > x18: 000000003af57da0 x19: 000000003af62420 > x20: 000000003af62420 x21: 0000000000000020 > x22: 000000003b3d30f0 x23: 000000003b3d3000 > x24: 0000000000000003 x25: 0000000000000030 > x26: 000000003af62410 x27: 0000000000000000 > x28: 000000003af61460 x29: 000000003af4abd0 > > Code: 8b21cc42 f85f0440 a9010880 f9000844 (f9000c04) > Resetting CPU ... >