RockPi 4c+ not booting, debian buster

Hi,
i tried to boot a
Rock Pi 4c Plus, V1.1, 2022.01.13
from mSDcard flashed with
rockpi4c_debian_buster_xfce4_arm64_20210824_0245-gpt.img.gz.

But I doesn’t boot and seems to crash somewhere inU-Boot.

Debug Console Output:

DDR Version 1.20 20190314
In
soft reset
SRX
channel 0
CS = 0
MR0=0x98
MR4=0x2
MR5=0xFF
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
CS = 1
MR0=0x18
MR4=0x2
MR5=0xFF
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 1
CS = 0
MR0=0x98
MR4=0x2
MR5=0xFF
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
CS = 1
MR0=0x18
MR4=0x2
MR5=0xFF
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 0 training pass!
channel 1 training pass!
change freq to 400MHz 0,1
channel 0
CS = 0
MR0=0x98
MR4=0x2
MR5=0xFF
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
CS = 1
MR0=0x18
MR4=0x2
MR5=0xFF
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 1
CS = 0
MR0=0x98
MR4=0x2
MR5=0xFF
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
CS = 1
MR0=0x18
MR4=0x2
MR5=0xFF
MR8=0x8
MR12=0x72
MR14=0x72
MR18=0x0
MR19=0x0
MR24=0x8
MR25=0x0
channel 0 training pass!
channel 1 training pass!
change freq to 800MHz 1,0
Channel 0: LPDDR4,800MHz
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB
Channel 1: LPDDR4,800MHz
Bus Width=32 Col=10 Bank=8 Row=15/15 CS=2 Die Bus-Width=16 Size=2048MB
256B stride
ch 0 ddrconfig = 0x101, ddrsize = 0x2020
ch 1 ddrconfig = 0x101, ddrsize = 0x2020
pmugrf_os_reg[2] = 0x3AA1FAA1, stride = 0xD
OUT
Boot1: 2019-03-14, version: 1.19
CPUId = 0x0
ChipType = 0x10, 315
SdmmcInit=2 0
BootCapSize=100000
UserCapSize=14800MB
FwPartOffset=2000 , 100000
mmc0:cmd5,20
SdmmcInit=0 0
BootCapSize=0
UserCapSize=29007MB
FwPartOffset=2000 , 0
StorageInit ok = 66865
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:          loader1, start:0x40, size:0x1f40
GPT part:  1, name:          loader2, start:0x4000, size:0x2000
GPT part:  2, name:            trust, start:0x6000, size:0x2000
GPT part:  3, name:             boot, start:0x8000, size:0x100000
GPT part:  4, name:           rootfs, start:0x108000, size:0x2b1aa9
no find partition:uboot.
LoadTrust Addr:0x4000
No find bl30.bin
No find bl32.bin
Load uboot, ReadLba = 2000
Load OK, addr=0x200000, size=0xf162c
RunBL31 0x10000
NOTICE:  BL31: v1.3(debug):0e7a845
NOTICE:  BL31: Built : 16:13:46, Apr 17 2019
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(1181): pd status 3e
INFO:    BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0x200000
INFO:    SPSR = 0x3c9


U-Boot 2017.09-2696-g7c49a7da79 (Oct 12 2020 - 02:09:00 +0000), Build: jenkins-linux-build-release-366

Model: Radxa ROCK Pi 4C
PreSerial: 2
DRAM:  3.9 GiB
Relocation Offset is: f5bde000
Sysmem: init
I2c speed: 400000Hz
rk8xx_read: read reg 0x17 failed, ret=-121
rk8xx_read: read reg 0x17 failed, ret=-121
"Synchronous Abort" handler, esr 0x96000010
* Relocate offset = 00000000f5bde000
* ELR(PC)    =   000000000025962c
* LR         =   0000000000259614
* SP         =   00000000e9dc7ef0

* ESR_EL2    =   0000000096000010
        EC[31:26] == 100101, Exception from a Data abort, from current exception level
        IL[25] == 1, 32-bit instruction trapped

* DAIF       =   00000000000003c0
        D[9] == 1, DBG masked
        A[8] == 1, ABORT masked
        I[7] == 1, IRQ masked
        F[6] == 1, FIQ masked

