ROCK3A stuck on boot

hey guys, got my Rock3a recently and I’m trying to boot with debian image, but only with uart since I don’t have here with me a monitor with HDMI. The terminal shows that it’s stuck on this line:

Debian GNU/Linux 10 rock3a ttyFIQ0

rock3a login: [ 5.501773] broken atomic modeset userspace detected, disabling atomic
[ 5.519182] [drm:dw_hdmi_rockchip_set_property] ERROR failed to set rockchip hdmi connector property hdmi_color_depth_capacity
[ 5.519238] [drm:dw_hdmi_rockchip_set_property] ERROR failed to set rockchip hdmi connector property hdmi_output_mode_capacity
[ 5.580776] rk-pcie 3c0000000.pcie: PCIe Linking… LTSSM is 0x0
[ 5.604191] rk-pcie 3c0800000.pcie: PCIe Linking… LTSSM is 0x0
[ 6.590790] rk-pcie 3c0000000.pcie: PCIe Linking… LTSSM is 0x0
[ 6.617566] rk-pcie 3c0800000.pcie: PCIe Linking… LTSSM is 0x0
[ 7.604125] rk-pcie 3c0000000.pcie: PCIe Linking… LTSSM is 0x0
[ 7.630830] rk-pcie 3c0800000.pcie: PCIe Linking… LTSSM is 0x0
[ 8.617438] rk-pcie 3c0000000.pcie: PCIe Linking… LTSSM is 0x0
[ 8.644111] rk-pcie 3c0800000.pcie: PCIe Linking… LTSSM is 0x0
[ 9.630808] rk-pcie 3c0000000.pcie: PCIe Linking… LTSSM is 0x0
[ 9.657578] rk-pcie 3c0800000.pcie: PCIe Linking… LTSSM is 0x0
[ 10.644306] rk-pcie 3c0000000.pcie: PCIe Linking… LTSSM is 0x0
[ 10.670836] rk-pcie 3c0800000.pcie: PCIe Linking… LTSSM is 0x0
[ 11.657517] rk-pcie 3c0000000.pcie: PCIe Link Fail
[ 11.657561] rk-pcie 3c0000000.pcie: failed to initialize host
[ 11.684181] rk-pcie 3c0800000.pcie: PCIe Link Fail
[ 11.684226] rk-pcie 3c0800000.pcie: failed to initialize host
[ 32.057659] pcie30_3v3: disabling

Not sure it can help, but in the ubuntu img (not the latest one released), at this stage a login prompt is displayed on HDMI, to login with UART just hit ENTER.

@jack its possible to make avaiable the TRM manual of rk3568?

@jack, @Stephen I tried with an hdmi viceo capture to usb (don’t have an hdmi monitor with me) and I got this now:

▒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=16 CS1 Row=16 CS=2 Die BW=16 Size=4096MB
wrlvl:clk skew:0x80,0x80
tdqss_skew:
cs 0 dqs 0: 11
cs 0 dqs 1: 7
cs 0 dqs 2: 9
cs 0 dqs 3: 5
cs 0 dqs 4: 0
cs 1 dqs 0: 11
cs 1 dqs 1: 8
cs 1 dqs 2: 9
cs 1 dqs 3: 6
cs 1 dqs 4: 0
cs 0 dqs 0: 265ps
cs 0 dqs 1: 168ps
cs 0 dqs 2: 217ps
cs 0 dqs 3: 120ps
cs 1 dqs 0: 265ps
cs 1 dqs 1: 192ps
cs 1 dqs 2: 217ps
cs 1 dqs 3: 144ps
tdqss.min:120,mid:192,max:265
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:0x7f,ck:0x80,ab:0x80,0x80, min_ck:0x1
get_clk_dqs_def_val: tdqs2dq:0
clk:0x59, clk_delta:-39,max_freq:1056
skew.dqs[0][0]:0x63
skew.dqs[0][1]:0x5f
skew.dqs[0][2]:0x61
skew.dqs[0][3]:0x5d
skew.dqs[1][0]:0x63
skew.dqs[1][1]:0x60
skew.dqs[1][2]:0x61
skew.dqs[1][3]:0x5e
PWRCTL:0x0,stat:0x1
cs 0:
the read training result:
DQS0:0x74:
DQ0:min:0x0,mid:0x3e,max:0x7c,range:0x7c
DQ1:min:0x0,mid:0x3d,max:0x7a,range:0x7a
DQ2:min:0x0,mid:0x3f,max:0x7e,range:0x7e
DQ3:min:0x0,mid:0x3d,max:0x7b,range:0x7b
DQ4:min:0x0,mid:0x38,max:0x70,range:0x70
DQ5:min:0x0,mid:0x39,max:0x73,range:0x73
DQ6:min:0x0,mid:0x3b,max:0x76,range:0x76
DQ7:min:0x0,mid:0x39,max:0x73,range:0x73

DQS1:0x7b:
DQ8:min:0x0,mid:0x3c,max:0x79,range:0x79
DQ9:min:0x0,mid:0x3d,max:0x7b,range:0x7b
DQ10:min:0x0,mid:0x3a,max:0x74,range:0x74
DQ11:min:0x0,mid:0x3c,max:0x79,range:0x79
DQ12:min:0x0,mid:0x3f,max:0x7e,range:0x7e
DQ13:min:0x0,mid:0x3e,max:0x7d,range:0x7d
DQ14:min:0x0,mid:0x3e,max:0x7d,range:0x7d
DQ15:min:0x0,mid:0x3d,max:0x7a,range:0x7a

