NanoPI R5S and FreeBSD 14

Hi folks,

I am looking for information on how to build FreeBSD 14 for this device. I got an image from the guy working on opnsense for it, FreeBSD 13.2 works. But only one NIC works.

If anyone can give a hint.

thanks,

none
 
I was playing with the RockPro64 the other day ... RockPro64 Image build - which is the Rk3399 ... the predecessor of the RK3568. It doesn't look like there is a boot loader in ports for RK3568/NanoPi R5S yet.
See if you can get the /usr/src/release/arm64/{file}.conf from the guy building the image.

Looks like the ethernet chips are :

Ethernet: Native Gigabit Ethernet x1, RTL8211F-CG chip
PCIe 2.5G Ethernet Ethernet x2, RTL8125BG chip
I'm guessing the the 2.5G aren't loading. I'm guessing the intel 2.5s are support but not the realtek yet.
Didn't read it yet ... but Realtek RTL 8125 2.5Gbps LAN controller.

There is forum thread on that.

I like this board too ... looking for a new router & IPSEC that will do 1Gbps ... (using a Juniper SRX550 now, a little power hungry).
 
I currently have quite a few of htese devices as well as an aarch64/arm VM for dev work. the only thing I am missing currently is u-boot-nanopi-r5s. how can I build this?

thx
 
I currently have quite a few of htese devices as well as an aarch64/arm VM for dev work. the only thing I am missing currently is u-boot-nanopi-r5s. how can I build this?

thx
Hi,

I found that there is this package, as there is for R4S. Have you tried it?

After such a long time using not official EDK2 firmware, I tried this. But despite booting opnsense, the realtek 2.5 Gbps nics won't show here. Have anyone tried and have another history to tell?

I have loaded the if_re from ports, if I change to EDK2 they show.

none
 
I think u-boot has support for RK3568 now. Let me check if defconfig exists for this board.

OK here it is:
/configs/nanopi-r5s-rk3568_defconfig

That might work on FreeBSD. Problem is PCIe driver is not great. Might work if you give it a try.

Here is what you want to do.
Make a slave u-boot port for nanopi-r5s.

Download ports tree.

Make a directory for your slave port:
mkdir /usr/ports/sysutils/u-boot-nanopi-r5s

You only need to create two files. A Makefile and a pkg-descr

/usr/ports/sysutils/u-boot-nanopi-r5s/Makefile
Code:
MASTERDIR=    ${.CURDIR}/../u-boot-master
MODEL=        nanopi-r5s
BOARD_CONFIG=    nanopi-r5s-rk3568_defconfig
FAMILY=        rk356X
.include "${MASTERDIR}/Makefile"

Now the file that gives you the instructions on flashing.
/usr/ports/sysutils/u-boot-nanopi-r5s/pkg-descr
Code:
U-Boot loader and related files for the nanopi-r5s.

To install this bootloader on an sdcard just do:
dd if=/usr/local/share/u-boot/u-boot-nanopi-r5s/idbloader.img of=/path/to/sdcarddevice seek=64 bs=512 conv=sync
dd if=/usr/local/share/u-boot/u-boot-nanopi-r5s/u-boot.itb of=/path/to/sdcarddevice seek=16384 bs=512 conv=sync

Now that your two files occupy /usr/ports/sysutils/u-boot-nanopi-r5s/ you can build your slave port.

make install

From that compilation you will have your needed files to flash in usr/local/share/u-boot-nanopi-r5s/
cat README
Look familiar?

As a bonus a DTB file is generated in:
/usr/ports/sysutils/u-boot-nanopi-r5s/work/u-boot-2025.01/dts/upstream/src/arm64/rockchip/
Note this path is for a newer branch that I use. Yours will vary. All the compilation ends up under the ports /work directory.
 
OK Now that you got your u-boot working I wanted to mention u-boot also builds a SPI Flash image that is in /work.
So if you have SPI flash onboard you might want to put your u-boot in SPI flash and boot off NVMe.
Best to test first with microSD card. Flash that with your u-boot.
But what Installation images should you use? Maybe put it on NVMe? u-boot on microSD.

FreeBSD 14-x is missing EQOS ethernet driver. But Soren has an image with FreeBSD 14 Stable. Testing and has fastest speed.

FreeBSD 15-CURRENT has the EQOS ethernet driver but has all the issues with CURRENT.
No Debug kernel best for normal use on CURRENT.

Problem is DesignWare PCIe driver works good for some stuff others not. There is a patch in bugzilla for better detection but still WIP.
 
Hi,

thanks for all the help and info. There is already a package for that port, as pointed here on freshports.

Also, eqos0 works fine:

xxx@OPNsense:/boot/msdos % ifconfig
eqos0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
description: LAN (lan)
options=80008<VLAN_MTU,LINKSTATE>
ether xx
inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
inet6 fe80:xxxxxxx:os0 prefixlen 64 scopeid 0x1
media: Ethernet autoselect (1000baseT <full-duplex,master>)
status: active
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
enc0: flags=0 metric 0 mtu 1536
options=0
groups: enc
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
pflog0: flags=20100<PROMISC,PPROMISC> metric 0 mtu 33152
options=0
groups: pflog
pfsync0: flags=0 metric 0 mtu 1500
options=0
maxupd: 128 defer: off version: 1400
syncok: 1
groups: pfsync

My issue is about the realtek's. They just don't show up.

Have anyone used the u-boot nanopi r5s port and all worked fine?

thanks,

none
 
I read somewhere you must use the realtek-kmod port for the other interfaces.

net/realtek-re-kmod

pkg install realtek-re-kmod

* 2.5G Gigabit Ethernet - RTL8125 / RTL8125B(G)

But as I mentioned earlier you need good PCIe Bus working for these interfaces.
EQOS hangs off RGMII bus.

So take a look at your PCIe bus and see whats showing.
pciconf -lv
 
I read somewhere you must use the realtek-kmod port for the other interfaces.

net/realtek-re-kmod

pkg install realtek-re-kmod



But as I mentioned earlier you need good PCIe Bus working for these interfaces.
EQOS hangs off RGMII bus.

So take a look at your PCIe bus and see whats showing.
pciconf -lv
Hi,

The realtek kmod is loaded, and in this case needs to be the realtek-re-kmod198 version, as newer versions crash.

