FreeBSD/riscv 15.0-RELEASE boot log on a Nezha RISC-V SBC

Back to article

U-Boot SPL 2024.01-rc1-45338-g2e89b706f5c (Jan 18 2026 - 08:36:43 +0900)
mxstatus=0xc0408000 mhcr=0x0000010b mcor=0x00000003 mhint=0x00004000
Trying to boot from MMC1
SPL size = 73728, sector = 384

OpenSBI v1.8.1
   ____                    _____ ____ _____
  / __ \                  / ____|  _ \_   _|
 | |  | |_ __   ___ _ __ | (___ | |_) || |
 | |  | | '_ \ / _ \ '_ \ \___ \|  _ < | |
 | |__| | |_) |  __/ | | |____) | |_) || |_
  \____/| .__/ \___|_| |_|_____/|____/_____|
        | |
        |_|

Platform Name               : Allwinner D1 Nezha
Platform Features           : medeleg
Platform HART Count         : 1
Platform HART Protection    : pmp
Platform IPI Device         : ---
Platform Timer Device       : --- @ 0Hz
Platform Console Device     : uart8250
Platform HSM Device         : sun20i-d1-ppu
Platform PMU Device         : thead,c900-pmu
Platform Reboot Device      : ---
Platform Shutdown Device    : ---
Platform Suspend Device     : ---
Platform CPPC Device        : ---
Firmware Base               : 0x40000000
Firmware Size               : 321 KB
Firmware RW Offset          : 0x40000
Firmware RW Size            : 65 KB
Firmware Heap Offset        : 0x47000
Firmware Heap Size          : 37 KB (total), 0 KB (reserved), 11 KB (used), 25 KB (free)
Firmware Scratch Size       : 4096 B (total), 400 B (used), 3696 B (free)
Runtime SBI Version         : 3.0
Standard SBI Extensions     : time,rfnc,ipi,base,hsm,pmu,dbcn,fwft,legacy,sse
Experimental SBI Extensions : none

Domain0 Name                : root
Domain0 Boot HART           : 0
Domain0 HARTs               : 0*
Domain0 Region00            : 0x0000000040040000-0x000000004005ffff M: (F,R,W) S/U: ()
Domain0 Region01            : 0x0000000040000000-0x000000004003ffff M: (F,R,X) S/U: ()
Domain0 Region02            : 0x0000000002500000-0x0000000002500fff M: (I,R,W) S/U: (R,W)
Domain0 Region03            : 0x0000000010000000-0x0000000013ffffff M: (I,R,W) S/U: (R,W)
Domain0 Region04            : 0x0000000000000000-0xffffffffffffffff M: () S/U: (R,W,X)
Domain0 Next Address        : 0x0000000042e00000
Domain0 Next Arg1           : 0x0000000042e95318
Domain0 Next Mode           : S-mode
Domain0 SysReset            : yes
Domain0 SysSuspend          : yes

Boot HART ID                : 0
Boot HART Domain            : root
Boot HART Priv Version      : v1.11
Boot HART Base ISA          : rv64imafdcvx
Boot HART ISA Extensions    : zicntr,zihpm
Boot HART PMP Count         : 8
Boot HART PMP Granularity   : 11 bits
Boot HART PMP Address Bits  : 38
Boot HART MHPM Info         : 12 (0x0003e3f8)
Boot HART Debug Triggers    : 0 triggers
Boot HART MIDELEG           : 0x0000000000020222
Boot HART MEDELEG           : 0x000000000000b109


U-Boot 2024.01-rc1-45338-g2e89b706f5c (Jan 18 2026 - 08:36:43 +0900) Allwinner Technology

DRAM:  1 GiB
Core:  53 devices, 21 uclasses, devicetree: separate
WDT:   Started watchdog@6011000 with servicing every 1000ms (16s timeout)
MMC:   mmc@4020000: 0, mmc@4021000: 1
Loading Environment from FAT... Unable to read "uboot.env" from mmc0:3... 
In:    serial,usbkbd
Out:   serial,vidconsole
Err:   serial,vidconsole
Net:   
Warning: ethernet@4500000 (eth0) using random MAC address - 96:ce:04:8c:46:7e
eth0: ethernet@4500000
starting USB...
Bus usb@4101000: USB EHCI 1.00
Bus usb@4101400: USB OHCI 1.0
Bus usb@4200000: USB EHCI 1.00
Bus usb@4200400: USB OHCI 1.0
scanning bus usb@4101000 for devices... 1 USB Device(s) found
scanning bus usb@4101400 for devices... 1 USB Device(s) found
scanning bus usb@4200000 for devices... 1 USB Device(s) found
scanning bus usb@4200400 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  2  1  0 
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:3...
Card did not respond to voltage select! : -110
Failed to load EFI variables
BootOrder not defined
EFI boot manager: Cannot load any image
Found EFI removable media binary efi/boot/bootriscv64.efi
716012 bytes read in 123 ms (5.6 MiB/s)
Booting /efi\boot\bootriscv64.efi
Consoles: EFI console  
    Reading loader env vars from /efi/freebsd/loader.env
Setting currdev to disk0p3:
FreeBSD/riscv EFI loader, Revision 3.0

   Command line arguments: l
   Image base: 0x7ec37000
   EFI version: 2.100
   EFI Firmware: Das U-Boot (rev 8228.256)
   Console: comconsole (0)
   Load Path: /efi\boot\bootriscv64.efi
   Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,0000000000000000)/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,6d00000000000000)/SD(0)/SD(0)/HD(3,GPT,62874a2f-cc07-11f0-a254-0cc47ad8b808,0x4000,0x1b000)
Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,0000000000000000)/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,6d00000000000000)/SD(0)/SD(0)/HD(3,GPT,62874a2f-cc07-11f0-a254-0cc47ad8b808,0x4000,0x1b000)
Setting currdev to disk0p3:
|Trying: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,0000000000000000)/VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b,6d00000000000000)/SD(0)/SD(0)/HD(4,GPT,6293ae5f-cc07-11f0-a254-0cc47ad8b808,0x1f000,0xbe0f80)
Setting currdev to disk0p4:
/-\|/-\|/-\|/-\|/-\|/-Loading /boot/defaults/loader.conf
Loading /boot/defaults/loader.conf
Loading /boot/device.hints
Loading /boot/loader.conf
\Loading /boot/loader.conf.local
|/Loading kernel...
-\/boot/kernel/kernel text=0x60e84c |/-text=0x165828 data=0x114628 \data=0xec8+0x1e7230 0x8+0x124188|+0x8+0x1073e7
Loading configured modules...
/can't find '/etc/hostid'
can't find '/boot/entropy'
-/boot/kernel/umodem.ko text=0x20c0 text=0x1290 data=0x700+0x4 0x8+0x6900+0x8+0xf04
loading required module 'ucom'
\/boot/kernel/ucom.ko text=0x254c text=0x3074 data=0x948+0x858 0x8+0x120a8+0x8+0x16e8

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel] in 10 seconds... Booting [/boot/kernel/kernel] in 9 seconds... Booting [/boot/kernel/kernel] in 8 seconds... Booting [/boot/kernel/kernel] in 7 seconds... Booting [/boot/kernel/kernel] in 6 seconds... Booting [/boot/kernel/kernel] in 5 seconds... Booting [/boot/kernel/kernel] in 4 seconds... Booting [/boot/kernel/kernel] in 3 seconds... Booting [/boot/kernel/kernel] in 2 seconds... Booting [/boot/kernel/kernel] in 1 second... Booting [/boot/kernel/kernel]...               
Using DTB provided by EFI at 0x7ece9000.
Kernel entry at 0x76e00030...
Kernel args: (null)
|Loading splash ok
---<<BOOT>>---
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-RELEASE releng/15.0-n280995-7aedc8de6446 GENERIC riscv
FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)
VT: init without driver.
SBI: OpenSBI v1.8
SBI Specification Version: 3.0
CPU 0  : Vendor=T-Head Core=Unspecified (Hart 0)
  marchid=0, mimpid=0
  MMU: 0x1<Sv39>
  ISA: 0x112d<Atomic,Compressed,Double,Float,Mult/Div>
  S-mode Extensions: 0