DQS2:0x77:
DQ16:min:0x0,mid:0x3e,max:0x7d,range:0x7d
DQ17:min:0x0,mid:0x3f,max:0x7e,range:0x7e
DQ18:min:0x0,mid:0x3d,max:0x7a,range:0x7a
DQ19:min:0x0,mid:0x3d,max:0x7a,range:0x7a
DQ20:min:0x0,mid:0x39,max:0x73,range:0x73
DQ21:min:0x0,mid:0x38,max:0x70,range:0x70
DQ22:min:0x0,mid:0x38,max:0x71,range:0x71
DQ23:min:0x0,mid:0x3a,max:0x74,range:0x74

DQS3:0x75:
DQ24:min:0x0,mid:0x3f,max:0x7e,range:0x7e
DQ25:min:0x0,mid:0x3d,max:0x7a,range:0x7a
DQ26:min:0x0,mid:0x3c,max:0x78,range:0x78
DQ27:min:0x0,mid:0x3b,max:0x76,range:0x76
DQ28:min:0x0,mid:0x3f,max:0x7e,range:0x7e
DQ29:min:0x0,mid:0x3f,max:0x7f,range:0x7f
DQ30:min:0x0,mid:0x3e,max:0x7d,range:0x7d
DQ31:min:0x0,mid:0x3f,max:0x7e,range:0x7e

the write training result:
DQS0:0x63:
DQ0:min:0x58,mid:0x76,max:0x95,range:0x3d
DQ1:min:0x59,mid:0x77,max:0x96,range:0x3d
DQ2:min:0x59,mid:0x77,max:0x96,range:0x3d
DQ3:min:0x59,mid:0x77,max:0x95,range:0x3c
DQ4:min:0x56,mid:0x74,max:0x93,range:0x3d
DQ5:min:0x58,mid:0x75,max:0x93,range:0x3b
DQ6:min:0x57,mid:0x75,max:0x94,range:0x3d
DQ7:min:0x57,mid:0x75,max:0x93,range:0x3c
DM0:min:0x58,mid:0x76,max:0x94,range:0x3c

DQS1:0x5f:
DQ8:min:0x52,mid:0x70,max:0x8e,range:0x3c
DQ9:min:0x52,mid:0x70,max:0x8e,range:0x3c
DQ10:min:0x50,mid:0x6e,max:0x8d,range:0x3d
DQ11:min:0x51,mid:0x6f,max:0x8d,range:0x3c
DQ12:min:0x53,mid:0x71,max:0x8f,range:0x3c
DQ13:min:0x53,mid:0x70,max:0x8e,range:0x3b
DQ14:min:0x53,mid:0x71,max:0x8f,range:0x3c
DQ15:min:0x52,mid:0x70,max:0x8e,range:0x3c
DM1:min:0x51,mid:0x6f,max:0x8e,range:0x3d

DQS2:0x61:
DQ16:min:0x56,mid:0x74,max:0x93,range:0x3d
DQ17:min:0x57,mid:0x75,max:0x93,range:0x3c
DQ18:min:0x55,mid:0x73,max:0x92,range:0x3d
DQ19:min:0x55,mid:0x73,max:0x92,range:0x3d
DQ20:min:0x53,mid:0x71,max:0x90,range:0x3d
DQ21:min:0x53,mid:0x71,max:0x8f,range:0x3c
DQ22:min:0x53,mid:0x71,max:0x8f,range:0x3c
DQ23:min:0x55,mid:0x73,max:0x91,range:0x3c
DM2:min:0x55,mid:0x73,max:0x91,range:0x3c

DQS3:0x5d:
DQ24:min:0x51,mid:0x6f,max:0x8e,range:0x3d
DQ25:min:0x50,mid:0x6e,max:0x8d,range:0x3d
DQ26:min:0x51,mid:0x6f,max:0x8d,range:0x3c
DQ27:min:0x50,mid:0x6e,max:0x8c,range:0x3c
DQ28:min:0x52,mid:0x70,max:0x8f,range:0x3d
DQ29:min:0x52,mid:0x70,max:0x8f,range:0x3d
DQ30:min:0x51,mid:0x6f,max:0x8e,range:0x3d
DQ31:min:0x52,mid:0x70,max:0x8e,range:0x3c
DM3:min:0x50,mid:0x6e,max:0x8d,range:0x3d

cs 1:
the read training result:
DQS0:0x76:
DQ0:min:0x0,mid:0x3e,max:0x7c,range:0x7c
DQ1:min:0x0,mid:0x3d,max:0x7b,range:0x7b
DQ2:min:0x0,mid:0x3f,max:0x7e,range:0x7e
DQ3:min:0x0,mid:0x3e,max:0x7c,range:0x7c
DQ4:min:0x0,mid:0x38,max:0x71,range:0x71
DQ5:min:0x0,mid:0x3a,max:0x74,range:0x74
DQ6:min:0x0,mid:0x3b,max:0x76,range:0x76
DQ7:min:0x0,mid:0x3a,max:0x74,range:0x74

DQS1:0x7b:
DQ8:min:0x0,mid:0x3c,max:0x79,range:0x79
DQ9:min:0x0,mid:0x3d,max:0x7b,range:0x7b
DQ10:min:0x0,mid:0x39,max:0x73,range:0x73
DQ11:min:0x0,mid:0x3c,max:0x78,range:0x78
DQ12:min:0x0,mid:0x3f,max:0x7e,range:0x7e
DQ13:min:0x0,mid:0x3e,max:0x7d,range:0x7d
DQ14:min:0x0,mid:0x3e,max:0x7c,range:0x7c
DQ15:min:0x0,mid:0x3d,max:0x7a,range:0x7a

DQS2:0x76:
DQ16:min:0x0,mid:0x3e,max:0x7c,range:0x7c
DQ17:min:0x0,mid:0x3f,max:0x7e,range:0x7e
DQ18:min:0x0,mid:0x3c,max:0x78,range:0x78
DQ19:min:0x0,mid:0x3c,max:0x78,range:0x78
DQ20:min:0x0,mid:0x39,max:0x72,range:0x72
DQ21:min:0x0,mid:0x38,max:0x70,range:0x70
DQ22:min:0x0,mid:0x38,max:0x70,range:0x70
DQ23:min:0x0,mid:0x3a,max:0x74,range:0x74

DQS3:0x74:
DQ24:min:0x0,mid:0x3e,max:0x7c,range:0x7c
DQ25:min:0x0,mid:0x3c,max:0x79,range:0x79
DQ26:min:0x0,mid:0x3b,max:0x76,range:0x76
DQ27:min:0x0,mid:0x3a,max:0x75,range:0x75
DQ28:min:0x0,mid:0x3e,max:0x7d,range:0x7d
DQ29:min:0x0,mid:0x3f,max:0x7e,range:0x7e
DQ30:min:0x0,mid:0x3e,max:0x7c,range:0x7c
DQ31:min:0x0,mid:0x3e,max:0x7d,range:0x7d

the write training result:
DQS0:0x63:
DQ0:min:0x5a,mid:0x78,max:0x97,range:0x3d
DQ1:min:0x5b,mid:0x79,max:0x97,range:0x3c
DQ2:min:0x5b,mid:0x79,max:0x97,range:0x3c
DQ3:min:0x5a,mid:0x78,max:0x97,range:0x3d
DQ4:min:0x58,mid:0x76,max:0x94,range:0x3c
DQ5:min:0x59,mid:0x76,max:0x94,range:0x3b
DQ6:min:0x59,mid:0x77,max:0x95,range:0x3c
DQ7:min:0x59,mid:0x77,max:0x95,range:0x3c
DM0:min:0x5a,mid:0x77,max:0x95,range:0x3b

DQS1:0x5f:
DQ8:min:0x56,mid:0x74,max:0x93,range:0x3d
DQ9:min:0x56,mid:0x74,max:0x92,range:0x3c
DQ10:min:0x55,mid:0x73,max:0x91,range:0x3c
DQ11:min:0x55,mid:0x73,max:0x92,range:0x3d
DQ12:min:0x58,mid:0x75,max:0x93,range:0x3b
DQ13:min:0x57,mid:0x75,max:0x93,range:0x3c
DQ14:min:0x57,mid:0x75,max:0x93,range:0x3c
DQ15:min:0x57,mid:0x74,max:0x92,range:0x3b
DM1:min:0x56,mid:0x74,max:0x92,range:0x3c

DQS2:0x61:
DQ16:min:0x57,mid:0x75,max:0x94,range:0x3d
DQ17:min:0x57,mid:0x75,max:0x94,range:0x3d
DQ18:min:0x56,mid:0x74,max:0x92,range:0x3c
DQ19:min:0x56,mid:0x74,max:0x92,range:0x3c
DQ20:min:0x54,mid:0x72,max:0x91,range:0x3d
DQ21:min:0x54,mid:0x72,max:0x91,range:0x3d
DQ22:min:0x54,mid:0x72,max:0x91,range:0x3d
DQ23:min:0x55,mid:0x73,max:0x92,range:0x3d
DM2:min:0x56,mid:0x74,max:0x92,range:0x3c

DQS3:0x5d:
DQ24:min:0x53,mid:0x71,max:0x90,range:0x3d
DQ25:min:0x53,mid:0x71,max:0x8f,range:0x3c
DQ26:min:0x53,mid:0x71,max:0x8f,range:0x3c
DQ27:min:0x52,mid:0x70,max:0x8e,range:0x3c
DQ28:min:0x55,mid:0x72,max:0x90,range:0x3b
DQ29:min:0x54,mid:0x72,max:0x91,range:0x3d
DQ30:min:0x53,mid:0x71,max:0x90,range:0x3d
DQ31:min:0x55,mid:0x73,max:0x91,range:0x3c
DM3:min:0x52,mid:0x70,max:0x8f,range:0x3d

CA Training result:
clk_a:0x59, clk_b:0x59
reg0x26c:0x0, 0x0
cs0 chA ca0 min: 0x3a, mid:0x82 max:0xca, range:0x90
cs0 chA ca1 min: 0x4b, mid:0x82 max:0xb9, range:0x6e
cs0 chA ca2 min: 0x38, mid:0x80 max:0xc8, range:0x90
cs0 chA ca3 min: 0x48, mid:0x7f max:0xb6, range:0x6e
cs0 chA ca4 min: 0x39, mid:0x80 max:0xc8, range:0x8f
cs0 chA ca5 min: 0x48, mid:0x7f max:0xb6, range:0x6e
cs0 chA CS min: 0x39, mid:0x72 max:0xab, range:0x72
cs0 chB ca0 min: 0x3a, mid:0x82 max:0xcb, range:0x91
cs0 chB ca1 min: 0x4b, mid:0x82 max:0xb9, range:0x6e
cs0 chB ca2 min: 0x38, mid:0x80 max:0xc8, range:0x90
cs0 chB ca3 min: 0x49, mid:0x7f max:0xb6, range:0x6d
cs0 chB ca4 min: 0x38, mid:0x7f max:0xc7, range:0x8f
cs0 chB ca5 min: 0x48, mid:0x7f max:0xb6, range:0x6e
cs0 chB CS min: 0x3a, mid:0x72 max:0xab, range:0x71
cs1 chA ca0 min: 0x3a, mid:0x82 max:0xcb, range:0x91
cs1 chA ca1 min: 0x4c, mid:0x82 max:0xb9, rand:0x32,max:0x5a,range:0x50
DQ4:min:0x1,mid:0x28,max:0x50,range:0x4f
DQ5:min:0x5,mid:0x2b,max:0x52,range:0x4d
DQ6:min:0x7,
DQ13:min:0x7,mid:0x2e,max:0x56,range:0x4f
DQ14:min:0x9,mid:0x2f,max:0x56,range:0x4d
DQ15:min:0x6,mid:0x2c,max:0x52,range:x5a,range:0x4f
DQ25:min:0x8,mid:0x2e,max:0x55,range:0x4d
DQ26:min:0x7,mid:0x2d,max:0x54,range:0x4d
DQ27:min:0x2,mid:0x2a,n:0x9a,mid:0xb5,max:0xd1,range:0x37
DQ4:min:0x93,mid:0xae,max:0xc9,range:0x36
DQ5:min:0x95,mid:0xaf,max:0xca,range:0x35
Db,range:0x39
DQ17:min:0x93,mid:0xae,max:0xca,range:0x37
DQ18:min:0x90,mid:0xab,max:0xc7,range:0x37
DQ19:min:0x8f,mid:0xab28:min:0x95,mid:0xaf,max:0xca,range:0x35
DQ29:min:0x94,mid:0xaf,max:0xca,range:0x36
DQ30:min:0x94,mid:0xad,max:0xc6,range:
cs0 chA ca2 min: 0x29, mid:0x7c max:0xd0, range:0xa7
cs0 chA ca3 min: 0x51, mid:0x7c max:0xa7, range:0x56
cs0 chA ca4 mincs0 chB CS min: 0x0, mid:0x7f max:0xff, range:0xff
cs1 chA ca0 min: 0x2d, mid:0x83 max:0xd9, range:0xac
cs1 chA ca1 min: 0x5a, mid:0x83 max:0xad, range:0x53
cs1 chA ca2 min: 0x29, mid:0x7d max:0xd1, range:0xa8
cs1 chA ca3 min: 0x52, mid:0x7c max:0xa7, range:0x55
cs1 chA ca4 min: 0x2a, mid:0x7e max:0xd2, range:0xa8
cs1 chA ca5 min: 0x50, mid:0x7b max:0xa6, range:0x56
cs1 chA CS min: 0x0, mid:0x7f max:0xff, range:0xff
cs1 chB ca0 min: 0x2f, mid:0x83 max:0xd7, range:0xa8
cs1 chB ca1 min: 0x58, mid:0x82 max:0xad, range:0x55
cs1 chB ca2 min: 0x29, mid:0x7d max:0xd1, range:0xa8
cs1 chB ca3 min: 0x53, mid:0x7c max:0xa6, range:0x53
cs1 chB ca4 min: 0x28, mid:0x7c max:0xd1, range:0xa9
cs1 chB ca5 min: 0x51, mid:0x7c max:0xa7, range:0x56
cs1 chB CS min: 0x0, mid:0x7f max:0xff, range:0xff
RX DQS Train result:
cs0, DQS0:cyc:2,oph:4,dll:12
cs0, DQS1:cyc:2,oph:4,dll:20
cs0, DQS2:cyc:2,oph:4,dll:20
cs0, DQS3:cyc:2,oph:4,dll:27
cs1, DQS0:cyc:2,oph:4,dll:20
cs1, DQS1:cyc:2,oph:4,dll:26
cs1, DQS2:cyc:2,oph:4,dll:24
cs1, DQS3:cyc:2,oph:4,dll:31
change to: 1056MHz(final freq)
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:80
PWRCTL:0x40,stat:0x303
vref_ca:0000004A
minca:0x76,ck:0x80,ab:0x80,0x80, min_ck:0xa
get_clk_dqs_def_val: tdqs2dq:434
clk:0x53, clk_delta:-45,max_freq:1056
skew.dqs[0][0]:0x76
skew.dqs[0][1]:0x69
skew.dqs[0][2]:0x70
skew.dqs[0][3]:0x63
skew.dqs[1][0]:0x76
skew.dqs[1][1]:0x6c
skew.dqs[1][2]:0x70
skew.dqs[1][3]:0x66
PWRCTL:0x0,stat:0x1
cs 0:
the read training result:
DQS0:0x3c:
DQ0:min:0xa,mid:0x26,max:0x42,range:0x38
DQ1:min:0xb,mid:0x25,max:0x40,range:0x35
DQ2:min:0xb,mid:0x27,max:0x44,range:0x39
DQ3:min:0xa,mid:0x25,max:0x40,range:0x36
DQ4:min:0x2,mid:0x1c,max:0x37,range:0x35
DQ5:min:0x5,mid:0x1f,max:0x39,range:0x34
DQ6:min:0x7,mid:0x21,max:0x3c,range:0x35
DQ7:min:0x5,mid:0x1e,max:0x38,range:0x33