* SPSR_EL2   =   0000000080000349
        D[9] == 1, DBG masked
        A[8] == 1, ABORT masked
        I[7] == 0, IRQ not masked
        F[6] == 1, FIQ masked
        M[4] == 0, Exception taken from AArch64
        M[3:0] == 1001, EL2h

* SCTLR_EL2  =   0000000030c51835
        I[12] == 1, Icaches enabled
        C[2] == 1, Dcache enabled
        M[0] == 1, MMU enabled

* HCR_EL2    =   000000000800003a
* VBAR_EL2   =   00000000f5dde800
* TTBR0_EL2  =   00000000f7ff0000

x0 : 0000000000000000 x1 : 00000000f5e88918
x2 : 00000000f5ea9310 x3 : 00000000e9de4cc0
x4 : 00000000ffffff87 x5 : 00000000e9dfbab0
x6 : 0000000000000021 x7 : 00000000f5ea92d0
x8 : 00000000e9dfbca0 x9 : 0000000000000008
x10: 00000000ffffffe0 x11: 0000000000000006
x12: 000000000001869f x13: 00000000f5eac398
x14: 00000000f5eac320 x15: 00000000fffffffe
x16: 0000000000000000 x17: 0000000000000000
x18: 00000000e9dd5d80 x19: 00000000e9dfbb10
x20: 0000000000000009 x21: 00000000e9dfbbf8
x22: 00000000e9de4c80 x23: 00000000f5e99be8
x24: 00000000e9df2450 x25: 000000000036ee80
x26: 00000000f5ea13fb x27: 0000000000000000
x28: 0000000000000000 x29: 00000000e9dc80d0

SP:
e9dc7ef0:  00000000 00000000 00000000 00000000
e9dc7f00:  00000000 00000000 f5e9af22 00000000
e9dc7f10:  00000000 00000000 00000000 00000000
e9dc7f20:  f5e9af69 00000000 f5e9af8f 00000000
e9dc7f30:  f5e9afdc 00000000 f5e9b029 00000000
e9dc7f40:  f5e9b069 00000000 f5e9b0a9 00000000
e9dc7f50:  f5e9b0e6 00000000 00000000 00000000
e9dc7f60:  00000000 00000000 f5e9b123 00000000
e9dc7f70:  e9dc80d0 00000000 f5ddea0c 00000000
e9dc7f80:  e9dfbb10 00000000 00000002 00000000
e9dc7f90:  f7ff0000 00000000 0800003a 00000000
e9dc7fa0:  30c51835 00000000 e9dc7ef0 00000000
e9dc7fb0:  80000349 00000000 f5dde800 00000000
e9dc7fc0:  000003c0 00000000 96000010 00000000
e9dc7fd0:  f5e3762c 00000000 00000000 00000000
e9dc7fe0:  f5e88918 00000000 f5ea9310 00000000


Call trace:
  PC:   [< 0025962c >]
  LR:   [< 00259614 >]

Stack:
        [< 0025962c >]
        [< 002309ec >]
        [< 00231ab0 >]
        [< 00231b00 >]
        [< 0025951c >]
        [< 002030d8 >]
        [< 00277f20 >]
        [< 00215ef0 >]
        [< 00201b8c >]

NOTE: Please use ./scripts/stacktrace.sh to parse trace info
Resetting CPU ...

Is this an issue with the image? Is there something newer?

Thanks a lot.

ROCK Pi 4C Plus v1.1? It’s very early version.

4C and 4C Plus image are different because of the different PMIC design.

You can download the ROCK Pi 4C Plus image from:

Many thanks, Jack.
Will give it a try now.
Regarding v1.1: This is the revision version printed on the board I have. What is the current revision? Is there a document available where I could see the differences of the revisions.
br, kurt

Thanks. System boots fine now, but iptables crashes with a segmentation fault (when starting docker).
Is this a known issue? Has somebody solved this already?

Dmesg: https://gist.github.com/kstieger/a9e3fd0a37e3512246cb5ed59bcd536f#file-dmesg-iptables-rockpi4c

Uname: Linux rockpi-4cplus 4.4.194-1-rk3399-rockchip-g9af8592731dc #1 SMP Sat Jan 15 22:18:31 CST 2022 aarch64 GNU/Linux
Model: Radxa ROCK Pi 4C+

Thanks, Kurt