ROCK 3A doesn't boot

Recently I bought ROCK 3A and have been trying to tinker it.

Both microSD and eMMC doesn’t show HDMI output, and serial console seems to repeat
rebooting while boot process:



[ OK ] Started Create list of req… nodes for the current kernel.
[ OK ] Started Load Kernel Modules.
Starting Apply Kernel Variables…
Mounting FUSE Control File System…
Mounting Kernel Configuration File System…
[ OK ] Started Apply Kernel Variables.
[ 3.723184] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
DDR Version V1.06 20210326
In
LP4 MR14:0x5d
PHY drv:clk:36,ca:36,DQ:29,odt:60
PHY drv:clk:0x1a,0x1a,ca:0x1a,0x1a,DQ:0x1e,0x1e,odt:0x0,0xa
vrefinner:0x66, vrefout:0x100
dram drv:40,odt:0
ddrconfig:7
LPDDR4X, 324MHz
BW=32 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=16 Size=8192MB
wrlvl:clk skew:0x80,0x80
tdqss_skew:
cs 0 dqs 0: 12
cs 0 dqs 1: 8
cs 0 dqs 2: 9
cs 0 dqs 3: 7
cs 0 dqs 4: 0
cs 1 dqs 0: 12
cs 1 dqs 1: 9
cs 1 dqs 2: 8
cs 1 dqs 3: 6
cs 1 dqs 4: 0
cs 0 dqs 0: 289ps
cs 0 dqs 1: 192ps
cs 0 dqs 2: 217ps
cs 0 dqs 3: 168ps
cs 1 dqs 0: 289ps
cs 1 dqs 1: 217ps
cs 1 dqs 2: 192ps
cs 1 dqs 3: 144ps
tdqss.min:144,mid:216,max:289
change to: 324MHz
PHY drv:clk:36,ca:36,DQ:29,odt:60
PHY drv:clk:0x1a,0x1a,ca:0x1a,0x1a,DQ:0x1e,0x1e,odt:0x0,0xa
vrefinner:0x66, vrefout:0x100
dram drv:40,odt:0
PWRCTL:0x40,stat:0x303
vref_ca:0000004A
minca:0x80,ck:0x80,ab:0x80,0x80, min_ck:0x0
get_clk_dqs_def_val: tdqs2dq:0
clk:0x58, clk_delta:-40,max_freq:1056
skew.dqs[0][0]:0x63
skew.dqs[0][1]:0x5f
skew.dqs[0][2]:0x60
skew.dqs[0][3]:0x5e
skew.dqs[1][0]:0x63
skew.dqs[1][1]:0x60
skew.dqs[1][2]:0x5f
skew.dqs[1][3]:0x5d



cs1 chA ca2 min: 0x43, mid:0x85 max:0xc8, range:0x85
cs1 chA ca3 min: 0x4c, mid:0x85 max:0xbf, range:0x73
cs1 chA ca4 min: 0x45, mid:0x86 max:0xc8, range:0x83
cs1 chA ca5 min: 0x49, mid:0x82 max:0xbb, range:0x72
cs1 chA CS min: 0x47, mid:0x7a max:0xae, range:0x67
cs1 chB ca0 min: 0x49, mid:0x8a max:0xcc, range:0x83
cs1 chB ca1 min: 0x4e, mid:0x88 max:0xc3, range:0x75
cs1 chB ca2 min: 0x42, mid:0x85 max:0xc8, range:0x86
cs1 chB ca3 min: 0x45, mid:0x81 max:0xbd, range:0x78
cs1 chB ca4 min: 0x42, mid:0x83 max:0xc4, range:0x82
cs1 chB ca5 min: 0x47, mid:0x81 max:0xbb, range:0x74
cs1 chB CS min: 0x44, mid:0x78 max:0xac, range:0x68
RX DQS Train result:
cs0, DQS0:cyc:3,oph:5,dll:28
cs0, DQS1:cyc:3,oph:6,dll:27
cs0, DQS2:cyc:3,oph:6,dll:0
cs0, DQS3:cyc:3,oph:6,dll:20
cs1, DQS0:cyc:3,oph:5,dll:27
cs1, DQS1:cyc:3,oph:6,dll:22
cs1, DQS2:cyc:3,oph:5,dll:31
cs1, DQS3:cyc:3,oph:6,dll:21
out
U-Boot SPL board init
U-Boot SPL 2017.09-g3163a2399be-210525 #stephen (Sep 09 2021 - 15:43:03)
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 0x00b23688 … sha256+ OK

Checking atf-2 0xfdcc9000 … sha256+ OK

Checking atf-3 0xfdcd0000 … sha256+ OK

Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000)
Total: 232.521 ms

INFO: Preloader serial: 2
NOTICE: BL31: v2.3():v2.3-110-g8504c6c97-dirty:xsf
NOTICE: BL31: Built : 14:50:05, Mar 26 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-g3163a2399be-210525 #stephen (Sep 09 2021 - 15:43:03 +0800)

Model: Radxa ROCK 3 Model A
PreSerial: 2, raw, 0xfe660000
DRAM: 7.7 GiB
Sysmem: init
Relocation Offset: ed355000, fdt: eb9f9378
Using default environment

What’s wrong about this?
Is this board broken?

The booting log seems normal. What power adapter are you using?

I use Anker PowerPort Speed 5, which provides QC3.0.

If it is caused by power shortage, I will try some other power adapter…

dose the startup process stop with the info " Using default environment"?
i think you can try to use a ch340 series usb to ttl cable

Thank you guys!

It turns out that I picked low quality USB cable. After changing to another cable, Rock 3A runs as expected.

aghost:
That’s not my case, it had continued rebooting. (logs are partial excerpt)
FYI, I use CP210x usb serial cable and it seems to be flawless.