Created NanoPi R2S (Rockchip rk3328) 16MB image. Next: boot from SPI flash

This continues from here under a better title so people that need it can find it.

I'm working at getting the NanoPi R2S to boot off SPI-flash that one can solder at an empty spot on the board. First step was to get the image to fit the 16MB flash chip I'd like to use. (I could use a pin-compatible 64MB SPI flash chip, but the images made by the OpenWrt support for this hardware were even over 64MB.

The problem was that the two ext4 partitions were placed at 32MB and 64MB offset, and that the second stage of the bootloader by default is expected at 8MB, which would be smack in the middle of my 16MB.

So I modified the u-boot configuration to expect the second stage at 0x120 (in 512 byte blocks), or 144 kB. First and second stage now fit under 1 MB, and I made a new script to create the images that leaves a 1MB gap before the first partition but not between further partitions. This script also gzips the kernel and modifies the u-boot boot script to uncompress the kernel on load (going from 12 MB to 4.8 MB kernel).

Somewhat unrelated, I changed the serial speed to 115200 because I had trouble with multiple adapters doing 1.5Mbps reliably. I also added fdisk to busybox.

If you want to do this too, here is how you get my changes and how to make your image:

wget https://rop.nl/openwrt-nanopi-r2s/diffconfig
wget https://rop.nl/openwrt-nanopi-r2s/git_diff.patch
git clone https://git.openwrt.org/openwrt/openwrt.git openwrt
cd openwrt
git checkout v21.02.0-rc4
git apply ../git_diff.patch
cp ../diffconfig .config
./scripts/feeds update -a && ./scripts/feeds install -a
make -j $(nproc) defconfig download clean world

Tada:

root@OpenWrt:/# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 2.5M      2.5M         0 100% /rom
tmpfs                   495.6M     56.0K    495.6M   0% /tmp
/dev/loop0                5.6M     83.0K      5.0M   2% /overlay
overlayfs:/overlay        5.6M     83.0K      5.0M   2% /
tmpfs                   512.0K         0    512.0K   0% /dev

So now there's a method to make a useable image that's 16MB, not 67MB. Probably not that important if you boot from SD-card, because they're plenty large. (You can set the rootfs partition to any size you like, the resulting image will just be a little better optimized than before.)

Now I need to move to getting it to boot from SPI flash and making a truly read-only system. Not because we couldn't do a JFFS in mtd, but because I would like it to boot completely read-only. (I even plan to put a jumper on the R/_W pin on the flash chip.)

Maybe some of you can help on my journey forward:

  • First I need to put the SPI flash in the device tree files. I think I can just copy bits and pieces from existing SPI-flash configs elsewhere and make it work somehow. Since my plan is to have it all read-only, my plan is to keep the image as-is and just make the flash one big partition and not use mtd to make multiple partitions in it, so I can use the same image for SD and SPI-flash boot. Does that make sense? Can you have one big SPI-flash partition that has a partition table in it? The alternative is to do multiple mtd partitions, which would also work.

  • I cannot easily figure out how create an image that uses squashfs and then puts the overlay on tmpfs. mount_root, pivot, tons of scripts and binaries all over the place and after hours of staring at it I simply lost track. I'm sure it's easy once you know...

1 Like

Hi @rop I am also trying to boot openwrt on 16MB SPI Flash

I modified Makefile to fit Openwrt image on to SPI
with this changes i builded openwrt and resulting image is now 5.9MB
SPI Flash sysupgrade image support

for adding SPI node to DTB i copied SPI nodes from Orangepi R1 's SPI Flash Supported DTB
https://github.com/melsem/openwrt-19.07.7-spi/raw/master/sun8i-h2-plus-orangepi-r1-dtb
so SPI flash worked with this parts.(I don't know if this partitioning valid for R1 plus )
I am stucked this step and don't know how to implement uboot .

Any help would be appreciated

here is my thread

root@OpenWrt:/# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00080000 00010000 "uboot"
mtd1: 00010000 00010000 "dtb"
mtd2: 00f70000 00010000 "firmware"
root@OpenWrt:/# 

I have finally made NanoPi R2S to Boot from soldered SPI Winbond Flash. But if it boots well, reset command won't restart board unless you unplug power and plug it back.
I found that as soon as BL31 starts executing the problem happens.

Where to search for this probiem?

Looks like board is loosing connection to SPI Flash after it boots and unless it completly clears registers - it won't reboot.

1 Like

I will respond to myself - problem was SPI addressing space - BootROM doesnt talk to SPI using 4-byte addressing mode and after soldering more than 16Mbyte - it will no do warm-reboot because it leaves SPI in 4-byte.

To all of You trying to figure this whole process:

1 Like

I tried to make bootable SPI according to the description from the page given above in the box - MarcinWad/RK3328_Uboot_SPI
but I was only partially successful. I got as far as "Write kernel to the SPI image and boot it" and that's where I stopped. I have 'kernel.itb' and 'root.squashfs' but I can't upload them to the SPI flash.
I am using dhcp+tftpd on Debian. From the log it appears that my NanoPI R2S gets an IP address (192.168.0.10) from DHCP.
I am not getting the message
*** ERROR: `serverip' not set
Cannot autoload with TFTPGET

Can anyone help me in getting the NanoPi R2S to boot from SPI flash ?


Below there is log from booting my NanoPi R2S

U-Boot TPL 2023.01-gf58885d002-dirty (Jun 25 2023 - 15:15:12)
DDR4, 333MHz
BW=32 Col=10 Bk=4 BG=2 CS0 Row=15 CS=1 Die BW=16 Size=1024MB
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2023.01-gf58885d002-dirty (Jun 25 2023 - 15:15:12 +0200)
Trying to boot from SPI
NOTICE:  BL31: v2.9(release):v2.9.0-dirty
NOTICE:  BL31: Built : 14:48:31, Jun 25 2023
NOTICE:  BL31:Rockchip release version: v1.2


U-Boot 2023.01-gf58885d002-dirty (Jun 25 2023 - 15:15:48 +0200)

Model: FriendlyElec NanoPi R2S
DRAM:  1 GiB (effective 1022 MiB)
PMIC:  RK8050 (on=0x40, off=0x01)
Core:  232 devices, 24 uclasses, devicetree: separate
MMC:   mmc@ff500000: 1
Loading Environment from MMC... Card did not respond to voltage select! : -110
*** Warning - No block device, using default environment

Loading Environment from SPIFlash... SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

In:    serial@ff130000
Out:   serial@ff130000
Err:   serial@ff130000
Model: FriendlyElec NanoPi R2S
Net:   eth0: ethernet@ff540000
Hit any key to stop autoboot:  2  1  0
Card did not respond to voltage select! : -110
MMC Device 0 not found
no mmc device at slot 0
starting USB...
Bus usb@ff5c0000: ehci_generic usb@ff5c0000: Failed to get clocks (ret=-19)
Port not available.
Bus usb@ff5d0000: USB OHCI 1.0
Bus usb@ff580000: USB DWC2
scanning bus usb@ff5d0000 for devices... 1 USB Device(s) found
scanning bus usb@ff580000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Device 0: unknown device
ethernet@ff540000 Waiting for PHY auto negotiation to complete......... done
Speed: 1000, full duplex
BOOTP broadcast 1
DHCP client bound to address 192.168.0.10 (1 ms)
*** ERROR: `serverip' not set
Cannot autoload with TFTPGET
missing environment variable: pxeuuid
Retrieving file: pxelinux.cfg/01-da-25-4c-60-80-e4
Speed: 1000, full duplex
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/C0A8000A
Speed: 1000, full duplex
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/C0A8000
Speed: 1000, full duplex
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/C0A800
Speed: 1000, full duplex
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/C0A80
Speed: 1000, full duplex
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/C0A8
Speed: 1000, full duplex
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/C0A
Speed: 1000, full duplex
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/C0
Speed: 1000, full duplex
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/C
Speed: 1000, full duplex
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/default-arm-rk3328-evb_rk3328
Speed: 1000, full duplex
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/default-arm-rk3328
Speed: 1000, full duplex
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/default-arm
Speed: 1000, full duplex
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/default
Speed: 1000, full duplex
*** ERROR: `serverip' not set
Config file not found
Speed: 1000, full duplex
BOOTP broadcast 1
DHCP client bound to address 192.168.0.10 (0 ms)
*** ERROR: `serverip' not set
Cannot autoload with TFTPGET
Speed: 1000, full duplex
BOOTP broadcast 1
DHCP client bound to address 192.168.0.10 (1 ms)
*** ERROR: `serverip' not set
Cannot autoload with TFTPGET
=>

Little correction.
After setting the serverip and netmask variables in u-boot
setenv serverip 192.168.0.100 - my dhcp+tftp server
setenv netmask 255.255.255.0
bootlog has changed a bit
Now is as bellow

U-Boot TPL 2023.01-gf58885d002-dirty (Jun 25 2023 - 15:15:12)
DDR4, 333MHz
BW=32 Col=10 Bk=4 BG=2 CS0 Row=15 CS=1 Die BW=16 Size=1024MB
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2023.01-gf58885d002-dirty (Jun 25 2023 - 15:15:12 +0200)
Trying to boot from SPI
NOTICE:  BL31: v2.9(release):v2.9.0-dirty
NOTICE:  BL31: Built : 14:48:31, Jun 25 2023
NOTICE:  BL31:Rockchip release version: v1.2


U-Boot 2023.01-gf58885d002-dirty (Jun 25 2023 - 15:15:48 +0200)

Model: FriendlyElec NanoPi R2S
DRAM:  1 GiB (effective 1022 MiB)
PMIC:  RK8050 (on=0x40, off=0x01)
Core:  232 devices, 24 uclasses, devicetree: separate
MMC:   mmc@ff500000: 1
Loading Environment from MMC... Card did not respond to voltage select! : -110
*** Warning - No block device, using default environment

Loading Environment from SPIFlash... SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
OK
In:    serial@ff130000
Out:   serial@ff130000
Err:   serial@ff130000
Model: FriendlyElec NanoPi R2S
Net:   eth0: ethernet@ff540000
Hit any key to stop autoboot:  2  1  0 
Card did not respond to voltage select! : -110
MMC Device 0 not found
no mmc device at slot 0
starting USB...
Bus usb@ff5c0000: ehci_generic usb@ff5c0000: Failed to get clocks (ret=-19)
Port not available.
Bus usb@ff5d0000: USB OHCI 1.0
Bus usb@ff580000: USB DWC2
scanning bus usb@ff5d0000 for devices... 1 USB Device(s) found
scanning bus usb@ff580000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Device 0: unknown device
ethernet@ff540000 Waiting for PHY auto negotiation to complete........ done
Speed: 1000, full duplex
BOOTP broadcast 1
DHCP client bound to address 192.168.0.10 (0 ms)
Using ethernet@ff540000 device
TFTP from server 192.168.0.100; our IP address is 192.168.0.10
Filename 'boot.scr.uimg'.
Load address: 0x800800
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
missing environment variable: pxeuuid
Retrieving file: pxelinux.cfg/01-da-25-4c-60-80-e4
Speed: 1000, full duplex
Using ethernet@ff540000 device
TFTP from server 192.168.0.100; our IP address is 192.168.0.10
Filename 'pxelinux.cfg/01-da-25-4c-60-80-e4'.
Load address: 0x600000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Retrieving file: pxelinux.cfg/C0A8000A
Speed: 1000, full duplex
Using ethernet@ff540000 device
TFTP from server 192.168.0.100; our IP address is 192.168.0.10
Filename 'pxelinux.cfg/C0A8000A'.
Load address: 0x600000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Retrieving file: pxelinux.cfg/C0A8000
Speed: 1000, full duplex
Using ethernet@ff540000 device
TFTP from server 192.168.0.100; our IP address is 192.168.0.10
Filename 'pxelinux.cfg/C0A8000'.
Load address: 0x600000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Retrieving file: pxelinux.cfg/C0A800
Speed: 1000, full duplex
Using ethernet@ff540000 device
TFTP from server 192.168.0.100; our IP address is 192.168.0.10
Filename 'pxelinux.cfg/C0A800'.
Load address: 0x600000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Retrieving file: pxelinux.cfg/C0A80
Speed: 1000, full duplex
Using ethernet@ff540000 device
TFTP from server 192.168.0.100; our IP address is 192.168.0.10
Filename 'pxelinux.cfg/C0A80'.
Load address: 0x600000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Retrieving file: pxelinux.cfg/C0A8
Speed: 1000, full duplex
Using ethernet@ff540000 device
TFTP from server 192.168.0.100; our IP address is 192.168.0.10
Filename 'pxelinux.cfg/C0A8'.
Load address: 0x600000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Retrieving file: pxelinux.cfg/C0A
Speed: 1000, full duplex
Using ethernet@ff540000 device
TFTP from server 192.168.0.100; our IP address is 192.168.0.10
Filename 'pxelinux.cfg/C0A'.
Load address: 0x600000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Retrieving file: pxelinux.cfg/C0
Speed: 1000, full duplex
Using ethernet@ff540000 device
TFTP from server 192.168.0.100; our IP address is 192.168.0.10
Filename 'pxelinux.cfg/C0'.
Load address: 0x600000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Retrieving file: pxelinux.cfg/C
Speed: 1000, full duplex
Using ethernet@ff540000 device
TFTP from server 192.168.0.100; our IP address is 192.168.0.10
Filename 'pxelinux.cfg/C'.
Load address: 0x600000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Retrieving file: pxelinux.cfg/default-arm-rk3328-evb_rk3328
Speed: 1000, full duplex
Using ethernet@ff540000 device
TFTP from server 192.168.0.100; our IP address is 192.168.0.10
Filename 'pxelinux.cfg/default-arm-rk3328-evb_rk3328'.
Load address: 0x600000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Retrieving file: pxelinux.cfg/default-arm-rk3328
Speed: 1000, full duplex
Using ethernet@ff540000 device
TFTP from server 192.168.0.100; our IP address is 192.168.0.10
Filename 'pxelinux.cfg/default-arm-rk3328'.
Load address: 0x600000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Retrieving file: pxelinux.cfg/default-arm
Speed: 1000, full duplex
Using ethernet@ff540000 device
TFTP from server 192.168.0.100; our IP address is 192.168.0.10
Filename 'pxelinux.cfg/default-arm'.
Load address: 0x600000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Retrieving file: pxelinux.cfg/default
Speed: 1000, full duplex
Using ethernet@ff540000 device
TFTP from server 192.168.0.100; our IP address is 192.168.0.10
Filename 'pxelinux.cfg/default'.
Load address: 0x600000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Config file not found
Speed: 1000, full duplex
BOOTP broadcast 1
DHCP client bound to address 192.168.0.10 (0 ms)
Using ethernet@ff540000 device
TFTP from server 192.168.0.100; our IP address is 192.168.0.10
Filename 'boot.scr.uimg'.
Load address: 0x500000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
Speed: 1000, full duplex
BOOTP broadcast 1
DHCP client bound to address 192.168.0.10 (1 ms)
Using ethernet@ff540000 device
TFTP from server 192.168.0.100; our IP address is 192.168.0.10
Filename 'boot.scr.uimg'.
Load address: 0x2080000
Loading: *
TFTP error: 'File not found' (1)
Not retrying...
=> 
=> 

Now I can load both kernel.itb and root.squashfs.
I set the variables as it is described in point 5 of the guide written by Spd666 but after reboot I get as in the log below.
What am I doing wrong, please help.

U-Boot SPL 2023.01-gf58885d002-dirty (Jun 25 2023 - 15:15:12 +0200)
Trying to boot from SPI
NOTICE:  BL31: v2.9(release):v2.9.0-dirty
NOTICE:  BL31: Built : 14:48:31, Jun 25 2023
NOTICE:  BL31:Rockchip release version: v1.2


U-Boot 2023.01-gf58885d002-dirty (Jun 25 2023 - 15:15:48 +0200)

Model: FriendlyElec NanoPi R2S
DRAM:  1 GiB (effective 1022 MiB)
PMIC:  RK8050 (on=0x40, off=0x01)
Core:  232 devices, 24 uclasses, devicetree: separate
MMC:   mmc@ff500000: 1
Loading Environment from MMC... Card did not respond to voltage select! : -110
*** Warning - No block device, using default environment

Loading Environment from SPIFlash... SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
OK
In:    serial@ff130000
Out:   serial@ff130000
Err:   serial@ff130000
Model: FriendlyElec NanoPi R2S
Net:   eth0: ethernet@ff540000
Hit any key to stop autoboot:  0
SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
device 0 offset 0x200000, size 0x500000
SF: 5242880 bytes @ 0x200000 Read: OK
## Loading kernel from FIT Image at 00400000 ...
Bad FIT kernel image format! (err=-22)
ERROR: can't get kernel image!
=>

What is the size of your kernel.itb?

Thank you for your response. To start with, I will try to write what I did and how I did it

  1. for compilation I used your kernel.config
  2. I took Image and root.squashfs files from $HOME/OPENWRT-21.02.7/build_dir/target-aarch64_generic_musl/linux-rockchip_armv8 directory
  3. I did a gzip -9 Image
  4. then converted your *.dts to *.dtb
    dtc -I dts -O dtb -o rk3328-nanopi-r2-rev03.dtb rk3328-nanopi-r2-rev03.dts
  5. I executed mkimage -f fit-image.its kernel.itb

And that's it

1526    - fit-image.its
5718243 - Image.gz
5797364 - kernel.itb
77329   - rk3328-nanopi-r2-rev03.dtb
86538   - rk3328-nanopi-r2-rev03.dts
3863650 - root.squashfs     

Okay,
First - I didnt test it using OpenWRT - so my advices may be incorrect.

Main problem is that in my layout - the size for kernel is max 0x500000 bytes
You see this in your log:

device 0 offset 0x200000, size 0x500000
SF: 5242880 bytes @ 0x200000 Read: OK

But your kernel is:

5797364 - kernel.itb

The problem here is that your kernel is bigger than space in flash that i prepared it for.
You need to change layout of Flash or make smaller kernel file :frowning:

You need to change layout if you cannot make smaller kernel to fit:

  1. Change defaults to make more space for kernel in Uboot
defaults:
mtdids  : nor0=w25q256
mtdparts: mtdparts=w25q256:0x200000(U-Boot),0x600000(Kernel),0x500000(RootFS),0x100000(Data)-(Unused)
  1. Flash kernel:
tftp 0x300000 kernel.itb
sf erase 0x200000 0x600000
sf write 0x300000 0x200000 $filesize

Flash rootfs:

tftp 0x300000 rootfs.squashfs
sf erase 0x800000 0x500000
sf write 0x300000 0x800000 $filesize

Fix Env settings:

setenv bootargs earlycon=uart8250,mmio32,0xff130000 console=ttyFIQ0 mtdparts=spi0.0:0x200000(U-Boot),0x600000(Kernel),0x500000(Rootfs),0x100000(Data),-(Unused)  rootfstype=squashfs root=/dev/mtdblock2
setenv bootcmd "sf probe; sf read 0x400000 0x200000 0x600000; bootm 0x400000"
saveenv

Then it should work. You need to recompile Uboot to make it work.

Where do I change the u-boot layout you write about in point 1 ?

I answered this question for myself.
In the u-boot's .config file, set the following

CONFIG_MTDIDS_DEFAULT="nor0=w25q256"
CONFIG_MTDPARTS_DEFAULT="w25q256:0x200000(U-Boot),0x600000(Kernel),0x500000(RootFS),0x100000(Data)-(Unused)"

and after compiling in u-boot two environment variables were set

mtdids=nor0=w25q256
and
mtdparts=w25q256:0x200000(U-Boot),0x600000(Kernel),0x500000(RootFS),0x100000(Data)-(Unused)

There is still some trouble booting from SPI flash but maybe anyone can help me overcome it.

SPI flash boot log

U-Boot TPL 2023.01-gf58885d002-dirty (Jul 12 2023 - 21:12:43)
DDR4, 333MHz
BW=32 Col=10 Bk=4 BG=2 CS0 Row=15 CS=1 Die BW=16 Size=1024MB
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2023.01-gf58885d002-dirty (Jul 12 2023 - 21:12:43 +0000)
Trying to boot from SPI
NOTICE:  BL31: v2.9(release):v2.9.0-dirty
NOTICE:  BL31: Built : 14:48:31, Jun 25 2023
NOTICE:  BL31:Rockchip release version: v1.2


U-Boot 2023.01-gf58885d002-dirty (Jul 12 2023 - 21:13:08 +0000)

Model: FriendlyElec NanoPi R2S
DRAM:  1 GiB (effective 1022 MiB)
PMIC:  RK8050 (on=0x40, off=0x01)
Core:  232 devices, 24 uclasses, devicetree: separate
MMC:   mmc@ff500000: 1
Loading Environment from MMC... Card did not respond to voltage select! : -110
*** Warning - No block device, using default environment

Loading Environment from SPIFlash... SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
OK
In:    serial@ff130000
Out:   serial@ff130000
Err:   serial@ff130000
Model: FriendlyElec NanoPi R2S
Net:   eth0: ethernet@ff540000
Hit any key to stop autoboot:  0
SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
device 0 offset 0x200000, size 0x600000
SF: 6291456 bytes @ 0x200000 Read: OK
## Loading kernel from FIT Image at 00400000 ...
   Using 'standard' configuration
   Trying 'kernel' kernel subimage
     Description:  Kernel
     Type:         Kernel Image
     Compression:  gzip compressed
     Data Start:   0x004000bc
     Data Size:    5718243 Bytes = 5.5 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x02008000
     Entry Point:  0x02008000
     Hash algo:    sha1
     Hash value:   2c01b446dc283992f8a43e5b006361782e437289
   Verifying Hash Integrity ... sha1+ OK
## Loading fdt from FIT Image at 00400000 ...
   Using 'standard' configuration
   Trying 'fdt' fdt subimage
     Description:  DTB
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x0097427c
     Data Size:    77329 Bytes = 75.5 KiB
     Architecture: AArch64
     Load Address: 0x33000000
     Hash algo:    sha1
     Hash value:   36c7495c3e181b3ff91d462795389facc3a55055
   Verifying Hash Integrity ... sha1+ OK
   Loading fdt from 0x0097427c to 0x33000000
   Booting using the fdt blob at 0x33000000
Working FDT set to 33000000
   Uncompressing Kernel Image
ERROR: reserving fdt memory region failed (addr=0 size=0 flags=0)
   Loading Device Tree to 000000003cf15000, end 000000003cf2ae10 ... OK
Working FDT set to 3cf15000

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.4.238 (openwrt@openwrt) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16847-f8282da11e)) #0 SMP PREEMPT Mon Apr 17 13:15:36 2023
[    0.000000] Machine model: FriendlyElec NanoPi NEO3S
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000ff130000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] OF: fdt: Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x0000000000000000, size 0 MiB
[    0.000000] cma: Reserved 8 MiB at 0x000000003f800000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 21 pages/cpu s47848 r8192 d29976 u86016
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 257544
[    0.000000] Kernel command line: earlycon=uart8250,mmio32,0xff130000 console=ttyFIQ0 mtdparts=spi0.0:0x200000(U-Boot),0x600000(Kernel),0x500000(Rootfs),0x100000(Data),-(Unused) rootfstype=squashfs root=/dev/mtdblock2
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1003352K/1046528K available (8702K kernel code, 668K rwdata, 1964K rodata, 1856K init, 955K bss, 34984K reserved, 8192K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001835] Console: colour dummy device 80x25
[    0.002300] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
[    0.003232] pid_max: default: 32768 minimum: 301
[    0.003907] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.004587] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.007953] ASID allocator initialised with 32768 entries
[    0.008637] rcu: Hierarchical SRCU implementation.
[    0.011274] smp: Bringing up secondary CPUs ...
[    0.012715] Detected VIPT I-cache on CPU1
[    0.012800] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.013929] Detected VIPT I-cache on CPU2
[    0.013993] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.015099] Detected VIPT I-cache on CPU3
[    0.015163] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.015339] smp: Brought up 1 node, 4 CPUs
[    0.018650] SMP: Total of 4 processors activated.
[    0.019084] CPU features: detected: 32-bit EL0 Support
[    0.019556] CPU features: detected: CRC32 instructions
[    0.035947] CPU: All CPU(s) started at EL2
[    0.036364] alternatives: patching kernel code
[    0.058011] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    0.058918] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.060215] pinctrl core: initialized pinctrl subsystem
[    0.062911] NET: Registered protocol family 16
[    0.067066] DMA: preallocated 256 KiB pool for atomic allocations
[    0.069008] cpuidle: using governor menu
[    0.069794] Serial: AMBA PL011 UART driver
[    0.123708] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.124330] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.124978] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.125588] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.129136] cryptd: max_cpu_qlen set to 1000
[    0.138956] sdmmc-regulator GPIO handle specifies active low - ignored
[    0.139659] reg-fixed-voltage sdmmc-regulator: Failed to register regulator: -517
[    0.141869] iommu: Default domain type: Translated
[    0.146661] SCSI subsystem initialized
[    0.147355] usbcore: registered new interface driver usbfs
[    0.147919] usbcore: registered new interface driver hub
[    0.148473] usbcore: registered new device driver usb
[    0.149944] pps_core: LinuxPPS API ver. 1 registered
[    0.150409] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.151256] PTP clock support registered
[    0.153462] clocksource: Switched to clocksource arch_sys_counter
[    0.154321] VFS: Disk quotas dquot_6.6.0
[    0.154783] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.155617] FS-Cache: Loaded
[    0.163265] thermal_sys: Registered thermal governor 'fair_share'
[    0.163272] thermal_sys: Registered thermal governor 'step_wise'
[    0.163883] thermal_sys: Registered thermal governor 'user_space'
[    0.164430] thermal_sys: Registered thermal governor 'power_allocator'
[    0.165742] NET: Registered protocol family 2
[    0.167033] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.169137] tcp_listen_portaddr_hash hash table entries: 512 (order: 2, 20480 bytes, linear)
[    0.169958] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.170880] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    0.171831] TCP: Hash tables configured (established 8192 bind 8192)
[    0.172670] UDP hash table entries: 512 (order: 3, 49152 bytes, linear)
[    0.173360] UDP-Lite hash table entries: 512 (order: 3, 49152 bytes, linear)
[    0.174511] NET: Registered protocol family 1
[    0.175933] RPC: Registered named UNIX socket transport module.
[    0.176483] RPC: Registered udp transport module.
[    0.176959] RPC: Registered tcp transport module.
[    0.177388] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.177982] PCI: CLS 0 bytes, default 64
[    0.185673] Initialise system trusted keyrings
[    0.186439] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    0.198659] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.199546] FS-Cache: Netfs 'nfs' registered for caching
[    0.200983] NFS: Registering the id_resolver key type
[    0.201497] Key type id_resolver registered
[    0.201882] Key type id_legacy registered
[    0.202270] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.202882] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.203661] jffs2: version 2.2 (NAND) (ZLIB) (RTIME) (c) 2001-2006 Red Hat, Inc.
[    0.205085] fuse: init (API version 7.31)
[    0.233499] Key type asymmetric registered
[    0.233892] Asymmetric key parser 'x509' registered
[    0.234413] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.235290] io scheduler mq-deadline registered
[    0.235708] io scheduler kyber registered
[    0.236334] io scheduler bfq registered
[    0.248185] dma-pl330 ff1f0000.dmac: Loaded driver for PL330 DMAC-241330
[    0.248811] dma-pl330 ff1f0000.dmac:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    0.253292] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.265206] brd: module loaded
[    0.280843] loop: module loaded
[    0.281148] mtip32xx Version 1.3.1
[    0.283870] platform physmap-flash.0: failed to claim resource 0: [mem 0x08000000-0x07ffffff]
[    0.297605] spi-nor spi0.0: w25q128 (16384 Kbytes)
[    0.298076] 5 cmdlinepart partitions found on MTD device spi0.0
[    0.298615] Creating 5 MTD partitions on "spi0.0":
[    0.299060] 0x000000000000-0x000000200000 : "U-Boot"
[    0.306348] 0x000000200000-0x000000800000 : "Kernel"
[    0.312973] 0x000000800000-0x000000d00000 : "Rootfs"
[    0.319645] 0x000000d00000-0x000000e00000 : "Data"
[    0.323788] 0x000000e00000-0x000001000000 : "Unused"
[    0.331313] rk_gmac-dwmac ff540000.ethernet: IRQ eth_wake_irq not found
[    0.331930] rk_gmac-dwmac ff540000.ethernet: IRQ eth_lpi not found
[    0.332692] rk_gmac-dwmac ff540000.ethernet: PTP uses main clock
[    0.333518] rk_gmac-dwmac ff540000.ethernet: clock input or output? (input).
[    0.334166] rk_gmac-dwmac ff540000.ethernet: TX delay(0x26).
[    0.334686] rk_gmac-dwmac ff540000.ethernet: RX delay(0x11).
[    0.335218] rk_gmac-dwmac ff540000.ethernet: integrated PHY? (no).
[    0.335874] rk_gmac-dwmac ff540000.ethernet: cannot get clock clk_mac_speed
[    0.336507] rk_gmac-dwmac ff540000.ethernet: clock input from PHY
[    0.342107] rk_gmac-dwmac ff540000.ethernet: init for RGMII
[    0.342984] rk_gmac-dwmac ff540000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    0.343665] rk_gmac-dwmac ff540000.ethernet:         DWMAC1000
[    0.344148] rk_gmac-dwmac ff540000.ethernet: DMA HW capability register supported
[    0.344827] rk_gmac-dwmac ff540000.ethernet: RX Checksum Offload Engine supported
[    0.345506] rk_gmac-dwmac ff540000.ethernet: COE Type 2
[    0.345985] rk_gmac-dwmac ff540000.ethernet: TX Checksum insertion supported
[    0.346626] rk_gmac-dwmac ff540000.ethernet: Wake-Up On Lan supported
[    0.347290] rk_gmac-dwmac ff540000.ethernet: Normal descriptors
[    0.347832] rk_gmac-dwmac ff540000.ethernet: Ring mode enabled
[    0.348367] rk_gmac-dwmac ff540000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    0.423606] PPP generic driver version 2.4.2
[    0.424276] usbcore: registered new interface driver asix
[    0.424834] usbcore: registered new interface driver ax88179_178a
[    0.425436] usbcore: registered new interface driver cdc_ether
[    0.426010] usbcore: registered new interface driver rndis_host
[    0.426612] usbcore: registered new interface driver qmi_wwan
[    0.428687] dwc2 ff580000.usb: ff580000.usb supply vusb_d not found, using dummy regulator
[    0.429580] dwc2 ff580000.usb: ff580000.usb supply vusb_a not found, using dummy regulator
[    0.443907] dwc2 ff580000.usb: DWC OTG Controller
[    0.444377] dwc2 ff580000.usb: new USB bus registered, assigned bus number 1
[    0.445076] dwc2 ff580000.usb: irq 43, io mem 0xff580000
[    0.445898] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    0.446653] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.447351] usb usb1: Product: DWC OTG Controller
[    0.447787] usb usb1: Manufacturer: Linux 5.4.238 dwc2_hsotg
[    0.448307] usb usb1: SerialNumber: ff580000.usb
[    0.449339] hub 1-0:1.0: USB hub found
[    0.449733] hub 1-0:1.0: 1 port detected
[    0.451159] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.451757] ehci-pci: EHCI PCI platform driver
[    0.452251] ehci-platform: EHCI generic platform driver
[    0.455435] ehci-platform ff5c0000.usb: EHCI Host Controller
[    0.455983] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 2
[    0.456947] ehci-platform ff5c0000.usb: irq 44, io mem 0xff5c0000
[    0.470126] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00
[    0.470963] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    0.471715] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.472372] usb usb2: Product: EHCI Host Controller
[    0.472821] usb usb2: Manufacturer: Linux 5.4.238 ehci_hcd
[    0.473325] usb usb2: SerialNumber: ff5c0000.usb
[    0.474405] hub 2-0:1.0: USB hub found
[    0.474796] hub 2-0:1.0: 1 port detected
[    0.475916] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.476527] ohci-platform: OHCI generic platform driver
[    0.477718] ohci-platform ff5d0000.usb: Generic Platform OHCI controller
[    0.478354] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus number 3
[    0.479311] ohci-platform ff5d0000.usb: irq 45, io mem 0xff5d0000
[    0.537751] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.04
[    0.538507] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.539165] usb usb3: Product: Generic Platform OHCI controller
[    0.539704] usb usb3: Manufacturer: Linux 5.4.238 ohci_hcd
[    0.540227] usb usb3: SerialNumber: ff5d0000.usb
[    0.541275] hub 3-0:1.0: USB hub found
[    0.541666] hub 3-0:1.0: 1 port detected
[    0.543860] usbcore: registered new interface driver cdc_acm
[    0.544381] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    0.545158] usbcore: registered new interface driver cdc_wdm
[    0.545815] usbcore: registered new interface driver usb-storage
[    0.547603] i2c /dev entries driver
[    0.551236] rk808 1-0018: chip id: 0x8050
[    0.560080] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    0.560752] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    0.561395] DCDC_REG1: mapping for mode 1 not defined
[    0.561873] DCDC_REG1: mapping for mode 2 not defined
[    0.564179] vdd_logic: supplied by vcc_sys
[    0.565524] DCDC_REG2: mapping for mode 1 not defined
[    0.566002] DCDC_REG2: mapping for mode 2 not defined
[    0.567790] vdd_arm: supplied by vcc_sys
[    0.568570] DCDC_REG3: mapping for mode 1 not defined
[    0.569048] DCDC_REG3: mapping for mode 2 not defined
[    0.569541] vcc_ddr: supplied by vcc_sys
[    0.570289] DCDC_REG4: mapping for mode 1 not defined
[    0.570764] DCDC_REG4: mapping for mode 2 not defined
[    0.572207] vcc_io: supplied by vcc_sys
[    0.574763] vdd_18: supplied by vcc_io
[    0.579090] vcc_18emmc: supplied by vcc_io
[    0.582186] vdd_11: Bringing 1000000uV into 1100000-1100000uV
[    0.585172] vdd_11: supplied by vcc_io
[    0.597117] rk808-rtc rk808-rtc: registered as rtc0
[    0.598742] IR NEC protocol handler initialized
[    0.603091] __power_supply_register: Expected proper parent device for 'test_ac'
[    0.604260] __power_supply_register: Expected proper parent device for 'test_battery'
[    0.605605] __power_supply_register: Expected proper parent device for 'test_usb'
[    0.608357] rockchip-thermal ff250000.tsadc: Missing tshut mode property, using default (cru)
[    0.609143] rockchip-thermal ff250000.tsadc: Missing tshut-polarity property, using default (low)
[    0.613780] energy_model: pd0: hertz/watts ratio non-monotonically decreasing: em_cap_state 1 >= em_cap_state0
[    0.617365] rockchip-pinctrl pinctrl: pin gpio3-8 already requested by ff190000.spi; cannot claim for sdio-pwrseq
[    0.618316] rockchip-pinctrl pinctrl: pin-104 (sdio-pwrseq) status -22
[    0.618920] rockchip-pinctrl pinctrl: could not request pin 104 (gpio3-8) from group wifi-enable-h  on device rockchip-pinctrl
[    0.619964] pwrseq_simple sdio-pwrseq: Error applying setting, reverse things back
[    0.620706] pwrseq_simple: probe of sdio-pwrseq failed with error -22
[    0.621744] sdhci: Secure Digital Host Controller Interface driver
[    0.622313] sdhci: Copyright(c) Pierre Ossman
[    0.622717] Synopsys Designware Multimedia Card Interface Driver
[    0.624226] dwmmc_rockchip ff500000.mmc: IDMAC supports 32-bit address mode.
[    0.624903] dwmmc_rockchip ff500000.mmc: Using internal DMA controller.
[    0.625517] dwmmc_rockchip ff500000.mmc: Version ID is 270a
[    0.626096] dwmmc_rockchip ff500000.mmc: DW MMC controller at irq 41,32 bit host data width,256 deep fifo
[    0.627653] rockchip-pinctrl pinctrl: pin gpio3-2 already requested by ff190000.spi; cannot claim for ff5f0000.mmc
[    0.628609] rockchip-pinctrl pinctrl: pin-98 (ff5f0000.mmc) status -22
[    0.629213] rockchip-pinctrl pinctrl: could not request pin 98 (gpio3-2) from group sdmmc0ext-clk  on device rockchip-pinctrl
[    0.630275] dwmmc_rockchip ff5f0000.mmc: Error applying setting, reverse things back
[    0.631004] dwmmc_rockchip: probe of ff5f0000.mmc failed with error -22
[    0.631763] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.634386] ledtrig-cpu: registered to indicate activity on CPUs
[    0.635392] hidraw: raw HID events driver (C) Jiri Kosina
[    0.636074] usbcore: registered new interface driver usbhid
[    0.636591] usbhid: USB HID core driver
[    0.638068] optee: probing for conduit method from DT.
[    0.638555] optee: api uid mismatch
[    0.639011] Initializing XFRM netlink socket
[    0.639449] NET: Registered protocol family 17
[    0.639964] l2tp_core: L2TP core driver, V2.0
[    0.640463] l2tp_ip: L2TP IP encapsulation support (L2TPv3)
[    0.641042] l2tp_netlink: L2TP netlink interface
[    0.641595] l2tp_debugfs: L2TP debugfs support
[    0.642061] Key type dns_resolver registered
[    0.642798] Loading compiled-in X.509 certificates
[    0.643335] Key type ._fscrypt registered
[    0.643765] Key type .fscrypt registered
[    0.669839] sdmmc-regulator GPIO handle specifies active low - ignored
[    0.670651] vcc_sd: supplied by vcc_io
[    0.672415] dwmmc_rockchip ff500000.mmc: IDMAC supports 32-bit address mode.
[    0.673103] dwmmc_rockchip ff500000.mmc: Using internal DMA controller.
[    0.673766] dwmmc_rockchip ff500000.mmc: Version ID is 270a
[    0.674322] dwmmc_rockchip ff500000.mmc: DW MMC controller at irq 41,32 bit host data width,256 deep fifo
[    0.693334] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.709244] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[    0.712166] rk808-rtc rk808-rtc: setting system clock to 2016-01-22T04:55:40 UTC (1453438540)

There's trouble with rootfs (root.squashfs).

MMC card boot log

U-Boot TPL 2021.01-OpenWrt-r16847-f8282da11e (Apr 17 2023 - 13:15:36)
DDR4, 333MHz
BW=32 Col=10 Bk=4 BG=2 CS0 Row=15 CS=1 Die BW=16 Size=1024MB
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2021.01-OpenWrt-r16847-f8282da11e (Apr 17 2023 - 13:15:36 +0000)
Trying to boot from MMC1
NOTICE:  BL31: v2.3():v2.3
NOTICE:  BL31: Built : 15:56:43, Apr 20 2020
NOTICE:  BL31:Rockchip release version: v1.2


U-Boot 2021.01-OpenWrt-r16847-f8282da11e (Apr 17 2023 - 13:15:36 +0000) OpenWrt

Model: FriendlyElec NanoPi R2S
DRAM:  1022 MiB
PMIC:  RK8050 (on=0x40, off=0x01)
MMC:   mmc@ff500000: 1
Loading Environment from MMC... MMC Device 0 not found
*** Warning - No MMC card found, using default environment

In:    serial@ff130000
Out:   serial@ff130000
Err:   serial@ff130000
Model: FriendlyElec NanoPi R2S
Net:   eth0: ethernet@ff540000
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...
Found U-Boot script /boot.scr
352 bytes read in 2 ms (171.9 KiB/s)
## Executing script at 00500000
35971 bytes read in 5 ms (6.9 MiB/s)
13594632 bytes read in 591 ms (21.9 MiB/s)
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
   Loading Device Tree to 000000003df27000, end 000000003df32c82 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.4.238 (openwrt@openwrt) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r16847-f8282da11e)) #0 SMP PREEMPT Mon Apr 17 13:15:36 2023
[    0.000000] Machine model: FriendlyElec NanoPi R2S
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000ff130000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] cma: Reserved 8 MiB at 0x000000003f800000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 21 pages/cpu s47848 r8192 d29976 u86016
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 257544
[    0.000000] Kernel command line: console=ttyS2,1500000 earlycon=uart8250,mmio32,0xff130000 root=PARTUUID=5452574f-02 rw rootwait
[    0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1003532K/1046528K available (8702K kernel code, 668K rwdata, 1964K rodata, 1856K init, 955K bss, 34804K reserved, 8192K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001415] Console: colour dummy device 80x25
[    0.001942] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000)
[    0.002876] pid_max: default: 32768 minimum: 301
[    0.003550] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.004232] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.007611] ASID allocator initialised with 32768 entries
[    0.008292] rcu: Hierarchical SRCU implementation.
[    0.010452] smp: Bringing up secondary CPUs ...
[    0.011809] Detected VIPT I-cache on CPU1
[    0.011895] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.013132] Detected VIPT I-cache on CPU2
[    0.013202] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.014312] Detected VIPT I-cache on CPU3
[    0.014374] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.014550] smp: Brought up 1 node, 4 CPUs
[    0.017821] SMP: Total of 4 processors activated.
[    0.018255] CPU features: detected: 32-bit EL0 Support
[    0.018727] CPU features: detected: CRC32 instructions
[    0.034924] CPU: All CPU(s) started at EL2
[    0.035339] alternatives: patching kernel code
[    0.048722] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    0.049679] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.050968] pinctrl core: initialized pinctrl subsystem
[    0.053692] NET: Registered protocol family 16
[    0.057868] DMA: preallocated 256 KiB pool for atomic allocations
[    0.059775] cpuidle: using governor menu
[    0.060574] Serial: AMBA PL011 UART driver
[    0.102192] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.102814] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.103460] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.104070] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.107577] cryptd: max_cpu_qlen set to 1000
[    0.115807] sdmmc-regulator GPIO handle specifies active low - ignored
[    0.116536] reg-fixed-voltage sdmmc-regulator: Failed to register regulator: -517
[    0.118767] iommu: Default domain type: Translated
[    0.120630] SCSI subsystem initialized
[    0.121365] usbcore: registered new interface driver usbfs
[    0.121923] usbcore: registered new interface driver hub
[    0.122469] usbcore: registered new device driver usb
[    0.123523] pps_core: LinuxPPS API ver. 1 registered
[    0.123980] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.124856] PTP clock support registered
[    0.127081] clocksource: Switched to clocksource arch_sys_counter
[    0.127951] VFS: Disk quotas dquot_6.6.0
[    0.128414] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.129202] FS-Cache: Loaded
[    0.137297] thermal_sys: Registered thermal governor 'fair_share'
[    0.137305] thermal_sys: Registered thermal governor 'step_wise'
[    0.137869] thermal_sys: Registered thermal governor 'user_space'
[    0.138417] thermal_sys: Registered thermal governor 'power_allocator'
[    0.139696] NET: Registered protocol family 2
[    0.140982] IP idents hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.142986] tcp_listen_portaddr_hash hash table entries: 512 (order: 2, 20480 bytes, linear)
[    0.143847] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.144660] TCP bind hash table entries: 8192 (order: 6, 262144 bytes, linear)
[    0.145615] TCP: Hash tables configured (established 8192 bind 8192)
[    0.146446] UDP hash table entries: 512 (order: 3, 49152 bytes, linear)
[    0.147189] UDP-Lite hash table entries: 512 (order: 3, 49152 bytes, linear)
[    0.148241] NET: Registered protocol family 1
[    0.149681] RPC: Registered named UNIX socket transport module.
[    0.150232] RPC: Registered udp transport module.
[    0.150709] RPC: Registered tcp transport module.
[    0.151141] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.151737] PCI: CLS 0 bytes, default 64
[    0.159359] Initialise system trusted keyrings
[    0.160159] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[    0.172421] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.173306] FS-Cache: Netfs 'nfs' registered for caching
[    0.174753] NFS: Registering the id_resolver key type
[    0.175264] Key type id_resolver registered
[    0.175649] Key type id_legacy registered
[    0.176037] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.176650] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    0.177405] jffs2: version 2.2 (NAND) (ZLIB) (RTIME) (c) 2001-2006 Red Hat, Inc.
[    0.178702] fuse: init (API version 7.31)
[    0.205500] Key type asymmetric registered
[    0.205898] Asymmetric key parser 'x509' registered
[    0.206417] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.207340] io scheduler mq-deadline registered
[    0.207762] io scheduler kyber registered
[    0.208396] io scheduler bfq registered
[    0.217292] dma-pl330 ff1f0000.dmac: Loaded driver for PL330 DMAC-241330
[    0.217919] dma-pl330 ff1f0000.dmac:         DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    0.222083] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.225296] printk: console [ttyS2] disabled
[    0.225840] ff130000.serial: ttyS2 at MMIO 0xff130000 (irq = 12, base_baud = 1500000) is a 16550A
[    0.226737] printk: console [ttyS2] enabled
[    0.226737] printk: console [ttyS2] enabled
[    0.227525] printk: bootconsole [uart8250] disabled
[    0.227525] printk: bootconsole [uart8250] disabled
[    0.237318] brd: module loaded
[    0.252836] loop: module loaded
[    0.253142] mtip32xx Version 1.3.1
[    0.255763] platform physmap-flash.0: failed to claim resource 0: [mem 0x08000000-0x07ffffff]
[    0.259055] rk_gmac-dwmac ff540000.ethernet: IRQ eth_wake_irq not found
[    0.259658] rk_gmac-dwmac ff540000.ethernet: IRQ eth_lpi not found
[    0.260442] rk_gmac-dwmac ff540000.ethernet: PTP uses main clock
[    0.261022] rk_gmac-dwmac ff540000.ethernet: phy regulator is not available yet, deferred probing
[    0.262525] PPP generic driver version 2.4.2
[    0.263151] usbcore: registered new interface driver asix
[    0.263745] usbcore: registered new interface driver ax88179_178a
[    0.264333] usbcore: registered new interface driver cdc_ether
[    0.264893] usbcore: registered new interface driver rndis_host
[    0.265490] usbcore: registered new interface driver qmi_wwan
[    0.267488] dwc3 ff600000.dwc3: Failed to get clk 'ref': -2
[    0.269171] dwc2 ff580000.usb: ff580000.usb supply vusb_d not found, using dummy regulator
[    0.270018] dwc2 ff580000.usb: ff580000.usb supply vusb_a not found, using dummy regulator
[    0.283796] dwc2 ff580000.usb: DWC OTG Controller
[    0.284265] dwc2 ff580000.usb: new USB bus registered, assigned bus number 1
[    0.284943] dwc2 ff580000.usb: irq 27, io mem 0xff580000
[    0.285747] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    0.286482] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.287150] usb usb1: Product: DWC OTG Controller
[    0.287576] usb usb1: Manufacturer: Linux 5.4.238 dwc2_hsotg
[    0.288083] usb usb1: SerialNumber: ff580000.usb
[    0.289093] hub 1-0:1.0: USB hub found
[    0.289475] hub 1-0:1.0: 1 port detected
[    0.290732] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.291315] ehci-pci: EHCI PCI platform driver
[    0.291800] ehci-platform: EHCI generic platform driver
[    0.294801] ehci-platform ff5c0000.usb: EHCI Host Controller
[    0.295341] ehci-platform ff5c0000.usb: new USB bus registered, assigned bus number 2
[    0.296231] ehci-platform ff5c0000.usb: irq 28, io mem 0xff5c0000
[    0.307078] ehci-platform ff5c0000.usb: USB 2.0 started, EHCI 1.00
[    0.307910] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    0.308643] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.309285] usb usb2: Product: EHCI Host Controller
[    0.309721] usb usb2: Manufacturer: Linux 5.4.238 ehci_hcd
[    0.310214] usb usb2: SerialNumber: ff5c0000.usb
[    0.311252] hub 2-0:1.0: USB hub found
[    0.311635] hub 2-0:1.0: 1 port detected
[    0.312679] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.313278] ohci-platform: OHCI generic platform driver
[    0.314263] ohci-platform ff5d0000.usb: Generic Platform OHCI controller
[    0.314882] ohci-platform ff5d0000.usb: new USB bus registered, assigned bus number 3
[    0.315823] ohci-platform ff5d0000.usb: irq 29, io mem 0xff5d0000
[    0.374689] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001, bcdDevice= 5.04
[    0.375423] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.376065] usb usb3: Product: Generic Platform OHCI controller
[    0.376595] usb usb3: Manufacturer: Linux 5.4.238 ohci_hcd
[    0.377107] usb usb3: SerialNumber: ff5d0000.usb
[    0.378149] hub 3-0:1.0: USB hub found
[    0.378534] hub 3-0:1.0: 1 port detected
[    0.380260] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    0.380849] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 4
[    0.381761] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    0.382684] xhci-hcd xhci-hcd.0.auto: irq 163, io mem 0xff600000
[    0.383584] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    0.384126] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 5
[    0.384820] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    0.385706] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[    0.386438] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.387121] usb usb4: Product: xHCI Host Controller
[    0.387559] usb usb4: Manufacturer: Linux 5.4.238 xhci-hcd
[    0.388051] usb usb4: SerialNumber: xhci-hcd.0.auto
[    0.389125] hub 4-0:1.0: USB hub found
[    0.389513] hub 4-0:1.0: 1 port detected
[    0.390524] usb usb5: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.391449] usb usb5: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
[    0.392181] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.392827] usb usb5: Product: xHCI Host Controller
[    0.393266] usb usb5: Manufacturer: Linux 5.4.238 xhci-hcd
[    0.393780] usb usb5: SerialNumber: xhci-hcd.0.auto
[    0.394769] hub 5-0:1.0: USB hub found
[    0.395151] hub 5-0:1.0: 1 port detected
[    0.396224] usbcore: registered new interface driver cdc_acm
[    0.396729] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    0.397540] usbcore: registered new interface driver cdc_wdm
[    0.398232] usbcore: registered new interface driver usb-storage
[    0.399541] i2c /dev entries driver
[    0.402420] rk808 1-0018: chip id: 0x8050
[    0.411405] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    0.411996] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    0.414521] vdd_log: supplied by vdd_5v
[    0.417200] vdd_arm: supplied by vdd_5v
[    0.417940] vcc_ddr: supplied by vdd_5v
[    0.419684] vcc_io_33: supplied by vdd_5v
[    0.422297] vcc_18: supplied by vcc_io_33
[    0.426704] vcc18_emmc: supplied by vcc_io_33
[    0.431223] vdd_10: supplied by vdd_5v
[    0.443266] rk808-rtc rk808-rtc: registered as rtc0
[    0.444066] i2c i2c-1: of_i2c: modalias failure on /i2c@ff160000/usb
[    0.444635] i2c i2c-1: Failed to create I2C device for /i2c@ff160000/usb
[    0.445846] IR NEC protocol handler initialized
[    0.449407] __power_supply_register: Expected proper parent device for 'test_ac'
[    0.450566] __power_supply_register: Expected proper parent device for 'test_battery'
[    0.451926] __power_supply_register: Expected proper parent device for 'test_usb'
[    0.457677] energy_model: pd0: hertz/watts ratio non-monotonically decreasing: em_cap_state 1 >= em_cap_state0
[    0.460912] sdhci: Secure Digital Host Controller Interface driver
[    0.461465] sdhci: Copyright(c) Pierre Ossman
[    0.461850] Synopsys Designware Multimedia Card Interface Driver
[    0.463013] dwmmc_rockchip ff500000.dwmmc: IDMAC supports 32-bit address mode.
[    0.463677] dwmmc_rockchip ff500000.dwmmc: Using internal DMA controller.
[    0.464342] dwmmc_rockchip ff500000.dwmmc: Version ID is 270a
[    0.464910] dwmmc_rockchip ff500000.dwmmc: DW MMC controller at irq 25,32 bit host data width,256 deep fifo
[    0.466223] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.468155] ledtrig-cpu: registered to indicate activity on CPUs
[    0.468926] hidraw: raw HID events driver (C) Jiri Kosina
[    0.469582] usbcore: registered new interface driver usbhid
[    0.470073] usbhid: USB HID core driver
[    0.471542] Initializing XFRM netlink socket
[    0.471965] NET: Registered protocol family 17
[    0.472463] l2tp_core: L2TP core driver, V2.0
[    0.472846] l2tp_ip: L2TP IP encapsulation support (L2TPv3)
[    0.473387] l2tp_netlink: L2TP netlink interface
[    0.473958] l2tp_debugfs: L2TP debugfs support
[    0.474393] Key type dns_resolver registered
[    0.475115] Loading compiled-in X.509 certificates
[    0.475629] Key type ._fscrypt registered
[    0.475984] Key type .fscrypt registered
[    0.501239] sdmmc-regulator GPIO handle specifies active low - ignored
[    0.501907] vcc_sd: supplied by vcc_io_33
[    0.503095] rk_gmac-dwmac ff540000.ethernet: IRQ eth_wake_irq not found
[    0.503755] rk_gmac-dwmac ff540000.ethernet: IRQ eth_lpi not found
[    0.504525] rk_gmac-dwmac ff540000.ethernet: PTP uses main clock
[    0.505299] rk_gmac-dwmac ff540000.ethernet: clock input or output? (input).
[    0.505935] rk_gmac-dwmac ff540000.ethernet: TX delay(0x24).
[    0.506445] rk_gmac-dwmac ff540000.ethernet: RX delay(0x18).
[    0.506968] rk_gmac-dwmac ff540000.ethernet: integrated PHY? (no).
[    0.507659] rk_gmac-dwmac ff540000.ethernet: cannot get clock clk_mac_speed
[    0.508276] rk_gmac-dwmac ff540000.ethernet: clock input from PHY
[    0.513836] rk_gmac-dwmac ff540000.ethernet: init for RGMII
[    0.514763] rk_gmac-dwmac ff540000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    0.515430] rk_gmac-dwmac ff540000.ethernet:         DWMAC1000
[    0.515897] rk_gmac-dwmac ff540000.ethernet: DMA HW capability register supported
[    0.516554] rk_gmac-dwmac ff540000.ethernet: RX Checksum Offload Engine supported
[    0.517228] rk_gmac-dwmac ff540000.ethernet: COE Type 2
[    0.517689] rk_gmac-dwmac ff540000.ethernet: TX Checksum insertion supported
[    0.518308] rk_gmac-dwmac ff540000.ethernet: Wake-Up On Lan supported
[    0.518923] rk_gmac-dwmac ff540000.ethernet: Normal descriptors
[    0.519446] rk_gmac-dwmac ff540000.ethernet: Ring mode enabled
[    0.519959] rk_gmac-dwmac ff540000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    0.590345] dwmmc_rockchip ff500000.dwmmc: IDMAC supports 32-bit address mode.
[    0.591087] dwmmc_rockchip ff500000.dwmmc: Using internal DMA controller.
[    0.591699] dwmmc_rockchip ff500000.dwmmc: Version ID is 270a
[    0.592262] dwmmc_rockchip ff500000.dwmmc: DW MMC controller at irq 25,32 bit host data width,256 deep fifo
[    0.611517] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.626519] debugfs: Directory 'power-domain' with parent 'pm_genpd' already present!
[    0.627319] debugfs: Directory 'power-domain' with parent 'pm_genpd' already present!
[    0.628898] input: keys as /devices/platform/keys/input/input0
[    0.632000] rk808-rtc rk808-rtc: setting system clock to 2016-01-22T05:33:12 UTC (1453440792)
[    0.634526] Waiting for root device PARTUUID=5452574f-02...
[    0.686706] mmc_host mmc0: Bus speed (slot 0) = 150000000Hz (slot req 150000000Hz, actual 150000000HZ div = 0)
[    0.698196] dwmmc_rockchip ff500000.dwmmc: Successfully tuned phase to 89
[    0.698838] mmc0: new ultra high speed SDR104 SDHC card at address 1234
[    0.701108] mmcblk0: mmc0:1234 SA32G 28.8 GiB
[    0.703887]  mmcblk0: p1 p2
[    0.719844] VFS: Mounted root (squashfs filesystem) readonly on device 179:2.
[    0.721940] Freeing unused kernel memory: 1856K
[    0.723832] usb 5-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[    0.741373] usb 5-1: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=31.00
[    0.742100] usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[    0.742732] usb 5-1: Product: USB 10/100/1000 LAN
[    0.743153] usb 5-1: Manufacturer: Realtek
[    0.743520] usb 5-1: SerialNumber: 000000000000
[    0.747156] Run /sbin/init as init process
[    0.917557] init: Console is alive
[    1.272806] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    1.310892] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    1.312832] init: - preinit -
[    1.623440] random: jshn: uninitialized urandom read (4 bytes read)
[    1.647878] random: jshn: uninitialized urandom read (4 bytes read)
[    1.699532] random: jshn: uninitialized urandom read (4 bytes read)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    5.889263] mount_root: rootdisk overlay filesystem has not been formatted yet
Error loading shared library /home/openwrt/OPENWRT-21.02.7/staging_dir/target-aarch64_generic_musl/root-rockchip/lib/libc.so: No such file or directory (needed by /usr/lib/libext2fs.so.2)
[    6.065966] mount_root: no usable overlay filesystem found, using tmpfs overlay
[    6.215100] EXT4-fs (mmcblk0p1): mounted filesystem without journal. Opts: (null)
[    6.226186] urandom-seed: Seed file not found (/etc/urandom.seed)
[    6.282653] procd: - early -
[    6.454608] random: jshn: uninitialized urandom read (4 bytes read)
Failed to connect to ubus
[    6.563968] random: jshn: uninitialized urandom read (4 bytes read)
[    6.645938] random: jshn: uninitialized urandom read (4 bytes read)
[    6.850754] procd: - ubus -
[    6.902716] procd: - init -
Please press Enter to activate this console.
[    7.111165] urngd: v1.0.2 started.
[    7.135645] random: crng init done
[    7.135966] random: 32 urandom warning(s) missed due to ratelimiting
[    7.175224] kmodloader: loading kernel modules from /etc/modules.d/*
[    7.228682] Bluetooth: Core ver 2.22
[    7.229150] NET: Registered protocol family 31
[    7.229545] Bluetooth: HCI device and connection manager initialized
[    7.230120] Bluetooth: HCI socket layer initialized
[    7.230690] Bluetooth: L2CAP socket layer initialized
[    7.231162] Bluetooth: SCO socket layer initialized
[    7.233263] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    7.233800] Bluetooth: BNEP filters: protocol multicast
[    7.234291] Bluetooth: BNEP socket layer initialized
[    7.238241] usbcore: registered new interface driver btusb
[    7.239067] compat: loading out-of-tree module taints kernel.
[    7.239860] Loading modules backported from Linux version v5.10.168-0-g707c48210a53
[    7.240624] Backport generated by backports.git v5.10.168-1-0-gd990acb2
[    7.242697] Bluetooth: HCI UART driver ver 2.3
[    7.243107] Bluetooth: HCI UART protocol H4 registered
[    7.243561] Bluetooth: HCI UART protocol BCSP registered
[    7.245714] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    7.246268] Bluetooth: HIDP socket layer initialized
[    7.252406] usbcore: registered new interface driver r8152
[    7.256078] Bluetooth: RFCOMM TTY layer initialized
[    7.256548] Bluetooth: RFCOMM socket layer initialized
[    7.257239] Bluetooth: RFCOMM ver 1.11
[    7.266997] xt_time: kernel timezone is -0000
[    7.426009] usb 5-1: reset SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[    7.462078] r8152 5-1:1.0 (unnamed net_device) (uninitialized): Invalid ether addr 00:00:00:00:00:00
[    7.462942] r8152 5-1:1.0 (unnamed net_device) (uninitialized): Random ether addr 6e:55:cb:de:02:fb
[    7.495660] r8152 5-1:1.0 eth1: v1.10.11
[    7.593045] rtl8821cu: unknown parameter 'rtw_drv_log_level' ignored
[    7.595257] usbcore: registered new interface driver rtl8821cu
[    7.606564] kmodloader: done loading kernel modules from /etc/modules.d/*



BusyBox v1.33.2 (2023-04-17 13:15:36 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt 21.02.7, r16847-f8282da11e
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------