U-Boot TPL 2021.07 (Jul 06 2021 - 19:20:19) Channel 0: LPDDR4, 50MHz BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB Channel 1: LPDDR4, 50MHz BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB 256B stride lpddr4_set_rate: change freq to 400000000 mhz 0, 1 lpddr4_set_rate: change freq to 800000000 mhz 1, 0 Trying to boot from BOOTROM Returning to boot ROM... U-Boot SPL 2021.07 (Jul 06 2021 - 19:20:19 +0000) Trying to boot from MMC1 U-Boot 2021.07 (Jul 06 2021 - 19:20:19 +0000) SoC: Rockchip rk3399 Reset cause: POR Model: FriendlyElec NanoPi R4S DRAM: 3.9 GiB PMIC: RK808 MMC: mmc@fe320000: 1 Loading Environment from MMC... MMC Device 0 not found *** Warning - No MMC card found, using default environment rk3399_vop vop@ff8f0000: failed to get ahb reset (ret=-524) rk3399_vop vop@ff8f0000: failed to get ahb reset (ret=-524) In: serial Out: serial Err: serial Model: FriendlyElec NanoPi R4S Net: Error: ethernet@fe300000 address not set. No ethernet found. Hit any key to stop autoboot: 0 MMC Device 0 not found no mmc device at slot 0 switch to partitions #0, OK mmc1 is current device Scanning mmc 1:1... libfdt fdt_check_header(): FDT_ERR_BADMAGIC Scanning disk mmc@fe320000.blk... ** Unrecognized filesystem type ** Found 3 disks No EFI system partition rk3399_vop vop@ff8f0000: failed to get ahb reset (ret=-524) mdio_register: non unique device name 'ethernet@fe300000' mdio_register: non unique device name 'ethernet@fe300000' BootOrder not defined EFI boot manager: Cannot load any image Found EFI removable media binary efi/boot/bootaa64.efi 124568 bytes read in 11 ms (10.8 MiB/s) libfdt fdt_check_header(): FDT_ERR_BADMAGIC Booting /efi\boot\bootaa64.efi >> FreeBSD EFI boot block Loader path: /boot/loader.efi Initializing modules: ZFS UFS Load Path: /efi\boot\bootaa64.efi Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(1,0x01,0,0x10003b,0x1ffe0) Probing 3 block devices...not supported not supported better done ZFS found no pools UFS found 1 partition Consoles: EFI console Reading loader env vars from /efi/freebsd/loader.env Setting currdev to disk0p2: FreeBSD/arm64 EFI loader, Revision 1.1 Command line arguments: loader.efi Image base: 0xecdcb000 EFI version: 2.80 EFI Firmware: Das U-Boot (rev 8225.1792) Console: comconsole (0) Load Device: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(2,0x01,0,0x120400,0x653000) Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(0)/HD(2,0x01,0,0x120400,0x653000) Setting currdev to disk0p2: \ 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=0x8a7b2c text=0x1e9934 data=0x1a31c8 data=0x0+0x37f000 syms=[0x8+0x117420+0x8+0x13cea2] Loading configured modules... can't find '/etc/hostid' can't find '/boot/entropy' Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... Using DTB provided by EFI at 0x80ed000. EFI framebuffer information: addr, size 0x0, 0x0 dimensions 0 x 0 stride 0 masks 0x00000000, 0x00000000, 0x00000000, 0x00000000 ---<>--- Copyright (c) 1992-2021 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-RELEASE #0: Wed Jul 7 03:54:06 UTC 2021 root@crochet.graz.bluelife.at:/root/dev/crochet/work/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) VT: init without driver. module firmware already present! real memory = 4158382080 (3965 MB) avail memory = 4033531904 (3846 MB) Starting CPU 1 (1) Starting CPU 2 (2) Starting CPU 3 (3) Starting CPU 4 (100) Starting CPU 5 (101) FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs 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 MAP f0f28000 mode 2 pages 4 MAP f0f2d000 mode 2 pages 4 MAP f3f50000 mode 2 pages 16 WARNING: Device "openfirm" is Giant locked and may be deleted before FreeBSD 14.0. WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD 14.0. kbd0 at kbdmux0 ofwbus0: clk_fixed0: on ofwbus0 simplebus0: on ofwbus0 rk_grf0: mem 0xff320000-0xff320fff on ofwbus0 rk3399_pmucru0: mem 0xff750000-0xff750fff on ofwbus0 rk3399_cru0: mem 0xff760000-0xff760fff on ofwbus0 rk_grf1: mem 0xff770000-0xff77ffff on ofwbus0 clk_fixed1: on ofwbus0 regfix0: on ofwbus0 regfix1: on ofwbus0 regfix2: on ofwbus0 regfix3: on ofwbus0 regfix4: on ofwbus0 regfix5: on ofwbus0 regfix6: on ofwbus0 regfix7: on ofwbus0 simple_mfd0: mem 0xff310000-0xff310fff on ofwbus0 psci0: on ofwbus0 gic0: mem 0xfee00000-0xfee0ffff,0xfef00000-0xfefbffff,0xfff00000-0xfff0ffff,0xfff10000-0xfff1ffff,0xfff20000-0xfff2ffff irq 18 on ofwbus0 its0: mem 0xfee20000-0xfee3ffff on gic0 rk_iodomain0: mem 0-0xff31ffff,0-0xfff on rk_grf0 rk_iodomain1: mem 0-0xff76ffff,0-0xffff on rk_grf1 rk_pinctrl0: on ofwbus0 gpio0: mem 0xff720000-0xff7200ff irq 71 on rk_pinctrl0 gpiobus0: on gpio0 gpio1: mem 0xff730000-0xff7300ff irq 72 on rk_pinctrl0 gpiobus1: on gpio1 gpio2: mem 0xff780000-0xff7800ff irq 73 on rk_pinctrl0 gpiobus2: on gpio2 gpio3: mem 0xff788000-0xff7880ff irq 74 on rk_pinctrl0 gpiobus3: on gpio3 gpio4: mem 0xff790000-0xff7900ff irq 75 on rk_pinctrl0 gpiobus4: on gpio4 rk_i2c0: mem 0xff110000-0xff110fff irq 20 on ofwbus0 iicbus0: on rk_i2c0 rk_i2c1: mem 0xff120000-0xff120fff irq 21 on ofwbus0 iicbus1: on rk_i2c1 rk_i2c2: mem 0xff160000-0xff160fff irq 25 on ofwbus0 iicbus2: on rk_i2c2 rk_i2c3: mem 0xff3c0000-0xff3c0fff irq 38 on ofwbus0 iicbus3: on rk_i2c3 syr8270: at addr 0x80 on iicbus3 rk_i2c4: mem 0xff3d0000-0xff3d0fff irq 39 on ofwbus0 iicbus4: on rk_i2c4 rk805_pmu0: at addr 0x36 irq 76 on iicbus3 generic_timer0: irq 2,3,4,5 on ofwbus0 Timecounter "ARM MPCore Timecounter" frequency 24000000 Hz quality 1000 Event timer "ARM MPCore Eventtimer" frequency 24000000 Hz quality 1000 rk_tsadc0: mem 0xff260000-0xff2600ff irq 35 on ofwbus0 rk_usb2phy0: mem 0-0xff76ffff,0-0xffff on rk_grf1 rk_usb2phy1: mem 0-0xff76ffff,0-0xffff on rk_grf1 rk_usb2phy1: host-port isn't okay rk_pcie_phy0: mem 0-0xff76ffff,0-0xffff on rk_grf1 rk_typec_phy0: mem 0xff7c0000-0xff7fffff on ofwbus0 rk_typec_phy1: mem 0xff800000-0xff83ffff 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 cpu4: on cpulist0 cpufreq_dt4: on cpu4 cpu5: on cpulist0 cpufreq_dt5: on cpu5 pmu0: irq 0 on ofwbus0 pmu1: irq 1 on ofwbus0 pcib0: mem 0xf8000000-0xf9ffffff,0xfd000000-0xfdffffff irq 6,7,8 on ofwbus0 pcib0: Gen1 link training timeouted: 0x00080001. pci0: on pcib0 pcib1: at device 0.0 on pci0 pcib0: failed to reserve resource for pcib1 pcib1: failed to allocate initial memory window: 0-0xfffff pci1: on pcib1 dwc0: mem 0xfe300000-0xfe30ffff irq 9 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:73:64:8c:9a:81 rockchip_dwmmc0: mem 0xfe320000-0xfe323fff irq 11 on ofwbus0 rockchip_dwmmc0: Hardware version ID is 270a mmc0: on rockchip_dwmmc0 ehci0: mem 0xfe380000-0xfe39ffff irq 13 on ofwbus0 usbus0: EHCI version 1.0 usbus0 on ehci0 ohci0: mem 0xfe3a0000-0xfe3bffff irq 14 on ofwbus0 usbus1 on ohci0 ehci1: mem 0xfe3c0000-0xfe3dffff irq 15 on ofwbus0 usbus2: EHCI version 1.0 usbus2 on ehci1 ohci1: mem 0xfe3e0000-0xfe3fffff irq 16 on ofwbus0 usbus3 on ohci1 rk_dwc30: on ofwbus0 xhci0: mem 0xfe800000-0xfe8fffff irq 78 on rk_dwc30 xhci0: 64 bytes context size, 32-bit DMA usbus4: trying to attach usbus4 on xhci0 rk_dwc31: on ofwbus0 xhci1: mem 0xfe900000-0xfe9fffff irq 79 on rk_dwc31 xhci1: 64 bytes context size, 32-bit DMA usbus5: trying to attach usbus5 on xhci1 iic0: on iicbus0 iic1: on iicbus1 iic2: on iicbus2 uart0: <16750 or compatible> mem 0xff180000-0xff1800ff irq 26 on ofwbus0 uart1: <16750 or compatible> mem 0xff1a0000-0xff1a00ff irq 28 on ofwbus0 uart1: console (1500000,n,8,1) iicbus3: at addr 0x82 iic3: on iicbus3 iicbus4: at addr 0x44 iic4: on iicbus4 pwm0: mem 0xff420000-0xff42000f on ofwbus0 pwmbus0: on pwm0 pwmc0: channel 0 on pwmbus0 pwm1: mem 0xff420010-0xff42001f on ofwbus0 pwmbus1: on pwm1 pwmc1: channel 0 on pwmbus1 pwm2: mem 0xff420020-0xff42002f on ofwbus0 pwmbus2: on pwm2 pwmc2: channel 0 on pwmbus2 gpioc0: on gpio0 gpioc1: on gpio1 gpioc2: on gpio2 gpioc3: on gpio3 gpioc4: on gpio4 gpioled0: on ofwbus0 cryptosoft0: armv8crypto0: 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 usbus4: 5.0Gbps Super Speed USB v3.0 usbus5: 5.0Gbps Super Speed USB v3.0 ugen2.1: at usbus2 uhub0 on usbus2 uhub0: on usbus2 ugen1.1: at usbus1 uhub1 on usbus1 uhub1: on usbus1 ugen5.1: at usbus5 uhub2 on usbus5 uhub2: on usbus5 ugen4.1: at usbus4 uhub3 on usbus4 uhub3: on usbus4 ugen3.1: at usbus3 uhub4 on usbus3 uhub4: on usbus3 ugen0.1: at usbus0 uhub5 on usbus0 uhub5: on usbus0 mmcsd0: 64GB at mmc0 50.0MHz/4bit/1021-block Release APs...done CPU 0: ARM Cortex-A53 r0p4 affinity: 0 0 Cache Type = <64 byte D-cacheline,64 byte I-cacheline,VIPT ICache,64 byte ERG,64 byte CWG> Trying to mount root from ufs:/dev/mmcsd0s2a [rw,noatime]... 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: 0 1 Cache Type = <64 byte D-cacheline,64 byte I-cacheline,VIPT ICache,64 byte ERG,64 byte CWG> Memory Model Features 0 = CPU 2: ARM Cortex-A53 r0p4 affinity: 0 2 Cache Type = <64 byte D-cacheline,64 byte I-cacheline,VIPT ICache,64 byte ERG,64 byte CWG> Memory Model Features 0 = CPU 3: ARM Cortex-A53 r0p4 affinity: 0 3 Cache Type = <64 byte D-cacheline,64 byte I-cacheline,VIPT ICache,64 byte ERG,64 byte CWG> Memory Model Features 0 = CPU 4: ARM Cortex-A72 r0p2 affinity: 1 0 Cache Type = <64 byte D-cacheline,64 byte I-cacheline,PIPT ICache,64 byte ERG,64 byte CWG> Memory Model Features 0 = CPU 5: ARM Cortex-A72 r0p2 affinity: 1 1 Cache Type = <64 byte D-cacheline,64 byte I-cacheline,PIPT ICache,64 byte ERG,64 byte CWG> Memory Model Features 0 = Warning: no time-of-day clock registered, system time will not be set accurately Dual Console: Serial Primary, Video Secondary uhub4: 1 port with 1 removable, self powered uhub1: 1 port with 1 removable, self powered uhub2: 2 ports with 2 removable, self powered uhub3: 2 ports with 2 removable, self powered Growing root partition to fill device random: randomdev_wait_until_seeded unblock wait uhub0: 1 port with 1 removable, self powered uhub5: 1 port with 1 removable, self powered random: randomdev_wait_until_seeded unblock wait random: unblocking device. GEOM_PART: mmcsd0s2 was automatically resized. Use `gpart commit mmcsd0s2` to save changes or `gpart undo mmcsd0s2` to revert them. mmcsd0s2 resized mmcsd0s2a resized gpart: arg0 'mmcsd0s2a': Invalid argument super-block backups (for fsck_ffs -b #) at: 7682880, 8963328, 10243776, 11524224, 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, 58900800, 60181248, 61461696, 62742144, 64022592, 65303040, 66583488, 67863936, 69144384, 70424832, 71705280, 72985728, 74266176, 75546624, 76827072, 78107520, 79387968, 80668416, 81948864, 83229312, 84509760, 85790208, 87070656, 88351104, 89631552, 90912000, 92192448, 93472896, 94753344, 96033792, 97314240, 98594688, 99875136, 101155584, 102436032, 103716480, 104996928, 106277376, 107557824, 108838272, 110118720, 111399168, 112679616, 113960064, 115240512, 116520960, 117801408, 119081856, 120362304, 121642752, 122923200 /etc/rc: WARNING: hostid: unable to figure out a UUID from DMI data, generating a new one Setting hostuuid: baa7b93d-ded8-11eb-a642-e1db7f3dd23d. Setting hostid: 0x042b82df. Starting file system checks: /dev/mmcsd0s2a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/mmcsd0s2a: clean, 14294395 free (203 frags, 1786774 blocks, 0.0% fragmentation) Mounting local filesystems:. ELF ldconfig path: /lib /usr/lib /usr/lib/compat Building /boot/kernel/linker.hints Setting hostname: nanopi-r4s. Setting up harvesting: [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED Feeding entropy: . Autoloading module: dwwdt.ko dwwdt0: mem 0xff848000-0xff8480ff irq 47 on ofwbus0 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=8000b ether 62:73:64:8c:9a:81 media: Ethernet autoselect (none) status: no carrier nd6 options=29 Starting devd. dwc0: link state changed to UP Autoloading module: dwwdt.ko Starting dhclient. DHCPDISCOVER on dwc0 to 255.255.255.255 port 67 interval 8 DHCPOFFER from 10.8.1.1 DHCPREQUEST on dwc0 to 255.255.255.255 port 67 DHCPACK from 10.8.1.1 bound to 10.8.1.158 -- renewal in 7200 seconds. 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 Updating /var/run/os-release done. Creating and/or trimming log files. Clearing /tmp (X related). Updating motd:. Starting syslogd. Mounting late filesystems:. Starting powerd. Generating RSA host key. 2048 SHA256:CANsi4yKbOwNv4V5rZ9LelCZ41RqGf+b9+ZNbe5ugmg root@nanopi-r4s (RSA) Generating ECDSA host key. 256 SHA256:aptmZsAszxRLl41fo1Df2VDDDV48U8sU1wVE6CyrUGU root@nanopi-r4s (ECDSA) Generating ED25519 host key. 256 SHA256:PijOwXyBoVm2Z3RNkDVlH9pi0o0xUMSkmWgecq2KDFA root@nanopi-r4s (ED25519) Performing sanity check on sshd configuration. Starting sshd. Starting cron. Starting background file system checks in 60 seconds. Wed Jul 7 04:06:58 UTC 2021 FreeBSD/arm64 (nanopi-r4s) (ttyu1) login: