@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
=>