real memory  = 1073348608 (1023 MB)
avail memory = 1028026368 (980 MB)
arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was not yet seeded and the knob 'bypass_before_seeding' was enabled.
random: entropy device external interface
kbd0 at kbdmux0
ofwbus0: <Open Firmware Device Tree>
simplebus0: <Flattened device tree simple bus> on ofwbus0
regfix0: <Fixed Regulator> on ofwbus0
regfix1: <Fixed Regulator> on ofwbus0
regfix2: <Fixed Regulator> on ofwbus0
regfix3: <Fixed Regulator> on ofwbus0
sbi0: <RISC-V Supervisor Binary Interface>
rtc0: <Allwinner RTC> mem 0x7090000-0x70903ff irq 43 on simplebus0
rtc0: registered as a time-of-day clock, resolution 1.000000s
ccu_d10: <Allwinner D1 Clock Controller Unit> mem 0x2001000-0x2001fff on simplebus0
intc0: <RISC-V Local Interrupt Controller> on ofwbus0
sbi_ipi0: <RISC-V SBI Inter-Processor Interrupts> on sbi0
plic0: <RISC-V PLIC> mem 0x10000000-0x13ffffff irq 45,46 on simplebus0
gpio0: <Allwinner GPIO/Pinmux controller> mem 0x2000000-0x20007ff irq 0,1,2,3,4,5 on simplebus0
gpiobus0: <OFW GPIO bus> on gpio0
timer0: <RISC-V Timer>
Timecounter "RISC-V Timecounter" frequency 24000000 Hz quality 1000
Event timer "RISC-V Eventtimer" frequency 24000000 Hz quality 1000
aw_timer0: <Allwinner timer> mem 0x2050000-0x205009f irq 10,11 on simplebus0
Event timer "aw_timer Eventtimer" frequency 24000000 Hz quality 2000
aw_syscon0: <Allwinner syscon> mem 0x3000000-0x3000fff on simplebus0
aw_sid0: <Allwinner Secure ID Controller> mem 0x3006000-0x3006fff on simplebus0
mmc_pwrseq0: <MMC Simple Power sequence> on ofwbus0
awusbphy0: <Allwinner USB PHY> mem 0x4100400-0x41004ff,0x4101800-0x41018ff,0x4200800-0x42008ff on simplebus0
rcons0: <RISC-V console>
gpioc0: <GPIO controller> at pins 0-87 on gpiobus0
uart0: <Non-standard ns8250 class UART with FIFOs> mem 0x2500000-0x25003ff irq 13 on simplebus0
uart0: console (115384,n,8,1)
uart1: <Non-standard ns8250 class UART with FIFOs> mem 0x2500400-0x25007ff irq 14 on simplebus0
aw_mmc0: <Allwinner Integrated MMC/SD controller> mem 0x4020000-0x4020fff irq 28 on simplebus0
aw_mmc1: <Allwinner Integrated MMC/SD controller> mem 0x4021000-0x4021fff irq 29 on simplebus0
musbotg0: <Allwinner USB DRD> mem 0x4100000-0x41003ff irq 33 on simplebus0
musbotg0: setting phy mode 3
usbus0: Dynamic FIFO sizing detected, assuming 16Kbytes of FIFO RAM
usbus0 on musbotg0
ehci0: <Generic EHCI Controller> mem 0x4101000-0x41010ff irq 34 on simplebus0
usbus1: EHCI version 1.0
usbus1 on ehci0
ohci0: <Generic OHCI Controller> mem 0x4101400-0x41014ff irq 35 on simplebus0
usbus2 on ohci0
ehci1: <Generic EHCI Controller> mem 0x4200000-0x42000ff irq 36 on simplebus0
usbus3: EHCI version 1.0
usbus3 on ehci1
ohci1: <Generic OHCI Controller> mem 0x4200400-0x42004ff irq 37 on simplebus0
usbus4 on ohci1
awg0: <Allwinner Gigabit Ethernet> mem 0x4500000-0x450ffff irq 38 on simplebus0
miibus0: <MII bus> on awg0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 0 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
rgephy1: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
rgephy1:  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
awg0: Ethernet address: 96:ce:04:8c:46:7e
aw_wdog0: <Allwinner D1 Watchdog> mem 0x6011000-0x601101f irq 44 on simplebus0
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
Timecounters tick every 1.000 msec
usbus0: 480Mbps High Speed USB v2.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
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: <Mentor Graphics OTG Root HUB> at usbus0
uhub1 on usbus0
uhub1: <Mentor Graphics OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
ugen2.1: <Generic OHCI root HUB> at usbus2
uhub2 on usbus2
uhub2: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
ugen3.1: <Generic EHCI root HUB> at usbus3
uhub3 on usbus3
uhub3: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus3
ugen4.1: <Generic OHCI root HUB> at usbus4
uhub4 on usbus4
uhub4: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
Trying to mount root from ufs:/dev/ufs/rootfs [rw]...
uhub2: 1 port with 1 removable, self powered
uhub4: 1 port with 1 removable, self powered
uhub1: 1 port with 1 removable, self powered
mmc0: <MMC/SD bus> on aw_mmc1
mmc0: No compatible cards found on bus
aw_mmc1: Spurious interrupt - no active request, rint: 0x00010004

mmc1: <MMC/SD bus> on aw_mmc0
mmcsd0: 32GB <SDHC SD32G 8.5 SN 048E2186 MFG 03/2021 by 3 SD> at mmc1 50.0MHz/4bit/2048-block
uhub0: 1 port with 1 removable, self powered
uhub3: 1 port with 1 removable, self powered
Warning: bad time from time-of-day clock, system time will not be set accurately
random: randomdev_wait_until_seeded unblock wait
random: randomdev_wait_until_seeded unblock wait
random: unblocking device.
Setting hostuuid: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.
Setting hostid: 0xxxxxxxxx.
Starting file system checks:
/dev/ufs/rootfs: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ufs/rootfs: clean, 865923 free (259 frags, 108208 blocks, 0.0% fragmentation)
Growing root partition to fill device
Adding swap partition
mmcsd0 recovering is not needed
mmcsd0p1 added
mmcsd0p4 resized
super-block backups (for fsck_ffs -b #) at:
 12804672, 14085120, 15365568, 16646016, 17926464, 19206912, 20487360,
 21767808, 23048256, 24328704, 25609152, 26889600, 28170048, 29450496,
 30730944, 32011392, 33291840, 34572288, 35852736, 37133184, 38413632,
 39694080, 40974528, 42254976, 43535424, 44815872, 46096320, 47376768,
 48657216, 49937664, 51218112, 52498560, 53779008, 55059456, 56339904, 57620352
Metadata value stored on mmcsd0p1.
Done.
Mounting local filesystems:.
Setting up harvesting: RANDOMDEV,[CALLOUT],[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED
Feeding entropy: .
ELF binary type "0" not known.
eval: /libexec/ld-elf.so.1: Exec format error
ELF ldconfig path: /usr/lib/compat
Setting hostname: generic.
lo0: link state changed to UP
awg0: link state changed to DOWN
awg0: link state changed to UP
Starting Network: lo0 awg0.
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=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
awg0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
	options=8000b<RXCSUM,TXCSUM,VLAN_MTU,LINKSTATE>
	ether 96:ce:04:8c:46:7e
	inet6 fe80::94ce:4ff:fe8c:467e%awg0 prefixlen 64 scopeid 0x1
	inet6 xxxx:xxxx:xxx:xxxx:xxxx:xxx:xxxx:xxxx prefixlen 64 autoconf
	media: Ethernet autoselect (1000baseT <full-duplex>)
	status: active
	nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
Starting devd.
Starting dhclient.
DHCPDISCOVER on awg0 to 255.255.255.255 port 67 interval 7
ip length 337 disagrees with bytes received 341.
accepting packet with data after udp payload.
DHCPOFFER from xxx.xxx.xxx.1
DHCPREQUEST on awg0 to 255.255.255.255 port 67
ip length 346 disagrees with bytes received 350.
accepting packet with data after udp payload.
DHCPACK from xxx.xxx.xxx.1
bound to xxx.xxx.xxx.133 -- renewal in 43198 seconds.
route: message indicates error: File exists
add host 127.0.0.1: gateway lo0 fib 0: route already in table
route: message indicates error: File exists
add host ::1: gateway lo0 fib 0: route already in table
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
Creating and/or trimming log files.
Updating /var/run/os-release done.
Clearing /tmp (X related).
Updating motd:.
Starting syslogd.
Mounting late filesystems:.
Generating RSA host key.
3072 SHA256:XZOMB4O697xfADgimo5iKFlk1vHDL8fPjgbwdi8motE root@generic (RSA)
Generating ECDSA host key.
256 SHA256:GPOUw5zM60U6mv4IAAG97JdDQsscoleQsXUshHoNJKc root@generic (ECDSA)
Generating ED25519 host key.
256 SHA256:8nQqXdA9vg0fYglHOSjZP3HIrEQZgXmnbIAinNpYbOw root@generic (ED25519)
Performing sanity check on sshd configuration.
Starting sshd.
Starting cron.
Starting background file system checks in 60 seconds.

Fri Nov 28 03:28:18 UTC 2025

FreeBSD/riscv (generic) (ttyu0)

login: root
Password:
Nov 28 03:28:47 generic login[2382]: ROOT LOGIN (root) ON ttyu0
FreeBSD 15.0-RELEASE (GENERIC) releng/15.0-n280995-7aedc8de6446

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).
root@generic:~ #