Hi,
I installed the image on a SD card.
The release from 20220526-1600 doesn’t boot after a reboot.
The release from 20220525-1600 works fine until I do a apt upgrade, after that it doesn’t reboot anymore.
I tried upgrading the packages manually, using 20220525-1600 as base, and the problem happens after upgrading linux-dtb-edge-rk35xx.
Here’s my boot log:
DDR Version V1.10 20210810
In
ddrconfig:7
LPDDR4X, 324MHz
BW=32 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=8192MB
tdqss: cs0 dqs0: 48ps, dqs1: -96ps, dqs2: -72ps, dqs3: -144ps,
tdqss: cs1 dqs0: 72ps, dqs1: -96ps, dqs2: -72ps, 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: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: 1560MHz(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:0x21
cs 0:
the read training result:
DQS0:0x35, DQS1:0x33, DQS2:0x38, DQS3:0x2e,
min : 0xf 0x10 0x13 0x10 0x1 0x8 0xa 0x7 , 0x8 0xb 0x1 0x3 0xe 0xc 0xc 0x8 ,
0x13 0x12 0xe 0xc 0x5 0x0 0x4 0x8 , 0xc 0x8 0x8 0x2 0x11 0xe 0xd 0xf ,
mid :0x29 0x2a 0x2d 0x2b 0x1e 0x22 0x24 0x22 ,0x23 0x23 0x1b 0x1e 0x29 0x27 0x27 0x24 ,
0x2e 0x2e 0x28 0x27 0x20 0x1c 0x1e 0x21 ,0x25 0x22 0x21 0x1d 0x29 0x2a 0x26 0x29 ,
max :0x44 0x45 0x48 0x47 0x3b 0x3c 0x3f 0x3e ,0x3e 0x3b 0x36 0x39 0x44 0x42 0x43 0x41 ,
0x49 0x4a 0x42 0x42 0x3b 0x39 0x39 0x3b ,0x3f 0x3c 0x3a 0x38 0x42 0x46 0x3f 0x43 ,
range:0x35 0x35 0x35 0x37 0x3a 0x34 0x35 0x37 ,0x36 0x30 0x35 0x36 0x36 0x36 0x37 0x39 ,
0x36 0x38 0x34 0x36 0x36 0x39 0x35 0x33 ,0x33 0x34 0x32 0x36 0x31 0x38 0x32 0x34 ,
the write training result:
DQS0:0x2a, DQS1:0xe, DQS2:0x13, DQS3:0x5,
min :0x72 0x75 0x78 0x75 0x65 0x6a 0x6e 0x6e 0x6d ,0x53 0x51 0x4c 0x50 0x56 0x55 0x57 0x55 0x4f ,
0x5b 0x5d 0x57 0x54 0x4c 0x4c 0x4e 0x51 0x51 ,0x4e 0x4c 0x4a 0x47 0x52 0x51 0x51 0x55 0x4a ,
mid :0x8e 0x90 0x93 0x90 0x7c 0x82 0x88 0x86 0x83 ,0x6e 0x6c 0x64 0x68 0x6f 0x6e 0x70 0x6f 0x68 ,
0x77 0x77 0x70 0x6f 0x67 0x64 0x68 0x6c 0x6c ,0x68 0x66 0x63 0x60 0x6b 0x6c 0x69 0x6f 0x63 ,
max :0xab 0xac 0xae 0xab 0x93 0x9b 0xa2 0x9e 0x9a ,0x89 0x88 0x7d 0x80 0x89 0x88 0x89 0x89 0x82 ,
0x94 0x92 0x8a 0x8b 0x82 0x7d 0x82 0x87 0x88 ,0x83 0x80 0x7c 0x79 0x84 0x88 0x82 0x8a 0x7c ,
range:0x39 0x37 0x36 0x36 0x2e 0x31 0x34 0x30 0x2d ,0x36 0x37 0x31 0x30 0x33 0x33 0x32 0x34 0x33 ,
0x39 0x35 0x33 0x37 0x36 0x31 0x34 0x36 0x37 ,0x35 0x34 0x32 0x32 0x32 0x37 0x31 0x35 0x32 ,
cs 1:
the read training result:
DQS0:0x34, DQS1:0x33, DQS2:0x39, DQS3:0x2f,
min : 0xf 0x10 0x13 0x10 0x1 0x7 0xa 0x5 , 0xa 0x9 0x2 0x1 0xe 0xa 0xa 0x7 ,
0x13 0x11 0xe 0xb 0x5 0x0 0x3 0x8 , 0xc 0x9 0x9 0x1 0x11 0xf 0xc 0xf ,
mid :0x29 0x2a 0x2d 0x2b 0x1d 0x21 0x24 0x21 ,0x25 0x22 0x1d 0x1d 0x2a 0x26 0x27 0x23 ,
0x2e 0x2e 0x28 0x26 0x20 0x1d 0x1f 0x21 ,0x25 0x23 0x22 0x1d 0x29 0x2a 0x26 0x29 ,
max :0x44 0x44 0x47 0x47 0x39 0x3b 0x3e 0x3d ,0x40 0x3c 0x39 0x39 0x46 0x42 0x44 0x40 ,
0x4a 0x4b 0x42 0x42 0x3b 0x3a 0x3b 0x3b ,0x3f 0x3d 0x3b 0x39 0x42 0x46 0x41 0x44 ,
range:0x35 0x34 0x34 0x37 0x38 0x34 0x34 0x38 ,0x36 0x33 0x37 0x38 0x38 0x38 0x3a 0x39 ,
0x37 0x3a 0x34 0x37 0x36 0x3a 0x38 0x33 ,0x33 0x34 0x32 0x38 0x31 0x37 0x35 0x35 ,
the write training result:
DQS0:0x2a, DQS1:0xe, DQS2:0x13, DQS3:0x5,
min :0x76 0x7a 0x7c 0x7b 0x6a 0x6f 0x73 0x73 0x71 ,0x53 0x52 0x4b 0x4d 0x56 0x53 0x57 0x53 0x4e ,
0x5b 0x5c 0x55 0x53 0x4c 0x4c 0x4e 0x50 0x52 ,0x4e 0x4d 0x4a 0x47 0x51 0x51 0x50 0x54 0x4a ,
mid :0x92 0x96 0x98 0x95 0x83 0x87 0x8c 0x8c 0x89 ,0x6f 0x6d 0x65 0x68 0x70 0x6e 0x71 0x6f 0x69 ,
0x78 0x78 0x70 0x70 0x67 0x65 0x68 0x6c 0x6d ,0x69 0x67 0x63 0x60 0x6a 0x6d 0x6a 0x6f 0x63 ,
max :0xaf 0xb2 0xb5 0xaf 0x9d 0x9f 0xa6 0xa6 0xa2 ,0x8b 0x89 0x7f 0x83 0x8b 0x89 0x8b 0x8b 0x84 ,
0x96 0x94 0x8c 0x8d 0x82 0x7f 0x82 0x88 0x89 ,0x84 0x82 0x7c 0x7a 0x83 0x89 0x84 0x8b 0x7c ,
range:0x39 0x38 0x39 0x34 0x33 0x30 0x33 0x33 0x31 ,0x38 0x37 0x34 0x36 0x35 0x36 0x34 0x38 0x36 ,
0x3b 0x38 0x37 0x3a 0x36 0x33 0x34 0x38 0x37 ,0x36 0x35 0x32 0x33 0x32 0x38 0x34 0x37 0x32 ,
CA Training result:
cs:0 min :0x52 0x53 0x49 0x48 0x49 0x43 0x51 ,0x4d 0x50 0x44 0x43 0x46 0x45 0x4f ,
cs:0 mid :0x91 0x90 0x88 0x85 0x87 0x7f 0x81 ,0x8c 0x8b 0x81 0x80 0x84 0x81 0x80 ,
cs:0 max :0xd1 0xce 0xc7 0xc3 0xc6 0xbb 0xb2 ,0xcc 0xc7 0xbf 0xbe 0xc2 0xbe 0xb1 ,
cs:0 range:0x7f 0x7b 0x7e 0x7b 0x7d 0x78 0x61 ,0x7f 0x77 0x7b 0x7b 0x7c 0x79 0x62 ,
cs:1 min :0x4d 0x58 0x45 0x4b 0x45 0x45 0x50 ,0x4c 0x52 0x43 0x47 0x43 0x4a 0x4c ,
cs:1 mid :0x90 0x90 0x87 0x85 0x87 0x7e 0x83 ,0x8d 0x8a 0x84 0x7e 0x83 0x82 0x7e ,
cs:1 max :0xd4 0xc9 0xca 0xbf 0xc9 0xb7 0xb6 ,0xcf 0xc3 0xc6 0xb5 0xc4 0xba 0xb0 ,
cs:1 range:0x87 0x71 0x85 0x74 0x84 0x72 0x66 ,0x83 0x71 0x83 0x6e 0x81 0x70 0x64 ,
out
U-Boot SPL board init
U-Boot SPL 2017.09-armbian (May 25 2022 - 16:09:33)
unknown raw ID phN
unrecognized JEDEC id bytes: 00, 00, 00
Trying to boot from MMC2
## Verified-boot: 0
## Checking atf-1 0x00040000 ... sha256(2f01bd8955...) + OK
## Checking uboot 0x00a00000 ... sha256(2279184859...) + OK
## Checking fdt 0x00b2ea70 ... sha256(c721e0d639...) + OK
## Checking atf-2 0xfdcc9000 ... sha256(f1fecab971...) + OK
## Checking atf-3 0xfdcd0000 ... sha256(d7aa45eb18...) + OK
Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000)
Total: 238.764 ms
INFO: Preloader serial: 2
NOTICE: BL31: v2.3():v2.3-152-g4e725b15f:cl
NOTICE: BL31: Built : 10:51:13, Jul 15 2021
INFO: GICv3 without legacy support detected.
INFO: ARM GICv3 er initialized in EL3
INFO: pmu v1 is valid
INFO: dfs DDhz= 1560MHz
INFO: dfs DDR fsp_param[1].freq_mhz= 324MHz
INFs DDR fsp_param[3].freq_mhz= 780MHz
INFO: Using opteed sec cINFO: BL31: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initia. SMC`s destined for OPTEE will return SMC_UNK
ERROR: Error i Preparing for EL3 exit to normal world
INFO: Entry point ad
U-Boot 2017.09-armbian (May 25 2022 - 16:09:33 +0000)
Model: Radxa ROCK 3 Model A
PreSerial: 2, raw, 0xfe660000
DRAM: 7.7 GiB
Sysmem: init
Relocation Offset: ed34a000
Relocation fdt: eb9f7740 - eb9fecd0
CR: M/C/I
Using default environment
PCIe-0 Link Fail
no mmc device at slot 1
dwmmc@fe2b0000: 1 (SD), dwmmc@fe2c0000: 2, sdhci@fe310000: 0
Bootdev(atags): mmc 1
MMC1: Legacy, 52Mhz
PartType: DOS
No misc partition
boot mode: None
FIT: No boot partition
No resource partition
No resource partition
Failed to load DTB, ret=-19
Failed to get kernel dtb, ret=-19
I2c0 speed: 100000Hz
vsel-gpios- not found! Error: -2
vdd_cpu 1025000 uV
PMIC: RK8090 (on=0x40, off=0x00)
vdd_logic init 900000 uV
vdd_gpu init 900000 uV
vdd_npu init 900000 uV
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 780000 KHz
gpll 1188000 KHz
cpll 1000000 KHz
npll 24000 KHzpll 24000 KHz
ppll 200000 KHz
armclk 816000 KHz
aclk_bu_low 200000 KHz
hclk_top 150000 KHz
pclk_top 50000 KHz
00 KHz
No misc partition
Net: No ethernet found.
Hit key to stop autoboot('CTRL+C'): 0
failed to find reset-gpios property
Device 0: unknown device
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot/boot.scr
3185 bytes read in 12 ms (258.8 KiB/s)
## Executing script at 00c00000
Boot script loaded from mmc 1
199 bytes read in 9 ms (21.5 KiB/s)
18482225 bytes read in 1562 ms (11.3 MiB/s)
30761472 bytes read in 2582 ms (11.4 MiB/s)
** File not found /boot/dtb/rockchip/rk3568-rock-3a.dtb **
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address cf7740
** File not found /boot/dtb/rockchip/overlay/rk35xx-fixup.scr **
Fdt Ramdisk skip relocation
No misc partition
## Loading init Ramdisk from Legacy Image at 0a200000 ...
Image Name: uInitrd
Image Type: AArch64 Linux RAMDisk Image (gzip compressed)
Data Size: 18482161 Bytes = 17.6 MiBerifying Checksum ... OK
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
SCRIPT FAILED: continuing...
MMC error: The cmd index is 0, ret is -110
mmc_init: -110, time 4
starting USB...
Bus dwc3@fcc00000: