Re: u-boot debug, was: Re: U-boot on RPI3, sees disk but won't boot it

From: bob prohaska <fbsd_at_www.zefox.net>
Date: Wed, 05 Oct 2022 03:46:08 UTC
On Tue, Oct 04, 2022 at 01:25:17AM -0700, Mark Millard wrote:
> I found a configuration that gets the RPi3 EDK2 and FreeBSD
> combination to have the serial console working. You can try
> booting and operating via the RPi3 EDK2 UEFI materials.
> 

EDK2 boots the JMS576 enclosure rather reliably, 13 out
of 13 tries succeeded, with no failures.

It has more problems with the JMS577 enclosure, failing
mountroot, getting to multi-user twice out of six tries.
Maybe better to say six interventions from the keyboard.

But, seemingly no disk detection failures. I didn't see
anything that I recognized as an error message from EDK2.

 

Here's rather long copy-paste of the console:
-----------begin console output---------

Resetting system ... 



Raspberry Pi Bootcode
Read File: config.txt, 216
Read File: start.elf, 2967424 (bytes)
Read File: fixup.dat, 7216 (bytes)
MESS:00:00:01.135470:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:01.139825:0: brfs: File read: 216 bytes
MESS:00:00:01.197517:0: HDMI0:EDID error reading EDID block 0 attempt 0
MESS:00:00:01.203683:0: HDMI0:EDID error reading EDID block 0 attempt 1
MESS:00:00:01.210019:0: HDMI0:EDID error reading EDID block 0 attempt 2
MESS:00:00:01.216356:0: HDMI0:EDID error reading EDID block 0 attempt 3
MESS:00:00:01.222693:0: HDMI0:EDID error reading EDID block 0 attempt 4
MESS:00:00:01.229030:0: HDMI0:EDID error reading EDID block 0 attempt 5
MESS:00:00:01.235366:0: HDMI0:EDID error reading EDID block 0 attempt 6
MESS:00:00:01.241703:0: HDMI0:EDID error reading EDID block 0 attempt 7
MESS:00:00:01.248040:0: HDMI0:EDID error reading EDID block 0 attempt 8
MESS:00:00:01.254377:0: HDMI0:EDID error reading EDID block 0 attempt 9
MESS:00:00:01.260472:0: HDMI0:EDID giving up on reading EDID block 0
MESS:00:00:01.268103:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:01.272414:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
MESS:00:00:02.095665:0: gpioman: gpioman_get_pin_num: pin DISPLAY_DSI_PORT not defined
MESS:00:00:02.103201:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
MESS:00:00:02.109130:0: *** Restart logging
MESS:00:00:02.113008:0: brfs: File read: 216 bytes
MESS:00:00:02.118466:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0
MESS:00:00:02.125624:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 1
MESS:00:00:02.132482:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 2
MESS:00:00:02.139340:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 3
MESS:00:00:02.146197:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 4
MESS:00:00:02.153054:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 5
MESS:00:00:02.159913:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 6
MESS:00:00:02.166770:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 7
MESS:00:00:02.173628:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 8
MESS:00:00:02.180486:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 9
MESS:00:00:02.187101:0: hdmi: HDMI0:EDID giving up on reading EDID block 0
MESS:00:00:02.193004:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0
MESS:00:00:02.200797:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 1
MESS:00:00:02.207656:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 2
MESS:00:00:02.214512:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 3
MESS:00:00:02.221371:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 4
MESS:00:00:02.228229:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 5
MESS:00:00:02.235086:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 6
MESS:00:00:02.241944:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 7
MESS:00:00:02.248802:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 8
MESS:00:00:02.255660:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 9
MESS:00:00:02.262275:0: hdmi: HDMI0:EDID giving up on reading EDID block 0
MESS:00:00:02.268145:0: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
MESS:00:00:02.276635:0: HDMI0: hdmi_pixel_encoding: 162000000
MESS:00:00:02.282330:0: vec: vec_middleware_power_on: vec_base: 0x7e806000 rev-id 0x00002708 @ vec: 0x7e806100 @ 0x00000420 enc: 0x7e806060 @ 0x00000220 cgmsae: 0x7e80605c @ 0x00000000
MESS:00:00:02.303727:0: dtb_file 'bcm2710-rpi-3-b.dtb'
MESS:00:00:02.313078:0: brfs: File read: /mfs/sd/bcm2710-rpi-3-b.dtb
MESS:00:00:02.317741:0: Loading 'bcm2710-rpi-3-b.dtb' to 0x1f0000 size 0x7107
MESS:00:00:02.338301:0: brfs: File read: 28935 bytes
MESS:00:00:02.413991:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:02.418020:0: brfs: File read: 216 bytes
MESS:00:00:02.426024:0: brfs: File read: /mfs/sd/overlays/disable-bt.dtbo
MESS:00:00:02.446619:0: Loaded overlay 'disable-bt'
MESS:00:00:02.491185:0: brfs: File read: 1073 bytes
MESS:00:00:02.494726:0: Failed to open command line file 'cmdline.txt'
MESS:00:00:03.054138:0: gpioman: gpioman_get_pin_num: pin EMMC_ENABLE not defined
MESS:00:00:03.249078:0: brfs: File read: /mfs/sd/RPI_EFI.fd
MESS:00:00:03.252958:0: Loading 'RPI_EFI.fd' to 0x0 size 0x1f0000
MESS:00:00:03.258784:0: No compatible kernel found
MESS:00:00:03.263284:0: Device tree loaded to 0x1f0000 (size 0x75d8)
MESS:00:00:03.271038:0: uart: Set PL011 baud rate to 103448.300000 Hz
MESS:00:00:03.277330:0: uart: Baud rate change done...
MESS:00:00:03.280764:0: uart: Baud rate change done...
MESS:00:00:03.286487:0: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined
NOTICE:  Booting Trusted Firmware
NOTICE:  BL1: v2.5(release):
NOTICE:  BL1: Built : 18:50:24, Jun 14 2021
NOTICE:  rpi3: Detected: Raspberry Pi 3 Model B (1GB, Sony, UK) [0x00a02082]
NOTICE:  BL1: Booting BL2
NOTICE:  BL2: v2.5(release):
NOTICE:  BL2: Built : 18:50:18, Jun 14 2021
NOTICE:  BL1: Booting BL31
NOTICE:  BL31: v2.5(release):
NOTICE:  BL31: Built : 18:50:22, Jun 14 2021
UEFI firmware (version UEFI Firmware v1.37 built at 19:07:59 on Oct 19 2021)










































ESC (setup), F1 (shell), ENTER (boot)......BdsDxe: No bootable option or device 
was found.
BdsDxe: Press any key to enter the Boot Manager Menu.

                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
 Raspberry Pi 3 Model B                                                         
 BCM2837 (ARM Cortex-A53)                            1.20 GHz                   
 UEFI Firmware v1.37                                 1024 MB RAM                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
   Select Language            <English>                  Reset                  
                                                                                
 > Device Manager                                                               
 > Boot Manager                                                                 
 > Boot Maintenance Manager                                                     
                                                                                
   Continue                                                                     
   Reset                                                                        
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                          <Enter>=Select Entry                                 

Raspberry Pi Bootcode
Read File: config.txt, 216
Read File: start.elf, 2967424 (bytes)
Read File: fixup.dat, 7216 (bytes)
MESS:00:00:01.126618:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:01.130976:0: brfs: File read: 216 bytes
MESS:00:00:01.188663:0: HDMI0:EDID error reading EDID block 0 attempt 0
MESS:00:00:01.194829:0: HDMI0:EDID error reading EDID block 0 attempt 1
MESS:00:00:01.201165:0: HDMI0:EDID error reading EDID block 0 attempt 2
MESS:00:00:01.207502:0: HDMI0:EDID error reading EDID block 0 attempt 3
MESS:00:00:01.213839:0: HDMI0:EDID error reading EDID block 0 attempt 4
MESS:00:00:01.220176:0: HDMI0:EDID error reading EDID block 0 attempt 5
MESS:00:00:01.226513:0: HDMI0:EDID error reading EDID block 0 attempt 6
MESS:00:00:01.232850:0: HDMI0:EDID error reading EDID block 0 attempt 7
MESS:00:00:01.239186:0: HDMI0:EDID error reading EDID block 0 attempt 8
MESS:00:00:01.245523:0: HDMI0:EDID error reading EDID block 0 attempt 9
MESS:00:00:01.251619:0: HDMI0:EDID giving up on reading EDID block 0
MESS:00:00:01.259178:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:01.263487:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
MESS:00:00:02.086735:0: gpioman: gpioman_get_pin_num: pin DISPLAY_DSI_PORT not defined
MESS:00:00:02.094272:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
MESS:00:00:02.100200:0: *** Restart logging
MESS:00:00:02.104078:0: brfs: File read: 216 bytes
MESS:00:00:02.109534:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0
MESS:00:00:02.116697:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 1
MESS:00:00:02.123552:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 2
MESS:00:00:02.130410:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 3
MESS:00:00:02.137268:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 4
MESS:00:00:02.144125:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 5
MESS:00:00:02.150983:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 6
MESS:00:00:02.157840:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 7
MESS:00:00:02.164698:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 8
MESS:00:00:02.171556:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 9
MESS:00:00:02.178172:0: hdmi: HDMI0:EDID giving up on reading EDID block 0
MESS:00:00:02.184074:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0
MESS:00:00:02.191868:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 1
MESS:00:00:02.198726:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 2
MESS:00:00:02.205584:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 3
MESS:00:00:02.212440:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 4
MESS:00:00:02.219299:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 5
MESS:00:00:02.226157:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 6
MESS:00:00:02.233014:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 7
MESS:00:00:02.239872:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 8
MESS:00:00:02.246730:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 9
MESS:00:00:02.253345:0: hdmi: HDMI0:EDID giving up on reading EDID block 0
MESS:00:00:02.259213:0: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
MESS:00:00:02.267705:0: HDMI0: hdmi_pixel_encoding: 162000000
MESS:00:00:02.273400:0: vec: vec_middleware_power_on: vec_base: 0x7e806000 rev-id 0x00002708 @ vec: 0x7e806100 @ 0x00000420 enc: 0x7e806060 @ 0x00000220 cgmsae: 0x7e80605c @ 0x00000000
MESS:00:00:02.294801:0: dtb_file 'bcm2710-rpi-3-b.dtb'
MESS:00:00:02.304110:0: brfs: File read: /mfs/sd/bcm2710-rpi-3-b.dtb
MESS:00:00:02.308773:0: Loading 'bcm2710-rpi-3-b.dtb' to 0x1f0000 size 0x7107
MESS:00:00:02.329334:0: brfs: File read: 28935 bytes
MESS:00:00:02.404919:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:02.408948:0: brfs: File read: 216 bytes
MESS:00:00:02.416896:0: brfs: File read: /mfs/sd/overlays/disable-bt.dtbo
MESS:00:00:02.437491:0: Loaded overlay 'disable-bt'
MESS:00:00:02.482058:0: brfs: File read: 1073 bytes
MESS:00:00:02.485599:0: Failed to open command line file 'cmdline.txt'
MESS:00:00:03.042457:0: gpioman: gpioman_get_pin_num: pin EMMC_ENABLE not defined
MESS:00:00:03.237578:0: brfs: File read: /mfs/sd/RPI_EFI.fd
MESS:00:00:03.241459:0: Loading 'RPI_EFI.fd' to 0x0 size 0x1f0000
MESS:00:00:03.247285:0: No compatible kernel found
MESS:00:00:03.251784:0: Device tree loaded to 0x1f0000 (size 0x75d8)
MESS:00:00:03.259540:0: uart: Set PL011 baud rate to 103448.300000 Hz
MESS:00:00:03.265831:0: uart: Baud rate change done...
MESS:00:00:03.269265:0: uart: Baud rate change done...
MESS:00:00:03.274986:0: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined
NOTICE:  Booting Trusted Firmware
NOTICE:  BL1: v2.5(release):
NOTICE:  BL1: Built : 18:50:24, Jun 14 2021
NOTICE:  rpi3: Detected: Raspberry Pi 3 Model B (1GB, Sony, UK) [0x00a02082]
NOTICE:  BL1: Booting BL2
NOTICE:  BL2: v2.5(release):
NOTICE:  BL2: Built : 18:50:18, Jun 14 2021
NOTICE:  BL1: Booting BL31
NOTICE:  BL31: v2.5(release):
NOTICE:  BL31: Built : 18:50:22, Jun 14 2021
UEFI firmware (version UEFI Firmware v1.37 built at 19:07:59 on Oct 19 2021)










































ESC (setup), F1 (shell), ENTER (boot)......









































Consoles: EFI console  
    Reading loader env vars from /efi/freebsd/loader.env
Setting currdev to disk1p1:
FreeBSD/arm64 EFI loader, Revision 1.1

   Command line arguments: loader.efi
   Image base: 0x33843000
   EFI version: 2.70
   EFI Firmware: https://github.com/pftf/RPi3 (rev 1.00)
   Console: efi (0x1000)
   Load Path: \EFI\BOOT\BOOTAA64.EFI
   Load Device: VenHw(4BF1704C-03F4-46D5-BCA6-82FA580BADFD)/USB(0x0,0x0)/USB(0x1
,0x0)/USB(0x3,0x0)/HD(1,MBR,0xF4C26069,0x81F,0x18FA8)
   BootCurrent: 0002
   BootOrder: 0000 0001 0002[*]
   BootInfo Path: VenHw(58ABD787-F64D-4CA2-A034-B9AC2D5AD0CF)