DQS1:0x3b:
DQ8:min:0x9,mid:0x21,max:0x39,range:0x30
DQ9:min:0x6,mid:0x21,max:0x3c,range:0x36
DQ10:min:0x2,mid:0x1a,max:0x33,range:0x31
DQ11:min:0x2,mid:0x1d,max:0x38,range:0x36
DQ12:min:0xb,mid:0x24,max:0x3d,range:0x32
DQ13:min:0x7,mid:0x22,max:0x3e,range:0x37
DQ14:min:0xa,mid:0x23,max:0x3c,range:0x32
DQ15:min:0x6,mid:0x20,max:0x3a,range:0x34

DQS2:0x3f:
DQ16:min:0x10,mid:0x29,max:0x43,range:0x33
DQ17:min:0xf,mid:0x29,max:0x44,range:0x35
DQ18:min:0xb,mid:0x25,max:0x40,range:0x35
DQ19:min:0xa,mid:0x25,max:0x40,range:0x36
DQ20:min:0x4,mid:0x1f,max:0x3b,range:0x37
DQ21:min:0x2,mid:0x1c,max:0x37,range:0x35
DQ22:min:0x3,mid:0x1e,max:0x3a,range:0x37
DQ23:min:0x6,mid:0x21,max:0x3c,range:0x36

DQS3:0x38:
DQ24:min:0x9,mid:0x24,max:0x3f,range:0x36
DQ25:min:0x6,mid:0x22,max:0x3e,range:0x38
DQ26:min:0x6,mid:0x20,max:0x3a,range:0x34
DQ27:min:0x1,mid:0x1d,max:0x3a,range:0x39
DQ28:min:0xb,mid:0x25,max:0x40,range:0x35
DQ29:min:0xb,mid:0x26,max:0x42,range:0x37
DQ30:min:0x8,mid:0x23,max:0x3f,range:0x37
DQ31:min:0xb,mid:0x26,max:0x42,range:0x37

the write training result:
DQS0:0x76:
DQ0:min:0xa1,mid:0xb7,max:0xcd,range:0x2c
DQ1:min:0xa2,mid:0xb8,max:0xcf,range:0x2d
DQ2:min:0xa3,mid:0xb9,max:0xd0,range:0x2d
DQ3:min:0xa2,mid:0xb8,max:0xcf,range:0x2d
DQ4:min:0x99,mid:0xae,max:0xc4,range:0x2b
DQ5:min:0x9b,mid:0xaf,max:0xc4,range:0x29
DQ6:min:0x9c,mid:0xb2,max:0xc9,range:0x2d
DQ7:min:0x9c,mid:0xb1,max:0xc6,range:0x2a
DM0:min:0x9d,mid:0xb1,max:0xc6,range:0x29

DQS1:0x69:
DQ8:min:0x92,mid:0xa6,max:0xba,range:0x28
DQ9:min:0x91,mid:0xa5,max:0xba,range:0x29
DQ10:min:0x8c,mid:0x9f,max:0xb3,range:0x27
DQ11:min:0x8f,mid:0xa2,max:0xb5,range:0x26
DQ12:min:0x95,mid:0xaa,max:0xbf,range:0x2a
DQ13:min:0x93,mid:0xa5,max:0xb8,range:0x25
DQ14:min:0x94,mid:0xa8,max:0xbc,range:0x28
DQ15:min:0x92,mid:0xa6,max:0xba,range:0x28
DM1:min:0x90,mid:0xa2,max:0xb5,range:0x25

DQS2:0x70:
DQ16:min:0x9b,mid:0xb1,max:0xc8,range:0x2d
DQ17:min:0x9b,mid:0xb0t
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: 227.163 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 init ialization. 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: 4 GiB
Sysmem: init
Relocation Offset: ed355000, fdt: eb9f9378
Using default environment

Hotkey: ctrl+s
no mmc device at slot 1
dwmmc@fe2b0000: 1 (SD), dwmmc@fe2c0000: 2, sdhci@fe310000: 0
Bootdev(atags): mmc 1
MMC1: Legacy, 50Mhz
PartType: EFI
No misc partition
boot mode: None
FIT: No fdt blob
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 /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
reading /extlinux/extlinux.conf
399 bytes read in 4 ms (96.7 KiB/s)
select kernel
1: kernel-4.19.193-10-rockchip-g152e34a538b4
Enter choice: 1
1 not found
select kernel
1: kernel-4.19.193-10-rockchip-g152e34a538b4
Enter choice:
not found
select kernel
1: kernel-4.19.193-10-rockchip-g152e34a538b4
Enter choice: 1
1: kernel-4.19.193-10-rockchip-g152e34a538b4
Retrieving file: /initrd.img-4.19.193-10-rockchip-g152e34a538b4
reading /initrd.img-4.19.193-10-rockchip-g152e34a538b4
4364871 bytes read in 366 ms (11.4 MiB/s)
Retrieving file: /vmlinuz-4.19.193-10-rockchip-g152e34a538b4
reading /vmlinuz-4.19.193-10-rockchip-g152e34a538b4
22337544 bytes read in 1859 ms (11.5 MiB/s)
append: earlyprintk console=ttyFIQ0,1500000n8 rw init=/sbin/init rootfstype=ext4 rootwait root=UUID=deb57d50-1e4c-45d5-adf6-0b115792b22a
Retrieving file: /dtbs/4.19.193-10-rockchip-g152e34a538b4/rockchip/rk3568-rock-3 -a.dtb
reading /dtbs/4.19.193-10-rockchip-g152e34a538b4/rockchip/rk3568-rock-3-a.dtb
114825 bytes read in 17 ms (6.4 MiB/s)
Fdt Ramdisk skip relocation

Flattened Device Tree blob at 0x0a100000

Booting using the fdt blob at 0x0a100000
‘reserved-memory’ ramoops@110000: addr=110000 size=f0000
Using Device Tree in place at 000000000a100000, end 000000000a11f088
Adding bank: 0x00200000 - 0xf0000000 (size: 0xefe00000)
Adding bank: 0x1f0000000 - 0x200000000 (size: 0x10000000)
Total: 35651.326 ms

Starting kernel …

=>
=> help
? - alias for ‘help’
android_print_hdr- print android image header
base - print or set address offset
bdinfo - print Board Info structure
bidram_dump- Dump bidram layout
boot - boot default, i.e., run ‘bootcmd’
boot_android- Execute the Android Bootloader flow.
boot_fit- Boot FIT Image from memory or boot/recovery partition
bootavb - Execute the Android avb a/b boot flow.
bootd - boot default, i.e., run ‘bootcmd’
bootefi - Boots an EFI payload from memory
booti - boot arm64 Linux Image image from memory
bootm - boot application image from memory
bootp - boot image via network using BOOTP/TFTP protocol
bootrkp - Boot Linux Image from rockchip image type
bootz - boot Linux zImage image from memory
cmp - memory compare
coninfo - print console devices and information
cp - memory copy
crc32 - checksum calculation
crypto_sum- crypto checksum engine
dhcp - boot image via network using DHCP/TFTP protocol
dm - Driver model low level access
download- enter rockusb/bootrom download mode
dtimg - manipulate dtb/dtbo Android image
dump_atags- Dump the content of the atags
dump_irqs- Dump IRQs
echo - echo args to console
editenv - edit environment variable
env - environment handling commands
exit - exit script
ext2load- load binary file from a Ext2 filesystem
ext2ls - list files in a directory (default /)
ext4load- load binary file from a Ext4 filesystem
ext4ls - list files in a directory (default /)
ext4size- determine a file’s size
false - do nothing, unsuccessfully
fastboot- use USB or UDP Fastboot protocol
fatinfo - print information about filesystem
fatload - load binary file from a dos filesystem
fatls - list files in a directory (default /)
fatsize - determine a file’s size
fatwrite- write file into a dos filesystem
fdt - flattened device tree utility commands
fstype - Look up a filesystem type
go - start application at address ‘addr’
gpt - GUID Partition Table
help - print command description/usage
iomem - Show iomem data by device compatible(high priority) or node name
lcdputs - print string on video framebuffer
load - load binary file from a filesystem
loop - infinite loop on address range
ls - list files in a directory (default /)
md - memory display
mdio - MDIO utility commands
mii - MII utility commands
mm - memory modify (auto-incrementing address)
mmc - MMC sub system
mmcinfo - display MMC info
mtd - MTD utils
mtd_blk - MTD Block device sub-system
mw - memory write (fill)
nand - NAND sub-system
nboot - boot from NAND device
nfs - boot image via network using NFS protocol
nm - memory modify (constant address)
part - disk partition related commands
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
pxe - commands to get and boot from pxe files
rbrom - Perform RESET of the CPU
reboot - Perform RESET of the CPU, alias of ‘reset’
reset - Perform RESET of the CPU
rkimgtest- Test if storage media have rockchip image
rockchip_show_bmp- load and display bmp from resource partition
rockchip_show_logo- load and display log from resource partition
rockusb - Use the rockusb Protocol
run - run commands in an environment variable
save - save file to a filesystem
setcurs - set cursor position within screen
setenv - set environment variables
showvar - print local hushshell variables
size - determine a file’s size
source - run script from memory
sysboot - command to get and boot from syslinux files
sysmem_dump- Dump sysmem layout
sysmem_search- Search a available sysmem region
test - minimal test like /bin/sh
tftp - download image via network using TFTP protocol
tftpbootm- tftpbootm aosp/uImage/FIT image via network using TFTP protocol
tftpflash- flash image via network using TFTP protocol
tftpput - TFTP put command, for uploading files to a server
true - do nothing, successfully
ums - Use the UMS [USB Mass Storage]
usb - USB sub-system
usbboot - boot from USB device
version - print monitor, compiler and linker version
=>

