after restarting this are the initial logs captured through gpio debug pins
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: -48ps, dqs2: -48ps, dqs3: -120ps,
tdqss: cs1 dqs0: 72ps, dqs1: -72ps, 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:0x60
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:0x1c
cs 0:
the read training result:
DQS0:0x38, DQS1:0x38, DQS2:0x3b, DQS3:0x2f,
min :0x10 0x11 0x15 0x12 0x3 0x7 0xc 0x8 , 0xc 0x8 0x1 0x5 0xf 0xc 0xd 0xa ,
0x15 0x14 0xf 0xc 0x6 0x1 0x3 0x8 , 0xe 0x7 0x7 0x2 0xf 0xf 0xc 0xf ,
mid :0x2d 0x2e 0x31 0x2d 0x20 0x24 0x27 0x22 ,0x28 0x26 0x1f 0x22 0x2d 0x28 0x29 0x27 ,
0x31 0x31 0x2b 0x2a 0x22 0x1f 0x20 0x25 ,0x26 0x21 0x21 0x1c 0x2a 0x2b 0x27 0x2a ,
max :0x4b 0x4b 0x4d 0x49 0x3d 0x42 0x43 0x3d ,0x44 0x44 0x3d 0x3f 0x4b 0x45 0x46 0x44 ,
0x4d 0x4f 0x48 0x48 0x3e 0x3d 0x3d 0x42 ,0x3f 0x3c 0x3c 0x37 0x45 0x47 0x42 0x45 ,
range:0x3b 0x3a 0x38 0x37 0x3a 0x3b 0x37 0x35 ,0x38 0x3c 0x3c 0x3a 0x3c 0x39 0x39 0x3a ,
0x38 0x3b 0x39 0x3c 0x38 0x3c 0x3a 0x3a ,0x31 0x35 0x35 0x35 0x36 0x38 0x36 0x36 ,
the write training result:
DQS0:0x25, DQS1:0x13, DQS2:0x13, DQS3:0x5,
min :0x6b 0x6e 0x72 0x6f 0x5e 0x64 0x67 0x68 0x65 ,0x54 0x52 0x4e 0x51 0x58 0x55 0x5a 0x56 0x52 ,
0x5a 0x5a 0x54 0x52 0x49 0x48 0x4b 0x4e 0x4f ,0x4c 0x4b 0x49 0x48 0x51 0x52 0x4f 0x55 0x46 ,
mid :0x87 0x89 0x8d 0x8a 0x77 0x7d 0x82 0x81 0x7d ,0x6f 0x6d 0x66 0x69 0x72 0x6e 0x72 0x70 0x6b ,
0x76 0x76 0x6e 0x6e 0x64 0x61 0x65 0x69 0x6a ,0x66 0x64 0x61 0x60 0x69 0x6c 0x68 0x6f 0x60 ,
max :0xa4 0xa5 0xa9 0xa5 0x91 0x97 0x9e 0x9a 0x96 ,0x8b 0x89 0x7f 0x82 0x8d 0x88 0x8b 0x8b 0x85 ,
0x93 0x92 0x88 0x8b 0x80 0x7b 0x80 0x85 0x85 ,0x80 0x7d 0x7a 0x79 0x82 0x87 0x81 0x89 0x7b ,
range:0x39 0x37 0x37 0x36 0x33 0x33 0x37 0x32 0x31 ,0x37 0x37 0x31 0x31 0x35 0x33 0x31 0x35 0x33 ,
0x39 0x38 0x34 0x39 0x37 0x33 0x35 0x37 0x36 ,0x34 0x32 0x31 0x31 0x31 0x35 0x32 0x34 0x35 ,
cs 1:
the read training result:
DQS0:0x36, DQS1:0x37, DQS2:0x3b, DQS3:0x32,
min : 0xf 0x11 0x15 0x12 0x1 0x8 0xc 0x9 , 0xc 0x6 0x2 0x2 0xf 0xb 0xe 0x8 ,
0x15 0x12 0xe 0xc 0x5 0x1 0x3 0x7 , 0xe 0x9 0x9 0x3 0x11 0x11 0x10 0x12 ,
mid :0x2b 0x2d 0x30 0x2d 0x1d 0x24 0x26 0x22 ,0x27 0x24 0x1d 0x1f 0x2b 0x28 0x29 0x24 ,
0x31 0x31 0x2b 0x2a 0x21 0x1f 0x20 0x24 ,0x28 0x25 0x24 0x20 0x2c 0x2c 0x2c 0x2e ,
max :0x47 0x49 0x4b 0x48 0x3a 0x40 0x41 0x3b ,0x42 0x42 0x39 0x3d 0x48 0x45 0x44 0x41 ,
0x4e 0x50 0x48 0x48 0x3d 0x3e 0x3e 0x42 ,0x42 0x42 0x40 0x3d 0x48 0x48 0x48 0x4b ,
range:0x38 0x38 0x36 0x36 0x39 0x38 0x35 0x32 ,0x36 0x3c 0x37 0x3b 0x39 0x3a 0x36 0x39 ,
0x39 0x3e 0x3a 0x3c 0x38 0x3d 0x3b 0x3b ,0x34 0x39 0x37 0x3a 0x37 0x37 0x38 0x39 ,
the write training result:
DQS0:0x25, DQS1:0x13, DQS2:0x13, DQS3:0x5,
min :0x71 0x73 0x76 0x74 0x62 0x69 0x6e 0x6c 0x6b ,0x50 0x4f 0x48 0x4c 0x55 0x51 0x56 0x52 0x4e ,
0x5b 0x5c 0x56 0x53 0x4b 0x49 0x4f 0x52 0x53 ,0x4e 0x4c 0x4a 0x47 0x52 0x53 0x52 0x56 0x4a ,
mid :0x8d 0x8f 0x92 0x8f 0x7d 0x82 0x88 0x86 0x85 ,0x6d 0x6b 0x63 0x66 0x70 0x6c 0x70 0x6e 0x69 ,
0x78 0x78 0x70 0x70 0x66 0x64 0x68 0x6c 0x6d ,0x6a 0x67 0x65 0x62 0x6d 0x6f 0x6b 0x71 0x65 ,
max :0xaa 0xac 0xaf 0xab 0x99 0x9c 0xa2 0xa1 0x9f ,0x8a 0x88 0x7f 0x81 0x8b 0x88 0x8a 0x8a 0x85 ,
0x95 0x94 0x8b 0x8d 0x82 0x7f 0x81 0x86 0x88 ,0x87 0x82 0x80 0x7d 0x89 0x8b 0x85 0x8d 0x80 ,
range:0x39 0x39 0x39 0x37 0x37 0x33 0x34 0x35 0x34 ,0x3a 0x39 0x37 0x35 0x36 0x37 0x34 0x38 0x37 ,
0x3a 0x38 0x35 0x3a 0x37 0x36 0x32 0x34 0x35 ,0x39 0x36 0x36 0x36 0x37 0x38 0x33 0x37 0x36 ,
CA Training result:
cs:0 min :0x4f 0x53 0x45 0x46 0x45 0x43 0x4f ,0x4e 0x4a 0x42 0x3f 0x41 0x41 0x4c ,
cs:0 mid :0x8f 0x8f 0x85 0x82 0x83 0x7e 0x80 ,0x8c 0x87 0x80 0x7c 0x80 0x7e 0x7e ,
cs:0 max :0xcf 0xcb 0xc5 0xbe 0xc2 0xb9 0xb1 ,0xca 0xc4 0xbe 0xb9 0xc0 0xbc 0xb1 ,
cs:0 range:0x80 0x78 0x80 0x78 0x7d 0x76 0x62 ,0x7c 0x7a 0x7c 0x7a 0x7f 0x7b 0x65 ,
cs:1 min :0x4d 0x57 0x43 0x4b 0x43 0x46 0x51 ,0x49 0x51 0x40 0x44 0x40 0x47 0x4c ,
cs:1 mid :0x8f 0x8f 0x86 0x82 0x84 0x7e 0x83 ,0x8c 0x88 0x81 0x7c 0x82 0x7f 0x7f ,
cs:1 max :0xd1 0xc8 0xc9 0xba 0xc6 0xb6 0xb6 ,0xd0 0xc0 0xc3 0xb4 0xc4 0xb7 0xb2 ,
cs:1 range:0x84 0x71 0x86 0x6f 0x83 0x70 0x65 ,0x87 0x6f 0x83 0x70 0x84 0x70 0x66 ,
out
U-Boot SPL board init
U-Boot SPL 2017.09-armbian (Sep 21 2022 - 18:46:05)
Trying to boot from MMC2
## Verified-boot: 0
## Checking atf-1 0x00040000 ... sha256(2f01bd8955...) + OK
## Checking uboot 0x00a00000 ... sha256(41dab642c0...) + OK
## Checking fdt 0x00b2ece0 ... sha256(877bce1efa...) + 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: 695.605 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 driver initialized in EL3
INFO: pmu v1 is valid
INFO: dfs DDR fsp_param[0].freq_mhz= 1560MHz
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 reK
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 (Sep 21 2022 - 18:46:05 +0000)
Model: Radxa ROCK3 Model A
PreSerial: 2, raw, 0xfe660000
DRAM: 7.7 GiB
Sysmem: init
Relocation Offset: ed349000
Relocation fdt: eb9f79c0 - eb9fece0
CR: M/C/I
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, 52Mhz
PartType: EFI
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 ROCK3 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 KHz
vpll 24000 KHz
hpll 24000 KHz
ppll 200000 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 100000 KHz
No misc partition
Net: No ethernet found.
Hit key to stop autoboot('CTRL+C'): 0
Device 0: unknown device
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found U-Boot script /boot.scr
reading /boot.scr
3242 bytes read in 2 ms (1.5 MiB/s)
## Executing script at 00c00000
Boot script loaded from mmc 1
reading /armbianEnv.txt
232 bytes read in 1 ms (226.6 KiB/s)
reading /uInitrd
21977072 bytes read in 1814 ms (11.6 MiB/s)
reading /Image
29096448 bytes read in 2401 ms (11.6 MiB/s)
reading /dtb/rockchip/rk3568-rock-3a.dtb
118062 bytes read in 16 ms (7 MiB/s)
** Unable to read file /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: 21977008 Bytes = 21 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=83000
Using Device Tree in place at 000000000a100000, end 000000000a185fff
can't found rockchip,drm-logo, use rockchip,fb-logo
WARNING: could not set reg FDT_ERR_BADOFFSET.
failed to reserve fb-loader-logo memory
Adding bank: 0x00200000 - 0xf0000000 (size: 0xefe00000)
Adding bank: 0x100000000 - 0x200000000 (size: 0x100000000)
Total: 5929.55 ms
if these details can help