Zero 3E - FreeBSD

Can anyone provide an image and instructions to run FreeBSD on this amazing board?

Here’s a list of compiled Links that someone much smarter than me can probably make use of:

Generic RK356* FreeBSD:
https://personalbsd.org/images/FreeBSD-aarch64-14.0-CURRENT-GENERIC-RK356X-20230516.img.xz

EDK2 UEFI for Rockchip RK3566

Hi,

I have managed to build EDK2 with some patches for the Zero 3W, I assume it should work with the 3E aswell.

I have managed to install OpenBSD, FreeBSD and NetBSD.
Generally WIFI doesn’t works (which you don’t have), and eMMC works only in NetBSD. Otherwise it seems to be working, but the board gets really hot, so a proper cooling solution is needed.
I tested HDMI only with OBSD, with some play in the UKC it works.

Using EDK2 I have managed to boot into latest Alpine linux aswell.

Here is a binary: https://github.com/extrowerk/quartz64_uefi/releases/tag/2024-05-10

Thanks for sharing.

Unfortunately I can’t seem to get FreeBSD to boot. I first flash the microSD with FreeBSD then DD the EDK2. I tried both the image I originally posted and the aarch64 FreeBSD image from the website. Any ideas?

Do not put EDK and the installer on the same disk.
dd the EDK2 to an SD card and DD the FreeBSD generic arm64 image onto a USB drive. Connect both and boot with HDMI or UART connected.
Play with the device configuration (sole Devicetree, sole ACPI or DT+ACPI).
If you don1t see your USB in the Boot Manager lsit, disconnect and reconnect your disk.

Need to say, the EDK2 build uses the “W” device-tree and its ACPI implementation doesn’t know about ethernet, so probably you will not have any eth support. Feel free to create an own EDK2 build with the “E” device-tree and with gmac enabled in the ACPI files. Look for the other board definitions for example.

Good luck.

Amazing. I managed to boot FreeBSD but installing is another challenge, at least I can use in Live CD mode or Single User mode without installing… I would love to install FreeBSD on the MicroSD so I can boot EDK2 and FreeBSD directly… Any ideas on how to achieve this?

For anyone following this thread or visiting in the future - I tested FreeBSD 14 using memstick image on a seperate USB, with EDK2 on the microSD on its own as suggested by santafe.

Analyze the partition scheme of the SD card with EDK2, then add additional partitions on the empty area and install it there. This way is however untested, but should work,

Other possible way using u-boot:

  1. open the site: https://github.com/radxa-pkg/u-boot-latest/releases
  2. download the biggest file, like u-boot-latest_2023.10-9-eed05a18_arm64.deb
  3. extract the deb
  4. look for the idbloader.img and u-boot.itb in the radxa-zero3 folder
  5. dd a freebsd arm64 image on your sd card, i have used the FreeBSD-14.0-RELEASE-arm64-aarch64-ROCKPRO64.img
  6. ON THE SAME SDCARD: dd if='idbloader.img' of=/dev/sda bs=512 seek=64 conv=sync
  7. ON THE SAME SDCARD: dd if='u-boot.itb' of=/dev/sda bs=512 seek=16384 conv=sync
  8. watch the boot messages using a serial adapter

my output:

DDR V1.18 f366f69a7d typ 23/07/17-15:48:58
ln
LP4/4x derate en, other dram:1x trefi
ddrconfig:7
LP4 MR14:0x4d
LPDDR4, 324MHz
BW=32 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=16 Size=8192MB
tdqss: cs0 dqs0: -48ps, dqs1: -144ps, dqs2: -96ps, dqs3: -144ps, 
tdqss: cs1 dqs0: -48ps, dqs1: -120ps, dqs2: -72ps, dqs3: -120ps, 

change to: 324MHz
clk skew:0x63

change to: 528MHz
clk skew:0x58

change to: 780MHz
clk skew:0x58

