NanoPi R4S rk3399 4G is a great new OpenWrt device

  • SoC – Rockchip RK3399 hexa-core processor with dual-Core Cortex-A72 up to 2.0GHz, quad-core Cortex-A53 up to 1.5GHz, Mali-T864 GPU with OpenGL ES1.1/2.0/3.0/3.1, OpenCL, DX11, and AFBC support, 4K VP9 and 4K 10-bit H265/H264 60fps video decoder
  • System Memory – 1GB DDR3 or 4GB LPDDR4
  • Storage – MicroSD card slot
  • Networking – 2x GbE(RTL8211E 1Gbps - RTL8111H 1Gbps), including one native Gigabit Ethernet, and one PCIe Gigabit Ethernet
  • USB – 2x USB 3.0 Type-A ports, USB 2.0 via 4-pin header
  • Expansion – 2×5-pin header with 1x SPI, 1x I2C
  • Debugging – 3-pin debug UART header
  • Misc- 1x power LED, and 3x user LEDs (SYS, LAN, WAN), user button, 2-pin RTC battery connector, 5V fan connector
  • Power Supply
    • 5V/3A via USB-C connector or pin header
    • RK808-D PMIC and independent DC/DC enabling DVFS, software power-down, RTC wake-up, system sleep mode
  • Dimensions – 66 x 66 mm (8-layer PCB)
  • Temperature Range – -20°C to 70°C

The detailed information for NanoPi R4S
R4S OpenWrt Origin image(update: 20201215-r15233)
R4S OpenWrt Origin image(update: 20201222-r15261)
R4S OpenWrt Origin latest image(update: 20210122-r15566)


1 Like

This would make an interesting little router.

What performance can we expect from something like this? Gbps NAT?

Any concerns native vs PCIe Gigabit Ethernet?

You'll have to wait for first practical experiences with this device, it's just not possible to estimate this in advance.

In general, assuming the SOC and its PCIe bridge is fast enough, 'any' PCIe card can do 1 GBit/s line speed (I'd be more concerned about the 'native' ethernet card of the SOC).

sad to see that they only make it with gigabit ethernet not 2.5gbps +

Adding support for the R4S to OpenWrt is going to be easy:

Thanks for the link. The 1GB RAM model is considerably more expensive than the R2S (US$45 vs US$22). I was guessing it would've been around the $40 mark.
I'm curious about how hot the R4S will run but it looks like another sleek metal case from Friendlyelec.
@mj82 I'll be up for testing in mid-Jan

Today, I got NanoPi R4S 4G, SF-Express very fast. :yum:


R4S and R2S

U-Boot dmesg

MR25=0x0
channel 0 training pass!
channel 1 training pass!
channel 0, cs 0, advanced training done
channel 0, cs 1, advanced training done
channel 1, cs 0, advanced training done
channel 1, cs 1, advanced training done
change freq to 856MHz 1,0
ch 0 ddrconfig = 0x101, ddrsize = 0x2020
ch 1 ddrconfig = 0x101, ddrsize = 0x2020
pmugrf_os_reg[2] = 0x3AA1FAA1, stride = 0xD
ddr_set_rate to 328MHZ
ddr_set_rate to 666MHZ
ddr_set_rate to 416MHZ, ctl_index 0
ddr_set_rate to 856MHZ, ctl_index 1
support 416 856 328 666 MHz, current 856MHz
OUT
Boot1 Release Time: May 29 2020 17:36:36, version: 1.26
CPUId = 0x0
ChipType = 0x10, 348
mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000
mmc: ERROR: Card did not respond to voltage select!
emmc reinit
mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000
mmc: ERROR: Card did not respond to voltage select!
emmc reinit
mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000
mmc: ERROR: Card did not respond to voltage select!
SdmmcInit=2 1
mmc0:cmd5,20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=15193MB
FwPartOffset=2000 , 0
run on sd0
StorageInit ok = 56081
SecureMode = 0
SecureInit read PBA: 0x4
SecureInit read PBA: 0x404
SecureInit read PBA: 0x804
SecureInit read PBA: 0xc04
SecureInit read PBA: 0x1004
SecureInit read PBA: 0x1404
SecureInit read PBA: 0x1804
SecureInit read PBA: 0x1c04
SecureInit ret = 0, SecureMode = 0
atags_set_bootdev: ret:(0)
GPT part:  0, name:            uboot, start:0x4000, size:0x2000
GPT part:  1, name:            trust, start:0x6000, size:0x2000
GPT part:  2, name:             misc, start:0x8000, size:0x2000
GPT part:  3, name:             dtbo, start:0xa000, size:0x2000
GPT part:  4, name:         resource, start:0xc000, size:0x8000
GPT part:  5, name:           kernel, start:0x14000, size:0x14000
GPT part:  6, name:             boot, start:0x28000, size:0x18000
GPT part:  7, name:           rootfs, start:0x40000, size:0x6ec000
GPT part:  8, name:         userdata, start:0x72c000, size:0x75b525
find part:uboot OK. first_lba:0x4000.
find part:trust OK. first_lba:0x6000.
Trust Addr:0x6000, 0x58334c42
No find bl30.bin
Load uboot, ReadLba = 4000
Load OK, addr=0x200000, size=0xf9148
RunBL31 0x40000 @ 233589 us
NOTICE:  BL31: v1.3(release):845ee93
NOTICE:  BL31: Built : 15:51:11, Jul 22 2020
NOTICE:  BL31: Rockchip release version: v1.1
INFO:    GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 0
INFO:    plat_rockchip_pmu_init(1196): pd status 3e
INFO:    BL31: Initializing runtime services
INFO:    BL31: Initializing BL32
INF [0x0] TEE-CORE:init_primary_helper:337: Initializing (1.1.0-256-gebb61ff5 #4 Wed Apr 22 01:34:02 UTC 2020 aarch64)

INF [0x0] TEE-CORE:init_primary_helper:338: Release version: 1.2

INF [0x0] TEE-CORE:init_teecore:83: teecore inits done
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2017.09-g9dc8b54599-200623 #root (Sep 28 2020 - 14:19:06 +0800)

Board: FriendlyELEC RK3399 board
PreSerial: 2
DRAM:  3.8 GiB
Sysmem: init
Relocation Offset: f5bca000, fdt: f3dbe418
Using default environment

no mmc device at slot 1
GUID Partition Table Header signature is wrong: 0x930D2342CB1C46BF != 0x5452415020494645
Repair the backup gpt table OK!
Found IDB in SDcard
dwmmc@fe320000: 1 (SD), sdhci@fe330000: 0
Bootdev(atags): mmc 1
MMC1: Legacy, 50Mhz
PartType: EFI
boot mode: None
Found DTB in resource part
DTB: rk3399-nanopi4-rev0a.dtb (108524)
HASH(c): OK
ANDROID: fdt overlay OK
I2c0 speed: 400000Hz
PMIC:  RK808
vdd_center 900000 uV
vdd_cpu_l 900000 uV
vccio_sd init 3000000 uV
vdd_log 900000 uV
I2c2 speed: 100000Hz
Rockchip UBOOT DRM driver version: v1.0.1
I2c7 speed: 100000Hz
AUX CH error happens: 2
AUX CH error happens: 2
AUX CH error happens: 2
AUX CH error happens: 2
AUX CH error happens: 2
AUX CH error happens: 2
AUX CH error happens: 2
AUX CH error happens: 2
AUX CH error happens: 2
failed to get edid
failed to find display timing
CLK: (uboot. arml: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
CLK: (uboot. armb: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
  aplll 816000 KHz
  apllb 816000 KHz
  dpll 856000 KHz
  cpll 24000 KHz
  gpll 800000 KHz
  npll 600000 KHz
  vpll 24000 KHz
  aclk_perihp 133333 KHz
  hclk_perihp 66666 KHz
  pclk_perihp 33333 KHz
  aclk_perilp0 266666 KHz
  hclk_perilp0 88888 KHz
  pclk_perilp0 44444 KHz
  hclk_perilp1 100000 KHz
  pclk_perilp1 50000 KHz

Net:   eth0: ethernet@fe300000
Hit key to stop autoboot('CTRL+C'):  0
ANDROID: reboot reason: "(none)"
TEEC: Waring: Could not find security partition
Not AVB images, AVB skip
** Invalid Android Image header **
Android image load failed
Android boot failed, error -1.

## Booting Rockchip Format Image
CLK: (uboot. arml: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
CLK: (uboot. armb: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
  aplll 816000 KHz
  apllb 816000 KHz
  dpll 856000 KHz
  cpll 24000 KHz
  gpll 800000 KHz
  npll 600000 KHz
  vpll 24000 KHz
  aclk_perihp 133333 KHz
  hclk_perihp 66666 KHz
  pclk_perihp 33333 KHz
  aclk_perilp0 266666 KHz
  hclk_perilp0 88888 KHz
  pclk_perilp0 44444 KHz
  hclk_perilp1 100000 KHz
  pclk_perilp1 50000 KHz

Net:   eth0: ethernet@fe300000
Hit key to stop autoboot('CTRL+C'):  0
ANDROID: reboot reason: "(none)"
TEEC: Waring: Could not find security partition
Not AVB images, AVB skip
** Invalid Android Image header **
Android image load failed
Android boot failed, error -1.

## Booting Rockchip Format Image
GPT part:  4, name:         resource, start:0xc000, size:0x8000
GPT part:  5, name:           kernel, start:0x14000, size:0x14000
GPT part:  6, name:             boot, start:0x28000, size:0x18000
GPT part:  7, name:           rootfs, start:0x40000, size:0x6ec000
GPT part:  8, name:         userdata, start:0x72c000, size:0x75b525
find part:uboot OK. first_lba:0x4000.
find part:trust OK. first_lba:0x6000.
Trust Addr:0x6000, 0x58334c42
No find bl30.bin
Load uboot, ReadLba = 4000
Load OK, addr=0x200000, size=0xf9148
RunBL31 0x40000 @ 233589 us
NOTICE:  BL31: v1.3(release):845ee93
NOTICE:  BL31: Built : 15:51:11, Jul 22 2020
NOTICE:  BL31: Rockchip release version: v1.1
INFO:    GICv3 with legacy support detected. ARM GICV3 driver initialized in EL3
INFO:    Using opteed sec cpu_context!
INFO:    boot cpu mask: 0
INFO:    plat_rockchip_pmu_init(1196): pd status 3e
INFO:    BL31: Initializing runtime services
INFO:    BL31: Initializing BL32
INF [0x0] TEE-CORE:init_primary_helper:337: Initializing (1.1.0-256-gebb61ff5 #4 Wed Apr 22 01:34:02 UTC 2020 aarch64)

INF [0x0] TEE-CORE:init_primary_helper:338: Release version: 1.2

INF [0x0] TEE-CORE:init_teecore:83: teecore inits done
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2017.09-g9dc8b54599-200623 #root (Sep 28 2020 - 14:19:06 +0800)

Board: FriendlyELEC RK3399 board
PreSerial: 2
DRAM:  3.8 GiB
Sysmem: init
Relocation Offset: f5bca000, fdt: f3dbe418
Using default environment

no mmc device at slot 1
GUID Partition Table Header signature is wrong: 0x930D2342CB1C46BF != 0x5452415020494645
Repair the backup gpt table OK!
Found IDB in SDcard
dwmmc@fe320000: 1 (SD), sdhci@fe330000: 0
Bootdev(atags): mmc 1
MMC1: Legacy, 50Mhz
PartType: EFI
boot mode: None
Found DTB in resource part
DTB: rk3399-nanopi4-rev0a.dtb (108524)
HASH(c): OK
ANDROID: fdt overlay OK
I2c0 speed: 400000Hz
PMIC:  RK808
vdd_center 900000 uV
vdd_cpu_l 900000 uV
vccio_sd init 3000000 uV
vdd_log 900000 uV
I2c2 speed: 100000Hz
Rockchip UBOOT DRM driver version: v1.0.1
I2c7 speed: 100000Hz
AUX CH error happens: 2
AUX CH error happens: 2
AUX CH error happens: 2
AUX CH error happens: 2
AUX CH error happens: 2
AUX CH error happens: 2
AUX CH error happens: 2
AUX CH error happens: 2
AUX CH error happens: 2
failed to get edid
failed to find display timing
CLK: (uboot. arml: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
CLK: (uboot. armb: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
  aplll 816000 KHz
  apllb 816000 KHz
  dpll 856000 KHz
  cpll 24000 KHz
  gpll 800000 KHz
  npll 600000 KHz
  vpll 24000 KHz
  aclk_perihp 133333 KHz
  hclk_perihp 66666 KHz
  pclk_perihp 33333 KHz
  aclk_perilp0 266666 KHz
  hclk_perilp0 88888 KHz
  pclk_perilp0 44444 KHz
  hclk_perilp1 100000 KHz
  pclk_perilp1 50000 KHz

Net:   eth0: ethernet@fe300000
Hit key to stop autoboot('CTRL+C'):  0
ANDROID: reboot reason: "(none)"
TEEC: Waring: Could not find security partition
Not AVB images, AVB skip
** Invalid Android Image header **
Android image load failed
Android boot failed, error -1.

## Booting Rockchip Format Image
fdt      @ 0x08300000 (0x0001aa87)
kernel   @ 0x00280000 (0x01d11808)
ramdisk  @ 0x0a200000 (0x007233c0)
Fdt Ramdisk skip relocation
## Flattened Device Tree blob at 08300000
   Booting using the fdt blob at 0x8300000
  'reserved-memory' ramoops@110000: addr=110000 size=f0000
   Using Device Tree in place at 0000000008300000, end 000000000831da86
Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
Adding bank: 0x0a200000 - 0xf8000000 (size: 0xede00000)
Total: 3548.173 ms
2 Likes

Nice, i would like to see some SQM and openvpn benchmarks, if you dont mind doing them :slight_smile:

Don't mind, It'd be my pleasure, please send me the SQM and OpenVPN benchmarks tutorial :slight_smile:

@xiaobo can you try this image in your R4S, I need to know if at least it boot .

Hi, @mj82 Starting kernel hanging.

U-Boot TPL 2020.07 (Dec 03 2020 - 07:21:21)
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
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 2020.07 (Dec 03 2020 - 07:21:21 +0000)
Trying to boot from MMC1


U-Boot 2020.07 (Dec 03 2020 - 07:21:21 +0000) OpenWrt

SoC: Rockchip rk3399
Reset cause: POR
Model: FriendlyElec NanoPi R4S
DRAM:  3.9 GiB
PMIC:  RK808
MMC:   mmc@fe310000: 2, mmc@fe320000: 1, sdhci@fe330000: 0
Loading Environment from MMC... Card did not respond to voltage select!
*** Warning - No block device, using default environment

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
Card did not respond to voltage select!
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot.scr
365 bytes read in 3 ms (118.2 KiB/s)
## Executing script at 00500000
55001 bytes read in 6 ms (8.7 MiB/s)
12572680 bytes read in 534 ms (22.5 MiB/s)
## Flattened Device Tree blob at 01f00000
   Booting using the fdt blob at 0x1f00000
   Loading Device Tree to 00000000f1f18000, end 00000000f1f286d8 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.4.80 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r15129+2-d346beb08c)) #0 SMP PREEMPT Thu Dec 3 07:21:21 2020
[    0.000000] Machine model: FriendlyElec NanoPi R4S
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000ff1a0000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] cma: Reserved 8 MiB at 0x00000000f7800000
[    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 s45912 r8192 d31912 u86016
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 999432
[    0.000000] Kernel command line: console=ttyS2,1500000 console=tty1 earlycon=uart8250,mmio32,0xff1a0000 root=PARTUUID=5452574f-02 rw rootwait
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 3959464K/4061184K available (7614K kernel code, 566K rwdata, 2372K rodata, 1664K init, 713K bss, 93528K reserved, 8192K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, 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=256 to nr_cpu_ids=6.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 256 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000
[    0.000000] ITS [mem 0xfee20000-0xfee3ffff]
[    0.000000] ITS@0x00000000fee20000: allocated 65536 Devices @f2080000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000000f2040000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000f2050000
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] }
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] }
[    0.000000] random: get_random_bytes called from start_kernel+0x29c/0x39c with crng_init=0
[    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.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001817] Console: colour dummy device 80x25
[    0.002246] printk: console [tty1] enabled
[    0.002649] printk: bootconsole [uart8250] disabled
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=6.
[    0.000000]  Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 256 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000
[    0.000000] ITS [mem 0xfee20000-0xfee3ffff]
[    0.000000] ITS@0x00000000fee20000: allocated 65536 Devices @f2080000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000000f2040000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000f2050000
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] }
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] }
[    0.000000] random: get_random_bytes called from start_kernel+0x29c/0x39c with crng_init=0
[    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.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.001817] Console: colour dummy device 80x25
[    0.002246] printk: console [tty1] enabled
[    0.002649] printk: bootconsole [uart8250] disabled