It is loaded, and works for edk2, not using u-boot. I can't post now pciconv -lv, I am not at home and the nanopi is not turned on now. But it doesn't show the realtek nics, I tried it :(

none
 
An update:

root@OPNsense:~ # pciconf -vl
pcib1@pci0:0:0:0: class=0x060400 rev=0x01 hdr=0x01 vendor=0x1d87 device=0x3566 subvendor=0x0000 subdevice=0x0000
vendor = 'Rockchip Electronics Co., Ltd'
device = 'RK3568 Remote Signal Processor'
class = bridge
subclass = PCI-PCI
root@OPNsense:~ # cat /boot/loader.conf.local
# Realtek kmod R5S - version 1.98
if_re_load="YES"
if_re_name="/boot/modules/if_re.ko"
root@OPNsense:~ # ifconfig
eqos0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
description: LAN (lan)
options=80008<VLAN_MTU,LINKSTATE>
ether xxxxxxxxxxxx
inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
inet6 fe80::2xxxxxx%eqos0 prefixlen 64 scopeid 0x1
media: Ethernet autoselect (1000baseT <full-duplex,master>)
status: active
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
enc0: flags=0 metric 0 mtu 1536
options=0
groups: enc
nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
pflog0: flags=20100<PROMISC,PPROMISC> metric 0 mtu 33152
options=0
groups: pflog
pfsync0: flags=0 metric 0 mtu 1500
options=0
maxupd: 128 defer: off version: 1400
syncok: 1
groups: pfsync

root@OPNsense:~ # kldstat
Id Refs Address Size Name
1 29 0xffff000000000000 13d6ba8 kernel
2 1 0xffff0000013d7000 294d8 if_gre.ko
3 1 0xffff000001401000 22f18 pflog.ko
4 3 0xffff000001424000 8f488 pf.ko
5 1 0xffff0000014b5000 2eee8 carp.ko
6 1 0xffff0000014e4000 240f0 if_enc.ko
7 1 0xffff000001509000 2e678 if_bridge.ko
8 2 0xffff000001538000 27470 bridgestp.ko
9 1 0xffff000001560000 31d88 if_lagg.ko
10 2 0xffff000001592000 23460 if_infiniband.ko
11 1 0xffff0000015b6000 305d8 pfsync.ko
12 1 0xffff0000015e7000 a82b0 if_re.ko
13 1 0xffff0000c4a00000 22000 hym8563.ko
14 1 0xffff0000c4a22000 27000 nullfs.ko


I cannot think about another thing to load. If I use edk2 firmware, both realtek show and work fine.

Has anyone any other experience to tell? Please say so :D

none
 
More info, i found this lines on dmesg:

rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 0 on miibus0
rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
rgephy1: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
rgephy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto

ifconfig still can't find re0 and re1
 
You need to be running -CURRENT for the Designware PCIe driver on rk356x.
On top of that it does not work well with both PCIe buses.
It seems boards only using one PCIe bus work good.

Have you tried entering u-boot command and look at your pci devices? Maybe startup bus manually and see whats up.

pci enum
pci
 
Are you running anything in the slot on the bottom? It takes an NVMe right? That should use your PCIe 3.0 x2 bus.
The Realtek ethernet splits the PCIe 2.0 bus I think.
 
You need to be running -CURRENT for the Designware PCIe driver on rk356x.
On top of that it does not work well with both PCIe buses.
It seems boards only using one PCIe bus work good.

Have you tried entering u-boot command and look at your pci devices? Maybe startup bus manually and see whats up.

pci enum
pci
No, later today I can try and paste here the results.

Are you running anything in the slot on the bottom? It takes an NVMe right? That should use your PCIe 3.0 x2 bus.
The Realtek ethernet splits thePCIe 2.0 bus I think.
No, not now. I it works all three: nvme and both realtek nics, and the eqos AFAIK.

none
 
You need to be running -CURRENT for the Designware PCIe driver on rk356x.
On top of that it does not work well with both PCIe buses.
It seems boards only using one PCIe bus work good.

Have you tried entering u-boot command and look at your pci devices? Maybe startup bus manually and see whats up.

pci enum
pci

Here is the output:

U-Boot 2024.07 (Feb 02 2025 - 11:23:32 +0000)

Model: FriendlyElec NanoPi R5S
DRAM: 4 GiB
PMIC: RK8090 (on=0x40, off=0x00)
Core: 324 devices, 29 uclasses, devicetree: separate
MMC: mmc@fe2b0000: 1, mmc@fe310000: 0
Loading Environment from nowhere... OK
In: serial@fe660000
Out: serial@fe660000
Err: serial@fe660000
Model: FriendlyElec NanoPi R5S
Net: eth0: ethernet@fe2a0000
Hit any key to stop autoboot: 0
=> pci enum
pcie_dw_rockchip pcie@fe280000: PCIe-4 Link Fail
=> pci
BusDevFun VendorId DeviceId Device Class Sub-Class
_____________________________________________________________
00.00.00 0x1d87 0x3566 Bridge device 0x04
01.00.00 0x10ec 0x8125 Network controller 0x00
02.00.00 0x1d87 0x3566 Bridge device 0x04
03.00.00 0x10ec 0x8125 Network controller 0x00
pcie_dw_rockchip pcie@fe280000: PCIe-4 Link Fail
 
I think there are you should start with the current kernel.

Also rk3568 needs this patch -> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281722
Sorry for the delay in commiting it, but I have too many irons in fire at the moment.

Anyway, can you please post a full verbose bootlog here (patch is not required for log, but current yes)?

The strange thing is that there are no NICs visible in the output of pciconf. This indicates some other problem (probably with the PCIe controller setup).
 
I think there are you should start with the current kernel.

Also rk3568 needs this patch -> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281722
Sorry for the delay in commiting it, but I have too many irons in fire at the moment.

Anyway, can you please post a full verbose bootlog here (patch is not required for log, but current yes)?

The strange thing is that there are no NICs visible in the output of pciconf. This indicates some other problem (probably with the PCIe controller setup).
Hi,

I can post here. I will install current on it and post here.
Is it ok to use images from https://download.freebsd.org/snapshots/arm64/aarch64/ISO-IMAGES/15.0/?

I can install 14.2 and build current over it, just will take longer.

Is this patch pointed above usable on 14.2?

thanks,

none
 
No it is not usable on 14.x. The code for /usr/src/sys/dev/pci/dw_pci.c changed for 15.x

I am the one commenting at bottom in that bug report.

This patch seemed to help detection of devices.

The problem now seems to be two buses. pci(a) and pci(b) on the RK3568
With two buses you will find that one device works and one does not.

So just for kicks try an NVMe in your bottom slot and see if it shows up. I am curious.

With only one bus the RK3566 boards work well. I have even flashed u-boot to SPI flash on my Rock3C's.
It works as expected booting NVMe with a PCIe2 bus on FreeBSD 15.x with the above patch.
Prior to patch I would have to go into u-boot and fire up the bus and then scan for nvme. Some drives would not show up.
 
I think there are you should start with the current kernel.

Also rk3568 needs this patch -> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281722
Sorry for the delay in commiting it, but I have too many irons in fire at the moment.

Anyway, can you please post a full verbose bootlog here (patch is not required for log, but current yes)?

The strange thing is that there are no NICs visible in the output of pciconf. This indicates some other problem (probably with the PCIe controller setup).

uname -a
FreeBSD R5S-dev 15.0-CURRENT FreeBSD 15.0-CURRENT #0 main-n275290-9ef38a01aea8: Thu Feb 6 07:12:09 UTC 2025 root@releng3.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64

Running edk2:

---<<BOOT>>---
GDB: debug ports: uart
GDB: current port: uart
KDB: debugger backends: ddb gdb
KDB: current backend: ddb
Copyright (c) 1992-2025 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 15.0-CURRENT #0 main-n275290-9ef38a01aea8: Thu Feb 6 07:12:09 UTC 2025
root@releng3.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64
FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)
WARNING: WITNESS option enabled, expect reduced performance.
VT: init without driver.
real memory = 3998019584 (3812 MB)
avail memory = 3864657920 (3685 MB)
Starting CPU 1 (100)
Starting CPU 2 (200)
Starting CPU 3 (300)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
random: unblocking device.
random: entropy device external interface
kbd0 at kbdmux0
acpi0: <RKCP RK356X>
acpi0: Power Button (fixed)
acpi0: Sleep Button (fixed)
acpi0: Could not update all GPEs: AE_NOT_CONFIGURED
psci0: <ARM Power State Co-ordination Interface Driver> on acpi0
smccc0: <ARM SMCCC v1.2> on psci0
gic0: <ARM Generic Interrupt Controller v3.0> iomem 0xfd400000-0xfd40ffff,0xfd460000-0xfd51ffff on acpi0
generic_timer0: <ARM Generic Timer> irq 13,14,15,16 on acpi0
Timecounter "ARM MPCore Timecounter" frequency 24000000 Hz quality 1000
Event timer "ARM MPCore Eventtimer" frequency 24000000 Hz quality 1000
smbios0: <System Management BIOS>
smbios0: Version: 3.3
pmu0: <Performance Monitoring Unit> on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_tz1: <Thermal Zone> on acpi0
uart0: <16750 or compatible> iomem 0xfe660000-0xfe660fff irq 1 on acpi0
uart: ns8250: UART FCR is broken
uart0: console (115200,n,8,1)
ehci0: <Generic EHCI Controller> iomem 0xfd800000-0xfd83ffff irq 4 on acpi0
usbus0: EHCI version 1.0
usbus0 on ehci0
ehci1: <Generic EHCI Controller> iomem 0xfd880000-0xfd8bffff irq 6 on acpi0
usbus1: EHCI version 1.0
usbus1 on ehci1
xhci0: <Generic USB 3.0 controller> iomem 0xfcc00000-0xfcffffff irq 7 on acpi0
xhci0: 64 bytes context size, 32-bit DMA
usbus2 on xhci0
xhci1: <Generic USB 3.0 controller> iomem 0xfd000000-0xfd3fffff irq 8 on acpi0
xhci1: 64 bytes context size, 32-bit DMA
usbus3 on xhci1
pcib0: <Generic PCI host controller> on acpi0
pci0: <ACPI PCI bus> on pcib0
nvme0: <Generic NVMe Device> mem 0xf0000000-0xf0003fff,0xf0004000-0xf0005fff at device 0.0 on pci0
nvme0: unable to allocate MSI-X
nvme0: unable to allocate MSI
armv8crypto0: <AES-CBC,AES-XTS,AES-GCM>
Timecounters tick every 1.000 msec
usbus0: 480Mbps High Speed USB v2.0
usbus1: 480Mbps High Speed USB v2.0
usbus2: 5.0Gbps Super Speed USB v3.0
usbus3: 5.0Gbps Super Speed USB v3.0
ugen0.1: <Generic EHCI root HUB> at usbus0
uhub0 on usbus0
uhub0: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
ugen1.1: <Generic EHCI root HUB> at usbus1
uhub1 on usbus1
uhub1: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
ugen2.1: <Generic XHCI root HUB> at usbus2
uhub2 on usbus2
uhub2: <Generic XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus2
ugen3.1: <Generic XHCI root HUB> at usbus3
uhub3 on usbus3
uhub3: <Generic XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus3
nvme0: Allocated 64MB host memory buffer
CPU 0: ARM Cortex-A55 r2p0 affinity: 0 0
Cache Type = <64 byte CWG,64 byte ERG,64 byte D-cacheline,VIPT I-cache,64 byte I-cacheline>
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>
Processor Features 2 = <>
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>
Trying to mount root from ufs:/dev/nda0p2 [rw]...
Memory Model Features 2 = <32bit CCIDX,48bit VA,IESB,UAO,CnP>
Memory Model Features 3 = <>
Memory Model Features 4 = <>
Debug Features 0 = <DoubleLock,2 CTX BKPTs,4 Watchpoints,6 Breakpoints,PMUv3p1,Debugv8p2>
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,FPDNaN,FPFtZ>
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
gic0: using for IPIs
Release APs...done
TCP_ratelimit: Is now initialized
WARNING: WITNESS option enabled, expect reduced performance.
nda0 at nvme0 bus 0 scbus0 target 0 lun 1
nda0: <ADATA LEGEND 710 VC2SAD01 2O292L177N1L>
nda0: Serial Number 2O292L177N1L
nda0: nvme version 1.4
nda0: 244198MB (500118192 512 byte sectors)
uhub3: 2 ports with 2 removable, self powered
uhub2: 2 ports with 2 removable, self powered
uhub0: 1 port with 1 removable, self powered
uhub1: 1 port with 1 removable, self powered
ugen2.2: <ASIX Elec. Corp. AX88179> at usbus2
Warning: no time-of-day clock registered, system time will not be set accurately
lo0: link state changed to UP
axge0 on uhub2
axge0: <ASIX Elec. Corp. AX88179, rev 3.00/1.00, addr 1> on usbus2
miibus0: <MII bus> on axge0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 3 on miibus0
rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
ue0: <USB Ethernet> on axge0
ue0: Ethernet address: d8:eb:97:b0:77:9d
ue0: link state changed to DOWN
ue0: link state changed to UP
Security policy loaded: MAC/ntpd (mac_ntpd)
 
