Re: OrangePI 5 Plus support status

Warner Losh <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <CANCZdfoJ8O7HvwBCGBVqSUWOBuY8uCb6YZKmnLJcAA2ULjcdeQ@mail.gmail.com>
On Sun, Jul 20, 2025, 8:08 PM Nenhum_de_Nos <[email protected]> wrote:

> Hi,
>
> I am trying to make opnsense run on the OrangePi 5 Plus, but using 14.2R I
> cannot boot from nvme or sdcard. Both cases the boot starts but fails on
> mounting root, and issuing "?" tells me no storage is available.
>
> Has anyone any experience on this? I found quite no information for this
> board. If anyone have any hints or need testing, I can help :)
>
> I am trying both u-boot and edk2. The board is fine, OpenBSD works, both
> nvme and the two realtek nic's. 14.2R boots when I try USB adapter for the
> sdcard, but no NIC shows.
>
> Bellow is dmesg and pciconv -lv for it.
>
>
> FreeBSD 15.0-CURRENT (GENERIC) #0 main-n278845-c19877b03f8c: Thu Jul 17
> 22:55:22 UTC 2025
>
> 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://www.FreeBSD.org/lists/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).
> "man ports" gives many useful hints about installing FreeBSD ports.
> matheus@orangepi5plus:~ $ dmesg
> ---<<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-n278845-c19877b03f8c: Thu Jul 17 22:55:22 UTC
> 2025
>     [email protected]:/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(efifb): resolution 640x480
> real memory  = 16879779840 (16097 MB)
> avail memory = 16476590080 (15713 MB)
> Starting CPU 1 (100)
> Starting CPU 2 (200)
> Starting CPU 3 (300)
> Starting CPU 4 (400)
> Starting CPU 5 (500)
> Starting CPU 6 (600)
> Starting CPU 7 (700)
> FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
> random: unblocking device.
> random: entropy device external interface
> kbd0 at kbdmux0
> acpi0: <RKCP RK3588>
> acpi0: Power 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.5> on psci0
> gic0: <ARM Generic Interrupt Controller v3.0> iomem
> 0xfe600000-0xfe60ffff,0xfe680000-0xfe77ffff on acpi0
> generic_timer0: <ARM Generic Timer> irq 29,30,31,32 on acpi0
> Timecounter "ARM MPCore Timecounter" frequency 24000000 Hz quality 1000
> Event timer "ARM MPCore Eventtimer" frequency 24000000 Hz quality 1000
> efirtc0: <EFI Realtime Clock>
> efirtc0: registered as a time-of-day clock, resolution 1.000000s
> smbios0: <System Management BIOS>
> smbios0: Entry point: v3 (64-bit), Version: 3.3
> pmu0: <Performance Monitoring Unit> on acpi0
> 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
> pcib1: <Generic PCI host controller> on acpi0
> pci1: <ACPI PCI bus> on pcib1
> pcib2: <Generic PCI host controller> on acpi0
> pci2: <ACPI PCI bus> on pcib2
> pci2: <network, ethernet> at device 0.0 (no driver attached)
> pcib3: <Generic PCI host controller> on acpi0
> pci3: <ACPI PCI bus> on pcib3
> pci3: <network, ethernet> at device 0.0 (no driver attached)
> uart0: <16750 or compatible> iomem 0xfeb50000-0xfeb50fff irq 21 on acpi0
> uart0: console (1500000,n,8,1)
> ehci0: <Generic EHCI Controller> iomem 0xfc800000-0xfc83ffff irq 23 on
> acpi0
> usbus0: EHCI version 1.0
> usbus0 on ehci0
> ehci1: <Generic EHCI Controller> iomem 0xfc880000-0xfc8bffff irq 24 on
> acpi0
> usbus1: EHCI version 1.0
> usbus1 on ehci1
> xhci0: <Generic USB 3.0 controller> iomem 0xfc000000-0xfc3fffff irq 27 on
> acpi0
> xhci0: 64 bytes context size, 32-bit DMA
> usbus2 on xhci0
> xhci1: <Generic USB 3.0 controller> iomem 0xfc400000-0xfc7fffff irq 28 on
> acpi0
> xhci1: 64 bytes context size, 32-bit DMA
> usbus3 on xhci1
> cpu0: <ACPI CPU> on acpi0
> 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
> ugen1.1: <Generic EHCI root HUB> at usbus1
> uhub0 on usbus1
> uhub0: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
> ugen0.1: <Generic EHCI root HUB> at usbus0
> uhub1 on usbus0
> uhub1: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
> ugen3.1: <Generic XHCI root HUB> at usbus3
> uhub2 on usbus3
> uhub2: <Generic XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus3
> ugen2.1: <Generic XHCI root HUB> at usbus2
> uhub3 on usbus2
> uhub3: <Generic XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus2
> ZFS filesystem version: 5
> ZFS storage pool version: features support (5000)
> 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 = <MTE_frac,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
> CPU  4: ARM Cortex-A76 r4p0 affinity:  4  0
>                    Cache Type = <IDC,64 byte CWG,64 byte ERG,64 byte
> D-cacheline,PIPT I-cache,64 byte I-cacheline>
>          Processor Features 0 =
> <CSV3,CSV2,RAS,GIC,AdvSIMD+HP,FP+HP,EL3,EL2,EL1,EL0 32>
> CPU  5: ARM Cortex-A76 r4p0 affinity:  5  0
> CPU  6: ARM Cortex-A76 r4p0 affinity:  6  0
> CPU  7: ARM Cortex-A76 r4p0 affinity:  7  0
> gic0: using for IPIs
> Release APs...done
> TCP_ratelimit: Is now initialized
> Trying to mount root from zfs:zroot/ROOT/default []...
> 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
> uhub1: 1 port with 1 removable, self powered
> uhub0: 1 port with 1 removable, self powered
> ugen3.2: <GenesysLogic USB2.1 Hub> at usbus3
> uhub4 on uhub2
> uhub4: <GenesysLogic USB2.1 Hub, class 9/0, rev 2.10/93.91, addr 1> on
> usbus3
> uhub4: MTT enabled
> uhub4: 4 ports with 4 removable, self powered
> Root mount waiting for: usbus3
> ugen3.3: <GenesysLogic USB3.2 Hub> at usbus3
> uhub5 on uhub2
> uhub5: <GenesysLogic USB3.2 Hub, class 9/0, rev 3.20/93.91, addr 2> on
> usbus3
> uhub5: 4 ports with 4 removable, self powered
> Root mount waiting for: usbus3
> ugen3.4: <ASIX Elec. Corp. AX88179> at usbus3
> lo0: link state changed to UP
> axge0 on uhub5
> axge0: <ASIX Elec. Corp. AX88179, rev 3.00/1.00, addr 3> on usbus3
> 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
>