Thanks @xiaobo , I have to wait 3 to 4 weeks for the R4S to arrives and do more tests, I added the NanoPi R4S to my sources, maybe you can make some progress .

1 Like

The kernel isn't actually hanged. Serial console output is changed, and hence there is no more output.

mmc bootscript needs some adjustments.

@mj82

In line 3, here: https://github.com/openwrt/openwrt/blob/33c27ccf4aef677d28246d30e815050ead68b434/target/linux/rockchip/image/mmc.bootscript#L3

change: console=ttyS2,1500000 console=tty1 earlycon=uart8250,mmio32,0xff1a0000 root=PARTUUID=${uuid} rw rootwait

to: console=ttyS2,1500000 earlycon=uart8250,mmio32,0xff1a0000 root=PARTUUID=${uuid} rw rootwait

tty1 is the console at display output. Changing it to only ttyS2 should be fine.

1 Like

@xiaobo I updated the R4S dts adding the r8169 aliases for eth1, maybe is detected now.

@jayanta525 thanks for your suggestion, I added a boot script for the R4S

I don't think using r8169 driver on NanoPi R4S is a good idea, as you may know it performs really bad.

So I suggest using vendor driver from Realtek and it works well (at least for current):

The correct mainline driver for this hardware is indeed r8169, if that has problems with this specific hardware revision, those need to be fixed - the vendor module has no future in mainline nor OpenWrt. There is no systemic reason why the mainline r8169 module wouldn't work, I'm successfully using it with very good performance results on several different (r8168 based-) devices (x86_64).