Ignoring Boot0002: Only one DP found
Trying ESP: VenHw(4BF1704C-03F4-46D5-BCA6-82FA580BADFD)/USB(0x0,0x0)/USB(0x1,0x0
)/USB(0x3,0x0)/HD(1,MBR,0xF4C26069,0x81F,0x18FA8)
Setting currdev to disk1p1:
Trying: VenHw(4BF1704C-03F4-46D5-BCA6-82FA580BADFD)/USB(0x0,0x0)/USB(0x1,0x0)/US
B(0x3,0x0)/HD(2,MBR,0xF4C26069,0x197C7,0x746ED5E9)
Setting currdev to disk1p2:
Loading /boot/defaults/loader.conf
Loading /boot/defaults/loader.conf
Loading /boot/device.hints
Loading /boot/loader.conf
Loading /boot/loader.conf.local
Loading kernel...
/boot/kernel/kernel text=0x2a8 text=0x8ae560 text=0x20576c data=0x1ab418 data=0x
0+0x2a9000 syms=[0x8+0x123228+0x8+0x146f0d]
Loading configured modules...
/boot/entropy size=0x1000
/boot/kernel/filemon.ko text=0x1574 text=0x272c data=0x500+0x20 syms=[0x8+0xcd8+
0x8+0x7c5]
/boot/kernel/umodem.ko text=0x2060 text=0x1330 data=0x6c8+0x10 syms=[0x8+0xee8+0
x8+0xb42]
loading required module 'ucom'
/boot/kernel/ucom.ko text=0x249f text=0x3380 data=0x8a0+0x858 syms=[0x8+0x1188+0
x8+0xb19]
/etc/hostid size=0x25

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...               
Using DTB provided by EFI at 0x35c27000.
EFI framebuffer information:
addr, size     0x3eaa9000, 0x151800
dimensions     720 x 480
stride         720
masks          0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000
---<<BOOT>>---
WARNING: Cannot find freebsd,dts-version property, cannot check DTB compliance
Copyright (c) 1992-2021 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 13.1-STABLE #28 stable/13-5472eacf5: Sat Oct  1 04:04:29 PDT 2022
    root@pelorus.zefox.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64
FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c)
VT(efifb): resolution 720x480
module firmware already present!
real memory  = 989626368 (943 MB)
avail memory = 937533440 (894 MB)
Starting CPU 1 (1)
Starting CPU 2 (2)
Starting CPU 3 (3)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
random: unblocking device.
random: entropy device external interface
MAP 1d0000 mode 2 pages 32
MAP 339d0000 mode 2 pages 80
MAP 33a20000 mode 2 pages 256
MAP 37000000 mode 2 pages 400
MAP 37190000 mode 2 pages 592
kbd0 at kbdmux0
ofwbus0: <Open Firmware Device Tree>
simplebus0: <Flattened device tree simple bus> on ofwbus0
ofw_clkbus0: <OFW clocks bus> on ofwbus0
clk_fixed0: <Fixed clock> on ofw_clkbus0
clk_fixed1: <Fixed clock> on ofw_clkbus0
regfix0: <Fixed Regulator> on ofwbus0
regfix1: <Fixed Regulator> on ofwbus0
bcm2835_firmware0: <BCM2835 Firmware> on simplebus0
ofw_clkbus1: <OFW clocks bus> on bcm2835_firmware0
psci0: <ARM Power State Co-ordination Interface Driver> on ofwbus0
lintc0: <BCM2836 Interrupt Controller> mem 0x40000000-0x400000ff on simplebus0
intc0: <BCM2835 Interrupt Controller> mem 0x7e00b200-0x7e00b3ff irq 39 on simplebus0
gpio0: <BCM2708/2835 GPIO controller> mem 0x7e200000-0x7e2000b3 irq 7,8 on simplebus0
gpiobus0: <OFW GPIO bus> on gpio0
gpio1: <Raspberry Pi Firmware GPIO controller> on bcm2835_firmware0
gpiobus1: <GPIO bus> on gpio1
mbox0: <BCM2835 VideoCore Mailbox> mem 0x7e00b880-0x7e00b8bf irq 6 on simplebus0
generic_timer0: <ARMv7 Generic Timer> irq 1,2,3,4 on ofwbus0
Timecounter "ARM MPCore Timecounter" frequency 19200000 Hz quality 1000
Event timer "ARM MPCore Eventtimer" frequency 19200000 Hz quality 1000
usb_nop_xceiv0: <USB NOP PHY> on ofwbus0
efirtc0: <EFI Realtime Clock>
efirtc0: registered as a time-of-day clock, resolution 1.000000s
bcm2835_clkman0: <BCM283x Clock Manager> mem 0x7e101000-0x7e102fff on simplebus0
gpioc0: <GPIO controller> on gpio0
uart0: <PrimeCell UART (PL011)> mem 0x7e201000-0x7e2011ff irq 9 on simplebus0
uart0: console (115200,n,8,1)
sdhost_bcm0: <Broadcom 2708 SDHOST controller> mem 0x7e202000-0x7e2020ff irq 10 on simplebus0
sdhost_bcm0-slot0: Hardware doesn't specify timeout clock frequency, setting BROKEN_TIMEOUT quirk.
mmc0: <MMC/SD bus> on sdhost_bcm0
bcm283x_dwcotg0: <DWC OTG 2.0 integrated USB controller (bcm283x)> mem 0x7e980000-0x7e98ffff,0x7e006000-0x7e006fff irq 21,22 on simplebus0
usbus1 on bcm283x_dwcotg0
bcm_dma0: <BCM2835 DMA Controller> mem 0x7e007000-0x7e007eff irq 23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38 on simplebus0
bcmwd0: <BCM2708/2835 Watchdog> mem 0x7e100000-0x7e100113,0x7e00a000-0x7e00a023 on simplebus0
bcmrng0: <Broadcom BCM2835/BCM2838 RNG> mem 0x7e104000-0x7e10400f irq 40 on simplebus0
sdhci_bcm0: <Broadcom 2708 SDHCI controller> mem 0x7e300000-0x7e3000ff irq 49 on simplebus0
mmc1: <MMC/SD bus> on sdhci_bcm0
gpioc1: <GPIO controller> on gpio1
fb0: <BCM2835 VT framebuffer driver> on simplebus0
fb0: keeping existing fb bpp of 32
fbd0 on fb0
WARNING: Device "fb" is Giant locked and may be deleted before FreeBSD 14.0.
VT: Replacing driver "efifb" with new "fb".
fb0: 720x480(720x480@0,0) 32bpp
fb0: fbswap: 1, pitch 2880, base 0x3eaa9000, screen_size 1382400
pmu0: <Performance Monitoring Unit> irq 0 on ofwbus0
cpulist0: <Open Firmware CPU Group> on ofwbus0
cpu0: <Open Firmware CPU> on cpulist0
bcm2835_cpufreq0: <CPU Frequency Control> on cpu0
cpu1: <Open Firmware CPU> on cpulist0
cpu2: <Open Firmware CPU> on cpulist0
cpu3: <Open Firmware CPU> on cpulist0
gpioled0: <GPIO LEDs> on ofwbus0
gpioled0: <led0> failed to map pin
armv8crypto0: CPU lacks AES instructions
Timecounters tick every 1.000 msec
usbus1: 480Mbps High Speed USB v2.0
mmcsd0: 32GB <SDHC SP32G 8.0 SN 689F38F7 MFG 12/2017 by 3 SD> at mmc0 50.0MHz/4bit/65535-block
ugen1.1: <DWCOTG OTG Root HUB> at usbus1
uhub0 on usbus1
uhub0: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
mmc1: No compatible cards found on bus
bcm2835_cpufreq0: ARM 1200MHz, Core 250MHz, SDRAM 400MHz, Turbo ON
CPU  0: ARM Cortex-A53 r0p4 affinity:  0
                   Cache Type = <64 byte D-cacheline,64 byte I-cacheline,VIPT ICache,64 byte ERG,64 byte CWG>
 Instruction Set Attributes 0 = <CRC32>
 Instruction Set Attributes 1 = <>
Trying to mount root from ufs:/dev/da0s2a [rw]...
 Instruction Set Attributes 2 = <>
         Processor Features 0 = <AdvSIMD,FP,EL3 32,EL2 32,EL1 32,EL0 32>
         Processor Features 1 = <>
      Memory Model Features 0 = <TGran4,TGran64,SNSMem,BigEnd,16bit ASID,1TB PA>
      Memory Model Features 1 = <8bit VMID>
      Memory Model Features 2 = <32bit CCIDX,48bit VA>
             Debug Features 0 = <DoubleLock,2 CTX BKPTs,4 Watchpoints,6 Breakpoints,PMUv3,Debugv8>
             Debug Features 1 = <>
         Auxiliary Features 0 = <>
         Auxiliary Features 1 = <>
AArch32 Instruction Set Attributes 5 = <CRC32,SEVL>
AArch32 Media and VFP Features 0 = <FPRound,FPSqrt,FPDivide,DP VFPv3+v4,SP VFPv3+v4,AdvSIMD>
AArch32 Media and VFP Features 1 = <SIMDFMAC,FPHP DP Conv,SIMDHP SP Conv,SIMDSP,SIMDInt,SIMDLS,FPDNaN,FPFtZ>
CPU  1: ARM Cortex-A53 r0p4 affinity:  1
CPU  2: ARM Cortex-A53 r0p4 affinity:  2
CPU  3: ARM Cortex-A53 r0p4 affinity:  3
Release APs...done
uhub0: 1 port with 1 removable, self powered
ugen1.2: <vendor 0x0424 product 0x9514> at usbus1
uhub1 on uhub0
uhub1: <vendor 0x0424 product 0x9514, class 9/0, rev 2.00/2.00, addr 2> on usbus1
uhub1: MTT enabled
Root mount waiting for: usbus1
uhub1: 5 ports with 4 removable, self powered
ugen1.3: <vendor 0x0424 product 0xec00> at usbus1
smsc0 on uhub1
smsc0: <vendor 0x0424 product 0xec00, rev 2.00/2.00, addr 3> on usbus1
smsc0: chip 0xec00, rev. 0002
miibus0: <MII bus> on smsc0
smscphy0: <SMC LAN8700 10/100 interface> PHY 1 on miibus0
smscphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ue0: <USB Ethernet> on smsc0
ue0: Ethernet address: b8:27:eb:ba:68:d5
Root mount waiting for: usbus1
ugen1.4: <GenesysLogic USB2.1 Hub> at usbus1
uhub2 on uhub1
uhub2: <GenesysLogic USB2.1 Hub, class 9/0, rev 2.10/6.55, addr 4> on usbus1
uhub2: 4 ports with 4 removable, self powered
Root mount waiting for: usbus1
Root mount waiting for: usbus1
usb_msc_auto_quirk: UQ_MSC_NO_GETMAXLUN set for USB mass storage device JMicron USB Mass Storage (0x152d:0x0577)
usb_msc_auto_quirk: UQ_MSC_NO_PREVENT_ALLOW set for USB mass storage device JMicron USB Mass Storage (0x152d:0x0577)
usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_IOERROR, ignored)
Root mount waiting for: usbus1
Root mount waiting for: usbus1
usbd_setup_device_desc: getting device descriptor at addr 5 failed, USB_ERR_IOERROR
Root mount waiting for: usbus1
ugen1.5: <JMicron USB Mass Storage> at usbus1
umass0 on uhub2
umass0: <JMicron USB Mass Storage, class 0/0, rev 2.10/2.14, addr 5> on usbus1
umass0:  SCSI over Bulk-Only; quirks = 0x8100
umass0:0:0: Attached to scbus0
da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
da0: <SABRENT  0214> Fixed Direct Access SPC-4 SCSI device
da0: Serial Number DD564198838F9
da0: 40.000MB/s transfers
da0: 953869MB (1953525168 512 byte sectors)
da0: quirks=0x2<NO_6_BYTE>
ugen1.6: <FTDI FT232R USB UART> at usbus1
ugen1.5: <JMicron USB Mass Storage> at usbus1 (disconnected)
umass0: at uhub2, port 4, addr 5 (disconnected)
(da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 74 70 6d af 00 00 01 00 
(da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
(da0:umass-sim0:0:0:0): Retrying command, 3 more tries remain
da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
da0: <SABRENT  0214>  s/n DD564198838F9 detached
g_dev_taste: g_dev_taste(da0) failed to g_attach, error=6
(da0:umass-sim0:0:0:0): Periph destroyed
umass0: detached
mountroot: waiting for device /dev/da0s2a...
usb_msc_auto_quirk: UQ_MSC_NO_GETMAXLUN set for USB mass storage device JMicron USB Mass Storage (0x152d:0x0577)
usb_msc_auto_quirk: UQ_MSC_NO_TEST_UNIT_READY set for USB mass storage device JMicron USB Mass Storage (0x152d:0x0577)
usb_msc_auto_quirk: UQ_MSC_NO_PREVENT_ALLOW set for USB mass storage device JMicron USB Mass Storage (0x152d:0x0577)
usbd_req_re_enumerate: addr=5, set address failed! (USB_ERR_IOERROR, ignored)
Mounting from ufs:/dev/da0s2a failed with error 19.

Loader variables:
  vfs.root.mountfrom=ufs:/dev/da0s2a
  vfs.root.mountfrom.options=rw

Manual root filesystem specification:
  <fstype>:<device> [options]
      Mount <device> using filesystem <fstype>
      and with the specified (optional) option list.

    eg. ufs:/dev/da0s1a
        zfs:zroot/ROOT/default
        cd9660:/dev/cd0 ro
          (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)

  ?               List valid disk boot devices
  .               Yield 1 second (for background tasks)
  <empty line>    Abort manual input

mountroot> usbd_setup_device_desc: getting device descriptor at addr 5 failed, USB_ERR_IOERROR
ugen1.5: <JMicron USB Mass Storage> at usbus1
umass0 on uhub2
umass0: <JMicron USB Mass Storage, class 0/0, rev 2.10/2.14, addr 5> on usbus1
umass0:  SCSI over Bulk-Only; quirks = 0x8101
umass0:0:0: Attached to scbus0
ugen1.5: <JMicron USB Mass Storage> at usbus1 (disconnected)
umass0: at uhub2, port 4, addr 5 (disconnected)
(da0:umass-sim0:0:0:0): got CAM status 0xa
(da0:umass-sim0:0:0:0): fatal error, failed to attach to device
umass0: detached
usb_alloc_device: set address 5 failed (USB_ERR_TIMEOUT, ignored)
ugen1.5: <vendor 0x152d product 0x0577> at usbus1
umass0 on uhub2
umass0: <vendor 0x152d product 0x0577, class 0/0, rev 2.10/2.14, addr 5> on usbus1
umass0:  SCSI over Bulk-Only; quirks = 0x0000
umass0:0:0: Attached to scbus0
(probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00 
(probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
(probe0:umass-sim0:0:0:0): Retrying command, 3 more tries remain
da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
da0: <SABRENT  0214> Fixed Direct Access SPC-4 SCSI device
da0: Serial Number DD564198838F9
da0: 40.000MB/s transfers
da0: 953869MB (1953525168 512 byte sectors)
da0: quirks=0x2<NO_6_BYTE>

panic: mountroot: unable to (re-)mount root.
cpuid = 1
time = 34
KDB: stack backtrace:
#0 0xffff0000004fb6d4 at kdb_backtrace+0x60
#1 0xffff0000004a6da0 at vpanic+0x13c
#2 0xffff0000004a6c60 at panic+0x44
#3 0xffff000000595ac4 at vfs_mountroot+0x1e18
#4 0xffff00000041ebc4 at start_init+0x28
#5 0xffff000000455dcc at fork_exit+0x88
#6 0xffff0000007e56f4 at fork_trampoline+0x14
Uptime: 34s
Resetting system ... 



Raspberry Pi Bootcode
Read File: config.txt, 216
Read File: start.elf, 2967424 (bytes)
Read File: fixup.dat, 7216 (bytes)
MESS:00:00:01.102818:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:01.107176:0: brfs: File read: 216 bytes
MESS:00:00:01.164875:0: HDMI0:EDID error reading EDID block 0 attempt 0
MESS:00:00:01.171042:0: HDMI0:EDID error reading EDID block 0 attempt 1
MESS:00:00:01.177377:0: HDMI0:EDID error reading EDID block 0 attempt 2
MESS:00:00:01.183714:0: HDMI0:EDID error reading EDID block 0 attempt 3
MESS:00:00:01.190051:0: HDMI0:EDID error reading EDID block 0 attempt 4
MESS:00:00:01.196388:0: HDMI0:EDID error reading EDID block 0 attempt 5
MESS:00:00:01.202725:0: HDMI0:EDID error reading EDID block 0 attempt 6
MESS:00:00:01.209061:0: HDMI0:EDID error reading EDID block 0 attempt 7
MESS:00:00:01.215398:0: HDMI0:EDID error reading EDID block 0 attempt 8
MESS:00:00:01.221735:0: HDMI0:EDID error reading EDID block 0 attempt 9
MESS:00:00:01.227831:0: HDMI0:EDID giving up on reading EDID block 0
MESS:00:00:01.235446:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:01.239756:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
MESS:00:00:02.063000:0: gpioman: gpioman_get_pin_num: pin DISPLAY_DSI_PORT not defined
MESS:00:00:02.070535:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK not defined
MESS:00:00:02.076465:0: *** Restart logging
MESS:00:00:02.080342:0: brfs: File read: 216 bytes
MESS:00:00:02.085802:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0
MESS:00:00:02.092959:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 1
MESS:00:00:02.099817:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 2
MESS:00:00:02.106675:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 3
MESS:00:00:02.113532:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 4
MESS:00:00:02.120390:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 5
MESS:00:00:02.127248:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 6
MESS:00:00:02.134105:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 7
MESS:00:00:02.140962:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 8
MESS:00:00:02.147820:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 9
MESS:00:00:02.154436:0: hdmi: HDMI0:EDID giving up on reading EDID block 0
MESS:00:00:02.160339:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 0
MESS:00:00:02.168132:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 1
MESS:00:00:02.174991:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 2
MESS:00:00:02.181848:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 3
MESS:00:00:02.188706:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 4
MESS:00:00:02.195564:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 5
MESS:00:00:02.202421:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 6
MESS:00:00:02.209278:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 7
MESS:00:00:02.216137:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 8
MESS:00:00:02.222994:0: hdmi: HDMI0:EDID error reading EDID block 0 attempt 9
MESS:00:00:02.229610:0: hdmi: HDMI0:EDID giving up on reading EDID block 0
MESS:00:00:02.235477:0: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
MESS:00:00:02.243970:0: HDMI0: hdmi_pixel_encoding: 162000000
MESS:00:00:02.249665:0: vec: vec_middleware_power_on: vec_base: 0x7e806000 rev-id 0x00002708 @ vec: 0x7e806100 @ 0x00000420 enc: 0x7e806060 @ 0x00000220 cgmsae: 0x7e80605c @ 0x00000000
MESS:00:00:02.271063:0: dtb_file 'bcm2710-rpi-3-b.dtb'
MESS:00:00:02.280447:0: brfs: File read: /mfs/sd/bcm2710-rpi-3-b.dtb
MESS:00:00:02.285110:0: Loading 'bcm2710-rpi-3-b.dtb' to 0x1f0000 size 0x7107
MESS:00:00:02.305670:0: brfs: File read: 28935 bytes
MESS:00:00:02.381368:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:02.385397:0: brfs: File read: 216 bytes
MESS:00:00:02.393415:0: brfs: File read: /mfs/sd/overlays/disable-bt.dtbo
MESS:00:00:02.414010:0: Loaded overlay 'disable-bt'
MESS:00:00:02.458575:0: brfs: File read: 1073 bytes
MESS:00:00:02.462115:0: Failed to open command line file 'cmdline.txt'
MESS:00:00:03.023262:0: gpioman: gpioman_get_pin_num: pin EMMC_ENABLE not defined
MESS:00:00:03.218252:0: brfs: File read: /mfs/sd/RPI_EFI.fd
MESS:00:00:03.222132:0: Loading 'RPI_EFI.fd' to 0x0 size 0x1f0000
MESS:00:00:03.227957:0: No compatible kernel found
MESS:00:00:03.232458:0: Device tree loaded to 0x1f0000 (size 0x75d8)
MESS:00:00:03.240223:0: uart: Set PL011 baud rate to 103448.300000 Hz
MESS:00:00:03.246515:0: uart: Baud rate change done...
MESS:00:00:03.249949:0: uart: Baud rate change done...
MESS:00:00:03.255665:0: gpioman: gpioman_get_pin_num: pin SDCARD_CONTROL_POWER not defined
NOTICE:  Booting Trusted Firmware
NOTICE:  BL1: v2.5(release):
NOTICE:  BL1: Built : 18:50:24, Jun 14 2021
NOTICE:  rpi3: Detected: Raspberry Pi 3 Model B (1GB, Sony, UK) [0x00a02082]
NOTICE:  BL1: Booting BL2
NOTICE:  BL2: v2.5(release):
NOTICE:  BL2: Built : 18:50:18, Jun 14 2021
NOTICE:  BL1: Booting BL31
NOTICE:  BL31: v2.5(release):
NOTICE:  BL31: Built : 18:50:22, Jun 14 2021
UEFI firmware (version UEFI Firmware v1.37 built at 19:07:59 on Oct 19 2021)










































ESC (setup), F1 (shell), ENTER (boot)......









































Consoles: EFI console  
    Reading loader env vars from /efi/freebsd/loader.env
Setting currdev to disk1p1:
FreeBSD/arm64 EFI loader, Revision 1.1

   Command line arguments: loader.efi
   Image base: 0x33843000
   EFI version: 2.70
   EFI Firmware: https://github.com/pftf/RPi3 (rev 1.00)
   Console: efi (0x1000)
   Load Path: \EFI\BOOT\BOOTAA64.EFI
   Load Device: VenHw(4BF1704C-03F4-46D5-BCA6-82FA580BADFD)/USB(0x0,0x0)/USB(0x1
,0x0)/USB(0x3,0x0)/HD(1,MBR,0xF4C26069,0x81F,0x18FA8)
   BootCurrent: 0002
   BootOrder: 0000 0001 0002[*]
   BootInfo Path: VenHw(58ABD787-F64D-4CA2-A034-B9AC2D5AD0CF)
Ignoring Boot0002: Only one DP found
Trying ESP: VenHw(4BF1704C-03F4-46D5-BCA6-82FA580BADFD)/USB(0x0,0x0)/USB(0x1,0x0
)/USB(0x3,0x0)/HD(1,MBR,0xF4C26069,0x81F,0x18FA8)
Setting currdev to disk1p1:
Trying: VenHw(4BF1704C-03F4-46D5-BCA6-82FA580BADFD)/USB(0x0,0x0)/USB(0x1,0x0)/US
B(0x3,0x0)/HD(2,MBR,0xF4C26069,0x197C7,0x746ED5E9)
Setting currdev to disk1p2:
Loading /boot/defaults/loader.conf
Loading /boot/defaults/loader.conf
Loading /boot/device.hints
Loading /boot/loader.conf
Loading /boot/loader.conf.local
Loading kernel...
/boot/kernel/kernel text=0x2a8 text=0x8ae560 text=0x20576c data=0x1ab418 data=0x
0+0x2a9000 syms=[0x8+0x123228+0x8+0x146f0d]
Loading configured modules...
/etc/hostid size=0x25
/boot/kernel/filemon.ko text=0x1574 text=0x272c data=0x500+0x20 syms=[0x8+0xcd8+
0x8+0x7c5]
/boot/kernel/umodem.ko text=0x2060 text=0x1330 data=0x6c8+0x10 syms=[0x8+0xee8+0
x8+0xb42]
loading required module 'ucom'
/boot/kernel/ucom.ko text=0x249f text=0x3380 data=0x8a0+0x858 syms=[0x8+0x1188+0
x8+0xb19]
/boot/entropy size=0x1000

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...               
Using DTB provided by EFI at 0x35c27000.
EFI framebuffer information:
addr, size     0x3eaa9000, 0x151800
dimensions     720 x 480
stride         720
masks          0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000
---<<BOOT>>---
WARNING: Cannot find freebsd,dts-version property, cannot check DTB compliance
Copyright (c) 1992-2021 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 13.1-STABLE #28 stable/13-5472eacf5: Sat Oct  1 04:04:29 PDT 2022
    root@pelorus.zefox.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64
FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c)
VT(efifb): resolution 720x480
module firmware already present!
real memory  = 989626368 (943 MB)
avail memory = 937533440 (894 MB)
Starting CPU 1 (1)
Starting CPU 2 (2)
Starting CPU 3 (3)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
random: unblocking device.
random: entropy device external interface
MAP 1d0000 mode 2 pages 32
MAP 339d0000 mode 2 pages 80
MAP 33a20000 mode 2 pages 256
MAP 37000000 mode 2 pages 400
MAP 37190000 mode 2 pages 592
kbd0 at kbdmux0
ofwbus0: <Open Firmware Device Tree>
simplebus0: <Flattened device tree simple bus> on ofwbus0
ofw_clkbus0: <OFW clocks bus> on ofwbus0
clk_fixed0: <Fixed clock> on ofw_clkbus0
clk_fixed1: <Fixed clock> on ofw_clkbus0
regfix0: <Fixed Regulator> on ofwbus0
regfix1: <Fixed Regulator> on ofwbus0
bcm2835_firmware0: <BCM2835 Firmware> on simplebus0
ofw_clkbus1: <OFW clocks bus> on bcm2835_firmware0
psci0: <ARM Power State Co-ordination Interface Driver> on ofwbus0
lintc0: <BCM2836 Interrupt Controller> mem 0x40000000-0x400000ff on simplebus0
intc0: <BCM2835 Interrupt Controller> mem 0x7e00b200-0x7e00b3ff irq 39 on simplebus0
gpio0: <BCM2708/2835 GPIO controller> mem 0x7e200000-0x7e2000b3 irq 7,8 on simplebus0
gpiobus0: <OFW GPIO bus> on gpio0
gpio1: <Raspberry Pi Firmware GPIO controller> on bcm2835_firmware0
gpiobus1: <GPIO bus> on gpio1
mbox0: <BCM2835 VideoCore Mailbox> mem 0x7e00b880-0x7e00b8bf irq 6 on simplebus0
generic_timer0: <ARMv7 Generic Timer> irq 1,2,3,4 on ofwbus0
Timecounter "ARM MPCore Timecounter" frequency 19200000 Hz quality 1000
Event timer "ARM MPCore Eventtimer" frequency 19200000 Hz quality 1000
usb_nop_xceiv0: <USB NOP PHY> on ofwbus0
efirtc0: <EFI Realtime Clock>
efirtc0: registered as a time-of-day clock, resolution 1.000000s
bcm2835_clkman0: <BCM283x Clock Manager> mem 0x7e101000-0x7e102fff on simplebus0
gpioc0: <GPIO controller> on gpio0
uart0: <PrimeCell UART (PL011)> mem 0x7e201000-0x7e2011ff irq 9 on simplebus0
uart0: console (115200,n,8,1)
sdhost_bcm0: <Broadcom 2708 SDHOST controller> mem 0x7e202000-0x7e2020ff irq 10 on simplebus0
sdhost_bcm0-slot0: Hardware doesn't specify timeout clock frequency, setting BROKEN_TIMEOUT quirk.
mmc0: <MMC/SD bus> on sdhost_bcm0
bcm283x_dwcotg0: <DWC OTG 2.0 integrated USB controller (bcm283x)> mem 0x7e980000-0x7e98ffff,0x7e006000-0x7e006fff irq 21,22 on simplebus0
usbus1 on bcm283x_dwcotg0
bcm_dma0: <BCM2835 DMA Controller> mem 0x7e007000-0x7e007eff irq 23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38 on simplebus0
bcmwd0: <BCM2708/2835 Watchdog> mem 0x7e100000-0x7e100113,0x7e00a000-0x7e00a023 on simplebus0
bcmrng0: <Broadcom BCM2835/BCM2838 RNG> mem 0x7e104000-0x7e10400f irq 40 on simplebus0
sdhci_bcm0: <Broadcom 2708 SDHCI controller> mem 0x7e300000-0x7e3000ff irq 49 on simplebus0
mmc1: <MMC/SD bus> on sdhci_bcm0
gpioc1: <GPIO controller> on gpio1
fb0: <BCM2835 VT framebuffer driver> on simplebus0
fb0: keeping existing fb bpp of 32
fbd0 on fb0
WARNING: Device "fb" is Giant locked and may be deleted before FreeBSD 14.0.
VT: Replacing driver "efifb" with new "fb".
fb0: 720x480(720x480@0,0) 32bpp
fb0: fbswap: 1, pitch 2880, base 0x3eaa9000, screen_size 1382400
pmu0: <Performance Monitoring Unit> irq 0 on ofwbus0
cpulist0: <Open Firmware CPU Group> on ofwbus0
cpu0: <Open Firmware CPU> on cpulist0
bcm2835_cpufreq0: <CPU Frequency Control> on cpu0
cpu1: <Open Firmware CPU> on cpulist0
cpu2: <Open Firmware CPU> on cpulist0
cpu3: <Open Firmware CPU> on cpulist0
gpioled0: <GPIO LEDs> on ofwbus0
gpioled0: <led0> failed to map pin
armv8crypto0: CPU lacks AES instructions
Timecounters tick every 1.000 msec
usbus1: 480Mbps High Speed USB v2.0
mmcsd0: 32GB <SDHC SP32G 8.0 SN 689F38F7 MFG 12/2017 by 3 SD> at mmc0 50.0MHz/4bit/65535-block
ugen1.1: <DWCOTG OTG Root HUB> at usbus1
uhub0 on usbus1
uhub0: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
mmc1: No compatible cards found on bus
bcm2835_cpufreq0: ARM 1200MHz, Core 250MHz, SDRAM 400MHz, Turbo ON
CPU  0: ARM Cortex-A53 r0p4 affinity:  0
                   Cache Type = <64 byte D-cacheline,64 byte I-cacheline,VIPT ICache,64 byte ERG,64 byte CWG>
 Instruction Set Attributes 0 = <CRC32>
Trying to mount root from ufs:/dev/da0s2a [rw]...
 Instruction Set Attributes 1 = <>
 Instruction Set Attributes 2 = <>
         Processor Features 0 = <AdvSIMD,FP,EL3 32,EL2 32,EL1 32,EL0 32>
         Processor Features 1 = <>
      Memory Model Features 0 = <TGran4,TGran64,SNSMem,BigEnd,16bit ASID,1TB PA>
      Memory Model Features 1 = <8bit VMID>
      Memory Model Features 2 = <32bit CCIDX,48bit VA>
             Debug Features 0 = <DoubleLock,2 CTX BKPTs,4 Watchpoints,6 Breakpoints,PMUv3,Debugv8>
             Debug Features 1 = <>
         Auxiliary Features 0 = <>
         Auxiliary Features 1 = <>
AArch32 Instruction Set Attributes 5 = <CRC32,SEVL>
AArch32 Media and VFP Features 0 = <FPRound,FPSqrt,FPDivide,DP VFPv3+v4,SP VFPv3+v4,AdvSIMD>
AArch32 Media and VFP Features 1 = <SIMDFMAC,FPHP DP Conv,SIMDHP SP Conv,SIMDSP,SIMDInt,SIMDLS,FPDNaN,FPFtZ>
CPU  1: ARM Cortex-A53 r0p4 affinity:  1
CPU  2: ARM Cortex-A53 r0p4 affinity:  2
CPU  3: ARM Cortex-A53 r0p4 affinity:  3
Release APs...done
uhub0: 1 port with 1 removable, self powered
ugen1.2: <vendor 0x0424 product 0x9514> at usbus1
uhub1 on uhub0
uhub1: <vendor 0x0424 product 0x9514, class 9/0, rev 2.00/2.00, addr 2> on usbus1
uhub1: MTT enabled
Root mount waiting for: usbus1
uhub1: 5 ports with 4 removable, self powered
ugen1.3: <vendor 0x0424 product 0xec00> at usbus1
smsc0 on uhub1
smsc0: <vendor 0x0424 product 0xec00, rev 2.00/2.00, addr 3> on usbus1
smsc0: chip 0xec00, rev. 0002
miibus0: <MII bus> on smsc0
smscphy0: <SMC LAN8700 10/100 interface> PHY 1 on miibus0
smscphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ue0: <USB Ethernet> on smsc0
ue0: Ethernet address: b8:27:eb:ba:68:d5
Root mount waiting for: usbus1
ugen1.4: <GenesysLogic USB2.1 Hub> at usbus1
uhub2 on uhub1
uhub2: <GenesysLogic USB2.1 Hub, class 9/0, rev 2.10/6.55, addr 4> on usbus1
uhub2: 4 ports with 4 removable, self powered
Root mount waiting for: usbus1
usb_msc_auto_quirk: UQ_MSC_NO_GETMAXLUN set for USB mass storage device JMicron USB Mass Storage (0x152d:0x0577)
usb_msc_auto_quirk: UQ_MSC_NO_PREVENT_ALLOW set for USB mass storage device JMicron USB Mass Storage (0x152d:0x0577)
Root mount waiting for: usbus1
ugen1.5: <JMicron USB Mass Storage> at usbus1
umass0 on uhub2
umass0: <JMicron USB Mass Storage, class 0/0, rev 2.10/2.14, addr 5> on usbus1
umass0:  SCSI over Bulk-Only; quirks = 0x8100
umass0:0:0: Attached to scbus0
ugen1.6: <FTDI FT232R USB UART> at usbus1
Root mount waiting for: da
da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
da0: <SABRENT  0214> Fixed Direct Access SPC-4 SCSI device
da0: Serial Number DD564198838F9
da0: 40.000MB/s transfers
da0: 953869MB (1953525168 512 byte sectors)
da0: quirks=0x2<NO_6_BYTE>
Dual Console: Serial Primary, Video Secondary
Setting hostuuid: 30303030-3030-3030-3064-626136386435.
Setting hostid: 0x5cd40a6a.
warning: total configured swap (2097152 pages) exceeds maximum recommended amount (916632 pages).
warning: increase kern.maxswzone or reduce amount of swap.
Starting file system checks:
/dev/da0s2a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/da0s2a: clean, 615063 free (1415 frags, 76706 blocks, 0.2% fragmentation)
/dev/da0s2d: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/da0s2d: clean, 221933849 free (156689 frags, 27722145 blocks, 0.1% fragmentation)
Mounting local filesystems:.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/compat/pkg /usr/local/lib/compat/pkg /usr/local/lib/graphviz /usr/local/lib/perl5/5.32/mach/CORE
Setting hostname: pelorus.zefox.org.
Setting up harvesting: [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED
Feeding entropy: .
lo0: link state changed to UP
smsc0: chip 0xec00, rev. 0002
ue0: link state changed to DOWN
ue0: link state changed to UP
Starting Network: lo0 ue0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
        inet 127.0.0.1 netmask 0xff000000
        groups: lo
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=80009<RXCSUM,VLAN_MTU,LINKSTATE>
        ether b8:27:eb:ba:68:d5
        inet 50.1.20.24 netmask 0xffffff00 broadcast 50.1.20.255
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
Starting devd.
Autoloading module: uftdi
uftdi0 on uhub1
uftdi0: <FT232R USB UART> on usbus1
add host 127.0.0.1: gateway lo0 fib 0: route already in table
add net default: gateway 50.1.20.1
add host ::1: gateway lo0 fib 0: route already in table
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
Updating /var/run/os-release done.
Creating and/or trimming log files.
Clearing /tmp (X related).
Updating motd:.
Starting syslogd.
Setting date via ntp.
 4 Oct 20:15:39 ntpdate[806]: step time server 165.140.142.118 offset +30244085.121417 sec
Starting powerd.
Mounting late filesystems:.
Performing sanity check on sshd configuration.
Starting sshd.
Starting cron.
Starting sendmail.
Starting sendmail_msp_queue.
Configuring vt: blanktime.
Performing sanity check on apache24 configuration:
Syntax OK
Starting apache24.
Starting background file system checks in 60 seconds.

Tue Oct  4 20:15:42 PDT 
FreeBSD/arm64 (pelorus.zefox.org) (ttyu0)

login: root
Password:
Oct  4 20:15:57 pelorus login[933]: ROOT LOGIN (root) ON ttyu0
Last login: Tue Oct  4 20:11:59 on ttyu0
FreeBSD 13.1-STABLE #28 stable/13-5472eacf5: Sat Oct  1 04:04:29 PDT 2022     root@pelorus.zefox.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC

Welcome to FreeBSD!

Release Notes, Errata: https://www.FreeBSD.org/releases/
Security Advisories:   https://www.FreeBSD.org/security/
FreeBSD Handbook:      https://www.FreeBSD.org/handbook/
FreeBSD FAQ:           https://www.FreeBSD.org/faq/
Questions List: https://lists.FreeBSD.org/mailman/listinfo/freebsd-questions/
FreeBSD Forums:        https://forums.FreeBSD.org/

Documents installed with the system are in the /usr/local/share/doc/freebsd/
directory, or can be installed later with:  pkg install en-freebsd-doc
For other languages, replace "en" with a language code like de or fr.

Show the version of FreeBSD installed:  freebsd-version ; uname -a
Please include that output and any error messages when posting questions.
Introduction to manual pages:  man man
FreeBSD directory layout:      man hier

To change this login announcement, see motd(5).
root@pelorus:~ # cd /usr/src
root@pelorus:/usr/src # git pull
remote: Enumerating objects: 79851, done.
remote: Counting objects: 100% (79851/79851), done.
remote: Compressing objects: 100% (19406/19406), done.
remote: Total 79382 (delta 61209), reused 76702 (delta 59557), pack-reused 0
Receiving objects: 100% (79382/79382), 47.48 MiB | 1.16 MiB/s, done.
Resolving deltas: 100% (61209/61209), completed with 412 local objects.
From https://git.freebsd.org/src
   5472eacf5..5ec288b57  stable/13  -> origin/stable/13
Updating 5472eacf5..5ec288b57
Updating files: 100% (280/280), done.
Fast-forward
----end console output-------

At this point I decided to run an overnight buildworld/kernel
to see how the disk behaves under load.


> The above actually boots via a default setting that likely
> should be replaced. The related menu/field nesting is:
> 
> Device Manager
>     Raspberry Pi Configuration
>         Advanced Configuration
>             System Table Selection <ACPI + Devicetree>
> 
> Picking just Devicetree instead, then saving, and then
> exiting the nested menus via a sequence of Escape key
> presses, until back to the initial display, one can
> then select Reset and it will start over based on the
> new setting. The save actually updates an area in the
> RPI_EFI.fd file.
> 

I'll try that after the new kernel/userland is installed.
Is it likely to affect the mountroot issue?

Thank you _very_ much!

bob prohaska