change to: 1056MHz(final freq)
PHY drv:clk:38,ca:38,DQ:30,odt:60
vrefinner:16%, vrefout:29%
dram drv:40,odt:80
vref_ca:00000068
clk skew:0x32
cs 0:
the read training result:
DQS0:0x3d, DQS1:0x3b, DQS2:0x3b, DQS3:0x39, 
min  : 0xc  0xd  0xe  0xb  0x5  0x6  0x9  0x2 , 0x8  0x6  0x3  0x1  0xa  0x9 0x10  0x9 ,
       0x7  0x7  0x7  0x7  0x6  0x5  0x9  0x7 , 0x3  0x3  0x6  0x1  0x6  0x6  0x3  0x3 ,
mid  :0x2a 0x2b 0x2d 0x29 0x22 0x24 0x27 0x20 ,0x25 0x24 0x21 0x20 0x28 0x27 0x2d 0x27 ,
      0x24 0x24 0x23 0x24 0x23 0x23 0x24 0x24 ,0x20 0x20 0x22 0x1e 0x23 0x22 0x20 0x20 ,
max  :0x49 0x49 0x4c 0x48 0x40 0x43 0x46 0x3f ,0x43 0x43 0x40 0x3f 0x47 0x45 0x4a 0x46 ,
      0x42 0x42 0x40 0x42 0x41 0x41 0x40 0x41 ,0x3e 0x3e 0x3f 0x3b 0x40 0x3f 0x3d 0x3d ,
range:0x3d 0x3c 0x3e 0x3d 0x3b 0x3d 0x3d 0x3d ,0x3b 0x3d 0x3d 0x3e 0x3d 0x3c 0x3a 0x3d ,
      0x3b 0x3b 0x39 0x3b 0x3b 0x3c 0x37 0x3a ,0x3b 0x3b 0x39 0x3a 0x3a 0x39 0x3a 0x3a ,
the write training result:
DQS0:0x2c, DQS1:0x1f, DQS2:0x26, DQS3:0x1f, 
min  :0x53 0x55 0x56 0x55 0x4d 0x4f 0x52 0x50 0x50 ,0x46 0x45 0x42 0x3f 0x4a 0x4b 0x4d 0x4a ,
      0x47 0x48 0x48 0x4a 0x48 0x47 0x4a 0x4b 0x44 ,0x3d 0x44 0x43 0x3f 0x46 0x45 0x3f 0x45 ,
mid  :0x70 0x71 0x73 0x71 0x69 0x6b 0x6f 0x6a 0x6b ,0x63 0x62 0x5e 0x5c 0x67 0x67 0x67 0x66 ,
      0x65 0x65 0x64 0x66 0x63 0x64 0x65 0x66 0x5f ,0x5a 0x5e 0x5e 0x5a 0x60 0x60 0x5b 0x5f ,
max  :0x8e 0x8e 0x91 0x8e 0x86 0x88 0x8c 0x85 0x87 ,0x81 0x80 0x7a 0x79 0x85 0x83 0x82 0x82 ,
      0x83 0x82 0x81 0x82 0x7e 0x81 0x81 0x82 0x7b ,0x78 0x79 0x7a 0x76 0x7a 0x7c 0x78 0x79 ,
range:0x3b 0x39 0x3b 0x39 0x39 0x39 0x3a 0x35 0x37 ,0x3b 0x3b 0x38 0x3a 0x3b 0x38 0x35 0x38 ,
      0x3c 0x3a 0x39 0x38 0x36 0x3a 0x37 0x37 0x37 ,0x3b 0x35 0x37 0x37 0x34 0x37 0x39 0x34 ,
cs 1:
the read training result:
DQS0:0x3c, DQS1:0x3b, DQS2:0x39, DQS3:0x37, 
min  : 0xb  0xc  0xc  0xa  0x3  0x4  0x9  0x2 , 0x9  0x6  0x4  0x2  0xa  0x9 0x10  0x9 ,
       0x7  0x7  0x8  0x7  0x6  0x5  0x9  0x7 , 0x4  0x5  0x6  0x1  0x6  0x7  0x3  0x3 ,
mid  :0x29 0x29 0x2a 0x28 0x20 0x22 0x26 0x1f ,0x26 0x25 0x22 0x20 0x28 0x27 0x2d 0x27 ,
      0x23 0x23 0x22 0x24 0x22 0x22 0x23 0x23 ,0x20 0x21 0x22 0x1d 0x22 0x22 0x20 0x1f ,
max  :0x47 0x47 0x49 0x47 0x3e 0x41 0x44 0x3d ,0x44 0x44 0x41 0x3f 0x47 0x45 0x4a 0x46 ,
      0x40 0x40 0x3d 0x41 0x3f 0x3f 0x3e 0x3f ,0x3d 0x3d 0x3f 0x39 0x3f 0x3e 0x3d 0x3c ,
range:0x3c 0x3b 0x3d 0x3d 0x3b 0x3d 0x3b 0x3b ,0x3b 0x3e 0x3d 0x3d 0x3d 0x3c 0x3a 0x3d ,
      0x39 0x39 0x35 0x3a 0x39 0x3a 0x35 0x38 ,0x39 0x38 0x39 0x38 0x39 0x37 0x3a 0x39 ,
the write training result:
DQS0:0x2c, DQS1:0x1f, DQS2:0x26, DQS3:0x1f, 
min  :0x51 0x54 0x55 0x54 0x4d 0x4e 0x51 0x4e 0x4f ,0x47 0x45 0x42 0x41 0x4b 0x4c 0x4e 0x4c ,
      0x4b 0x4b 0x4a 0x4c 0x4b 0x4a 0x4d 0x4d 0x47 ,0x3d 0x43 0x44 0x3e 0x47 0x45 0x43 0x45 ,
mid  :0x6f 0x71 0x72 0x70 0x69 0x6a 0x6e 0x69 0x6a ,0x64 0x63 0x5e 0x5d 0x68 0x68 0x68 0x67 ,
      0x68 0x68 0x67 0x69 0x67 0x66 0x68 0x69 0x63 ,0x5a 0x5e 0x5f 0x5a 0x61 0x61 0x5e 0x5f ,
max  :0x8d 0x8e 0x90 0x8d 0x85 0x87 0x8b 0x85 0x86 ,0x82 0x81 0x7a 0x79 0x85 0x84 0x83 0x83 ,
      0x86 0x85 0x84 0x86 0x83 0x83 0x84 0x85 0x80 ,0x77 0x79 0x7a 0x76 0x7b 0x7d 0x79 0x7a ,
range:0x3c 0x3a 0x3b 0x39 0x38 0x39 0x3a 0x37 0x37 ,0x3b 0x3c 0x38 0x38 0x3a 0x38 0x35 0x37 ,
      0x3b 0x3a 0x3a 0x3a 0x38 0x39 0x37 0x38 0x39 ,0x3a 0x36 0x36 0x38 0x34 0x38 0x36 0x35 ,
CA Training result:
cs:0 min  :0x40 0x38 0x36 0x2c 0x33 0x2c 0x3a ,0x40 0x39 0x35 0x29 0x33 0x2b 0x39 ,
cs:0 mid  :0x7b 0x7a 0x72 0x6e 0x6f 0x6e 0x67 ,0x7c 0x7c 0x71 0x6a 0x70 0x6d 0x67 ,
cs:0 max  :0xb7 0xbc 0xaf 0xb1 0xac 0xb0 0x95 ,0xb8 0xbf 0xae 0xac 0xae 0xaf 0x95 ,
cs:0 range:0x77 0x84 0x79 0x85 0x79 0x84 0x5b ,0x78 0x86 0x79 0x83 0x7b 0x84 0x5c ,
cs:1 min  :0x40 0x3c 0x39 0x30 0x37 0x31 0x39 ,0x43 0x3d 0x37 0x2b 0x37 0x2f 0x3a ,
cs:1 mid  :0x7d 0x7d 0x75 0x72 0x74 0x73 0x6a ,0x7f 0x7e 0x74 0x6d 0x73 0x70 0x6a ,
cs:1 max  :0xbb 0xbf 0xb2 0xb4 0xb1 0xb5 0x9b ,0xbc 0xc0 0xb1 0xaf 0xb0 0xb2 0x9b ,
cs:1 range:0x7b 0x83 0x79 0x84 0x7a 0x84 0x62 ,0x79 0x83 0x7a 0x84 0x79 0x83 0x61 ,
out

