Both M.2 slots are empty.
These boot errors are identical when using:
- Normal ādumbā 5V 3A power cables
- 9V, 12V, and 20V USB-PD cables
- QC 2.0/3.0 cables
This behavior also persists with known-good UART adapters. I am able to boot just fine into the OEM Debian images, but all Armbian builds fail to boot in different ways.
Minimal image, micro SD, flashed with BalenaEtcher (U-Boot was not accessible after kernel panic):
DDR Version V1.10 20210810
In
ddrconfig:7
LPDDR4X, 324MHz
BW=32 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=4096MB
tdqss: cs0 dqs0: 24ps, dqs1: -72ps, dqs2: -48ps, dqs3: -120ps,
tdqss: cs1 dqs0: 24ps, dqs1: -96ps, dqs2: -48ps, dqs3: -144ps,
change to: 324MHz
PHY drv:clk:36,ca:36,DQ:29,odt:60
vrefinner:16%, vrefout:41%
dram drv:40,odt:0
clk skew:0x62
change to: 528MHz
PHY drv:clk:36,ca:36,DQ:29,odt:60
vrefinner:16%, vrefout:41%
dram drv:40,odt:0
clk skew:0x58
change to: 780MHz
PHY drv:clk:36,ca:36,DQ:29,odt:60
vrefinner:16%, vrefout:41%
dram drv:40,odt:0
clk skew:0x58
change to: 1056MHz(final freq)
PHY drv:clk:36,ca:36,DQ:29,odt:60
vrefinner:16%, vrefout:22%
dram drv:40,odt:80
vref_ca:00000071
clk skew:0x32
cs 0:
the read training result:
DQS0:0x3d, DQS1:0x3c, DQS2:0x40, DQS3:0x3a,
min : 0xb 0xb 0xd 0xb 0x1 0x4 0x7 0x4 , 0x8 0x6 0x1 0x1 0x9 0x7 0x8 0x5 ,
0xf 0xf 0xb 0x9 0x3 0x1 0x3 0x6 , 0x9 0x6 0x5 0x2 0xb 0xb 0x8 0xb ,
mid :0x29 0x2a 0x2b 0x29 0x1f 0x22 0x24 0x22 ,0x26 0x24 0x1e 0x20 0x27 0x26 0x26 0x24 ,
0x2d 0x2d 0x28 0x27 0x22 0x20 0x21 0x23 ,0x26 0x24 0x22 0x20 0x28 0x29 0x26 0x29 ,
max :0x48 0x49 0x4a 0x47 0x3e 0x41 0x42 0x40 ,0x44 0x42 0x3c 0x3f 0x45 0x45 0x45 0x43 ,
0x4c 0x4c 0x45 0x46 0x41 0x40 0x3f 0x40 ,0x44 0x43 0x40 0x3f 0x46 0x47 0x44 0x48 ,
range:0x3d 0x3e 0x3d 0x3c 0x3d 0x3d 0x3b 0x3c ,0x3c 0x3c 0x3b 0x3e 0x3c 0x3e 0x3d 0x3e ,
0x3d 0x3d 0x3a 0x3d 0x3e 0x3f 0x3c 0x3a ,0x3b 0x3d 0x3b 0x3d 0x3b 0x3c 0x3c 0x3d ,
the write training result:
DQS0:0x35, DQS1:0x29, DQS2:0x2c, DQS3:0x22,
min :0x5f 0x62 0x63 0x62 0x58 0x5a 0x5b 0x5d 0x5d ,0x52 0x52 0x4d 0x4d 0x55 0x51 0x53 0x54 0x50 ,
0x53 0x52 0x51 0x4f 0x49 0x46 0x47 0x4d 0x4e ,0x48 0x48 0x48 0x46 0x4d 0x4c 0x49 0x4d 0x48 ,
mid :0x7b 0x7d 0x7e 0x7d 0x73 0x75 0x76 0x77 0x78 ,0x6f 0x6d 0x67 0x68 0x70 0x6d 0x6f 0x6e 0x6b ,
0x6f 0x6f 0x6b 0x6a 0x63 0x60 0x62 0x67 0x6a ,0x64 0x63 0x61 0x5f 0x69 0x68 0x64 0x69 0x61 ,
max :0x98 0x99 0x9a 0x99 0x8e 0x91 0x91 0x92 0x93 ,0x8c 0x88 0x82 0x84 0x8c 0x89 0x8b 0x88 0x87 ,
0x8c 0x8c 0x85 0x86 0x7e 0x7b 0x7e 0x82 0x86 ,0x80 0x7e 0x7a 0x79 0x85 0x85 0x80 0x85 0x7b ,
range:0x39 0x37 0x37 0x37 0x36 0x37 0x36 0x35 0x36 ,0x3a 0x36 0x35 0x37 0x37 0x38 0x38 0x34 0x37 ,
0x39 0x3a 0x34 0x37 0x35 0x35 0x37 0x35 0x38 ,0x38 0x36 0x32 0x33 0x38 0x39 0x37 0x38 0x33 ,
cs 1:
the read training result:
DQS0:0x3c, DQS1:0x3b, DQS2:0x40, DQS3:0x39,
min : 0xb 0xb 0xc 0xa 0x2 0x5 0x7 0x5 , 0x8 0x6 0x1 0x1 0xa 0x7 0xa 0x5 ,
0x10 0x10 0xc 0xa 0x4 0x1 0x3 0x7 , 0x9 0x6 0x5 0x1 0x9 0x9 0x8 0xa ,
mid :0x27 0x28 0x2a 0x28 0x1f 0x22 0x23 0x22 ,0x24 0x23 0x1d 0x1e 0x26 0x25 0x26 0x23 ,
0x2e 0x2e 0x29 0x28 0x23 0x20 0x21 0x24 ,0x27 0x25 0x22 0x20 0x27 0x28 0x26 0x29 ,
max :0x44 0x46 0x49 0x46 0x3c 0x40 0x3f 0x3f ,0x41 0x40 0x3a 0x3c 0x43 0x43 0x43 0x42 ,
0x4c 0x4d 0x46 0x47 0x42 0x40 0x40 0x41 ,0x45 0x44 0x40 0x3f 0x46 0x47 0x45 0x48 ,
range:0x39 0x3b 0x3d 0x3c 0x3a 0x3b 0x38 0x3a ,0x39 0x3a 0x39 0x3b 0x39 0x3c 0x39 0x3d ,
0x3c 0x3d 0x3a 0x3d 0x3e 0x3f 0x3d 0x3a ,0x3c 0x3e 0x3b 0x3e 0x3d 0x3e 0x3d 0x3e ,
the write training result:
DQS0:0x35, DQS1:0x29, DQS2:0x2c, DQS3:0x22,
min :0x56 0x58 0x5a 0x58 0x50 0x54 0x54 0x55 0x54 ,0x47 0x46 0x43 0x44 0x4a 0x48 0x49 0x49 0x45 ,
0x52 0x51 0x4f 0x4d 0x48 0x46 0x47 0x4c 0x4d ,0x48 0x47 0x46 0x45 0x4b 0x4b 0x48 0x4c 0x47 ,
mid :0x73 0x74 0x76 0x74 0x6b 0x6f 0x6f 0x6f 0x6f ,0x63 0x60 0x5c 0x5e 0x66 0x62 0x64 0x62 0x60 ,
0x6f 0x6e 0x69 0x69 0x63 0x60 0x62 0x67 0x68 ,0x64 0x61 0x5f 0x5f 0x67 0x67 0x62 0x67 0x61 ,
max :0x91 0x91 0x93 0x91 0x86 0x8a 0x8b 0x8a 0x8b ,0x80 0x7a 0x76 0x78 0x83 0x7c 0x7f 0x7c 0x7b ,
0x8c 0x8b 0x84 0x86 0x7e 0x7a 0x7d 0x82 0x84 ,0x80 0x7c 0x79 0x79 0x84 0x84 0x7d 0x82 0x7c ,
range:0x3b 0x39 0x39 0x39 0x36 0x36 0x37 0x35 0x37 ,0x39 0x34 0x33 0x34 0x39 0x34 0x36 0x33 0x36 ,
0x3a 0x3a 0x35 0x39 0x36 0x34 0x36 0x36 0x37 ,0x38 0x35 0x33 0x34 0x39 0x39 0x35 0x36 0x35 ,
CA Training result:
cs:0 min :0x44 0x40 0x3d 0x36 0x3e 0x35 0x3d ,0x42 0x3b 0x3a 0x33 0x3a 0x32 0x3d ,
cs:0 mid :0x81 0x81 0x79 0x78 0x7a 0x76 0x6e ,0x7f 0x7d 0x77 0x74 0x76 0x74 0x6d ,
cs:0 max :0xbf 0xc3 0xb6 0xba 0xb7 0xb8 0x9f ,0xbc 0xbf 0xb5 0xb6 0xb3 0xb6 0x9e ,
cs:0 range:0x7b 0x83 0x79 0x84 0x79 0x83 0x62 ,0x7a 0x84 0x7b 0x83 0x79 0x84 0x61 ,
cs:1 min :0x40 0x43 0x39 0x39 0x3c 0x37 0x3c ,0x40 0x3f 0x38 0x38 0x38 0x36 0x3c ,
cs:1 mid :0x80 0x81 0x79 0x78 0x7b 0x76 0x6f ,0x80 0x7e 0x78 0x76 0x78 0x75 0x6e ,
cs:1 max :0xc0 0xbf 0xba 0xb7 0xba 0xb5 0xa2 ,0xc0 0xbd 0xb9 0xb4 0xb8 0xb4 0xa0 ,
cs:1 range:0x80 0x7c 0x81 0x7e 0x7e 0x7e 0x66 ,0x80 0x7e 0x81 0x7c 0x80 0x7e 0x64 ,
out
U-Boot SPL board init
U-Boot SPL 2017.09-armbian (Nov 19 2021 - 13:37:50)
unknown raw ID phN
unrecognized JEDEC id bytes: 00, 00, 00
Trying to boot from MMC2
## Verified-boot: 0
## Checking atf-1 0x00040000 ... sha256+ OK
## Checking uboot 0x00a00000 ... sha256+ OK
## Checking fdt 0x00b24098 ... sha256+ OK
## Checking atf-2 0x00068000 ... sha256+ OK
## Checking atf-3 0xfdcd0000 ... sha256+ OK
## Checking atf-4 0xfdcc9000 ... sha256+ OK
## Checking atf-5 0x00066000 ... sha256+ OK
Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000)
Total: 220.636 ms
INFO: Preloader serial: 2
NOTICE: BL31: v2.3():v2.3-167-g81e0b993a-dirty:xsf
NOTICE: BL31: Built : 11:20:08, Sep 6 2021
INFO: GICv3 without legacy support detected.
INFO: ARM GICv3 driver initialized in EL3
INFO: pmu v1 is valid
INFO: dfs DDR fsp_param[0].freq_mhz= 1056MHz
INFO: dfs DDR fsp_param[1].freq_mhz= 324MHz
INFO: dfs DDR fsp_param[2].freq_mhz= 528MHz
INFO: dfs DDR fsp_param[3].freq_mhz= 780MHz
INFO: Using opteed sec cpu_context!
INFO: boot cpu mask: 0
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 = 0xa00000
INFO: SPSR = 0x3c9
U-Boot 2017.09-armbian (Nov 19 2021 - 13:37:50 +0000)
Model: Radxa ROCK 3 Model A
PreSerial: 2, raw, 0xfe660000
DRAM: 4 GiB
Sysmem: init
Relocation Offset: ed354000, fdt: eb9f8d78
Using default environment
no mmc device at slot 1
dwmmc@fe2b0000: 1 (SD), dwmmc@fe2c0000: 2, sdhci@fe310000: 0
Bootdev(atags): mmc 1
MMC1: Legacy, 50Mhz
PartType: DOS
No misc partition
boot mode: None
FIT: No boot partition
No resource partition
Failed to load DTB
Failed to get kernel dtb, ret=-19
io-domain: OK
Model: Radxa ROCK 3 Model A
rockchip_set_serialno: could not find efuse/otp device
CLK: (sync kernel. arm: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
apll 816000 KHz
dpll 528000 KHz
gpll 1188000 KHz
cpll 1000000 KHz
npll 24000 KHz
vpll 24000 KHz
hpll 24000 KHz
ppll 100000 KHz
armclk 816000 KHz
aclk_bus 150000 KHz
pclk_bus 50000 KHz
aclk_top_high 300000 KHz
aclk_top_low 200000 KHz
hclk_top 150000 KHz
pclk_top 50000 KHz
aclk_perimid 300000 KHz
hclk_perimid 150000 KHz
pclk_pmu 50000 KHz
Net: No ethernet found.
Hit key to stop autoboot('CTRL+C'): 0
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot/boot.scr
3185 bytes read in 22 ms (140.6 KiB/s)
## Executing script at 00c00000
Boot script loaded from mmc 1
152 bytes read in 19 ms (7.8 KiB/s)
4795620 bytes read in 433 ms (10.6 MiB/s)
22170112 bytes read in 1881 ms (11.2 MiB/s)
146921 bytes read in 152 ms (943.4 KiB/s)
** File not found /boot/dtb/rockchip/overlay/rk35xx-fixup.scr **
Fdt Ramdisk skip relocation
## Loading init Ramdisk from Legacy Image at 0a200000 ...
Image Name: uInitrd
Image Type: AArch64 Linux RAMDisk Image (gzip compressed)
Data Size: 4795556 Bytes = 4.6 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 0x0a100000
Booting using the fdt blob at 0x0a100000
reserving fdt memory region: addr=a100000 size=8a000
'reserved-memory' ramoops@110000: addr=110000 size=f0000
Using Device Tree in place at 000000000a100000, end 000000000a18cfff
Adding bank: 0x00200000 - 0xf0000000 (size: 0xefe00000)
Adding bank: 0x1f0000000 - 0x200000000 (size: 0x10000000)
Total: 3050.296 ms
Starting kernel ...
[ 0.151193] Kernel panic - not syncing: panic_on_set_idle set ...
[ 0.151193]
[ 0.151906] CPU: 3 PID: 1 Comm: swapper/0 Not tainted 4.19.193 #trunk
[ 0.152494] Hardware name: Radxa ROCK 3 Model A (DT)
[ 0.152953] Call trace:
[ 0.153201] dump_backtrace+0x0/0x184
[ 0.153546] show_stack+0x24/0x30
[ 0.153859] dump_stack+0x94/0xbc
[ 0.154169] panic+0x134/0x298
[ 0.154459] rockchip_pmu_set_idle_request+0x110/0x1b8
[ 0.154931] rockchip_pd_power+0x218/0x250
[ 0.155309] rockchip_pd_power_on+0x2c/0x40
[ 0.155702] genpd_power_on.part.10+0x158/0x1f8
[ 0.156116] __genpd_dev_pm_attach+0x194/0x1e4
[ 0.156529] genpd_dev_pm_attach+0x60/0x64
[ 0.156909] dev_pm_domain_attach+0x28/0x44
[ 0.157300] platform_drv_probe+0x40/0xa4
[ 0.157669] really_probe+0x294/0x380
[ 0.158011] driver_probe_device+0x120/0x130
[ 0.158400] device_driver_attach+0x48/0x70
[ 0.158788] __driver_attach+0x13c/0x140
[ 0.159154] bus_for_each_dev+0x84/0xc8
[ 0.159509] driver_attach+0x30/0x3c
[ 0.159840] bus_add_driver+0x1ac/0x1f0
[ 0.160193] driver_register+0xb0/0xe8
[ 0.160540] __platform_driver_register+0x58/0x64
[ 0.160978] rk_iommu_init+0x20/0x28
[ 0.161312] do_one_initcall+0xb4/0x1b0
[ 0.161669] kernel_init_freeable+0x304/0x308
[ 0.162073] kernel_init+0x18/0x104
[ 0.162393] ret_from_fork+0x10/0x18
[ 0.162729] SMP: stopping secondary CPUs
[ 0.163101] PMU CRU:
[ 0.163327] 00000000: 00003064 00001501 00000000 00000007 00007f00 00000000 00000000 00000000
[ 0.164105] 00000020: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.164884] 00000040: 00002063 00001481 00000000 00000007 00007f00 00000000 00000000 00000000
[ 0.165662] 00000060: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.166439] 00000080: 00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.167217] 000000a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.167994] 000000c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.168771] 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.169548] 00000100: 00000080 0040b71b 00000001 00000001 00000800 00040004 00000001 00000009
[ 0.170325] 00000120: 0000050f 00008bbb 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.171102] 00000140: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.171880] 00000160: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.172657] 00000180: 00000002 00000018 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.173434] 000001a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.174211] 000001c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.174988] 000001e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.175766] 00000200: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.176543] 00000220: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.177314] 00000240: 00040020 00000000
[ 0.177666] CRU:
[ 0.177851] 00000000: 00002044 00001441 00000000 00000007 00007f00 00000000 00000000 00000000
[ 0.178628] 00000020: 00006084 00001441 00000000 00000007 00007f00 00000000 00000000 00000000
[ 0.179405] 00000040: 00002063 00001441 00000000 00000007 00007f00 00000000 00000000 00000000
[ 0.180181] 00000060: 0000107d 00001443 00000000 00000007 00007f00 00000000 00000000 00000000
[ 0.180957] 00000080: 00001032 00001441 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.181733] 000000a0: 0000307d 00001442 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.182510] 000000c0: 00000455 00000000 00000000 00000000 00640064 00000000 00000000 00000103
[ 0.183287] 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.184063] 00000100: 00000000 00000000 00000001 00000303 00000303 00000111 00004191 00000011
[ 0.184841] 00000120: 00000053 00000100 00000000 00008000 00040004 00008000 00040004 00008000
[ 0.185618] 00000140: 00040004 00008000 00040004 00008000 00040004 00008000 00040004 00004000
[ 0.186395] 00000160: 00040004 0000000b 00000000 00000010 00001031 00001c30 00000420 00000000
[ 0.187172] 00000180: 00000020 00000000 00000310 0000c001 0000c0c0 00003100 00000001 00000000
[ 0.187949] 000001a0: 00000001 00000003 00000103 00002100 00000203 00000003 00000000 00000103
[ 0.188727] 000001c0: 00000003 00000301 00000001 00001300 0000200b 00000000 0000200b 00000000
[ 0.189503] 000001e0: 0000200b 00000000 0000200b 00000000 0000200b 00000000 0000200b 00000000
[ 0.190280] 00000200: 0000200b 00000000 0000200b 00000000 0000200b 00000000 00000303 00000203
[ 0.191057] 00000220: 00001500 00000000 0000001f 00000302 00000705 00000f0b 0000013b 00000303
[ 0.191834] 00000240: 00000f07 00002713 00001f09 00008000 00040004 00003b2f 00000101 00000302
[ 0.192611] 00000260: 00000704 0000130f 00001f27 00000000 00000000 00000000 00000000 00000000
[ 0.193388] 00000280: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.194164] 000002a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.194940] 000002c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.195717] 000002e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.196493] 00000300: 00000000 00000000 00000000 00000000 00000000 00000000 00003333 0000c333
[ 0.197270] 00000320: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.198047] 00000340: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.198823] 00000360: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.199600] 00000380: 00000000 00000000 00000000 00002000 00000000 00000000 00000000 00000000
[ 0.200376] 000003a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.201153] 000003c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.201929] 000003e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.202707] 00000400: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.203483] 00000420: 00000000 00000000 00000002 00000002 00000002 00000000 00000000 00000000
[ 0.204259] 00000440: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.205036] 00000460: 00000000 00000000 00000400 00000000 000002a0 00000000 00000000 00000000
[ 0.205812] 00000480: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.206589] 000004a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.207366] 000004c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.208142] 000004e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.208919] 00000500: 00040020 00000000 00040020 00000000 00040020 00000000 00040020 00000000
[ 0.209697] 00000520: 00040020 00000000 00040020 00000000 00040020 00000000 00040020 00000000
[ 0.210474] 00000540: 00040020 00000000 00040020 00000000 00000000 00000000 00000000 00000000
[ 0.211251] 00000560: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.212022] 00000580: 00000004 00000000
[ 0.212376] CPU0 online:0
[ 0.212633] EL2(NS) PC: <0xffffff8008094e2c> handle_IPI+0x218/0x290
[ 0.213282]
[ 0.213434] CPU1 online:0
[ 0.213687] EL2(NS) PC: <0xffffff8008094e30> handle_IPI+0x21c/0x290
[ 0.214335]
[ 0.214487] CPU2 online:0
[ 0.214740] EL2(NS) PC: <0xffffff8008094e30> handle_IPI+0x21c/0x290
[ 0.215390]
[ 0.215542] CPU3 online:1
[ 0.215798] EL2(NS) PC: <0xffffff80085bf8ac> rockchip_panic_notify+0x84/0x234
[ 0.216454] EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[ 0.217121] EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[ 0.217787] EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[ 0.218455] EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[ 0.219120] EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[ 0.219787] EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[ 0.220452] EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[ 0.221119] EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[ 0.221785] EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[ 0.222452] EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[ 0.223117] EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[ 0.223785] EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[ 0.224450] EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[ 0.225117] EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[ 0.225783] EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[ 0.226449] EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[ 0.227114] EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[ 0.227782] EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[ 0.228448] EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[ 0.229116] EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[ 0.229782] EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[ 0.230449] EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[ 0.231114] EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[ 0.231781] EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[ 0.232446] EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[ 0.233113] EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[ 0.233779] EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[ 0.234447] EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[ 0.235112] EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[ 0.235780] EL2(NS) PC: <0xffffff80085bf928> rockchip_panic_notify+0x100/0x234
[ 0.236445] EL2(NS) PC: <0xffffff80085bf930> rockchip_panic_notify+0x108/0x234
[ 0.237105]
[ 0.237257] PMU:
[ 0.237443] 00000000: 03003566 00000e0c 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.238220] 00000020: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.238999] 00000040: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.239776] 00000060: 00000006 00000000 00000006 00000000 0000ffff 0000000f 00000000 00000000
[ 0.240554] 00000080: 00000000 00000000 00000000 00000002 00000000 00000000 00000001 00000000
[ 0.241332] 000000a0: 00000001 00000000 00000003 00000000 00000000 00000000 00000000 00000000
[ 0.242108] 000000c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.242886] 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 0.244948] ---[ end Kernel panic - not syncing: panic_on_set_idle set ...
[ 0.244948] ]---
Minimal image, eMMC, flashed with BalenaEtcher (U-Boot was not accessible):
DDR Version V1.10 20210810
In
ddrconfig:7
LPDDR4X, 324MHz
BW=32 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=4096MB
tdqss: cs0 dqs0: 24ps, dqs1: -72ps, dqs2: -48ps, dqs3: -120ps,
tdqss: cs1 dqs0: 24ps, dqs1: -96ps, dqs2: -48ps, dqs3: -120ps,
change to: 324MHz
PHY drv:clk:36,ca:36,DQ:29,odt:60
vrefinner:16%, vrefout:41%
dram drv:40,odt:0
clk skew:0x61
change to: 528MHz
PHY drv:clk:36,ca:36,DQ:29,odt:60
vrefinner:16%, vrefout:41%
dram drv:40,odt:0
clk skew:0x58
change to: 780MHz
PHY drv:clk:36,ca:36,DQ:29,odt:60
vrefinner:16%, vrefout:41%
dram drv:40,odt:0
clk skew:0x58
change to: 1056MHz(final freq)
PHY drv:clk:36,ca:36,DQ:29,odt:60
vrefinner:16%, vrefout:22%
dram drv:40,odt:80
vref_ca:00000071
clk skew:0x2f
cs 0:
the read training result:
DQS0:0x3d, DQS1:0x3c, DQS2:0x40, DQS3:0x3a,
min : 0xc 0xc 0xd 0xc 0x2 0x5 0x7 0x5 , 0x8 0x6 0x1 0x1 0xa 0x7 0x8 0x5 ,
0xe 0xf 0xa 0x8 0x2 0x1 0x2 0x5 , 0x9 0x6 0x5 0x1 0xa 0xb 0x8 0xb ,
mid :0x2a 0x2a 0x2b 0x29 0x20 0x23 0x24 0x22 ,0x26 0x24 0x1e 0x20 0x27 0x26 0x27 0x24 ,
0x2d 0x2d 0x28 0x27 0x22 0x20 0x21 0x23 ,0x26 0x25 0x22 0x20 0x28 0x29 0x26 0x29 ,
max :0x48 0x49 0x4a 0x47 0x3e 0x41 0x42 0x40 ,0x44 0x43 0x3c 0x3f 0x45 0x45 0x46 0x43 ,
0x4c 0x4c 0x46 0x46 0x42 0x40 0x40 0x41 ,0x44 0x44 0x40 0x3f 0x46 0x48 0x45 0x48 ,
range:0x3c 0x3d 0x3d 0x3b 0x3c 0x3c 0x3b 0x3b ,0x3c 0x3d 0x3b 0x3e 0x3b 0x3e 0x3e 0x3e ,
0x3e 0x3d 0x3c 0x3e 0x40 0x3f 0x3e 0x3c ,0x3b 0x3e 0x3b 0x3e 0x3c 0x3d 0x3d 0x3d ,
the write training result:
DQS0:0x32, DQS1:0x26, DQS2:0x29, DQS3:0x1f,
min :0x5c 0x5f 0x5f 0x5e 0x55 0x57 0x58 0x5a 0x5b ,0x4e 0x4f 0x4a 0x4a 0x51 0x4e 0x50 0x50 0x4d ,
0x51 0x50 0x4d 0x4d 0x46 0x44 0x45 0x4a 0x4c ,0x47 0x47 0x47 0x44 0x4b 0x4b 0x48 0x4d 0x46 ,
mid :0x78 0x7a 0x7b 0x79 0x70 0x72 0x73 0x74 0x75 ,0x6b 0x6a 0x64 0x65 0x6d 0x69 0x6b 0x6b 0x68 ,
0x6d 0x6c 0x68 0x68 0x61 0x5e 0x60 0x65 0x68 ,0x62 0x61 0x60 0x5e 0x67 0x67 0x62 0x68 0x60 ,
max :0x95 0x96 0x98 0x95 0x8b 0x8e 0x8e 0x8f 0x8f ,0x88 0x85 0x7e 0x81 0x89 0x85 0x87 0x86 0x84 ,
0x8a 0x89 0x83 0x84 0x7c 0x78 0x7b 0x80 0x84 ,0x7e 0x7c 0x79 0x79 0x84 0x83 0x7c 0x84 0x7a ,
range:0x39 0x37 0x39 0x37 0x36 0x37 0x36 0x35 0x34 ,0x3a 0x36 0x34 0x37 0x38 0x37 0x37 0x36 0x37 ,
0x39 0x39 0x36 0x37 0x36 0x34 0x36 0x36 0x38 ,0x37 0x35 0x32 0x35 0x39 0x38 0x34 0x37 0x34 ,
cs 1:
the read training result:
DQS0:0x3c, DQS1:0x3b, DQS2:0x40, DQS3:0x39,
min : 0xb 0xc 0xd 0xa 0x2 0x5 0x7 0x5 , 0x8 0x6 0x1 0x1 0xa 0x7 0xa 0x6 ,
0x10 0xf 0xb 0xa 0x3 0x1 0x3 0x6 , 0x9 0x5 0x5 0x1 0x9 0x9 0x8 0xa ,
mid :0x27 0x29 0x2b 0x28 0x1f 0x22 0x23 0x21 ,0x24 0x22 0x1d 0x1e 0x26 0x25 0x26 0x24 ,
0x2e 0x2e 0x28 0x28 0x22 0x20 0x21 0x24 ,0x27 0x24 0x22 0x20 0x28 0x28 0x27 0x29 ,
max :0x44 0x46 0x49 0x46 0x3c 0x3f 0x3f 0x3e ,0x41 0x3f 0x3a 0x3c 0x43 0x43 0x43 0x42 ,
0x4d 0x4d 0x46 0x46 0x41 0x40 0x40 0x42 ,0x46 0x44 0x40 0x3f 0x47 0x48 0x46 0x48 ,
range:0x39 0x3a 0x3c 0x3c 0x3a 0x3a 0x38 0x39 ,0x39 0x39 0x39 0x3b 0x39 0x3c 0x39 0x3c ,
0x3d 0x3e 0x3b 0x3c 0x3e 0x3f 0x3d 0x3c ,0x3d 0x3f 0x3b 0x3e 0x3e 0x3f 0x3e 0x3e ,
the write training result:
DQS0:0x32, DQS1:0x26, DQS2:0x29, DQS3:0x1f,
min :0x54 0x56 0x57 0x55 0x4d 0x50 0x51 0x51 0x51 ,0x45 0x43 0x3e 0x41 0x47 0x46 0x46 0x47 0x42 ,
0x50 0x4f 0x4d 0x4b 0x46 0x44 0x44 0x49 0x4a ,0x48 0x47 0x46 0x45 0x4b 0x4b 0x48 0x4c 0x47 ,
mid :0x71 0x72 0x74 0x71 0x68 0x6b 0x6c 0x6c 0x6c ,0x60 0x5d 0x58 0x5b 0x63 0x60 0x60 0x60 0x5d ,
0x6c 0x6b 0x67 0x67 0x61 0x5e 0x5f 0x63 0x66 ,0x64 0x61 0x5f 0x5f 0x67 0x67 0x62 0x67 0x61 ,
max :0x8e 0x8e 0x91 0x8e 0x83 0x87 0x88 0x87 0x88 ,0x7c 0x78 0x73 0x76 0x80 0x7a 0x7b 0x79 0x78 ,
0x89 0x88 0x82 0x83 0x7c 0x78 0x7a 0x7e 0x82 ,0x80 0x7c 0x79 0x79 0x84 0x84 0x7d 0x82 0x7c ,
range:0x3a 0x38 0x3a 0x39 0x36 0x37 0x37 0x36 0x37 ,0x37 0x35 0x35 0x35 0x39 0x34 0x35 0x32 0x36 ,
0x39 0x39 0x35 0x38 0x36 0x34 0x36 0x35 0x38 ,0x38 0x35 0x33 0x34 0x39 0x39 0x35 0x36 0x35 ,
CA Training result:
cs:0 min :0x44 0x40 0x3d 0x36 0x3e 0x36 0x3d ,0x42 0x3b 0x3a 0x33 0x3a 0x31 0x3d ,
cs:0 mid :0x81 0x82 0x79 0x78 0x7a 0x77 0x6e ,0x7f 0x7d 0x77 0x74 0x76 0x73 0x6d ,
cs:0 max :0xbe 0xc4 0xb6 0xba 0xb7 0xb8 0x9f ,0xbc 0xbf 0xb4 0xb6 0xb3 0xb6 0x9e ,
cs:0 range:0x7a 0x84 0x79 0x84 0x79 0x82 0x62 ,0x7a 0x84 0x7a 0x83 0x79 0x85 0x61 ,
cs:1 min :0x40 0x43 0x39 0x39 0x3b 0x37 0x3c ,0x40 0x3f 0x37 0x38 0x37 0x35 0x3c ,
cs:1 mid :0x80 0x81 0x79 0x77 0x7a 0x76 0x6f ,0x7f 0x7d 0x78 0x76 0x77 0x74 0x6e ,
cs:1 max :0xc0 0xbf 0xb9 0xb6 0xba 0xb5 0xa2 ,0xbf 0xbc 0xb9 0xb4 0xb7 0xb3 0xa0 ,
cs:1 range:0x80 0x7c 0x80 0x7d 0x7f 0x7e 0x66 ,0x7f 0x7d 0x82 0x7c 0x80 0x7e 0x64 ,
out
U-Boot SPL board init
U-Boot SPL 2017.09-armbian (Nov 19 2021 - 13:37:50)
unknown raw ID phN
unrecognized JEDEC id bytes: 00, 00, 00
Trying to boot from MMC2
MMC error: The cmd index is 1, ret is -110
Card did not respond to voltage select!
mmc_init: -95, time 10
spl: mmc init failed with error: -95
Trying to boot from MMC1
## Verified-boot: 0
## Checking atf-1 0x00040000 ... sha256+ OK
## Checking uboot 0x00a00000 ... sha256+ OK
## Checking fdt 0x00b24098 ... sha256+ OK
## Checking atf-2 0x00068000 ... sha256+ OK
## Checking atf-3 0xfdcd0000 ... sha256+ OK
## Checking atf-4 0xfdcc9000 ... sha256+ OK
## Checking atf-5 0x00066000 ... sha256+ OK
Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000)
Total: 211.74 ms
INFO: Preloader serial: 2
NOTICE: BL31: v2.3():v2.3-167-g81e0b993a-dirty:xsf
NOTICE: BL31: Built : 11:20:08, Sep 6 2021
INFO: GICv3 without legacy support detected.
INFO: ARM GICv3 driver initialized in EL3
INFO: pmu v1 is valid
INFO: dfs DDR fsp_param[0].freq_mhz= 1056MHz
INFO: dfs DDR fsp_param[1].freq_mhz= 324MHz
INFO: dfs DDR fsp_param[2].freq_mhz= 528MHz
INFO: dfs DDR fsp_param[3].freq_mhz= 780MHz
INFO: Using opteed sec cpu_context!
INFO: boot cpu mask: 0
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 = 0xa00000
INFO: SPSR = 0x3c9
U-Boot 2017.09-armbian (Nov 19 2021 - 13:37:50 +0000)
Model: Radxa ROCK 3 Model A
PreSerial: 2, raw, 0xfe660000
DRAM: 4 GiB
Sysmem: init
Relocation Offset: ed354000, fdt: eb9f8d78
Using default environment
dwmmc@fe2b0000: 1, dwmmc@fe2c0000: 2, sdhci@fe310000: 0
Bootdev(atags): mmc 0
MMC0: HS200, 200Mhz
PartType: EFI
No misc partition
boot mode: None
FIT: No boot partition
No resource partition
Failed to load DTB
Failed to get kernel dtb, ret=-19
io-domain: OK
Model: Radxa ROCK 3 Model A
rockchip_set_serialno: could not find efuse/otp device
CLK: (sync kernel. arm: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
apll 816000 KHz
dpll 528000 KHz
gpll 1188000 KHz
cpll 1000000 KHz
npll 24000 KHz
vpll 24000 KHz
hpll 24000 KHz
ppll 100000 KHz
armclk 816000 KHz
aclk_bus 150000 KHz
pclk_bus 50000 KHz
aclk_top_high 300000 KHz
aclk_top_low 200000 KHz
hclk_top 150000 KHz
pclk_top 50000 KHz
aclk_perimid 300000 KHz
hclk_perimid 150000 KHz
pclk_pmu 50000 KHz
Net: No ethernet found.
Hit key to stop autoboot('CTRL+C'): 0
MMC error: The cmd index is 1, ret is -110
Card did not respond to voltage select!
mmc_init: -95, time 10
switch to partitions #0, OK
mmc0(part 0) is current device
** Invalid partition 1 **
starting USB...
Bus dwc3@fcc00000: usb maximum-speed not found
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
Bus dwc3@fd000000: usb maximum-speed not found
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus dwc3@fcc00000 for devices... 1 USB Device(s) found
scanning bus dwc3@fd000000 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Device 0: unknown device
No ethernet found.
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-rockchip
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
No ethernet found.
Config file not found
No ethernet found.
No ethernet found.
## Booting FIT Image FIT: No boot partition
FIT: No FIT image
Could not find misc partition
ANDROID: reboot reason: "(none)"
optee check api revision fail: -1.0
optee api revision is too low
### ERROR ### Please RESET the board ###
These two logs both indicate that something is wrong with the boot partitions. One is unable to find a needed file, ā/boot/dtb/rockchip/overlay/rk35xx-fixup.scrā and the other is missing ābootfile.ā
If possible, can you post your bootup logs when using a micro SD card? Differences between yours and mine pre-kernel panic may be useful.
Thanks again for your help,
Nexus