So it looks like it mounted root, then found the nvme card. What foes gpart
show nda0 reveal? Can you dd the first 100mb? What's the data rate?

Warner


nvme0@pci0:1:0:0:       class=0x010802 rev=0x01 hdr=0x00 vendor=0x1cc1
> device=0x5766 subvendor=0x1cc1 subdevice=0x0000
>     vendor     = 'ADATA Technology Co., Ltd.'
>     device     = 'XPG GAMMIXS1 1L, XPG GAMMIX S5, LEGEND 710 / 740,
> SWORDFISH NVMe SSD (DRAM-less)'
>     class      = mass storage
>     subclass   = NVM
> none0@pci3:1:0:0:       class=0x020000 rev=0x05 hdr=0x00 vendor=0x10ec
> device=0x8125 subvendor=0x10ec subdevice=0x8125
>     vendor     = 'Realtek Semiconductor Co., Ltd.'
>     device     = 'RTL8125 2.5GbE Controller'
>     class      = network
>     subclass   = ethernet
> none1@pci4:1:0:0:       class=0x020000 rev=0x05 hdr=0x00 vendor=0x10ec
> device=0x8125 subvendor=0x10ec subdevice=0x8125
>     vendor     = 'Realtek Semiconductor Co., Ltd.'
>     device     = 'RTL8125 2.5GbE Controller'
>     class      = network
>     subclass   = ethernet
>
>
>
> ------------
> "We will call you Cygnus,
> The God of balance you shall be."
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.