U-Boot SPL latest-2023.10-6-fc7d8327-gfc7d8327 (Dec 27 2023 - 07:02:37 +0000)
Trying to boot from MMC2
## Checking hash(es) for config config-1 ... OK
## Checking hash(es) for Image atf-1 ... sha256+ OK
## Checking hash(es) for Image u-boot ... sha256+ OK
## Checking hash(es) for Image fdt-1 ... sha256+ OK
## Checking hash(es) for Image atf-2 ... sha256+ OK
## Checking hash(es) for Image atf-3 ... sha256+ OK
## Checking hash(es) for Image atf-4 ... sha256+ OK
## Checking hash(es) for Image atf-5 ... sha256+ OK
INFO:    Preloader serial: 2
NOTICE:  BL31: v2.3():v2.3-181-gc9a647cae-dirty:xsf
NOTICE:  BL31: Built : 11:30:09, Oct 18 2022
INFO:    GICv3 without legacy support detected.
INFO:    ARM GICv3 driver initialized in EL3
INFO:    pmu v1 is valid
INFO:    dfs DDR fsp_param[0].freq_mhz= 1056MHz
INFO:    dfs DDR fsp_param[1].freq_mhz= 324MHz
INFO:    dfs DDR fsp_param[2].freq_mhz= 528MHz
INFO:    dfs DDR fsp_param[3].freq_mhz= 780MHz
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 0
INFO:    BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. K
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0xa00000
INFO:    SPSR = 0x3c9


U-Boot latest-2023.10-6-fc7d8327-gfc7d8327 (Dec 27 2023 - 07:02:37 +0000)

Model: Radxa ZERO 3
DRAM:  8 GiB (effective 7.7 GiB)
PMIC:  RK8170 (on=0x40, off=0x00)
fan53555_probe: FAN53555 option 8 rev 1 detected
fan53555_rk860_calibration>>>>>>hardware have rk860-0, reg[0x0e] = 0x4
fan53555_rk860_calibration>>>>>>hardware do not have rk860-1
fan53555_rk860_calibration>>>>>rk860_type = 1
Core:  309 devices, 28 uclasses, devicetree: separate
Loading kernel...
/boot/kernel/kernel text=0x2a8 text=0x9b50c0 text=0x25ca5c data=0x14d1b8 data=0x0+0x2c5000 +/
Loading configured modules...
can't find '/etc/hostid'
can't find '/boot/entropy'
/boot/kernel/umodem.ko text=0x2040 text=0x1350 data=0x6f8+0x4 0x8+0xeb8+0x8+0xb2c
loading required module 'ucom'
/boot/kernel/ucom.ko text=0x249f text=0x3370 data=0x920+0x858 0x8+0x1170+0x8+0xb13

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...               
Using DTB provided by EFI at 0xece7d000.
Host not halted after 16000 microseconds.
---<<BOOT>>---
WARNING: Cannot find freebsd,dts-version property, cannot check DTB compliance
Copyright (c) 1992-2023 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 14.0-RELEASE #0 releng/14.0-n265380-f9716eee8ab4: Fri Nov 10 09:12:14 UTC 2023
    root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64
FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cb)
VT: init without driver.
module scmi already present!
real memory  = 8319401984 (7934 MB)
avail memory = 8088293376 (7713 MB)
Starting CPU 1 (100)
Starting CPU 2 (200)
Starting CPU 3 (300)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was.
random: entropy device external interface
kbd0 at kbdmux0
ofwbus0: <Open Firmware Device Tree>
ofw_firmware0: <OFW Firmware Group> on ofwbus0
clk_fixed0: <Fixed clock> on ofwbus0
clk_fixed1: <Fixed clock> on ofwbus0
rk_grf0: <RockChip General Register Files> mem 0xfdc20000-0xfdc2ffff on ofwbus0
rk_grf1: <RockChip General Register Files> mem 0xfdc50000-0xfdc50fff on ofwbus0
rk_grf2: <RockChip General Register Files> mem 0xfdc60000-0xfdc6ffff on ofwbus0
rk_grf3: <RockChip General Register Files> mem 0xfdc80000-0xfdc80fff on ofwbus0
rk_grf4: <RockChip General Register Files> mem 0xfdc90000-0xfdc90fff on ofwbus0
rk_grf5: <RockChip General Register Files> mem 0xfdca0000-0xfdca7fff on ofwbus0
rk_grf6: <RockChip General Register Files> mem 0xfdca8000-0xfdcaffff on ofwbus0
rk3568_pmucru0: <Rockchip RK3568 PMU Clock & Reset Unit> mem 0xfdd00000-0xfdd00fff on ofwbus0
rk3568_cru0: <Rockchip RK3568 Clock & Reset Unit> mem 0xfdd20000-0xfdd20fff on ofwbus0
regfix0: <Fixed Regulator> on ofwbus0
regfix1: <Fixed Regulator> on ofwbus0
regfix2: <Fixed Regulator> on ofwbus0
regfix3: <Fixed Regulator> on ofwbus0
regfix4: <Fixed Regulator> on ofwbus0
regfix5: <Fixed Regulator> on ofwbus0
regfix6: <Fixed Regulator> on ofwbus0
rk_otp0: <RockChip OTP> mem 0xfe38c000-0xfe38ffff on ofwbus0
simple_mfd0: <Simple MFD (Multi-Functions Device)> mem 0xfdd90000-0xfdd90fff on ofwbus0
psci0: <ARM Power State Co-ordination Interface Driver> on ofwbus0
rk3568_combphy0: <RockChip combo PHY> mem 0xfe830000-0xfe8300ff on ofwbus0
gic0: <ARM Generic Interrupt Controller v3.0> mem 0xfd400000-0xfd40ffff,0xfd460000-0xfd4dfff0
rk_pinctrl0: <RockChip Pinctrl controller> on ofwbus0
gpio0: <RockChip GPIO Bank controller> mem 0xfdd60000-0xfdd600ff irq 76 on rk_pinctrl0
gpiobus0: <OFW GPIO bus> on gpio0
gpio1: <RockChip GPIO Bank controller> mem 0xfe740000-0xfe7400ff irq 77 on rk_pinctrl0
gpiobus1: <OFW GPIO bus> on gpio1
gpio2: <RockChip GPIO Bank controller> mem 0xfe750000-0xfe7500ff irq 78 on rk_pinctrl0
gpiobus2: <OFW GPIO bus> on gpio2
gpio3: <RockChip GPIO Bank controller> mem 0xfe760000-0xfe7600ff irq 79 on rk_pinctrl0
gpiobus3: <OFW GPIO bus> on gpio3
gpio4: <RockChip GPIO Bank controller> mem 0xfe770000-0xfe7700ff irq 80 on rk_pinctrl0
gpiobus4: <OFW GPIO bus> on gpio4
rk_i2c0: <RockChip I2C> mem 0xfdd40000-0xfdd40fff irq 17 on ofwbus0
iicbus0: <OFW I2C bus> on rk_i2c0
syr8270: <Silergy SYR827 regulator> at addr 0x80 on iicbus0
rk817_pmu0: <RockChip RK817 PMIC> at addr 0x40 irq 81 on iicbus0
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
generic_timer0: <ARMv8 Generic Timer> irq 4,5,6,7 on ofwbus0
Timecounter "ARM MPCore Timecounter" frequency 24000000 Hz quality 1000
Event timer "ARM MPCore Eventtimer" frequency 24000000 Hz quality 1000
rk_tsadc0: <RockChip temperature sensors> mem 0xfe710000-0xfe7100ff irq 72 on ofwbus0
mmc_pwrseq0: <MMC Simple Power sequence> on ofwbus0
mmio_sram0: <MMIO SRAM> mem 0x10f000-0x10f0ff on ofwbus0
shmem0: <ARM SCMI Shared Memory driver> mem 0-0xff on mmio_sram0
rk_usb2phy0: <Rockchip USB2PHY> mem 0xfe8a0000-0xfe8affff irq 74 on ofwbus0
rk_usb2phy1: <Rockchip USB2PHY> mem 0xfe8b0000-0xfe8bffff irq 75 on ofwbus0
cpulist0: <Open Firmware CPU Group> on ofwbus0
cpu0: <Open Firmware CPU> on cpulist0
cpufreq_dt0: <Generic cpufreq driver> on cpu0
cpufreq_dt0: Found cpu-supply
cpufreq_dt0: no clock for cpu@0
device_attach: cpufreq_dt0 attach returned 6
pcm0: <simple-audio-card> on ofwbus0
pmu0: <Performance Monitoring Unit> irq 0,1,2,3 on ofwbus0
snps_dwc3_fdt0: Found dr_mode 'otg' but only 'host' supported. s=4
snps_dwc3_fdt0: <Synopsys Designware DWC3> mem 0xfd000000-0xfd3fffff irq 11 on ofwbus0
rk3568_combphy0: configuring for USB3 ref_clk=25000000
snps_dwc3_fdt0: 64 bytes context size, 32-bit DMA
usbus0: trying to attach
usbus0 on snps_dwc3_fdt0
ehci0: <Generic EHCI Controller> mem 0xfd800000-0xfd83ffff irq 13 on ofwbus0
usbus1: EHCI version 1.0
usbus1 on ehci0
ohci0: <Generic OHCI Controller> mem 0xfd840000-0xfd87ffff irq 14 on ofwbus0
usbus2 on ohci0
ehci1: <Generic EHCI Controller> mem 0xfd880000-0xfd8bffff irq 15 on ofwbus0
usbus3: EHCI version 1.0
usbus3 on ehci1
ohci1: <Generic OHCI Controller> mem 0xfd8c0000-0xfd8fffff irq 16 on ofwbus0
usbus4 on ohci1
iic0: <I2C generic I/O> on iicbus0
rockchip_dwmmc0: <Synopsys DesignWare Mobile Storage Host Controller (RockChip)> mem 0xfe2b00
rockchip_dwmmc0: Hardware version ID is 270a
mmc0: <MMC/SD bus> on rockchip_dwmmc0
rockchip_dwmmc1: <Synopsys DesignWare Mobile Storage Host Controller (RockChip)> mem 0xfe2c00
rockchip_dwmmc1: Hardware version ID is 270a
sdhci_fdt0: <Rockchip RK3568 fdt SDHCI controller> mem 0xfe310000-0xfe31ffff irq 42 on ofwbu0
sdhci_fdt0: 1 slot(s) allocated
mmc1: <MMC/SD bus> on sdhci_fdt0
uart0: <16750 or compatible> mem 0xfe650000-0xfe6500ff irq 63 on ofwbus0
uart1: <16750 or compatible> mem 0xfe660000-0xfe6600ff irq 64 on ofwbus0
uart1: console (1500000,n,8,1)
gpioc0: <GPIO controller> on gpio0
gpioc1: <GPIO controller> on gpio1
gpioc2: <GPIO controller> on gpio2
gpioc3: <GPIO controller> on gpio3
gpioc4: <GPIO controller> on gpio4
gpioled0: <GPIO LEDs> on ofwbus0
armv8crypto0: <AES-CBC,AES-XTS,AES-GCM>
Timecounters tick every 1.000 msec
rk817_pmu0: registered as a time-of-day clock, resolution 1.000000s
pcm0: no driver attached to cpu node
usbus0: 5.0Gbps Super Speed USB v3.0
usbus1: 480Mbps High Speed USB v2.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 480Mbps High Speed USB v2.0
usbus4: 12Mbps Full Speed USB v1.0
ugen3.1: <Generic EHCI root HUB> at usbus3
uhub0 on usbus3
uhub0: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
ugen2.1: <Generic OHCI root HUB> at usbus2
uhub1 on usbus2
uhub1: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen1.1: <Generic EHCI root HUB> at usbus1
uhub2 on usbus1
uhub2: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
ugen4.1: <Generic OHCI root HUB> at usbus4
uhub3 on usbus4
uhub3: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen0.1: <Synopsys XHCI root HUB> at usbus0
uhub4 on usbus0
uhub4: <Synopsys XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
mmcsd0: 16GB <SDHC NCard 1.0 SN 19302912 MFG 01/2010 by 137 0x0303> at mmc0 50.0MHz/4bit/101k
sdhci_fdt0-slot0: Got command interrupt 0x00000001, but there is no active command.
sdhci_fdt0-slot0: ============== REGISTER DUMP ==============
sdhci_fdt0-slot0: Sys addr: 0x00000000 | Version:  0x00000005
sdhci_fdt0-slot0: Blk size: 0x00000000 | Blk cnt:  0x00000000
sdhci_fdt0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000
sdhci_fdt0-slot0: Present:  0x03f700f0 | Host ctl: 0x00000001
sdhci_fdt0-slot0: Power:    0x0000000d | Blk gap:  0x00000000
sdhci_fdt0-slot0: Wake-up:  0x00000000 | Clock:    0x00000b47
sdhci_fdt0-slot0: Timeout:  0x00000000 | Int stat: 0x00000000
sdhci_fdt0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci_fdt0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000000
sdhci_fdt0-slot0: Caps:     0x226dc881 | Caps2:    0x08000007
sdhci_fdt0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000
sdhci_fdt0-slot0: ADMA addr:0x00000000 | Slot int: 0x00000000
sdhci_fdt0-slot0: ===========================================
sdhci_fdt0-slot0: Got command interrupt 0x00000001, but there is no active command.
sdhci_fdt0-slot0: ============== REGISTER DUMP ==============
sdhci_fdt0-slot0: Sys addr: 0xefe00008 | Version:  0x00000005
sdhci_fdt0-slot0: Blk size: 0x00007008 | Blk cnt:  0x00000000
sdhci_fdt0-slot0: Argument: 0x00000000 | Trn mode: 0x00000013
sdhci_fdt0-slot0: Present:  0x03f700f0 | Host ctl: 0x00000001
sdhci_fdt0-slot0: Power:    0x0000000d | Blk gap:  0x00000000
sdhci_fdt0-slot0: Wake-up:  0x00000000 | Clock:    0x00000b47
sdhci_fdt0-slot0: Timeout:  0x00000007 | Int stat: 0x00000000
sdhci_fdt0-slot0: Int enab: 0x01ff00fb | Sig enab: 0x01ff00fb
sdhci_fdt0-slot0: AC12 err: 0x00000000 | Host ctl2:0x00000080
sdhci_fdt0-slot0: Caps:     0x226dc881 | Caps2:    0x08000007
sdhci_fdt0-slot0: Max curr: 0x00000000 | ADMA err: 0x00000000
sdhci_fdt0-slot0: ADMA addr:0xefe00008 | Slot int: 0x00000000
sdhci_fdt0-slot0: ===========================================
mmcsd1: 63GB <MMCHC CUTB42 0.2 SN A0AE48A9 MFG 07/2023 by 21 0x0000> (read-only) at mmc1 50.k
mmcsd1boot0: 4MB partition 1 (read-only) at mmcsd1
mmcsd1boot1: 4MB partition 2 (read-only) at mmcsd1
mmcsd1rpmb: 17MB partition 3 (read-only) at mmcsd1
CPU  0: ARM Cortex-A55 r2p0 affinity:  0  0
                   Cache Type = <64 byte D-cacheline,64 byte I-cacheline,VIPT ICache,64 byte>
 Instruction Set Attributes 0 = <DP,RDM,Atomic,CRC32,SHA2,SHA1,AES+PMULL>
 Instruction Set Attributes 1 = <RCPC-8.3,DCPoP>
 Instruction Set Attributes 2 = <>
         Processor Features 0 = <RAS,GIC,AdvSIMD+HP,FP+HP,EL3 32,EL2 32,EL1 32,EL0 32>
         Processor Features 1 = <PSTATE.SSBS>
      Memory Model Features 0 = <TGran4,TGran64,TGran16,SNSMem,BigEnd,16bit ASID,1TB PA>
      Memory Model Features 1 = <XNX,PAN+ATS1E1,LO,HPD+TTPBHA,VH,16bit VMID,HAF+DS>
      Memory Model Features 2 = <32bit CCIDX,48bit VA,IESB,UAO,CnP>
             Debug Features 0 = <DoubleLock,2 CTX BKPTs,4 Watchpoints,6 Breakpoints,PMUv3p1,>
             Debug Features 1 = <>
         Auxiliary Features 0 = <>
         Auxiliary Features 1 = <>
AArch32 Instruction Set Attributes 5 = <RDM,CRC32,SHA2,SHA1,AES+VMULL,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 Arith,SIMDHP Arith,SIMDSP,SIMDInt,SIMDLS,F>
CPU  1: ARM Cortex-A55 r2p0 affinity:  1  0
CPU  2: ARM Cortex-A55 r2p0 affinity:  2  0
CPU  3: ARM Cortex-A55 r2p0 affinity:  3  0
Trying to mount root from ufs:/dev/ufs/rootfs [rw]...
Release APs...done
TCP_ratelimit: Is now initialized
Unresolved linked clock found: clk_32k_pvtm
Unresolved linked clock found: usb480m_phy
Unresolved linked clock found: mpll
Unresolved linked clock found: i2s0_mclkin
Unresolved linked clock found: i2s1_mclkin
Unresolved linked clock found: i2s2_mclkin
Unresolved linked clock found: i2s3_mclkin
Unresolved linked clock found: gpu_pvtpll_out
Unresolved linked clock found: npu_pvtpll_out
Unresolved linked clock found: gmac0_clkin
Unresolved linked clock found: gmac1_clkin
Unresolved linked clock found: clk_gmac0_xpcs_mii
Unresolved linked clock found: clk_gmac1_xpcs_mii
Unresolved linked clock found: dummy
GEOM: mmcsd0: the secondary GPT header is not in the last LBA.
uhub1: 1 port with 1 removable, self powered
uhub3: 1 port with 1 removable, self powered
GEOM: diskid/DISK-19302912: the secondary GPT header is not in the last LBA.
uhub4: 2 ports with 2 removable, self powered
Warning: bad time from time-of-day clock, system time will not be set accurately
Dual Console: Serial Primary, Video Secondary
uhub0: 1 port with 1 removable, self powered
uhub2: 1 port with 1 removable, self powered
usb_alloc_device: set address 2 failed (USB_ERR_IOERROR, ignored)
usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR
usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_IOERROR, ignored)
usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR
usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_IOERROR, ignored)
usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR
usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_IOERROR, ignored)
usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR
usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_IOERROR, ignored)
random: unblocking device.
usbd_setup_device_desc: getting device descriptor at addr 2 failed, USB_ERR_IOERROR
ugen2.2: <Unknown > at usbus2 (disconnected)
uhub_reattach_port: could not allocate new device