Running u-boot:

Consoles: EFI console
Reading loader env vars from /efi/freebsd/loader.env
Setting currdev to disk2p1:
FreeBSD/arm64 EFI loader, Revision 3.0
(Thu Feb 6 07:05:38 UTC 2025 root@releng3.nyi.freebsd.org)

Command line arguments: loader.efi
Image base: 0xecaaa000
EFI version: 2.100
EFI Firmware: Das U-Boot (rev 8228.1792)
Console: efi,comconsole (0)
Load Path: /\EFI\BOOT\BOOTAA64.EFI
Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,0000000000000000)/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,5500000004000000)/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,5500000005000000)/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,4e00000000000000)/NVMe(0x1,db-61-27-6f-62-18-7c-70)/HD(1,GPT,3834f524-e471-11ef-aef4-f7dbdf8891e1,0x28,0x82000)
BootOrder: 0000 0001 0002
Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,0000000000000000)/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,5500000004000000)/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,5500000005000000)/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,4e00000000000000)/NVMe(0x1,db-61-27-6f-62-18-7c-70)/HD(1,GPT,3834f524-e471-11ef-aef4-f7dbdf8891e1,0x28,0x82000)
Setting currdev to disk2p1:
Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,0000000000000000)/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,5500000004000000)/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,5500000005000000)/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,4e00000000000000)/NVMe(0x1,db-61-27-6f-62-18-7c-70)/HD(2,GPT,383cba1d-e471-11ef-aef4-f7dbdf8891e1,0x82028,0x1d37e000)
Setting currdev to disk2p2:
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...seconds. [Space] to pause
/boot/kernel/kernel text=0x318 text=0x9a0988 text=0x2cac28 data=0x1806f0 data=0x0+0x371000 0x8+0x1700d0+0x8+0x1a162a|
Loading configured modules...
/etc/hostid size=0x25
/boot/entropy size=0x1000
Using DTB provided by EFI at 0xecb7e000.
Loading splash ok
---<<BOOT>>---
GDB: debug ports: uart
GDB: current port: uart
KDB: debugger backends: ddb gdb
KDB: current backend: ddb
WARNING: Cannot find freebsd,dts-version property, cannot check DTB compliance
Copyright (c) 1992-2025 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 15.0-CURRENT #0 main-n275290-9ef38a01aea8: Thu Feb 6 07:12:09 UTC 2025
root@releng3.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64
FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)
WARNING: WITNESS option enabled, expect reduced performance.
VT: init without driver.
real memory = 4292780032 (4093 MB)
avail memory = 4155359232 (3962 MB)
Starting CPU 1 (100)
Starting CPU 2 (200)
Starting CPU 3 (300)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
random: unblocking device.
random: entropy device external interface
kbd0 at kbdmux0
ofwbus0: <Open Firmware Device Tree>
ofw_firmware0: <OFW Firmware Group> 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
rk3568_cru0: cannot get parent at idx 0
rk_grf7: <RockChip General Register Files> mem 0xfdc70000-0xfdc70fff on ofwbus0
rk_grf8: <RockChip General Register Files> mem 0xfdcb8000-0xfdcc7fff 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
regfix7: <Fixed Regulator> on ofwbus0
regfix8: <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
smccc0: <ARM SMCCC v1.2> on psci0
rk3568_combphy0: <RockChip combo PHY> mem 0xfe830000-0xfe8300ff on ofwbus0
rk3568_combphy1: <RockChip combo PHY> mem 0xfe840000-0xfe8400ff on ofwbus0
rk3568_pciephy0: <RockChip PCIe PHY> mem 0xfe8c0000-0xfe8dffff on ofwbus0
rk3568_combphy2: <RockChip combo PHY> mem 0xfe820000-0xfe8200ff on ofwbus0
gic0: <ARM Generic Interrupt Controller v3.0> mem 0xfd400000-0xfd40ffff,0xfd460000-0xfd4dffff irq 12 on ofwbus0
rk_pinctrl0: <RockChip Pinctrl controller> on ofwbus0
gpio0: <RockChip GPIO Bank controller> mem 0xfdd60000-0xfdd600ff irq 91 on rk_pinctrl0
gpiobus0: <OFW GPIO bus> on gpio0
gpio1: <RockChip GPIO Bank controller> mem 0xfe740000-0xfe7400ff irq 92 on rk_pinctrl0
gpiobus1: <OFW GPIO bus> on gpio1
gpio2: <RockChip GPIO Bank controller> mem 0xfe750000-0xfe7500ff irq 93 on rk_pinctrl0
gpiobus2: <OFW GPIO bus> on gpio2
gpio3: <RockChip GPIO Bank controller> mem 0xfe760000-0xfe7600ff irq 94 on rk_pinctrl0
gpiobus3: <OFW GPIO bus> on gpio3
gpio4: <RockChip GPIO Bank controller> mem 0xfe770000-0xfe7700ff irq 95 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
fan53555_pmic0: <TCS4525 PMIC> at addr 0x38 on iicbus0
rk817_pmu0: <RockChip RK809 PMIC> at addr 0x40 irq 96 on iicbus0
rk_i2c1: <RockChip I2C> mem 0xfe5e0000-0xfe5e0fff irq 59 on ofwbus0
iicbus1: <OFW I2C bus> on rk_i2c1
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
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_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
rk_tsadc0: <RockChip temperature sensors> mem 0xfe710000-0xfe7100ff irq 74 on ofwbus0
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
mmio_sram0: <MMIO SRAM> mem 0x10f000-0x10f0ff on ofwbus0
shmem0: <ARM SCMI Shared Memory driver> mem 0-0xff on mmio_sram0
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
rk_usb2phy0: <Rockchip USB2PHY> mem 0xfe8a0000-0xfe8affff irq 76 on ofwbus0
rk_usb2phy1: <Rockchip USB2PHY> mem 0xfe8b0000-0xfe8bffff irq 77 on ofwbus0
scmi_smc0: <ARM SCMI SMC Transport driver> on ofw_firmware0
scmi_smc0: smc id 82000010
scmi_smc0: Transport - max_msg:32 max_payld_sz:132 reply_timo_ms:30
scmi_clk0: <SCMI Clock Management Unit> on scmi_smc0
scmi_clk0: Found 4 clocks.
scmi_clk0: Clock 'clk_scmi_cpu' registered.
scmi_clk0: Clock 'clk_scmi_gpu' registered.
scmi_clk0: Clock 'clk_scmi_npu' registered.
scmi_clk0: Clock 'clk_scmi_ddr' registered.
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
smbios0: <System Management BIOS>
smbios0: Version: 3.7
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
cpufreq0: <CPU frequency control> on cpu0
pcm0: <simple-audio-card> on ofwbus0
pmu0: <Performance Monitoring Unit> irq 0,1,2,3 on ofwbus0
snps_dwc3_fdt0: <Synopsys Designware DWC3> mem 0xfcc00000-0xfcffffff irq 10 on ofwbus0
rk3568_combphy2: 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
snps_dwc3_fdt1: <Synopsys Designware DWC3> mem 0xfd000000-0xfd3fffff irq 11 on ofwbus0
rk3568_combphy0: configuring for USB3 ref_clk=25000000
snps_dwc3_fdt1: 64 bytes context size, 32-bit DMA
usbus1: trying to attach
usbus1 on snps_dwc3_fdt1
ehci0: <Generic EHCI Controller> mem 0xfd800000-0xfd83ffff irq 13 on ofwbus0
usbus2: EHCI version 1.0
usbus2 on ehci0
ohci0: <Generic OHCI Controller> mem 0xfd840000-0xfd87ffff irq 14 on ofwbus0
usbus3 on ohci0
ehci1: <Generic EHCI Controller> mem 0xfd880000-0xfd8bffff irq 15 on ofwbus0
usbus4: EHCI version 1.0
usbus4 on ehci1
ohci1: <Generic OHCI Controller> mem 0xfd8c0000-0xfd8fffff irq 16 on ofwbus0
usbus5 on ohci1
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
iic0: <I2C generic I/O> on iicbus0
pcib0: <RockChip RK3568 PCI-express controller> mem 0x3c0000000-0x3c03fffff,0xfe260000-0xfe26ffff,0xf4000000-0xf40fffff irq 36,37,38,39,40 on ofwbus0
pcib0: Cannot get regulator
device_attach: pcib0 attach returned 6
rockchip_dwmmc0: <Synopsys DesignWare Mobile Storage Host Controller (RockChip)> mem 0xfe2b0000-0xfe2b3fff irq 41 on ofwbus0
rockchip_dwmmc0: Hardware version ID is 270a
uma_zalloc_debug: zone "malloc-16" with the following non-sleepable locks held:
exclusive sleep mutex rockchip_dwmmc0 (dwmmc) r = 0 (0xffffa001f227f928) locked @ /usr/src/sys/dev/mmc/host/dwmmc.c:480
stack backtrace:
#0 0xffff00000052e260 at witness_debugger+0x60
#1 0xffff00000052f494 at witness_warn+0x408
#2 0xffff000000807a54 at uma_zalloc_debug+0x34
#3 0xffff00000080760c at uma_zalloc_arg+0x30
#4 0xffff000000486960 at malloc+0x8c
#5 0xffff000000487494 at reallocf+0x1c
#6 0xffff0000004f2248 at devclass_add_device+0x1f0
#7 0xffff0000004f0354 at make_device+0x110
#8 0xffff0000004f0154 at device_add_child_ordered+0x30
#9 0xffff0000001fdbd8 at dwmmc_card_task+0xec
#10 0xffff0000001fd0ec at dwmmc_attach+0x664
#11 0xffff0000004f2b7c at device_attach+0x4c0
#12 0xffff0000004f4fa8 at bus_generic_new_pass+0x130
#13 0xffff0000004f4f38 at bus_generic_new_pass+0xc0
#14 0xffff0000004f4f38 at bus_generic_new_pass+0xc0
#15 0xffff0000004f7e98 at root_bus_configure+0x44
#16 0xffff000000435bf0 at mi_startup+0x1f4
#17 0xffff000000000898 at virtdone+0x6c
mmc0: <MMC/SD bus> on rockchip_dwmmc0
sdhci_fdt0: <Rockchip RK3568 fdt SDHCI controller> mem 0xfe310000-0xfe31ffff irq 44 on ofwbus0
sdhci_fdt0: 1 slot(s) allocated
mmc1: <MMC/SD bus> on sdhci_fdt0
iicbus1: <unknown card> at addr 0xa2
iic1: <I2C generic I/O> on iicbus1
uart0: <16750 or compatible> mem 0xfe660000-0xfe6600ff irq 66 on ofwbus0
uart0: 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
pcib0: <RockChip RK3568 PCI-express controller> mem 0x3c0400000-0x3c07fffff,0xfe270000-0xfe27ffff,0xf2000000-0xf20fffff irq 79,80,81,82,83 on ofwbus0
pcib0: Cannot get regulator
device_attach: pcib0 attach returned 6
pcib0: <RockChip RK3568 PCI-express controller> mem 0x3c0800000-0x3c0bfffff,0xfe280000-0xfe28ffff,0xf0000000-0xf00fffff irq 84,85,86,87,88 on ofwbus0
pci0: <OFW PCI bus> on pcib0
pcib1: <PCI-PCI bridge> at device 0.0 on pci0
pcib1: failed to allocate initial I/O port window: 0-0xfff
pcib1: failed to allocate initial memory window: 0-0xfffff
pcib1: failed to allocate initial prefetch window: 0-0xfffff
pci1: <PCI bus> on pcib1
nvme0: <Generic NVMe Device> irq 98 at device 0.0 on pci1
eqos0: <DesignWare EQOS Gigabit ethernet> mem 0xfe2a0000-0xfe2affff irq 89,90 on ofwbus0
eqos0: no phy-supply property
miibus0: <MII bus> on eqos0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 0 on miibus0
rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
rgephy1: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
rgephy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
eqos0: Ethernet address: 22:3c:1b:bc:fb:f9
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
rockchip_dwmmc0: failed to set frequency to 400000 Hz: 16
usbus0: 5.0Gbps Super Speed USB v3.0
usbus1: 5.0Gbps Super Speed USB v3.0
usbus2: 480Mbps High Speed USB v2.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 480Mbps High Speed USB v2.0
usbus5: 12Mbps Full Speed USB v1.0
ugen4.1: <Generic EHCI root HUB> at usbus4
uhub0 on usbus4
uhub0: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4
ugen3.1: <Generic OHCI root HUB> at usbus3
uhub1 on usbus3
uhub1: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen5.1: <Generic OHCI root HUB> at usbus5
uhub2 on usbus5
uhub2: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
ugen2.1: <Generic EHCI root HUB> at usbus2
uhub3 on usbus2
uhub3: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
ugen1.1: <Synopsys XHCI root HUB> at usbus1
uhub4 on usbus1
uhub4: <Synopsys XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1
ugen0.1: <Synopsys XHCI root HUB> at usbus0
uhub5 on usbus0
uhub5: <Synopsys XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
rockchip_dwmmc0: failed to set frequency to 50000000 Hz: 16
mmcsd0: 4GB <SDHC SU04G 8.0 SN 1FFDE2F3 MFG 05/2013 by 3 SD> at mmc0 50.0MHz/4bit/1016-block
lock order reversal: (sleepable after non-sleepable)
1st 0xffffa001f2574030 SD slot mtx (sdhci, sleep mutex) @ /usr/src/sys/dev/sdhci/sdhci.c:1366
2nd 0xffff000000e377d8 Clock topology lock (Clock topology lock, sx) @ /usr/src/sys/dev/clk/clk.c:1208
lock order sdhci -> Clock topology lock attempted at:
#0 0xffff00000052de00 at witness_checkorder+0xad0
#1 0xffff0000004c0f24 at _sx_xlock+0x70
#2 0xffff00000014a54c at clk_set_freq+0x50
#3 0xffff000000279fcc at sdhci_fdt_set_clock+0x6c
#4 0xffff000000274ff8 at sdhci_set_clock+0x78
#5 0xffff000000275730 at sdhci_generic_update_ios+0xac
#6 0xffff0000002008b8 at mmc_go_discovery+0x9e0
#7 0xffff0000001ffe94 at mmc_delayed_attach+0x38
#8 0xffff0000004ed728 at run_interrupt_driven_config_hooks+0x94
#9 0xffff0000004edaa4 at boot_run_interrupt_driven_config_hooks+0x30
#10 0xffff000000435bf0 at mi_startup+0x1f4
#11 0xffff000000000898 at virtdone+0x6c
CPU 0: ARM Cortex-A55 r2p0 affinity: 0 0
Cache Type = <64 byte CWG,64 byte ERG,64 byte D-cacheline,VIPT I-cache,64 byte I-cacheline>
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>
Processor Features 2 = <>
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>
Memory Model Features 3 = <>
Memory Model Features 4 = <>
Debug Features 0 = <DoubleLock,2 CTX BKPTs,4 Watchpoints,6 Breakpoints,PMUv3p1,Debugv8p2>
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,FPDNaN,FPFtZ>
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
gic0: using for IPIs
Release APs...done
TCP_ratelimit: Is now initialized
WARNING: WITNESS option enabled, expect reduced performance.
Unresolved linked clock found: clk_32k_pvtm
Unresolved linked clock found: usb480m_phy
Trying to mount root from ufs:/dev/nda0p2 [rw]...
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
uhub1: 1 port with 1 removable, self powered
uhub2: 1 port with 1 removable, self powered
uhub5: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
uhub0: 1 port with 1 removable, self powered
uhub3: 1 port with 1 removable, self powered
ugen0.2: <ASIX Elec. Corp. AX88179> at usbus0
mountroot: waiting for device /dev/nda0p2...
Mounting from ufs:/dev/nda0p2 failed with error 19.