The latest version works fine, Thanks @mj82 :+1:

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.4.81 (openwrt@40028) (gcc version 9.3.0 (OpenWrt GCC 9.3.0 r15141-c41a2e9ba3)) #0 SMP PREEMPT Sat Dec 5 18:33:32 2020
[    0.000000] Machine model: FriendlyElec NanoPi R4S
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000ff1a0000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] cma: Reserved 8 MiB at 0x00000000f7800000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xf6fd3980-0xf6fdafff]
[    0.000000] Zone ranges:
[    0.000000]   DMA32    [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] On node 0 totalpages: 1015296
[    0.000000]   DMA32 zone: 15864 pages used for memmap
[    0.000000]   DMA32 zone: 0 pages reserved
[    0.000000]   DMA32 zone: 1015296 pages, LIFO batch:63
[    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 22 pages/cpu s50200 r8192 d31720 u90112
[    0.000000] pcpu-alloc: s50200 r8192 d31720 u90112 alloc=22*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 999432
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: console=ttyS2,1500000 earlycon=uart8250,mmio32,0xff1a0000 root=PARTUUID=5452574f-02 rw rootwait
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 3958028K/4061184K available (8318K kernel code, 632K rwdata, 2668K rodata, 1792K init, 809K bss, 94964K reserved, 8192K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, 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=256 to nr_cpu_ids=6.
[    0.000000] 	Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 256 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: no VLPI support, no direct LPI support
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000
[    0.000000] ITS [mem 0xfee20000-0xfee3ffff]
[    0.000000] ITS@0x00000000fee20000: allocated 65536 Devices @f2080000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000000f2040000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000f2050000
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] }
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] }
[    0.000000] random: get_random_bytes called from start_kernel+0x29c/0x3fc with crng_init=0
[    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.001944] Console: colour dummy device 80x25
[    0.002484] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.003470] pid_max: default: 32768 minimum: 301
[    0.004115] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.004846] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.007734] ASID allocator initialised with 32768 entries
[    0.008367] rcu: Hierarchical SRCU implementation.
[    0.009127] Platform MSI: interrupt-controller@fee20000 domain created
[    0.010174] PCI/MSI: /interrupt-controller@fee00000/interrupt-controller@fee20000 domain created
[    0.011655] smp: Bringing up secondary CPUs ...
[    0.012698] Detected VIPT I-cache on CPU1
[    0.012734] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[    0.012750] GICv3: CPU1: using allocated LPI pending table @0x00000000f2060000
[    0.012798] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.013474] Detected VIPT I-cache on CPU2
[    0.013501] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[    0.013514] GICv3: CPU2: using allocated LPI pending table @0x00000000f2070000
[    0.013545] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.014253] Detected VIPT I-cache on CPU3
[    0.014278] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[    0.014291] GICv3: CPU3: using allocated LPI pending table @0x00000000f2100000
[    0.014322] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.014978] CPU features: detected: EL2 vector hardening
[    0.014987] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware
[    0.014995] Detected PIPT I-cache on CPU4
[    0.015025] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[    0.015038] GICv3: CPU4: using allocated LPI pending table @0x00000000f2110000
[    0.015073] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[    0.015730] Detected PIPT I-cache on CPU5
[    0.015755] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    0.015767] GICv3: CPU5: using allocated LPI pending table @0x00000000f2120000
[    0.015795] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[    0.015897] smp: Brought up 1 node, 6 CPUs
[    0.029117] SMP: Total of 6 processors activated.
[    0.029570] CPU features: detected: 32-bit EL0 Support
[    0.030064] CPU features: detected: CRC32 instructions
[    0.043526] CPU: All CPU(s) started at EL2
[    0.043960] alternatives: patching kernel code
[    0.058430] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.059407] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.060474] pinctrl core: initialized pinctrl subsystem
[    0.061675] NET: Registered protocol family 16
[    0.064650] DMA: preallocated 256 KiB pool for atomic allocations
[    0.066983] cpuidle: using governor menu
[    0.067497] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.068404] Serial: AMBA PL011 UART driver
[    0.096950] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.097609] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.098264] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.098918] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.102435] cryptd: max_cpu_qlen set to 1000
[    0.107212] iommu: Default domain type: Translated 
[    0.108008] SCSI subsystem initialized
[    0.108539] usbcore: registered new interface driver usbfs
[    0.109105] usbcore: registered new interface driver hub
[    0.109709] usbcore: registered new device driver usb
[    0.110314] pps_core: LinuxPPS API ver. 1 registered
[    0.110800] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.111696] PTP clock support registered
[    0.112402] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[    0.113947] clocksource: Switched to clocksource arch_sys_counter
[    0.114699] VFS: Disk quotas dquot_6.6.0
[    0.115134] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.119124] thermal_sys: Registered thermal governor 'step_wise'
[    0.119128] thermal_sys: Registered thermal governor 'power_allocator'
[    0.120247] NET: Registered protocol family 2
[    0.122022] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.122929] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.124041] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    0.125411] TCP: Hash tables configured (established 32768 bind 32768)
[    0.126194] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.126976] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.127956] NET: Registered protocol family 1
[    0.128411] PCI: CLS 0 bytes, default 64
[    0.129708] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.130819] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.131997] kvm [1]: IPA Size Limit: 40bits
[    0.132838] kvm [1]: vgic-v2@fff20000
[    0.133222] kvm [1]: GIC system register CPU interface enabled
[    0.133999] kvm [1]: vgic interrupt IRQ10
[    0.134619] kvm [1]: Hyp mode initialized successfully
[    0.143251] workingset: timestamp_bits=38 max_order=20 bucket_order=0
[    0.150153] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.150727] jffs2: version 2.2 (NAND) (SUMMARY) (ZLIB) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.177726] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.178656] io scheduler mq-deadline registered
[    0.185865] rockchip-pcie f8000000.pcie: no vpcie12v regulator found
[    0.186539] vcc5v0_sys: supplied by vdd_5v
[    0.186990] vcc3v3_sys: supplied by vcc5v0_sys
[    0.187535] rockchip-pcie f8000000.pcie: no vpcie1v8 regulator found
[    0.188170] rockchip-pcie f8000000.pcie: no vpcie0v9 regulator found
[    0.214086] rockchip-pcie f8000000.pcie: host bridge /pcie@f8000000 ranges:
[    0.214788] rockchip-pcie f8000000.pcie:   MEM 0xfa000000..0xfbdfffff -> 0xfa000000
[    0.215543] rockchip-pcie f8000000.pcie:    IO 0xfbe00000..0xfbefffff -> 0xfbe00000
[    0.216557] rockchip-pcie f8000000.pcie: PCI host bridge to bus 0000:00
[    0.217207] pci_bus 0000:00: root bus resource [bus 00-1f]
[    0.217746] pci_bus 0000:00: root bus resource [mem 0xfa000000-0xfbdfffff]
[    0.218444] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0xfbe00000-0xfbefffff])
[    0.219406] pci 0000:00:00.0: [1d87:0100] type 01 class 0x060400
[    0.220114] pci 0000:00:00.0: supports D1
[    0.220509] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.225623] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.226589] pci 0000:01:00.0: [10ec:8168] type 00 class 0x020000
[    0.227292] pci 0000:01:00.0: reg 0x10: initial BAR value 0x00000000 invalid
[    0.227981] pci 0000:01:00.0: reg 0x10: [io  size 0x0100]
[    0.228607] pci 0000:01:00.0: reg 0x18: [mem 0xfa004000-0xfa004fff 64bit]
[    0.229328] pci 0000:01:00.0: reg 0x20: [mem 0xfa000000-0xfa003fff 64bit]
[    0.230067] pci 0000:01:00.0: Upstream bridge's Max Payload Size set to 128 (was 256, max 256)
[    0.230918] pci 0000:01:00.0: Max Payload Size set to 128 (was 128, max 128)
[    0.231928] pci 0000:01:00.0: supports D1 D2
[    0.232348] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.246321] pci_bus 0000:01: busn_res: [bus 01-1f] end is updated to 01
[    0.246985] pci 0000:00:00.0: BAR 8: assigned [mem 0xfa000000-0xfa0fffff]
[    0.247655] pci 0000:01:00.0: BAR 4: assigned [mem 0xfa000000-0xfa003fff 64bit]
[    0.248408] pci 0000:01:00.0: BAR 2: assigned [mem 0xfa004000-0xfa004fff 64bit]
[    0.249159] pci 0000:01:00.0: BAR 0: no space for [io  size 0x0100]
[    0.249772] pci 0000:01:00.0: BAR 0: failed to assign [io  size 0x0100]
[    0.250433] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.250925] pci 0000:00:00.0:   bridge window [mem 0xfa000000-0xfa0fffff]
[    0.251720] pcieport 0000:00:00.0: enabling device (0000 -> 0002)
[    0.252556] pcieport 0000:00:00.0: PME: Signaling with IRQ 222
[    0.253364] pcieport 0000:00:00.0: AER: enabled with IRQ 222
[    0.255892] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.256635] dma-pl330 ff6d0000.dma-controller: 	DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    0.258595] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    0.259337] dma-pl330 ff6e0000.dma-controller: 	DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    0.261856] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.265191] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 37, base_baud = 1500000) is a 16550A
[    0.266208] serial serial0: tty port ttyS0 registered
[    0.267076] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 38, base_baud = 1500000) is a 16550A
[    0.268097] printk: console [ttyS2] enabled
[    0.268871] printk: bootconsole [uart8250] disabled
[    0.271459] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.276454] loop: module loaded
[    0.276740] mtip32xx Version 1.3.1
[    0.277163] Loading iSCSI transport class v2.0-870.
[    0.279600] libphy: Fixed MDIO Bus: probed
[    0.290414] r8169 0000:01:00.0: can't read MAC address, setting random one
[    0.291550] libphy: r8169: probed
[    0.292272] r8169 0000:01:00.0 eth0: RTL8168h/8111h, d6:e6:28:77:2d:f4, XID 541, IRQ 223
[    0.292986] r8169 0000:01:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[    0.294374] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    0.294959] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    0.295598] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    0.296155] rk_gmac-dwmac fe300000.ethernet: phy regulator is not available yet, deferred probing
[    0.309247] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.309823] ehci-pci: EHCI PCI platform driver
[    0.310281] ehci-platform: EHCI generic platform driver
[    0.312928] ehci-platform fe380000.usb: EHCI Host Controller
[    0.313445] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 1
[    0.314247] ehci-platform fe380000.usb: irq 29, io mem 0xfe380000
[    0.329974] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[    0.330945] hub 1-0:1.0: USB hub found
[    0.331304] hub 1-0:1.0: 1 port detected
[    0.332055] rockchip-usb2phy ff770000.syscon:usb2-phy@e460: Requested PHY is disabled
[    0.332746] ehci-platform fe3c0000.usb: EHCI Host Controller
[    0.333257] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 2
[    0.334043] ehci-platform fe3c0000.usb: irq 31, io mem 0xfe3c0000
[    0.349971] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[    0.350908] hub 2-0:1.0: USB hub found
[    0.351265] hub 2-0:1.0: 1 port detected
[    0.352078] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.352636] ohci-platform: OHCI generic platform driver
[    0.353251] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[    0.353853] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 3
[    0.354647] ohci-platform fe3a0000.usb: irq 30, io mem 0xfe3a0000
[    0.418506] hub 3-0:1.0: USB hub found
[    0.418866] hub 3-0:1.0: 1 port detected
[    0.419602] rockchip-usb2phy ff770000.syscon:usb2-phy@e460: Requested PHY is disabled
[    0.420293] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[    0.420894] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 4
[    0.421654] ohci-platform fe3e0000.usb: irq 32, io mem 0xfe3e0000
[    0.486406] hub 4-0:1.0: USB hub found
[    0.486769] hub 4-0:1.0: 1 port detected
[    0.488076] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    0.488575] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 5
[    0.489376] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    0.490261] xhci-hcd xhci-hcd.0.auto: irq 224, io mem 0xfe800000
[    0.491343] hub 5-0:1.0: USB hub found
[    0.491702] hub 5-0:1.0: 1 port detected
[    0.492304] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    0.492798] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 6
[    0.493478] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    0.494123] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.495203] hub 6-0:1.0: USB hub found
[    0.495560] hub 6-0:1.0: 1 port detected
[    0.496284] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    0.496782] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 7
[    0.497579] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[    0.498457] xhci-hcd xhci-hcd.1.auto: irq 225, io mem 0xfe900000
[    0.499522] hub 7-0:1.0: USB hub found
[    0.499880] hub 7-0:1.0: 1 port detected
[    0.500471] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    0.500965] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 8
[    0.501644] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    0.502286] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM.
[    0.503361] hub 8-0:1.0: USB hub found
[    0.503717] hub 8-0:1.0: 1 port detected
[    0.504489] usbcore: registered new interface driver usb-storage
[    0.505161] i2c /dev entries driver
[    0.507718] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
[    0.509350] vcc3v0_sd: supplied by vcc3v3_sys
[    0.509785] vdd_cpu_b: supplied by vcc3v3_sys
[    0.510796] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
[    0.512395] vdd_gpu: supplied by vcc3v3_sys
[    0.513282] rk808 0-001b: chip id: 0x0
[    0.517076] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    0.517639] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    0.518933] vdd_center: supplied by vcc3v3_sys
[    0.519813] vdd_cpu_l: supplied by vcc3v3_sys
[    0.520383] vcc_ddr: supplied by vcc3v3_sys
[    0.521245] vcc_1v8: supplied by vcc3v3_sys
[    0.522800] vcc1v8_cam: supplied by vcc3v3_sys
[    0.524086] vcc3v0_touch: supplied by vcc3v3_sys
[    0.525544] vcc1v8_pmupll: supplied by vcc3v3_sys
[    0.527019] vcc_sdio: supplied by vcc3v3_sys
[    0.528286] vcca3v0_codec: supplied by vcc3v3_sys
[    0.529745] vcc_1v5: supplied by vcc3v3_sys
[    0.531044] vcca1v8_codec: supplied by vcc3v3_sys
[    0.532485] vcc_3v0: supplied by vcc3v3_sys
[    0.533079] vcc3v3_s3: supplied by vcc3v3_sys
[    0.533673] vcc3v3_s0: supplied by vcc3v3_sys
[    0.537127] rk808-rtc rk808-rtc: registered as rtc0
[    0.541841] energy_model: pd0: hertz/watts ratio non-monotonically decreasing: em_cap_state 1 >= em_cap_state0
[    0.548725] sdhci: Secure Digital Host Controller Interface driver
[    0.549266] sdhci: Copyright(c) Pierre Ossman
[    0.549646] Synopsys Designware Multimedia Card Interface Driver
[    0.550528] dwmmc_rockchip fe320000.dwmmc: IDMAC supports 32-bit address mode.
[    0.551166] dwmmc_rockchip fe320000.dwmmc: Using internal DMA controller.
[    0.551764] dwmmc_rockchip fe320000.dwmmc: Version ID is 270a
[    0.552289] dwmmc_rockchip fe320000.dwmmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[    0.553240] dwmmc_rockchip fe320000.dwmmc: Got CD GPIO
[    0.558123] random: fast init done
[    0.566114] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    0.578597] sdhci-pltfm: SDHCI platform and OF driver helper
[    0.580503] ledtrig-cpu: registered to indicate activity on CPUs
[    0.581459] hidraw: raw HID events driver (C) Jiri Kosina
[    0.582052] usbcore: registered new interface driver usbhid
[    0.582560] usbhid: USB HID core driver
[    0.583855] NET: Registered protocol family 10
[    0.584807] Segment Routing with IPv6
[    0.585183] NET: Registered protocol family 17
[    0.585601] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.586747] 8021q: 802.1Q VLAN Support v1.8
[    0.605523] rk_gmac-dwmac fe300000.ethernet: IRQ eth_wake_irq not found
[    0.606169] rk_gmac-dwmac fe300000.ethernet: IRQ eth_lpi not found
[    0.606797] rk_gmac-dwmac fe300000.ethernet: PTP uses main clock
[    0.608369] rk_gmac-dwmac fe300000.ethernet: clock input or output? (input).
[    0.608985] rk_gmac-dwmac fe300000.ethernet: TX delay(0x28).
[    0.609480] rk_gmac-dwmac fe300000.ethernet: RX delay(0x11).
[    0.609986] rk_gmac-dwmac fe300000.ethernet: integrated PHY? (no).
[    0.610546] rk_gmac-dwmac fe300000.ethernet: cannot get clock clk_mac_speed
[    0.611152] rk_gmac-dwmac fe300000.ethernet: clock input from PHY
[    0.616689] rk_gmac-dwmac fe300000.ethernet: init for RGMII
[    0.617556] rk_gmac-dwmac fe300000.ethernet: User ID: 0x10, Synopsys ID: 0x35
[    0.618213] rk_gmac-dwmac fe300000.ethernet: 	DWMAC1000
[    0.618691] rk_gmac-dwmac fe300000.ethernet: DMA HW capability register supported
[    0.619360] rk_gmac-dwmac fe300000.ethernet: RX Checksum Offload Engine supported
[    0.620024] rk_gmac-dwmac fe300000.ethernet: COE Type 2
[    0.620567] rk_gmac-dwmac fe300000.ethernet: TX Checksum insertion supported
[    0.621181] rk_gmac-dwmac fe300000.ethernet: Wake-Up On Lan supported
[    0.621744] rk_gmac-dwmac fe300000.ethernet: Normal descriptors
[    0.622271] rk_gmac-dwmac fe300000.ethernet: Ring mode enabled
[    0.622780] rk_gmac-dwmac fe300000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    0.623480] rk_gmac-dwmac fe300000.ethernet: device MAC address 1a:c6:16:28:0a:10
[    0.660785] mmc_host mmc0: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0)
[    0.681970] libphy: stmmac: probed
[    0.686091] rk808-rtc rk808-rtc: setting system clock to 2020-12-06T08:51:05 UTC (1607244665)
[    0.688373] ttyS2 - failed to request DMA
[    0.688811] Waiting for root device PARTUUID=5452574f-02...
[    0.960032] dwmmc_rockchip fe320000.dwmmc: Successfully tuned phase to 207
[    0.960678] mmc0: new ultra high speed SDR104 SDHC card at address aaaa
[    0.962788] mmcblk0: mmc0:aaaa SC16G 14.8 GiB 
[    0.966716]  mmcblk0: p1 p2 p3
[    0.984020] EXT4-fs (mmcblk0p2): warning: mounting unchecked fs, running e2fsck is recommended
[    1.005213] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[    1.005890] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.007355] Freeing unused kernel memory: 1792K
[    1.026211] Run /sbin/init as init process
[    1.068740] init: Console is alive
[    1.289174] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    1.299599] raid6: using algorithm neonx8 gen() 0 MB/s
[    1.300057] raid6: .... xor() 0 MB/s, rmw enabled
[    1.300470] raid6: using neon recovery algorithm
[    1.304770] xor: measuring software checksum speed
[    1.342003]    8regs     :  2798.000 MB/sec
[    1.382226]    32regs    :  3336.000 MB/sec
[    1.422132]    arm64_neon:  1641.000 MB/sec
[    1.422546] xor: using function: 32regs (3336.000 MB/sec)
[    1.479942] Btrfs loaded, crc32c=crc32c-generic
[    1.519092] SGI XFS with security attributes, realtime, scrub, repair, no debug enabled
[    1.527298] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    1.534101] init: - preinit -
[    1.643411] random: jshn: uninitialized urandom read (4 bytes read)
[    1.663334] random: jshn: uninitialized urandom read (4 bytes read)
[    1.676447] random: jshn: uninitialized urandom read (4 bytes read)
[    1.727615] Generic FE-GE Realtek PHY r8169-100:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-100:00, irq=IGNORE)
[    1.839678] r8169 0000:01:00.0 eth0: Link is Down
[    5.409888] r8169 0000:01:00.0 eth0: Link is Up - 1Gbps/Full - flow control off
[    5.410684] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    5.912311] mount_root: mounting /dev/root
[    5.916291] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    5.916854] mount_root: loading kmods from internal overlay
[    5.931228] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[    5.932587] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[    5.990495] block: attempting to load /etc/config/fstab
[    5.992508] block: extroot: not configured
[    6.052342] EXT4-fs (mmcblk0p1): mounted filesystem without journal. Opts: (null)
[    6.068973] urandom-seed: Seeding with /etc/urandom.seed
[    6.184244] r8169 0000:01:00.0 eth0: Link is Down
[    6.210882] procd: - early -
[    6.394192] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: 
[    6.786034] procd: - ubus -
[    6.793233] urandom_read: 2 callbacks suppressed
[    6.793237] random: ubusd: uninitialized urandom read (4 bytes read)
[    6.837257] random: ubusd: uninitialized urandom read (4 bytes read)
[    6.838500] random: ubusd: uninitialized urandom read (4 bytes read)
[    6.841266] procd: - init -
[    6.953791] urngd: v1.0.2 started.
[    6.973485] random: crng init done
[    6.973800] random: 2 urandom warning(s) missed due to ratelimiting
[    7.091190] kmodloader: loading kernel modules from /etc/modules.d/*
[    7.114467] NET: Registered protocol family 38
[    7.120885] zram: Added device: zram0
[    7.124809] Key type dns_resolver registered
[    7.134910] RPC: Registered named UNIX socket transport module.
[    7.135430] RPC: Registered udp transport module.
[    7.135846] RPC: Registered tcp transport module.
[    7.136257] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    7.142185] NET: Registered protocol family 15
[    7.143410] Initializing XFRM netlink socket
[    7.145072] tun: Universal TUN/TAP device driver, 1.6
[    7.166988] NFS: Registering the id_resolver key type
[    7.167444] Key type id_resolver registered
[    7.167810] Key type id_legacy registered
[    7.194354] cryptodev: driver 1.10 loaded.
[    7.196921] Mirror/redirect action on
[    7.199664] u32 classifier
[    7.199905]     input device check on
[    7.200225]     Actions configured
[    7.218451] Bridge firewalling registered
[    7.237900] usbcore: registered new interface driver ums-alauda
[    7.238899] usbcore: registered new interface driver ums-cypress
[    7.239693] usbcore: registered new interface driver ums-datafab
[    7.240456] usbcore: registered new interface driver ums-freecom
[    7.241256] usbcore: registered new interface driver ums-isd200
[    7.242078] usbcore: registered new interface driver ums-jumpshot
[    7.242866] usbcore: registered new interface driver ums-karma
[    7.243701] usbcore: registered new interface driver ums-sddr09
[    7.244459] usbcore: registered new interface driver ums-sddr55
[    7.245231] usbcore: registered new interface driver ums-usbat
[    7.259645] xt_time: kernel timezone is -0000
[    7.264140] PPP generic driver version 2.4.2
[    7.264984] NET: Registered protocol family 24
[    7.266326] kmodloader: done loading kernel modules from /etc/modules.d/*
[    9.670456] Generic FE-GE Realtek PHY r8169-100:00: attached PHY driver [Generic FE-GE Realtek PHY] (mii_bus:phy_addr=r8169-100:00, irq=IGNORE)
[    9.783310] r8169 0000:01:00.0 eth0: Link is Down
[    9.784334] br-lan: port 1(eth0) entered blocking state
[    9.784842] br-lan: port 1(eth0) entered disabled state
[    9.785704] device eth0 entered promiscuous mode
[    9.796615] rk_gmac-dwmac fe300000.ethernet eth1: PHY [stmmac-0:01] driver [RTL8211E Gigabit Ethernet]
[    9.801171] rk_gmac-dwmac fe300000.ethernet eth1: No Safety Features support found
[    9.801857] rk_gmac-dwmac fe300000.ethernet eth1: PTP not supported by HW
[    9.802616] rk_gmac-dwmac fe300000.ethernet eth1: configuring for phy/rgmii link mode
[   13.347086] r8169 0000:01:00.0 eth0: Link is Up - 1Gbps/Full - flow control off
[   13.347858] br-lan: port 1(eth0) entered blocking state
[   13.348316] br-lan: port 1(eth0) entered forwarding state
[   13.348887] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   13.373830] br-e774449abe7c: port 1(vethb5dfb08) entered blocking state
[   13.374450] br-e774449abe7c: port 1(vethb5dfb08) entered disabled state
[   13.375199] device vethb5dfb08 entered promiscuous mode
[   13.375870] br-e774449abe7c: port 1(vethb5dfb08) entered blocking state
[   13.376448] br-e774449abe7c: port 1(vethb5dfb08) entered forwarding state
[   13.377164] br-e774449abe7c: port 1(vethb5dfb08) entered disabled state
[   13.684918] rk_gmac-dwmac fe300000.ethernet eth1: Link is Up - 1Gbps/Full - flow control off
[   13.685732] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[   13.686654] IPv6: ADDRCONF(NETDEV_CHANGE): epon: link becomes ready
[   13.856517] cgroup: cgroup: disabling cgroup2 socket matching due to net_prio or net_cls activation
[   14.191492] eth0: renamed from vethb7aafee
[   14.210958] IPv6: ADDRCONF(NETDEV_CHANGE): vethb5dfb08: link becomes ready
[   14.211659] br-e774449abe7c: port 1(vethb5dfb08) entered blocking state
[   14.212241] br-e774449abe7c: port 1(vethb5dfb08) entered forwarding state
[   14.213002] IPv6: ADDRCONF(NETDEV_CHANGE): br-e774449abe7c: link becomes ready
[   23.821885] pppoe-wan: renamed from ppp0
[   31.709962] vcc1v8_s3: supplied by vcc_1v8
[   31.710378] vbus_typec: disabling
2 Likes

See the following link:


However, it fails to boot on 1G RAM (DDR3 800 MHz) version, could you take a look?