It halts here but I don’t know FreeBSD well enough to find out what’s the issue or how to fix it. Feel free to dive in, but report back if you manage to boot into interactive shell.

Just updated my EDK2 fork with the latest DTB, see here for download:

Changelog:

Changes in v2:
- Collect acked-by tag
- Add to Makefile
- Add patch to fix #sound-dai-cells warning

Changes in v3:
- Fix devicetree spelling
- Sort hdmi-con, leds, pmic@20 and regulator@40 nodes
- Change to regulator-off-in-suspend for vdd_logic
- Drop patch to fix #sound-dai-cells warning, similar patch [1] already
  exists

Changes in v4:
- Change compatible of vdd_logic
- Add vcc5v_midu and vbus regulator and related vcc8/vcc9-supply prop
- Adjust clock_in_out prop for gmac1
- Add cap-mmc-highspeed prop to sdhci
- Add sdmmc1 and uart1 nodes used for wifi/bt on 3W
- Rename rk3566-radxa-zero3.dtsi to rk3566-radxa-zero-3.dtsi
- Rebase on latest mmind/for-next tree

Changes in v5:
- Rename regulator-fixed nodes
- Add keep-power-in-suspend to sdmmc1 node
- Add uart-has-rtscts to uart1 node

Changes in v6:
- Use imperative wording in commit message 
- Move led-green pinctrl props to gpio-leds node
- Add pinctrl props to ethernet-phy node
- Add no-mmc/no-sd/no-sdio props to sdhci/sdmmc0 nodes

No EDK2 change intended.