Loader variables:
vfs.root.mountfrom=ufs:/dev/nda0p2
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>

Notes:
- When running current, no nics were found. I need to use USB nic.
- I installed current on nvme, when I boot using u-boot there is no nvme found, as seen above on logs.
- Phishfry before even installing current, I tried opnsense from sdcard using u-boot to check for nvme. Despite installed, it doesn't show, its not usable. For edk2 it runs fine.

none
 
Using the nvme on USB adapter, I got to boot. Now eqos0 shows, not tested yet. And there are 3 rgephy.

pciconf -Bl
pcib1@pci0:0:0:0: class=0x060400 rev=0x01 hdr=0x01 vendor=0x1d87 device=0x3566 subvendor=0x0000 subdevice=0x0000
bus range = 1-255
window[1c] = type I/O Port, range 16, addr 0xf000-0xfff, disabled
window[20] = type Memory, range 32, addr 0xfff00000-0xfffff, disabled
window[24] = type Prefetchable Memory, range 64, addr 0xfffffffffff00000-0xfffff, disabled



---<<BOOT>>---
GDB: debug ports: uart
GDB: current port: uart
KDB: debugger backends: ddb gdb
KDB: current backend: ddb
WARNING: Cannot find freebsd,dts-version property, cannot check DTB compliance
Copyright (c) 1992-2025 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 15.0-CURRENT #0 main-n275290-9ef38a01aea8: Thu Feb 6 07:12:09 UTC 2025
root@releng3.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64
FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)
WARNING: WITNESS option enabled, expect reduced performance.
VT: init without driver.
real memory = 4292780032 (4093 MB)
avail memory = 4155359232 (3962 MB)
Starting CPU 1 (100)
Starting CPU 2 (200)
Starting CPU 3 (300)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
random: unblocking device.
random: entropy device external interface
kbd0 at kbdmux0
ofwbus0: <Open Firmware Device Tree>
ofw_firmware0: <OFW Firmware Group> 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
rk3568_cru0: cannot get parent at idx 0
rk_grf7: <RockChip General Register Files> mem 0xfdc70000-0xfdc70fff on ofwbus0
rk_grf8: <RockChip General Register Files> mem 0xfdcb8000-0xfdcc7fff 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
regfix7: <Fixed Regulator> on ofwbus0
regfix8: <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
smccc0: <ARM SMCCC v1.2> on psci0
rk3568_combphy0: <RockChip combo PHY> mem 0xfe830000-0xfe8300ff on ofwbus0
rk3568_combphy1: <RockChip combo PHY> mem 0xfe840000-0xfe8400ff on ofwbus0
rk3568_pciephy0: <RockChip PCIe PHY> mem 0xfe8c0000-0xfe8dffff on ofwbus0
rk3568_combphy2: <RockChip combo PHY> mem 0xfe820000-0xfe8200ff on ofwbus0
gic0: <ARM Generic Interrupt Controller v3.0> mem 0xfd400000-0xfd40ffff,0xfd460000-0xfd4dffff irq 12 on ofwbus0
rk_pinctrl0: <RockChip Pinctrl controller> on ofwbus0
gpio0: <RockChip GPIO Bank controller> mem 0xfdd60000-0xfdd600ff irq 91 on rk_pinctrl0
gpiobus0: <OFW GPIO bus> on gpio0
gpio1: <RockChip GPIO Bank controller> mem 0xfe740000-0xfe7400ff irq 92 on rk_pinctrl0
gpiobus1: <OFW GPIO bus> on gpio1
gpio2: <RockChip GPIO Bank controller> mem 0xfe750000-0xfe7500ff irq 93 on rk_pinctrl0
gpiobus2: <OFW GPIO bus> on gpio2
gpio3: <RockChip GPIO Bank controller> mem 0xfe760000-0xfe7600ff irq 94 on rk_pinctrl0
gpiobus3: <OFW GPIO bus> on gpio3
gpio4: <RockChip GPIO Bank controller> mem 0xfe770000-0xfe7700ff irq 95 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
fan53555_pmic0: <TCS4525 PMIC> at addr 0x38 on iicbus0
rk817_pmu0: <RockChip RK809 PMIC> at addr 0x40 irq 96 on iicbus0
rk_i2c1: <RockChip I2C> mem 0xfe5e0000-0xfe5e0fff irq 59 on ofwbus0
iicbus1: <OFW I2C bus> on rk_i2c1
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
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_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
rk_tsadc0: <RockChip temperature sensors> mem 0xfe710000-0xfe7100ff irq 74 on ofwbus0
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
mmio_sram0: <MMIO SRAM> mem 0x10f000-0x10f0ff on ofwbus0
shmem0: <ARM SCMI Shared Memory driver> mem 0-0xff on mmio_sram0
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
rk_usb2phy0: <Rockchip USB2PHY> mem 0xfe8a0000-0xfe8affff irq 76 on ofwbus0
rk_usb2phy1: <Rockchip USB2PHY> mem 0xfe8b0000-0xfe8bffff irq 77 on ofwbus0
scmi_smc0: <ARM SCMI SMC Transport driver> on ofw_firmware0
scmi_smc0: smc id 82000010
scmi_smc0: Transport - max_msg:32 max_payld_sz:132 reply_timo_ms:30
scmi_clk0: <SCMI Clock Management Unit> on scmi_smc0
scmi_clk0: Found 4 clocks.
scmi_clk0: Clock 'clk_scmi_cpu' registered.
scmi_clk0: Clock 'clk_scmi_gpu' registered.
scmi_clk0: Clock 'clk_scmi_npu' registered.
scmi_clk0: Clock 'clk_scmi_ddr' registered.
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
smbios0: <System Management BIOS>
smbios0: Version: 3.7
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
cpufreq0: <CPU frequency control> on cpu0
pcm0: <simple-audio-card> on ofwbus0
pmu0: <Performance Monitoring Unit> irq 0,1,2,3 on ofwbus0
snps_dwc3_fdt0: <Synopsys Designware DWC3> mem 0xfcc00000-0xfcffffff irq 10 on ofwbus0
rk3568_combphy2: 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
snps_dwc3_fdt1: <Synopsys Designware DWC3> mem 0xfd000000-0xfd3fffff irq 11 on ofwbus0
rk3568_combphy0: configuring for USB3 ref_clk=25000000
snps_dwc3_fdt1: 64 bytes context size, 32-bit DMA
usbus1: trying to attach
usbus1 on snps_dwc3_fdt1
ehci0: <Generic EHCI Controller> mem 0xfd800000-0xfd83ffff irq 13 on ofwbus0
usbus2: EHCI version 1.0
usbus2 on ehci0
ohci0: <Generic OHCI Controller> mem 0xfd840000-0xfd87ffff irq 14 on ofwbus0
usbus3 on ohci0
ehci1: <Generic EHCI Controller> mem 0xfd880000-0xfd8bffff irq 15 on ofwbus0
usbus4: EHCI version 1.0
usbus4 on ehci1
ohci1: <Generic OHCI Controller> mem 0xfd8c0000-0xfd8fffff irq 16 on ofwbus0
usbus5 on ohci1
rk_iodomain0: <RockChip IO Voltage Domain> mem 0xfdc20000-0xfdc2ffff on rk_grf0
rk_iodomain0: Cannot get property for regulator vccio2-supply
device_attach: rk_iodomain0 attach returned 6
iic0: <I2C generic I/O> on iicbus0
pcib0: <RockChip RK3568 PCI-express controller> mem 0x3c0000000-0x3c03fffff,0xfe260000-0xfe26ffff,0xf4000000-0xf40fffff irq 36,37,38,39,40 on ofwbus0
pcib0: Cannot get regulator
device_attach: pcib0 attach returned 6
rockchip_dwmmc0: <Synopsys DesignWare Mobile Storage Host Controller (RockChip)> mem 0xfe2b0000-0xfe2b3fff irq 41 on ofwbus0
rockchip_dwmmc0: Hardware version ID is 270a
uma_zalloc_debug: zone "malloc-16" with the following non-sleepable locks held:
exclusive sleep mutex rockchip_dwmmc0 (dwmmc) r = 0 (0xffffa001f227f928) locked @ /usr/src/sys/dev/mmc/host/dwmmc.c:480
stack backtrace:
#0 0xffff00000052e260 at witness_debugger+0x60
#1 0xffff00000052f494 at witness_warn+0x408
#2 0xffff000000807a54 at uma_zalloc_debug+0x34
#3 0xffff00000080760c at uma_zalloc_arg+0x30
#4 0xffff000000486960 at malloc+0x8c
#5 0xffff000000487494 at reallocf+0x1c
#6 0xffff0000004f2248 at devclass_add_device+0x1f0
#7 0xffff0000004f0354 at make_device+0x110
#8 0xffff0000004f0154 at device_add_child_ordered+0x30
#9 0xffff0000001fdbd8 at dwmmc_card_task+0xec
#10 0xffff0000001fd0ec at dwmmc_attach+0x664
#11 0xffff0000004f2b7c at device_attach+0x4c0
#12 0xffff0000004f4fa8 at bus_generic_new_pass+0x130
#13 0xffff0000004f4f38 at bus_generic_new_pass+0xc0
#14 0xffff0000004f4f38 at bus_generic_new_pass+0xc0
#15 0xffff0000004f7e98 at root_bus_configure+0x44
#16 0xffff000000435bf0 at mi_startup+0x1f4
#17 0xffff000000000898 at virtdone+0x6c
mmc0: <MMC/SD bus> on rockchip_dwmmc0
sdhci_fdt0: <Rockchip RK3568 fdt SDHCI controller> mem 0xfe310000-0xfe31ffff irq 44 on ofwbus0
sdhci_fdt0: 1 slot(s) allocated
mmc1: <MMC/SD bus> on sdhci_fdt0
iicbus1: <unknown card> at addr 0xa2
iic1: <I2C generic I/O> on iicbus1
uart0: <16750 or compatible> mem 0xfe660000-0xfe6600ff irq 66 on ofwbus0
uart0: 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
pcib0: <RockChip RK3568 PCI-express controller> mem 0x3c0400000-0x3c07fffff,0xfe270000-0xfe27ffff,0xf2000000-0xf20fffff irq 79,80,81,82,83 on ofwbus0
pcib0: Cannot get regulator
device_attach: pcib0 attach returned 6
pcib0: <RockChip RK3568 PCI-express controller> mem 0x3c0800000-0x3c0bfffff,0xfe280000-0xfe28ffff,0xf0000000-0xf00fffff irq 84,85,86,87,88 on ofwbus0
pci0: <OFW PCI bus> on pcib0
pcib1: <PCI-PCI bridge> at device 0.0 on pci0
pcib1: failed to allocate initial I/O port window: 0-0xfff
pcib1: failed to allocate initial memory window: 0-0xfffff
pcib1: failed to allocate initial prefetch window: 0-0xfffff
pci1: <PCI bus> on pcib1
eqos0: <DesignWare EQOS Gigabit ethernet> mem 0xfe2a0000-0xfe2affff irq 89,90 on ofwbus0
eqos0: no phy-supply property
miibus0: <MII bus> on eqos0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 0 on miibus0
rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
rgephy1: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
rgephy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
eqos0: Ethernet address: 22:3c:1b:xxxxxx
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
rockchip_dwmmc0: failed to set frequency to 400000 Hz: 16
usbus0: 5.0Gbps Super Speed USB v3.0
usbus1: 5.0Gbps Super Speed USB v3.0
usbus2: 480Mbps High Speed USB v2.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 480Mbps High Speed USB v2.0
usbus5: 12Mbps Full Speed USB v1.0
ugen4.1: <Generic EHCI root HUB> at usbus4
uhub0 on usbus4
uhub0: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4
ugen3.1: <Generic OHCI root HUB> at usbus3
uhub1 on usbus3
uhub1: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen2.1: <Generic EHCI root HUB> at usbus2
uhub2 on usbus2
uhub2: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
ugen5.1: <Generic OHCI root HUB> at usbus5
uhub3 on usbus5
uhub3: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
ugen1.1: <Synopsys XHCI root HUB> at usbus1
uhub4 on usbus1
uhub4: <Synopsys XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1
ugen0.1: <Synopsys XHCI root HUB> at usbus0
uhub5 on usbus0
uhub5: <Synopsys XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
rockchip_dwmmc0: failed to set frequency to 50000000 Hz: 16
mmcsd0: 4GB <SDHC SU04G 8.0 SN 1FFDE2F3 MFG 05/2013 by 3 SD> at mmc0 50.0MHz/4bit/1016-block
lock order reversal: (sleepable after non-sleepable)
1st 0xffffa001f2574030 SD slot mtx (sdhci, sleep mutex) @ /usr/src/sys/dev/sdhci/sdhci.c:1366
2nd 0xffff000000e377d8 Clock topology lock (Clock topology lock, sx) @ /usr/src/sys/dev/clk/clk.c:1208
lock order sdhci -> Clock topology lock attempted at:
#0 0xffff00000052de00 at witness_checkorder+0xad0
#1 0xffff0000004c0f24 at _sx_xlock+0x70
#2 0xffff00000014a54c at clk_set_freq+0x50
#3 0xffff000000279fcc at sdhci_fdt_set_clock+0x6c
#4 0xffff000000274ff8 at sdhci_set_clock+0x78
#5 0xffff000000275730 at sdhci_generic_update_ios+0xac
#6 0xffff0000002008b8 at mmc_go_discovery+0x9e0
#7 0xffff0000001ffe94 at mmc_delayed_attach+0x38
#8 0xffff0000004ed728 at run_interrupt_driven_config_hooks+0x94
#9 0xffff0000004edaa4 at boot_run_interrupt_driven_config_hooks+0x30
#10 0xffff000000435bf0 at mi_startup+0x1f4
#11 0xffff000000000898 at virtdone+0x6c
CPU 0: ARM Cortex-A55 r2p0 affinity: 0 0
Cache Type = <64 byte CWG,64 byte ERG,64 byte D-cacheline,VIPT I-cache,64 byte I-cacheline>
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>
Processor Features 2 = <>
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>
Memory Model Features 3 = <>
Memory Model Features 4 = <>
Debug Features 0 = <DoubleLock,2 CTX BKPTs,4 Watchpoints,6 Breakpoints,PMUv3p1,Debugv8p2>
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,FPDNaN,FPFtZ>
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
gic0: using for IPIs
Release APs...done
TCP_ratelimit: Is now initialized
WARNING: WITNESS option enabled, expect reduced performance.
Unresolved linked clock found: clk_32k_pvtm
Unresolved linked clock found: usb480m_phy
Trying to mount root from ufs:/dev/nda0p2 [rw]...
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
uhub1: 1 port with 1 removable, self powered
uhub3: 1 port with 1 removable, self powered
uhub5: 2 ports with 2 removable, self powered
uhub4: 2 ports with 2 removable, self powered
uhub2: 1 port with 1 removable, self powered
uhub0: 1 port with 1 removable, self powered
ugen0.2: <ASIX Elec. Corp. AX88179> at usbus0
usb_msc_auto_quirk: UQ_MSC_NO_GETMAXLUN set for USB mass storage device JMicron External (0x152d:0xa583)
usb_msc_auto_quirk: UQ_MSC_NO_PREVENT_ALLOW set for USB mass storage device JMicron External (0x152d:0xa583)
Root mount waiting for: usbus1
Root mount waiting for: usbus1
ugen1.2: <JMicron External> at usbus1
umass0 on uhub4
umass0: <JMicron External, class 0/0, rev 3.20/2.14, addr 1> on usbus1
umass0: SCSI over Bulk-Only; quirks = 0x8100<NO_GETMAXLUN,NO_PREVENT_ALLOW>
umass0:0:0: Attached to scbus0
mountroot: waiting for device /dev/nda0p2...
da0 at umass-sim0 bus 0 scbus0 target 0 lun 0
da0: <JMicron Tech 0214> Fixed Direct Access SPC-4 SCSI device
da0: Serial Number DD56419883914
da0: 400.000MB/s transfers
da0: 244198MB (500118192 512 byte sectors)
da0: quirks=0x2<NO_6_BYTE>
Mounting from ufs:/dev/nda0p2 failed with error 19.

Loader variables:
vfs.root.mountfrom=ufs:/dev/nda0p2
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> Trying to mount root from ufs:/dev/da0p2 []...
Warning: bad time from time-of-day clock, system time will not be set accurately
hym8563_rtc0: <HYM8694 RTC> at addr 0xa2 irq 97 on iicbus1
hym8563_rtc0: registered as a time-of-day clock, resolution 1.000000s
lo0: link state changed to UP
axge0 on uhub5
axge0: <ASIX Elec. Corp. AX88179, rev 3.00/1.00, addr 1> on usbus0
miibus1: <MII bus> on axge0
rgephy2: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 3 on miibus1
rgephy2: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
ue0: <USB Ethernet> on axge0
ue0: Ethernet address: d8:eb:97:b0:xxxx
ue0: link state changed to DOWN
ue0: link state changed to UP
Security policy loaded: MAC/ntpd (mac_ntpd)
 
This is one part of the problem, probably the main. Another candidate is the unresolved clock and missing controllers.
I'll try to dig deeper tomorrow.

>pcib0: <RockChip RK3568 PCI-express controller> mem 0x3c0400000-0x3c07fffff,0xfe270000-0xfe27ffff,0xf2000000->0xf20fffff irq 79,80,81,82,83 on ofwbus0
>pcib0: Cannot get regulator
>device_attach: pcib0 attach returned 6
 
Back
Top