This shows that kernel is already running .

It goes into u-boot shell. Do you type Ctrl+C?

You type Enter and no available. One of the reason would be the wrong setting of serial tool.
Can you check it again according to the guide, https://wiki.radxa.com/Rock3/dev/serial-console.
Make sure that flow control of serial tool is off.

To access ROCK 3A, you can ssh as well.

No, it does automatically.

What is the default ssh login?

The putty settings were the same of the wiki page, but now I changed the flow control for none anda I got this:

Welcome to Debian GNU/Linux 10 (buster)!

[ 2.173469] systemd[1]: Set hostname to .
[ 2.404725] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[ 2.404760] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[ 2.537392] rk-pcie 3c0000000.pcie: PCIe Linking… LTSSM is 0x0
[ 2.564054] rk-pcie 3c0800000.pcie: PCIe Linking… LTSSM is 0x0
[ 2.603917] systemd[1]: Started Forward Password Requests to Wall D[ OK ] Started 0;1;39mForward Password R…uests to Wall Directory Watch[0m.
ectory Watch.
[ 2.605533] systemd[1]: Listening on Journal Socket.
[ OK ] Listening on Journal Socket.
[ 2.606482] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[ 2.613342] systemd[1]: Starting Load Kernel Modules…
Starting Load Kernel Modules…
[ 2.614301] systemd[1]: Condition check resulted in POSIX Message Queue File System being skipped.
Starting Remount Root and Kernel File Systems…
Mounting Kernel Debug File System…
Starting Create list of re…odes for the current kernel…
Starting Nameserver information manager…
Starting Restore / save the current clock…
[ OK ] Started Dispatch Password …ts to Console Directory Watch.
[ OK ] Reached target Local Encrypted Volumes.
[ OK ] Reached target Paths.
[ OK ] Reached target System Time Synchronized.
[ OK ] Listening on Journal Socket (/dev/log).
Starting Journal Service…
[ OK ] Listening on initctl Compatibility Named Pipe.
[ OK ] Set up automount boot.automount.
[ OK ] Reached target Swap.
[ OK ] Created slice User and Session Slice.
[ OK ] Reached target Slices.
[ OK ] Reached target Remote File Systems.
[ OK ] Listening on udev Control Socket.
[ OK ] Created slice system-serial\x2dgetty.slice.
[ OK ] Listening on udev Kernel Socket.
[ 2.686945] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
Starting udev Coldplug all Devices…
[ OK ] Created slice system-getty.slice.
[ OK ] Started Load Kernel Modules.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Mounted Kernel Debug File System.
[ OK ] Started Create list of req… nodes for the current kernel.
Starting Load/Save Random Seed…
Starting Create System Users…
Mounting FUSE Control File System…
Mounting Kernel Configuration File System…
Starting Apply Kernel Variables…
[ OK ] Started Restore / save the current clock.
[ OK ] Started Nameserver information manager.
[ OK ] Mounted Kernel Configuration File System.
[ OK ] Started Load/Save Random Seed.
[ OK ] Mounted FUSE Control File System.
[ OK ] Started Create System Users.
[ OK ] Started Apply Kernel Variables.
Starting Create Static Device Nodes in /dev…
[ OK ] Started Create Static Device Nodes in /dev.
Starting udev Kernel Device Manager…
[ OK ] Reached target Local File Systems (Pre).
[ OK ] Reached target Local File Systems.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started udev Coldplug all Devices.
Starting Helper to synchronize boot up for ifupdown…
[ OK ] Started Journal Service.
Starting Flush Journal to Persistent Storage…
[ OK ] Started Helper to synchronize boot up for ifupdown.
Starting Raise network interfaces…
[ 3.126437] systemd-journald[195]: Received request to flush runtime journal from PID 1
[ 3.134345] systemd-journald[195]: File /var/log/journal/4a26426bc69f4502a1af6ac4555bb750/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ OK ] Found device /dev/ttyFIQ0.
[ 3.550667] rk-pcie 3c0000000.pcie: PCIe Linking… LTSSM is 0x0
[ 3.577319] rk-pcie 3c0800000.pcie: PCIe Linking… LTSSM is 0x1
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Started Raise network interfaces.
[ OK ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
Starting Create Volatile Files and Directories…
Starting Load/Save RF Kill Switch Status…
[ 3.761328] [BT_RFKILL]: bt shut off power
[ OK ] Started Load/Save RF Kill Switch Status.
[ OK ] Started Create Volatile Files and Directories.
Starting Update UTMP about System Boot/Shutdown…
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily man-db regeneration.
[ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[ OK ] Started Daily apt download activities.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
[ OK ] Started D-Bus System Message Bus.
Starting Resets System Activity Data Collector…
[ OK ] Started Manage Sound Card State (restore and store).
Starting Save/Restore Sound Card State…
[ OK ] Started Set device and firmware for Broadcom Bluetooth.
Starting Network Manager…
Starting WPA supplicant…
Starting DHCP Client Daemon…
Starting Avahi mDNS/DNS-SD Stack…
Starting Login Service…
[ OK ] Started Daily apt upgrade and clean activities.
[ OK ] Reached target Timers.
Starting LSB: Set sysfs variables from /etc/sysfs.conf…
[ OK ] Started Resets System Activity Data Collector.
[ OK ] Started Save/Restore Sound Card State.
[ OK ] Reached target Sound Card.
[ 4.013086] Generic PHY stmmac-1:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=stmmac-1:00, irq=POLL)
[ 4.026132] dwmac4: Master AXI performs any burst length
[ 4.026177] rk_gmac-dwmac fe010000.ethernet eth0: No Safety Features support found
[ 4.026199] rk_gmac-dwmac fe010000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[ 4.026508] rk_gmac-dwmac fe010000.ethernet eth0: registered PTP clock
[ 4.026956] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ OK ] Started Login Service.
[ OK ] Started DHCP Client Daemon.
[ OK ] Started Avahi mDNS/DNS-SD Stack.
[ OK ] Started WPA supplicant.
[ OK ] Started LSB: Set sysfs variables from /etc/sysfs.conf.
[ OK ] Started Network Manager.
[ OK ] Reached target Network.
Starting /etc/rc.local Compatibility…
Starting Network Time Service…
Starting OpenBSD Secure Shell server…
Starting Permit User Sessions…
[ OK ] Started /etc/rc.local Compatibility.
[ 4.250696] vendor storage:20190527 ret = -1
Starting Hostname Service…
[ OK ] Started Permit User Sessions.
[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttyFIQ0.
[ OK ] Reached target Login Prompts.
Starting Light Display Manager…
[ OK ] Started Network Time Service.
[ OK ] Started Light Display Manager.
[ OK ] Started OpenBSD Secure Shell server.
[ OK ] Reached target Multi-User System.
[ OK ] Reached target Graphical Interface.
Starting Update UTMP about System Runlevel Changes…
[ OK ] Started Update UTMP about System Runlevel Changes.
[ OK ] Started Hostname Service.
[ 4.436194] ttyFIQ ttyFIQ0: tty_port_close_start: tty->count = 1 port count = 2
[ 4.448664] fbcon: Taking over console
[ 4.564038] rk-pcie 3c0000000.pcie: PCIe Linking… LTSSM is 0x1
[ 4.590650] rk-pcie 3c0800000.pcie: PCIe Linking… LTSSM is 0x0
[ 4.661443] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

Debian GNU/Linux 10 rock3a ttyFIQ0

rock3a login: [ 5.565957] broken atomic modeset userspace detected, disabling atomic
[ 5.577359] rk-pcie 3c0000000.pcie: PCIe Linking… LTSSM is 0x0
[ 5.584089] [drm:dw_hdmi_rockchip_set_property] ERROR failed to set rockchip hdmi connector property hdmi_color_depth_capacity
[ 5.584142] [drm:dw_hdmi_rockchip_set_property] ERROR failed to set rockchip hdmi connector property hdmi_output_mode_capacity
[ 5.604080] rk-pcie 3c0800000.pcie: PCIe Linking… LTSSM is 0x0
[ 6.590730] rk-pcie 3c0000000.pcie: PCIe Linking… LTSSM is 0x0
[ 6.617338] rk-pcie 3c0800000.pcie: PCIe Linking… LTSSM is 0x0
[ 7.604005] rk-pcie 3c0000000.pcie: PCIe Linking… LTSSM is 0x0
[ 7.630713] rk-pcie 3c0800000.pcie: PCIe Linking… LTSSM is 0x0
[ 8.617470] rk-pcie 3c0000000.pcie: PCIe Linking… LTSSM is 0x0
[ 8.644131] rk-pcie 3c0800000.pcie: PCIe Linking… LTSSM is 0x0
[ 9.630735] rk-pcie 3c0000000.pcie: PCIe Linking… LTSSM is 0x0
[ 9.657397] rk-pcie 3c0800000.pcie: PCIe Linking… LTSSM is 0x0
[ 10.644194] rk-pcie 3c0000000.pcie: PCIe Linking… LTSSM is 0x0
[ 10.670858] rk-pcie 3c0800000.pcie: PCIe Linking… LTSSM is 0x0
[ 11.657479] rk-pcie 3c0000000.pcie: PCIe Link Fail
[ 11.657525] rk-pcie 3c0000000.pcie: failed to initialize host
[ 11.687346] rk-pcie 3c0800000.pcie: PCIe Link Fail
[ 11.687388] rk-pcie 3c0800000.pcie: failed to initialize host
[ 32.057580] pcie30_3v3: disabling

…and no login shell either, at least it shows more daemons working.

I pressed Enter and the shell showed up after this pcie30 3v3:disabling.

Try ssh rock@rock3a-ip. The password is rock.

I can connect now (uart and ssh), I’m going to test some things with the board to see where exactly those problems occured and after that I put solved.

Thanks for the replies @Stephen

Okay. That’s great.

@Stephen, one more thing, will the RK3568 TRM become available?I want to thinker with some low-level stuff :slight_smile: