はじめに
Arm の SBC (Single Board Computer) というと Raspberry Pi が真っ先に思い浮かぶと思います。
そして、FreeBSD が Raspberry Pi で動くのはもう当然なことになっていると思います。
ハードウェアまわりもだいぶ動くようになってきていて、サポートも充実してきました。
VMware on Arm でも FreeBSD は動作しますので、パワフルな Raspberry Pi 上で仮想化してたくさんの FreeBSD ホストを稼働するというのも簡単になりました。
ですが、 SBC は Raspberry Pi だけではありません。
そして、 FreeBSD が動く SBC は他にもあります。
どんな SBC があって、FreeBSD が動いているかを紹介したいと思います。
FreeBSD が動いている SBC
FreeBSD が動く SBC は以下のページに記載されています。
https://www.freebsd.org/platforms/arm.html
https://wiki.freebsd.org/arm
動作が怪しそうなのもありますが、ひとまず以下のような SoC (System on a chip) が載って入れば動作しそうです。
- AllWinner
- Allwinner64
- imx6
- omap
- Raspberry Pi
- RockChip
これらの SoC が載っている SBC で、手元に入手出来たのが以下のものです。
少なくとも日本で入手できて FreeBSD が動いています。
- PINE64 (AllWinner)
- NanoPi Neo2 (AllWinner)
緑の物体は Raspberry Pi 4B で、大きさの比較用です
- NanoPi R2S (RockChip)
- NanoPi NEO3 (RockChip)
どれも安価で省電力、小型、 NIC を 2 つ持っているなど特徴的です。
また、 WiFi や Buletooth などの無線デバイスを積んでないので、海外から輸入しても電波法を気にすることなくすぐに無期限に利用できます。
動かしてみる
FreeBSD の配布サイトを見ると、一部の SBC 向けにインストール用のイメージが用意されています。
- RPI-B
- BANANAPI
- CUBIEBOARD
- CUBIEBOARD2
- CUBOX-HUMMINGBOARD
- GENERICSD
- RPI2
- WANDBOARD
- aarch64
- PINE64
- RPI3
aarch64 は VMware on Arm で動かすときに使います。
用意されているものは xz を展開して dd で SD card に書き込むだけです。
用意されていないものは Raspberry Pi 4 の用に一手間必要だったり、crochet を使って自分でイメージを作成します。
なお、Boot に必要な u-boot は ports や pkg に多数用意されていています。
u-boot-a13-olinuxino/ u-boot-duovero/ u-boot-olinuxino-lime/ u-boot-pandaboard/ u-boot-riotboard/ u-boot-rpi4/
u-boot-a64-olinuxino/ u-boot-firefly-rk3399/ u-boot-olinuxino-lime2/ u-boot-pcduino3/ u-boot-rock-pi-4/ u-boot-sinovoip-bpi-m3/
u-boot-bananapi/ u-boot-imx-serial-loader/ u-boot-olinuxino-lime2-emmc/ u-boot-pine-h64/ u-boot-rock64/ u-boot-sopine/
u-boot-bananapim2/ u-boot-master/ u-boot-orangepi-one/ u-boot-pine64/ u-boot-rockpro64/ u-boot-sopine-spi/
u-boot-beaglebone/ u-boot-nanopi-a64/ u-boot-orangepi-pc/ u-boot-pine64-lts/ u-boot-rpi/ u-boot-tools/
u-boot-chip/ u-boot-nanopi-m1plus/ u-boot-orangepi-pc-plus/ u-boot-pinebook/ u-boot-rpi-0-w/ u-boot-utilite/
u-boot-clearfog/ u-boot-nanopi-neo/ u-boot-orangepi-pc2/ u-boot-pinebookpro/ u-boot-rpi-arm64/ u-boot-wandboard/
u-boot-cubieboard/ u-boot-nanopi-neo-air/ u-boot-orangepi-plus-2e/ u-boot-qemu-arm/ u-boot-rpi2/
u-boot-cubieboard2/ u-boot-nanopi-neo2/ u-boot-orangepi-r1/ u-boot-qemu-arm64/ u-boot-rpi3/
u-boot-cubox-hummingboard/ u-boot-olimex-a20-som-evb/ u-boot-orangepi-zero/ u-boot-qemu-riscv64/ u-boot-rpi3-32/
PINE64 はイメージがあるので特に悩むことはありませんでした。
NanoPi Neo2 は crochet でイメージを作りました。
NanoPi R2S、 NanoPi NEO3 はこちら からいただいてきました。
なお、NanoPi R2S と NanoPi NEO3 は同じイメージで動作します。
同じ SoC であれば、違う SBC も動作するようです。
起動してしまえば、 make world してアップデートして Current を追っかけることが可能です。
動くといっても全部のデバイスが動くわけでもなかったり、性能が出ないもののあります。
NanoPi R2S の NIC は片方が動かないです。 (しばらく触れていないので、動いているかも知れません)
追っかけていくと動かなかったものが動いたりと、改善されることがあります。
ただし、メモリが少ないので他の x86 なマシンでクロスビルドする必要があります。
クロスビルドして出来たものを NFS でマウントしてインストールできるかなと考えていたのですが、これは難しいようです。 (一手間かければできそうな気がしていますが...)
終わりに
他にも、 SATA を積んでいたり、 PCI-E を持っていて拡張性に優れている個性的な SBC があります。
WiFi などの無線デバイスを積んでいると使いづらいですが、こういった SBC で小型で省電力な NAS を自作するのもおもしろいかもしれません。
最後に、動いている、ということで手元にある各 SBC の dmesg を最後に貼っておきます。
PINE64 と NanoPi Neo2 は IPv6 と WiFi AP の実験中なので /var/log/dmesg.yesterday の中身です。
NanoPi R2S と NanoPi NEO3 は同じ SD Card で起動しているのでホスト名が同じです。時計は合わせていないのでだいぶ過去になっています。
PINE64
Copyright (c) 1992-2019 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 12.1-RELEASE-p3 #0 f08b5f143(stable/20.1)-dirty: Sat Apr 18 10:16:49 JST 2020
root@freebsd-arm-build01:/armbuild/arm-release/obj/usr/src/arm64.aarch64/sys/GENERIC arm64
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
VT: init without driver.
KLD file umodem.ko is missing dependencies
Starting CPU 1 (1)
Starting CPU 2 (2)
Starting CPU 3 (3)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
random: unblocking device.
random: entropy device external interface
MAP 78f2b000 mode 2 pages 1
MAP 78f32000 mode 2 pages 1
MAP 7df50000 mode 2 pages 16
kbd0 at kbdmux0
ofwbus0:
clk_fixed0: on ofwbus0
clk_fixed1: on ofwbus0
simplebus0: on ofwbus0
rtc0: mem 0x1f00000-0x1f003ff irq 52,53 on simplebus0
rtc0: registered as a time-of-day clock, resolution 1.000000s
ccu_a64ng0: mem 0x1c20000-0x1c203ff on simplebus0
ccu_sun8i_r0: mem 0x1f01400-0x1f014ff on simplebus0
psci0: on ofwbus0
aw_sid0: mem 0x1c14000-0x1c143ff on simplebus0
iichb0: mem 0x1f03400-0x1f037ff irq 57 on simplebus0
iicbus0: on iichb0
gic0: mem 0x1c81000-0x1c81fff,0x1c82000-0x1c83fff,0x1c84000-0x1c85fff,0x1c86000-0x1c87fff irq 49 on simplebus0
gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 224
gpio0: mem 0x1c20800-0x1c20bff irq 23,24,25 on simplebus0
gpiobus0: on gpio0
iichb1: mem 0x1c2b000-0x1c2b3ff irq 37 on simplebus0
iicbus1: on iichb1
aw_nmi0: mem 0x1f00c00-0x1f00fff irq 54 on simplebus0
gpio1: mem 0x1f02c00-0x1f02fff irq 56 on simplebus0
gpiobus1: on gpio1
axp8xx_pmu0: at addr 0x746 irq 59 on iicbus0
gpiobus2: on axp8xx_pmu0
generic_timer0: 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
a10_timer0: mem 0x1c20c00-0x1c20c2b irq 8,9 on simplebus0
Timecounter "a10_timer timer0" frequency 24000000 Hz quality 2000
aw_syscon0: mem 0x1c00000-0x1c00fff on simplebus0
awusbphy0: mem 0x1c19400-0x1c19413,0x1c1a800-0x1c1a803,0x1c1b800-0x1c1b803 on simplebus0
cpulist0: on ofwbus0
cpu0: on cpulist0
cpufreq_dt0: on cpu0
cpu1: on cpulist0
cpu2: on cpulist0
cpu3: on cpulist0
aw_thermal0: mem 0x1c25000-0x1c250ff irq 10 on simplebus0
a31dmac0: mem 0x1c02000-0x1c02fff irq 11 on simplebus0
aw_mmc0: mem 0x1c0f000-0x1c0ffff irq 15 on simplebus0
mmc0: on aw_mmc0
ehci0: mem 0x1c1a000-0x1c1a0ff irq 19 on simplebus0
usbus0: EHCI version 1.0
usbus0 on ehci0
ohci0: mem 0x1c1a400-0x1c1a4ff irq 20 on simplebus0
usbus1 on ohci0
ehci1: mem 0x1c1b000-0x1c1b0ff irq 21 on simplebus0
usbus2: EHCI version 1.0
usbus2 on ehci1
ohci1: mem 0x1c1b400-0x1c1b4ff irq 22 on simplebus0
usbus3 on ohci1
gpioc0: on gpio0
uart0: <16750 or compatible> mem 0x1c28000-0x1c283ff irq 31 on simplebus0
uart0: console (115384,n,8,1)
iic0: on iicbus1
awg0: mem 0x1c30000-0x1c3ffff irq 41 on simplebus0
miibus0: on awg0
rgephy0: PHY 0 on miibus0
rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
rgephy1: PHY 1 on miibus0
rgephy1: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
awg0: Ethernet address: 02:ba:a1:59:f2:b3
gpioc1: on gpio1
gpioc2: on axp8xx_pmu0
iic1: on iicbus0
aw_wdog0: mem 0x1c20ca0-0x1c20cbf irq 58 on simplebus0
cryptosoft0:
Timecounters tick every 1.000 msec
usbus0: 480Mbps High Speed USB v2.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 480Mbps High Speed USB v2.0
usbus3: 12Mbps Full Speed USB v1.0
ugen0.1: at usbus0
uhub0: on usbus0
ugen1.1: at usbus1
uhub1: on usbus1
ugen3.1: at usbus3
uhub2: on usbus3
ugen2.1: at usbus2
uhub3: on usbus2
mmcsd0: 31GB at mmc0 50.0MHz/4bit/32768-block
Release APs...done
Trying to mount root from ufs:/dev/ufs/rootfs [rw,noatime]...
mmc0: CPU 0: ARM Cortex-A53 r0p4 affinity: 0
Instruction Set Attributes 0 =
Failed to set VCCQ for card at relative address 4660
Instruction Set Attributes 1 = <>
Processor Features 0 =
Processor Features 1 = <0>
Memory Model Features 0 = <4k Granule,64k Granule,S/NS Mem,MixedEndian,16bit ASID,1TB PA>
Memory Model Features 1 = <>
Memory Model Features 2 = <32b CCIDX,48b VA>
Debug Features 0 = <2 CTX Breakpoints,4 Watchpoints,6 Breakpoints,PMUv3,Debug v8>
Debug Features 1 = <0>
Auxiliary Features 0 = <0>
Auxiliary Features 1 = <0>
CPU 1: ARM Cortex-A53 r0p4 affinity: 1
CPU 2: ARM Cortex-A53 r0p4 affinity: 2
CPU 3: ARM Cortex-A53 r0p4 affinity: 3
uhub1: WARNING: / was not properly dismounted
1 port with 1 removable, self powered
uhub2: 1 port with 1 removable, self powered
uhub0: 1 port with 1 removable, self powered
uhub3: 1 port with 1 removable, self powered
ugen2.2: at usbus2
lo0: link state changed to UP
awg0: link state changed to DOWN
awg0: link state changed to UP
awg0.2000: link state changed to UP
awg0.2540: link state changed to UP
awg0.2100: link state changed to UP
awg0.30: link state changed to UP
axge0 on uhub3
axge0: on usbus2
miibus1: on axge0
rgephy2: 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: on axge0
ue0: Ethernet address: 34:95:db:2c:dc:9e
ue0: link state changed to DOWN
Security policy loaded: MAC/ntpd (mac_ntpd)
ue0: link state changed to UP
NanoPi Neo2
Copyright (c) 1992-2019 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 12.1-RELEASE-p3 #0 f08b5f143(stable/20.1)-dirty: Sun Apr 12 17:46:22 JST 2020
root@freebsd-arm-build01:/armbuild/crochet/work/obj/usr/src/arm64.aarch64/sys/GENERIC arm64
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
VT: init without driver.
Starting CPU 1 (1)
Starting CPU 2 (2)
Starting CPU 3 (3)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
random: unblocking device.
random: entropy device external interface
MAP 47ffe000 mode 2 pages 2
MAP 48005000 mode 2 pages 2
MAP 58f1d000 mode 2 pages 1
MAP 58f22000 mode 2 pages 1
MAP 5df49000 mode 2 pages 1
kbd0 at kbdmux0
ofwbus0:
ofw_clkbus0: on ofwbus0
clk_fixed0: on ofw_clkbus0
clk_fixed1: on ofw_clkbus0
clk_fixed2: on ofw_clkbus0
simplebus0: on ofwbus0
rtc0: mem 0x1f00000-0x1f00053 irq 40,41 on simplebus0
rtc0: registered as a time-of-day clock, resolution 1.000000s
regfix0: on ofwbus0
regfix1: on ofwbus0
regfix2: on ofwbus0
ccu_h3ng0: mem 0x1c20000-0x1c203ff on simplebus0
ccu_sun8i_r0: mem 0x1f01400-0x1f014ff on simplebus0
psci0: on ofwbus0
gic0: mem 0x1c81000-0x1c81fff,0x1c82000-0x1c83fff,0x1c84000-0x1c85fff,0x1c86000-0x1c87fff irq 38 on simplebus0
gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 224
gpio0: mem 0x1c20800-0x1c20bff irq 18,19,20 on simplebus0
gpiobus0: on gpio0
gpio1: mem 0x1f02c00-0x1f02fff irq 44 on simplebus0
gpiobus1: on gpio1
a10_timer0: mem 0x1c20c00-0x1c20c9f irq 21,22 on simplebus0
Timecounter "a10_timer timer0" frequency 24000000 Hz quality 2000
generic_timer0: irq 0,1,2,3 on ofwbus0
Timecounter "ARM MPCore Timecounter" frequency 24000000 Hz quality 1000
Event timer "ARM MPCore Eventtimer" frequency 24000000 Hz quality 1000
aw_syscon0: mem 0x1c00000-0x1c00fff on simplebus0
awusbphy0: mem 0x1c19400-0x1c1942b,0x1c1a800-0x1c1a803,0x1c1b800-0x1c1b803,0x1c1c800-0x1c1c803,0x1c1d800-0x1c1d803 on simplebus0
a31dmac0: mem 0x1c02000-0x1c02fff irq 4 on simplebus0
aw_mmc0: mem 0x1c0f000-0x1c0ffff irq 6 on simplebus0
mmc0: on aw_mmc0
ehci0: mem 0x1c1a000-0x1c1a0ff irq 10 on simplebus0
usbus0: EHCI version 1.0
usbus0 on ehci0
ohci0: mem 0x1c1a400-0x1c1a4ff irq 11 on simplebus0
usbus1 on ohci0
ehci1: mem 0x1c1d000-0x1c1d0ff irq 16 on simplebus0
usbus2: EHCI version 1.0
usbus2 on ehci1
ohci1: mem 0x1c1d400-0x1c1d4ff irq 17 on simplebus0
usbus3 on ohci1
gpioc0: on gpio0
awg0: mem 0x1c30000-0x1c3ffff irq 23 on simplebus0
miibus0: on awg0
rgephy0: PHY 0 on miibus0
rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
rgephy1: PHY 7 on miibus0
rgephy1: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
awg0: Ethernet address: 02:01:23:a2:45:fd
aw_wdog0: mem 0x1c20ca0-0x1c20cbf irq 26 on simplebus0
uart0: <16750 or compatible> mem 0x1c28000-0x1c283ff irq 31 on simplebus0
uart0: console (115384,n,8,1)
gpioc1: on gpio1
cpulist0: on ofwbus0
cpu0: on cpulist0
cpu1: on cpulist0
cpu2: on cpulist0
cpu3: on cpulist0
gpioled0: on ofwbus0
cryptosoft0:
Timecounters tick every 1.000 msec
usbus0: 480Mbps High Speed USB v2.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 480Mbps High Speed USB v2.0
usbus3: 12Mbps Full Speed USB v1.0
ugen0.1: at usbus0
uhub0: on usbus0
ugen1.1: at usbus1
uhub1: on usbus1
ugen2.1: at usbus2
uhub2: on usbus2
ugen3.1: at usbus3
uhub3: on usbus3
mmcsd0: 16GB at mmc0 50.0MHz/4bit/32768-block
Release APs...done
Trying to mount root from ufs:/dev/mmcsd0s2a [rw,noatime]...
mmc0: CPU 0: ARM Cortex-A53 r0p4 affinity: 0
Instruction Set Attributes 0 =
Failed to set VCCQ for card at relative address 43690
Instruction Set Attributes 1 = <>
Processor Features 0 =
Processor Features 1 = <0>
Memory Model Features 0 = <4k Granule,64k Granule,S/NS Mem,MixedEndian,16bit ASID,1TB PA>
Memory Model Features 1 = <>
Memory Model Features 2 = <32b CCIDX,48b VA>
Debug Features 0 = <2 CTX Breakpoints,4 Watchpoints,6 Breakpoints,PMUv3,Debug v8>
Debug Features 1 = <0>
Auxiliary Features 0 = <0>
Auxiliary Features 1 = <0>
CPU 1: ARM Cortex-A53 r0p4 affinity: 1
CPU 2: ARM Cortex-A53 r0p4 affinity: 2
CPU 3: ARM Cortex-A53 r0p4 affinity: 3
uhub1: 1 port with 1 removable, self powered
uhub3: 1 port with 1 removable, self powered
uhub0: 1 port with 1 removable, self powered
uhub2: 1 port with 1 removable, self powered
ugen2.2: at usbus2
rtwn0 on uhub2
rtwn0: <802.11ac WLAN Adapter > on usbus2
rtwn0: MAC/BB RTL8821AU, RF 6052 1T1R
ieee80211_load_module: load the wlan_amrr module by hand for now.
wlan0: Ethernet address: 50:c4:dd:88:b5:08
ieee80211_load_module: load the wlan_amrr module by hand for now.
wlan1: Ethernet address: 50:c4:dd:88:b5:08
bridge0: Ethernet address: 02:06:bb:3f:d8:00
bridge1: Ethernet address: 02:06:bb:3f:d8:01
awg0: changing name to 'uplink0'
lo0: link state changed to UP
uplink0: link state changed to DOWN
vlan0: changing name to 'clients'
vlan1: changing name to 'devnet'
vlan2: changing name to 'officenet'
vlan3: changing name to 'testnet01'
vlan4: changing name to 'testnet02'
uplink0: promiscuous mode enabled
bridge0: link state changed to DOWN
testnet01: promiscuous mode enabled
wlan0: promiscuous mode enabled
testnet02: promiscuous mode enabled
bridge1: link state changed to DOWN
wlan1: promiscuous mode enabled
uplink0: link state changed to UP
clients: link state changed to UP
devnet: link state changed to UP
testnet01: link state changed to UP
testnet02: link state changed to UP
officenet: link state changed to UP
bridge0: link state changed to UP
bridge1: link state changed to UP
Security policy loaded: MAC/ntpd (mac_ntpd)
NanoPi R2S
DDR version 1.13 20180428
ID:0x805 N
In
SRX
DDR4
786MHz
Bus Width=32 Col=10 Bank=4 Bank Group=2 Row=15 CS=1 Die Bus-Width=16 Size=1024MB
ddrconfig:14
OUT
Boot1 Release Time: Feb 2 2018 15:41:39, version: 2.46
ChipType = 0x11, 306
SdmmcInit=2 0
BootCapSize=0
UserCapSize=0MB
FwPartOffset=2000 , 0
SdmmcInit=0 0
BootCapSize=0
UserCapSize=29819MB
FwPartOffset=2000 , 0
StorageInit ok = 24576
Raw SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit ret = 0, SecureMode = 0
LoadTrustBL
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0xa4474
RunBL31 0x10000
NOTICE: BL31: v1.3(debug):f947c7e
NOTICE: BL31: Built : 19:25:16, Feb 6 2020
NOTICE: BL31:Rockchip release version: v1.3
INFO: ARM GICv2 driver initialized
INFO: Using rkfiq sec cpu_context!
INFO: boot cpu mask: 1
INFO: plat_rockchip_pmu_init: pd status 0xe
INFO: BL31: Initializing runtime services
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x200000
INFO: SPSR = 0x3c9
U-Boot 2017.09-armbian (Feb 06 2020 - 19:25:20 +0800)
Model: Pine64 Rock64
DRAM: 1022 MiB
MMC: rksdmmc@ff520000: 0, rksdmmc@ff500000: 1
SF: unrecognized JEDEC id bytes: ff, ff, ff
*** Warning - spi_flash_probe_bus_cs() failed, using default environment
In: serial@ff130000
Out: serial@ff130000
Err: serial@ff130000
Model: Pine64 Rock64
misc_init_r
cpuid=55524b55323630323300000000170b12
serial=47875c789916c82
boot mode 5242c300.
normal boot
Net: eth0: ethernet@ff540000
Hit any key to stop autoboot: 0
Card did not respond to voltage select!
mmc_init: -95, time 9
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
reading /dtb/rockchip/rk3328-rock64.dtb
51011 bytes read in 7 ms (6.9 MiB/s)
Found EFI removable media binary efi/boot/bootaa64.efi
reading efi/boot/bootaa64.efi
678800 bytes read in 34 ms (19 MiB/s)
## Starting EFI application at 02000000 ...
Card did not respond to voltage select!
mmc_init: -95, time 9
Scanning disk rksdmmc@ff520000.blk...
MMC: block number 0x1 exceeds max(0x0)
MMC: block number 0x1 exceeds max(0x0)
MMC: block number 0x44 exceeds max(0x0)
Scanning disk rksdmmc@ff500000.blk...
Found 2 disks
Consoles: EFI console
Reading loader env vars from /efi/freebsd/loader.env
Setting currdev to disk0p0:
FreeBSD/arm64 EFI loader, Revision 1.1
(Thu Jan 23 06:13:31 UTC 2020 root@releng1.nyi.freebsd.org)
Command line arguments: loader.efi
Image base: 0x2000000
EFI version: 2.05
EFI Firmware: Das U-boot (rev 0.00)
Console: efi (0x1000)
Load Path: \efi\boot\bootaa64.efi
Load Device: UNKNOWN(0001,0004)
Trying ESP: UNKNOWN(0001,0004)
Setting currdev to disk0p0:
Loading /boot/defaults/loader.conf
Loading /boot/defaults/loader.conf
Loading /boot/device.hints
Loading /boot/loader.conf
Loading /boot/loader.conf.local
Loading kernel...
/boot/kernel/kernel text=0x2a8 text=0x6da1c8 text=0x1e868c data=0x196a58 data=0x0+0x3a370e syms=[0x8+0x1647c0+0x8+0x1577c9]
Loading configured modules...
/boot/kernel/umodem.ko text=0x2120 text=0x1390 data=0x6e0+0x10 syms=[0x8+0xf48+0x8+0xb6e]
/boot/entropy size=0x1000
/etc/hostid size=0x25
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
Using DTB provided by EFI at 0x8200000.
Loading DTB overlays: 'rk3328-dwc3'
/boot/dtb/overlays/rk3328-dwc3.dtbo size=0x501
applying DTB overlay '/boot/dtb/overlays/rk3328-dwc3.dtbo'
---<>---
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2020 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 13.0-CURRENT #1 r364455: Sat Aug 22 11:50:19 JST 2020
root@freebsd-arm-build01:/armbuild/obj/NanoPiR2S/armbuild/src/current/arm64.aarch64/sys/GENERIC arm64
FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-rc1-47-gff47911ddfc)
WARNING: WITNESS option enabled, expect reduced performance.
VT: init without driver.
module firmware already present!
KLD file umodem.ko is missing dependencies
real memory = 1071603712 (1021 MB)
avail memory = 1021460480 (974 MB)
Starting CPU 1 (1)
Starting CPU 2 (2)
Starting CPU 3 (3)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
random: unblocking device.
random: entropy device external interface
MAP 3cefc000 mode 2 pages 1
MAP 3ffa4000 mode 2 pages 1
WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD 13.0.
kbd0 at kbdmux0
WARNING: Device "openfirm" is Giant locked and may be deleted before FreeBSD 13.0.
ofwbus0:
simplebus0: on ofwbus0
clk_fixed0: on ofwbus0
rk_grf0: mem 0xff100000-0xff100fff on ofwbus0
rk3328_cru0: mem 0xff440000-0xff440fff on ofwbus0
Cannot set frequency for clk: aclk_bus_pre, error: 34
rk3328_cru0: Failed to set aclk_bus_pre to a frequency of 15000000
Cannot set frequency for clk: aclk_peri_pre, error: 34
rk3328_cru0: Failed to set aclk_peri_pre to a frequency of 15000000
clk_fixed1: on ofwbus0
regfix0: on ofwbus0
regfix1: on ofwbus0
regfix2: on ofwbus0
regfix3: on ofwbus0
simple_mfd0: mem 0xff450000-0xff45ffff on ofwbus0
psci0: on ofwbus0
gic0: mem 0xff811000-0xff811fff,0xff812000-0xff813fff,0xff814000-0xff815fff,0xff816000-0xff817fff irq 50 on ofwbus0
gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 160
rk_pinctrl0: on ofwbus0
gpio0: mem 0xff210000-0xff2100ff irq 53 on rk_pinctrl0
gpiobus0: on gpio0
gpio1: mem 0xff220000-0xff2200ff irq 54 on rk_pinctrl0
gpiobus1: on gpio1
gpio2: mem 0xff230000-0xff2300ff irq 55 on rk_pinctrl0
gpiobus2: on gpio2
gpio3: mem 0xff240000-0xff2400ff irq 56 on rk_pinctrl0
gpiobus3: on gpio3
rk_i2c0: mem 0xff160000-0xff160fff irq 16 on ofwbus0
iicbus0: on rk_i2c0
rk805_pmu0: at addr 0x30 irq 57 on iicbus0
generic_timer0: 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: mem 0xff250000-0xff2500ff irq 22 on ofwbus0
cpulist0: on ofwbus0
cpu0: on cpulist0
cpufreq_dt0: on cpu0
cpu1: on cpulist0
cpufreq_dt1: on cpu1
cpu2: on cpulist0
cpufreq_dt2: on cpu2
cpu3: on cpulist0
cpufreq_dt3: on cpu3
uart0: <16750 or compatible> mem 0xff130000-0xff1300ff irq 14 on ofwbus0
uart0: console (-1,n,8,1)
iic0: on iicbus0
rockchip_dwmmc0: mem 0xff500000-0xff503fff irq 42 on ofwbus0
rockchip_dwmmc0: Hardware version ID is 270a
mmc0: on rockchip_dwmmc0
rockchip_dwmmc1: mem 0xff520000-0xff523fff irq 44 on ofwbus0
rockchip_dwmmc1: Hardware version ID is 270a
mmc1: on rockchip_dwmmc1
dwc0: mem 0xff540000-0xff54ffff irq 45 on ofwbus0
miibus0: on dwc0
rgephy0: PHY 0 on miibus0
rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto
rgephy1: PHY 1 on miibus0
rgephy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto
dwc0: Ethernet address: 62:ae:61:05:36:b6
dwcotg0: mem 0xff580000-0xff5bffff irq 47 on ofwbus0
usbus1 on dwcotg0
ehci0: mem 0xff5c0000-0xff5cffff irq 48 on ofwbus0
usbus2: EHCI version 1.0
usbus2 on ehci0
ohci0: mem 0xff5d0000-0xff5dffff irq 49 on ofwbus0
usbus3 on ohci0
rk_dwc30: on ofwbus0
xhci0: mem 0xff600000-0xff6fffff irq 58 on rk_dwc30
xhci0: 64 bytes context size, 32-bit DMA
usbus4: trying to attach
usbus4 on xhci0
gpioc0: on gpio0
gpioc1: on gpio1
gpioc2: on gpio2
gpioc3: on gpio3
gpioled0: on ofwbus0
gpioled0: failed to map pin
gpioled0: failed to map pin
cryptosoft0:
Timecounters tick every 1.000 msec
usbus1: 480Mbps High Speed USB v2.0
usbus2: 480Mbps High Speed USB v2.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 5.0Gbps Super Speed USB v3.0
ugen3.1: at usbus3
uhub0 on usbus3
uhub0: on usbus3
ugen2.1: at usbus2
uhub1 on usbus2
uhub1: on usbus2
ugen1.1: at usbus1
uhub2 on usbus1
uhub2: on usbus1
ugen4.1: at usbus4
uhub3 on usbus4
uhub3: on usbus4
mmcsd0: 31GB at mmc0 50.0MHz/4bit/2048-block
mmc1: No compatible cards found on bus
Release APs...done
CPU 0: ARM Cortex-A53 r0p4 affinity: 0
Cache Type = <64 byte D-cacheline,64 byte I-cacheline,VIPT ICache,64 byte ERG,64 byte CWG>
Instruction Set Attributes 0 =
Instruction Set Attributes 1 = <>
Processor Features 0 =
Processor Features 1 = <>
Memory Model Features 0 =
Memory Model Features 1 = <8bit VMID>
Memory Model Features 2 = <32bit CCIDX,48bit VA>
Debug Features 0 = <2 CTX BKPTs,4 Watchpoints,6 Breakpoints,PMUv3,Debugv8>
Debug Features 1 = <>
Auxiliary Features 0 = <>
Auxiliary Features 1 = <>
CPU 1: ARM Cortex-A53 r0p4 affinity: 1
CPU 2: ARM Cortex-A53 r0p4 affinity: 2
CPU 3: ARM Cortex-A53 r0p4 affinity: 3
Trying to mount root from ufs:/dev/ufs/rootfs [rw]...
WARNING: WITNESS option enabled, expect reduced performance.
Warning: no time-of-day clock registered, system time will not be set accurately
uhub0: 1 port with 1 removable, self powered
uhub3: 2 ports with 2 removable, self powered
uhub2: 1 port with 1 removable, self powered
uhub1: 1 port with 1 removable, self powered
ugen4.2: at usbus4
Setting hostuuid: 38376631-3562-3132-6539-333930333200.
Setting hostid: 0x5ac82223.
No suitable dump device was found.
Starting file system checks:
/dev/ufs/rootfs: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ufs/rootfs: clean, 867849 free (87385 frags, 97558 blocks, 4.6% fragmentation)
Mounting local filesystems:.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/compat/pkg /usr/local/lib/compat/pkg
Setting hostname: FreeBSD-NanoPiR2S.
Setting up harvesting: [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED
Feeding entropy: .
lo0: link state changed to UP
dwc0: link state changed to DOWN
Starting Network: lo0 dwc0.
lo0: flags=8049 metric 0 mtu 16384
options=680003
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
groups: lo
nd6 options=21
dwc0: flags=8843 metric 0 mtu 1500
options=80008
ether 62:ae:61:05:36:b6
media: Ethernet autoselect (none)
status: no carrier
nd6 options=29
Starting devd.
Autoloading module: if_ure.ko
ure0 on uhub3
ure0: on usbus4
ure0: unknown version 0x0000
add host 127.0.0.1: gateway lo0 fib 0: route already in table
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
Waiting 30s for the default route interface: .....(no carrier)
Creating and/or trimming log files.
Starting syslogd.
Clearing /tmp (X related).
Updating motd:.
Mounting late filesystems:.
Updating /var/run/os-release done.
Performing sanity check on sshd configuration.
Starting sshd.
Starting cron.
Starting background file system checks in 60 seconds.
Wed Sep 9 18:07:27 JST 2020
FreeBSD/arm64 (FreeBSD-NanoPiR2S) (ttyu0)
login:
NanoPi NEO3
DDR version 1.13 20180428
ID:0x805 N
In
SRX
DDR4
786MHz
Bus Width=32 Col=10 Bank=4 Bank Group=2 Row=16 CS=1 Die Bus-Width=16 Size=2048MB
ddrconfig:14
OUT
Boot1 Release Time: Feb 2 2018 15:41:39, version: 2.46
ChipType = 0x11, 304
SdmmcInit=2 0
BootCapSize=0
UserCapSize=0MB
FwPartOffset=2000 , 0
SdmmcInit=0 0
BootCapSize=0
UserCapSize=29819MB
FwPartOffset=2000 , 0
StorageInit ok = 24594
Raw SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit ret = 0, SecureMode = 0
LoadTrustBL
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0xa4474
RunBL31 0x10000
NOTICE: BL31: v1.3(debug):f947c7e
NOTICE: BL31: Built : 19:25:16, Feb 6 2020
NOTICE: BL31:Rockchip release version: v1.3
INFO: ARM GICv2 driver initialized
INFO: Using rkfiq sec cpu_context!
INFO: boot cpu mask: 1
INFO: plat_rockchip_pmu_init: pd status 0xe
INFO: BL31: Initializing runtime services
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x200000
INFO: SPSR = 0x3c9
U-Boot 2017.09-armbian (Feb 06 2020 - 19:25:20 +0800)
Model: Pine64 Rock64
DRAM: 2 GiB
MMC: rksdmmc@ff520000: 0, rksdmmc@ff500000: 1
SF: unrecognized JEDEC id bytes: ff, ff, ff
*** Warning - spi_flash_probe_bus_cs() failed, using default environment
In: serial@ff130000
Out: serial@ff130000
Err: serial@ff130000
Model: Pine64 Rock64
misc_init_r
cpuid=55524b55323830343400000000152f20
serial=891f3224d6bd6ff
boot mode 5242c300.
normal boot
Net: eth0: ethernet@ff540000
Hit any key to stop autoboot: 0
Card did not respond to voltage select!
mmc_init: -95, time 9
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
reading /dtb/rockchip/rk3328-rock64.dtb
51011 bytes read in 7 ms (6.9 MiB/s)
Found EFI removable media binary efi/boot/bootaa64.efi
reading efi/boot/bootaa64.efi
678800 bytes read in 34 ms (19 MiB/s)
## Starting EFI application at 02000000 ...
Card did not respond to voltage select!
mmc_init: -95, time 9
Scanning disk rksdmmc@ff520000.blk...
MMC: block number 0x1 exceeds max(0x0)
MMC: block number 0x1 exceeds max(0x0)
MMC: block number 0x44 exceeds max(0x0)
Scanning disk rksdmmc@ff500000.blk...
Found 2 disks
Consoles: EFI console
Reading loader env vars from /efi/freebsd/loader.env
Setting currdev to disk0p0:
FreeBSD/arm64 EFI loader, Revision 1.1
(Thu Jan 23 06:13:31 UTC 2020 root@releng1.nyi.freebsd.org)
Command line arguments: loader.efi
Image base: 0x2000000
EFI version: 2.05
EFI Firmware: Das U-boot (rev 0.00)
Console: efi (0x1000)
Load Path: \efi\boot\bootaa64.efi
Load Device: UNKNOWN(0001,0004)
Trying ESP: UNKNOWN(0001,0004)
Setting currdev to disk0p0:
Loading /boot/defaults/loader.conf
Loading /boot/defaults/loader.conf
Loading /boot/device.hints
Loading /boot/loader.conf
Loading /boot/loader.conf.local
Loading kernel...
/boot/kernel/kernel text=0x2a8 text=0x6da1c8 text=0x1e868c data=0x196a58 data=0x0+0x3a370e syms=[0x8+0x1647c0+0x8+0x1577c9]
Loading configured modules...
/boot/kernel/umodem.ko text=0x2120 text=0x1390 data=0x6e0+0x10 syms=[0x8+0xf48+0x8+0xb6e]
/boot/entropy size=0x1000
/etc/hostid size=0x25
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
Using DTB provided by EFI at 0x8200000.
Loading DTB overlays: 'rk3328-dwc3'
/boot/dtb/overlays/rk3328-dwc3.dtbo size=0x501
applying DTB overlay '/boot/dtb/overlays/rk3328-dwc3.dtbo'
---<>---
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2020 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 13.0-CURRENT #1 r364455: Sat Aug 22 11:50:19 JST 2020
root@freebsd-arm-build01:/armbuild/obj/NanoPiR2S/armbuild/src/current/arm64.aarch64/sys/GENERIC arm64
FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-rc1-47-gff47911ddfc)
WARNING: WITNESS option enabled, expect reduced performance.
VT: init without driver.
module firmware already present!
KLD file umodem.ko is missing dependencies
real memory = 2145345536 (2045 MB)
avail memory = 2068484096 (1972 MB)
Starting CPU 1 (1)
Starting CPU 2 (2)
Starting CPU 3 (3)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
random: unblocking device.
random: entropy device external interface
MAP 7cefc000 mode 2 pages 1
MAP 7ffa4000 mode 2 pages 1
WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD 13.0.
kbd0 at kbdmux0
WARNING: Device "openfirm" is Giant locked and may be deleted before FreeBSD 13.0.
ofwbus0:
simplebus0: on ofwbus0
clk_fixed0: on ofwbus0
rk_grf0: mem 0xff100000-0xff100fff on ofwbus0
rk3328_cru0: mem 0xff440000-0xff440fff on ofwbus0
Cannot set frequency for clk: aclk_bus_pre, error: 34
rk3328_cru0: Failed to set aclk_bus_pre to a frequency of 15000000
Cannot set frequency for clk: aclk_peri_pre, error: 34
rk3328_cru0: Failed to set aclk_peri_pre to a frequency of 15000000
clk_fixed1: on ofwbus0
regfix0: on ofwbus0
regfix1: on ofwbus0
regfix2: on ofwbus0
regfix3: on ofwbus0
simple_mfd0: mem 0xff450000-0xff45ffff on ofwbus0
psci0: on ofwbus0
gic0: mem 0xff811000-0xff811fff,0xff812000-0xff813fff,0xff814000-0xff815fff,0xff816000-0xff817fff irq 50 on ofwbus0
gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 160
rk_pinctrl0: on ofwbus0
gpio0: mem 0xff210000-0xff2100ff irq 53 on rk_pinctrl0
gpiobus0: on gpio0
gpio1: mem 0xff220000-0xff2200ff irq 54 on rk_pinctrl0
gpiobus1: on gpio1
gpio2: mem 0xff230000-0xff2300ff irq 55 on rk_pinctrl0
gpiobus2: on gpio2
gpio3: mem 0xff240000-0xff2400ff irq 56 on rk_pinctrl0
gpiobus3: on gpio3
rk_i2c0: mem 0xff160000-0xff160fff irq 16 on ofwbus0
iicbus0: on rk_i2c0
rk805_pmu0: at addr 0x30 irq 57 on iicbus0
generic_timer0: 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: mem 0xff250000-0xff2500ff irq 22 on ofwbus0
cpulist0: on ofwbus0
cpu0: on cpulist0
cpufreq_dt0: on cpu0
cpu1: on cpulist0
cpufreq_dt1: on cpu1
cpu2: on cpulist0
cpufreq_dt2: on cpu2
cpu3: on cpulist0
cpufreq_dt3: on cpu3
uart0: <16750 or compatible> mem 0xff130000-0xff1300ff irq 14 on ofwbus0
uart0: console (-1,n,8,1)
iic0: on iicbus0
rockchip_dwmmc0: mem 0xff500000-0xff503fff irq 42 on ofwbus0
rockchip_dwmmc0: Hardware version ID is 270a
mmc0: on rockchip_dwmmc0
rockchip_dwmmc1: mem 0xff520000-0xff523fff irq 44 on ofwbus0
rockchip_dwmmc1: Hardware version ID is 270a
mmc1: on rockchip_dwmmc1
dwc0: mem 0xff540000-0xff54ffff irq 45 on ofwbus0
miibus0: on dwc0
rgephy0: PHY 0 on miibus0
rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto
rgephy1: PHY 1 on miibus0
rgephy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto
dwc0: Ethernet address: a6:79:18:45:5b:13
dwcotg0: mem 0xff580000-0xff5bffff irq 47 on ofwbus0
usbus1 on dwcotg0
ehci0: mem 0xff5c0000-0xff5cffff irq 48 on ofwbus0
usbus2: EHCI version 1.0
usbus2 on ehci0
ohci0: mem 0xff5d0000-0xff5dffff irq 49 on ofwbus0
usbus3 on ohci0
rk_dwc30: on ofwbus0
xhci0: mem 0xff600000-0xff6fffff irq 58 on rk_dwc30
xhci0: 64 bytes context size, 32-bit DMA
usbus4: trying to attach
usbus4 on xhci0
gpioc0: on gpio0
gpioc1: on gpio1
gpioc2: on gpio2
gpioc3: on gpio3
gpioled0: on ofwbus0
gpioled0: failed to map pin
gpioled0: failed to map pin
cryptosoft0:
Timecounters tick every 1.000 msec
usbus1: 480Mbps High Speed USB v2.0
usbus2: 480Mbps High Speed USB v2.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 5.0Gbps Super Speed USB v3.0
ugen3.1: at usbus3
uhub0 on usbus3
uhub0: on usbus3
ugen2.1: at usbus2
uhub1 on usbus2
uhub1: on usbus2
ugen1.1: at usbus1
uhub2 on usbus1
uhub2: on usbus1
ugen4.1: at usbus4
uhub3 on usbus4
uhub3: on usbus4
mmcsd0: 31GB at mmc0 50.0MHz/4bit/2048-block
mmc1: No compatible cards found on bus
Release APs...done
CPU 0: ARM Cortex-A53 r0p4 affinity: 0
Cache Type = <64 byte D-cacheline,64 byte I-cacheline,VIPT ICache,64 byte ERG,64 byte CWG>
Instruction Set Attributes 0 =
Instruction Set Attributes 1 = <>
Processor Features 0 =
Processor Features 1 = <>
Memory Model Features 0 =
Memory Model Features 1 = <8bit VMID>
Memory Model Features 2 = <32bit CCIDX,48bit VA>
Debug Features 0 = <2 CTX BKPTs,4 Watchpoints,6 Breakpoints,PMUv3,Debugv8>
Debug Features 1 = <>
Auxiliary Features 0 = <>
Auxiliary Features 1 = <>
CPU 1: ARM Cortex-A53 r0p4 affinity: 1
CPU 2: ARM Cortex-A53 r0p4 affinity: 2
CPU 3: ARM Cortex-A53 r0p4 affinity: 3
Trying to mount root from ufs:/dev/ufs/rootfs [rw]...
WARNING: WITNESS option enabled, expect reduced performance.
WARNING: / was not properly dismounted
uhub0: 1 port with 1 removable, self powered
Warning: no time-of-day clock registered, system time will not be set accurately
uhub3: 2 ports with 2 removable, self powered
uhub2: 1 port with 1 removable, self powered
uhub1: 1 port with 1 removable, self powered
Setting hostuuid: 38376631-3562-3132-6539-333930333200.
Setting hostid: 0x5ac82223.
No suitable dump device was found.
Starting file system checks:
/dev/ufs/rootfs: UNREF FILE I=2650 OWNER=root MODE=100600
/dev/ufs/rootfs: SIZE=0 MTIME=Sep 9 18:08 2020
(CLEARED)
/dev/ufs/rootfs: SUMMARY INFORMATION BAD (SALVAGED)
/dev/ufs/rootfs: BLK(S) MISSING IN BIT MAPS (SALVAGED)
/dev/ufs/rootfs: 176057 files, 1015378 used, 867853 free (87389 frags, 97558 blocks, 4.6% fragmentation)
Mounting local filesystems:.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/compat/pkg /usr/local/lib/compat/pkg
Setting hostname: FreeBSD-NanoPiR2S.
Setting up harvesting: [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED
Feeding entropy: .
lo0: link state changed to UP
dwc0: link state changed to DOWN
Starting Network: lo0 dwc0.
lo0: flags=8049 metric 0 mtu 16384
options=680003
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
groups: lo
nd6 options=21
dwc0: flags=8843 metric 0 mtu 1500
options=80008
ether a6:79:18:45:5b:13
media: Ethernet autoselect (none)
status: no carrier
nd6 options=29
Starting devd.
add host 127.0.0.1: gateway lo0 fib 0: route already in table
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
Waiting 30s for the default route interface: .....(no carrier)
Creating and/or trimming log files.
Starting syslogd.
Clearing /tmp (X related).
Updating motd:.
Mounting late filesystems:.
Updating /var/run/os-release done.
Performing sanity check on sshd configuration.
Starting sshd.
Starting cron.
Starting background file system checks in 60 seconds.
Wed Sep 9 18:09:24 JST 2020
FreeBSD/arm64 (FreeBSD-NanoPiR2S) (ttyu0)
login: