ROCK 3A 刷spi_image_20220210.img成功后,再次刷rk356x_spl_loader_ddr1056_v1.10.111.bin 提示准备IDB失败。
刷rk356x_spl_loader_ddr1056_v1.10.111.bin 准备IDB失败
接个串口,看看烧录时候的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: -48ps, dqs3: -120ps,
tdqss: cs1 dqs0: 48ps, dqs1: -72ps, dqs2: -48ps, dqs3: -96ps,
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:0x1c
cs 0:
the read training result:
DQS0:0x34, DQS1:0x32, DQS2:0x33, DQS3:0x2d,
min : 0xe 0xe 0x13 0x11 0x1 0x7 0x9 0x5 , 0xb 0x7 0x3 0x1 0xd 0xa 0x d 0x8 ,
0x10 0xf 0xb 0xe 0x3 0x0 0x3 0x5 , 0xd 0x9 0x9 0x2 0xf 0xf 0x c 0xe ,
mid :0x29 0x2a 0x2d 0x2b 0x1c 0x21 0x23 0x21 ,0x23 0x21 0x1a 0x1c 0x28 0x25 0x2 6 0x22 ,
0x28 0x29 0x24 0x23 0x1d 0x1a 0x1b 0x1e ,0x23 0x20 0x20 0x1c 0x28 0x27 0x2 5 0x28 ,
max :0x45 0x46 0x48 0x45 0x37 0x3b 0x3d 0x3d ,0x3b 0x3c 0x32 0x37 0x43 0x40 0x3 f 0x3d ,
0x41 0x43 0x3e 0x39 0x37 0x35 0x33 0x37 ,0x3a 0x37 0x38 0x37 0x41 0x40 0x3 f 0x42 ,
range:0x37 0x38 0x35 0x34 0x36 0x34 0x34 0x38 ,0x30 0x35 0x2f 0x36 0x36 0x36 0x3 2 0x35 ,
0x31 0x34 0x33 0x2b 0x34 0x35 0x30 0x32 ,0x2d 0x2e 0x2f 0x35 0x32 0x31 0x3 3 0x34 ,
the write training result:
DQS0:0x25, DQS1:0x9, DQS2:0x13, DQS3:0x5,
min :0x6c 0x6d 0x72 0x71 0x5e 0x63 0x67 0x6a 0x67 ,0x4a 0x4a 0x45 0x48 0x50 0x4 d 0x50 0x4d 0x47 ,
0x58 0x5a 0x56 0x55 0x4a 0x4a 0x4d 0x50 0x51 ,0x4c 0x4a 0x49 0x45 0x4f 0x4 f 0x4f 0x53 0x4a ,
mid :0x89 0x89 0x8d 0x8b 0x78 0x7c 0x82 0x82 0x7f ,0x65 0x63 0x5e 0x60 0x69 0x6 5 0x69 0x67 0x61 ,
0x75 0x76 0x70 0x6f 0x65 0x63 0x67 0x6b 0x6c ,0x64 0x62 0x61 0x5f 0x68 0x6 a 0x67 0x6c 0x62 ,
max :0xa6 0xa6 0xa9 0xa5 0x93 0x95 0x9d 0x9b 0x97 ,0x81 0x7c 0x77 0x78 0x82 0x7 d 0x82 0x81 0x7c ,
0x93 0x92 0x8a 0x8a 0x81 0x7d 0x81 0x86 0x88 ,0x7d 0x7a 0x79 0x79 0x82 0x8 5 0x7f 0x86 0x7b ,
range:0x3a 0x39 0x37 0x34 0x35 0x32 0x36 0x31 0x30 ,0x37 0x32 0x32 0x30 0x32 0x3 0 0x32 0x34 0x35 ,
0x3b 0x38 0x34 0x35 0x37 0x33 0x34 0x36 0x37 ,0x31 0x30 0x30 0x34 0x33 0x3 6 0x30 0x33 0x31 ,
cs 1:
the read training result:
DQS0:0x33, DQS1:0x35, DQS2:0x37, DQS3:0x2d,
min : 0xd 0xd 0x12 0xf 0x2 0x5 0x9 0x3 , 0xb 0x7 0x2 0x2 0xd 0xa 0x c 0x8 ,
0x12 0xf 0xd 0xd 0x3 0x1 0x4 0x5 , 0xd 0x8 0x9 0x1 0xe 0xf 0x c 0xd ,
mid :0x28 0x29 0x2c 0x28 0x1c 0x20 0x23 0x20 ,0x24 0x23 0x1b 0x1e 0x29 0x26 0x2 6 0x24 ,
0x2b 0x2b 0x27 0x26 0x1f 0x1d 0x1e 0x20 ,0x22 0x1f 0x20 0x1b 0x27 0x27 0x2 5 0x27 ,
max :0x43 0x45 0x47 0x42 0x37 0x3b 0x3d 0x3d ,0x3d 0x3f 0x35 0x3b 0x46 0x42 0x4 1 0x40 ,
0x45 0x48 0x42 0x3f 0x3b 0x39 0x38 0x3c ,0x37 0x37 0x37 0x35 0x41 0x3f 0x3 e 0x41 ,
range:0x36 0x38 0x35 0x33 0x35 0x36 0x34 0x3a ,0x32 0x38 0x33 0x39 0x39 0x38 0x3 5 0x38 ,
0x33 0x39 0x35 0x32 0x38 0x38 0x34 0x37 ,0x2a 0x2f 0x2e 0x34 0x33 0x30 0x3 2 0x34 ,
the write training result:
DQS0:0x25, DQS1:0x9, DQS2:0x13, DQS3:0x5,
min :0x6c 0x6f 0x72 0x71 0x5f 0x64 0x68 0x69 0x67 ,0x4f 0x4f 0x49 0x4c 0x55 0x5 1 0x55 0x52 0x4d ,
0x5a 0x5c 0x56 0x56 0x4d 0x4b 0x4f 0x52 0x54 ,0x51 0x4f 0x4b 0x49 0x55 0x5 4 0x52 0x56 0x4d ,
mid :0x89 0x8b 0x8e 0x8b 0x79 0x7e 0x82 0x83 0x7f ,0x6c 0x6b 0x64 0x66 0x6f 0x6 c 0x6f 0x6d 0x68 ,
0x77 0x77 0x71 0x72 0x67 0x65 0x69 0x6d 0x6e ,0x6b 0x69 0x64 0x63 0x6e 0x6 f 0x6c 0x71 0x67 ,
max :0xa6 0xa8 0xaa 0xa6 0x93 0x98 0x9d 0x9d 0x98 ,0x8a 0x87 0x7f 0x81 0x89 0x8 8 0x8a 0x89 0x84 ,
0x95 0x93 0x8c 0x8e 0x82 0x7f 0x83 0x88 0x89 ,0x86 0x83 0x7e 0x7d 0x87 0x8 b 0x87 0x8d 0x82 ,
range:0x3a 0x39 0x38 0x35 0x34 0x34 0x35 0x34 0x31 ,0x3b 0x38 0x36 0x35 0x34 0x3 7 0x35 0x37 0x37 ,
0x3b 0x37 0x36 0x38 0x35 0x34 0x34 0x36 0x35 ,0x35 0x34 0x33 0x34 0x32 0x3 7 0x35 0x37 0x35 ,
CA Training result:
cs:0 min :0x52 0x52 0x48 0x48 0x48 0x44 0x4f ,0x4e 0x4d 0x44 0x43 0x44 0x43 0x4 f ,
cs:0 mid :0x92 0x90 0x88 0x84 0x86 0x80 0x81 ,0x8e 0x8a 0x83 0x80 0x84 0x80 0x8 0 ,
cs:0 max :0xd3 0xce 0xc8 0xc1 0xc5 0xbd 0xb3 ,0xce 0xc8 0xc2 0xbd 0xc4 0xbe 0xb 1 ,
cs:0 range:0x81 0x7c 0x80 0x79 0x7d 0x79 0x64 ,0x80 0x7b 0x7e 0x7a 0x80 0x7b 0x6 2 ,
cs:1 min :0x4e 0x5a 0x48 0x4d 0x48 0x49 0x54 ,0x4e 0x53 0x43 0x47 0x45 0x47 0x4 e ,
cs:1 mid :0x92 0x93 0x8a 0x87 0x89 0x83 0x85 ,0x91 0x8c 0x84 0x81 0x86 0x82 0x8 1 ,
cs:1 max :0xd6 0xcd 0xcc 0xc1 0xca 0xbd 0xb7 ,0xd4 0xc6 0xc6 0xbb 0xc7 0xbe 0xb 4 ,
cs:1 range:0x88 0x73 0x84 0x74 0x82 0x74 0x63 ,0x86 0x73 0x83 0x74 0x82 0x77 0x6 6 ,
out
Boot1 Release Time: Aug 23 2021 16:47:45, version: 1.11
support nand flash type: slc
…nandc_flash_init enter…
No.1 FLASH ID:ff ff ff ff ff ff
sfc nor id: ff ff ff
sfc_nand id: ff ff ff
SD IO init 0
Set SD Clk: 200, 5
Set SD Clk: 200, 5
SDC_BusRequest: CMD=8 SDC_RESP_TIMEOUT 1747
mmc0:cmd8,20
SDC_BusRequest: CMD=5 SDC_RESP_TIMEOUT 1747
mmc0:cmd5,20
SDC_BusRequest: CMD=55 SDC_RESP_TIMEOUT 1747
mmc0:cmd55,20
SDC_BusRequest: CMD=1 SDC_RESP_TIMEOUT 1747
mmc0:cmd1,20
Set SD Clk: 200, 5
SDC_BusRequest: CMD=8 SDC_RESP_TIMEOUT 1747
mmc0:cmd8,20
SDC_BusRequest: CMD=5 SDC_RESP_TIMEOUT 1747
mmc0:cmd5,20
SDC_BusRequest: CMD=55 SDC_RESP_TIMEOUT 1747
mmc0:cmd55,20
SDC_BusRequest: CMD=1 SDC_RESP_TIMEOUT 1747
mmc0:cmd1,20
Set SD Clk: 200, 5
SDC_BusRequest: CMD=8 SDC_RESP_TIMEOUT 1747
mmc0:cmd8,20
SDC_BusRequest: CMD=5 SDC_RESP_TIMEOUT 1747
mmc0:cmd5,20
SDC_BusRequest: CMD=55 SDC_RESP_TIMEOUT 1747
mmc0:cmd55,20
SDC_BusRequest: CMD=1 SDC_RESP_TIMEOUT 1747
mmc0:cmd1,20
SdmmcInit=0 1
Emmc IO init.
EMMC_DLL_RXCLK = 0
Emmc IO init.
EMMC_DLL_RXCLK = 0
mmc_set_bus_width: 1
SetEmmcClk: 375000, 5
mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000
mmc: ERROR: Card did not respond to voltage select!
emmc reinit
mmc_set_bus_width: 1
mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000
mmc: ERROR: Card did not respond to voltage select!
emmc reinit
mmc_set_bus_width: 1
mmc: ERROR: SDHCI ERR:cmd:0x102,stat:0x18000
mmc: ERROR: Card did not respond to voltage select!
SdmmcInit=2 1
UsbBoot …31168
powerOn 33125
串口输出
尝试下楼上说的2.86的烧录工具
2.86版的尝试过了,同样的问题。
看你上面的log,是有loader的并且能进到boot 阶段
你的 SPI flash 里是有固件的吗,有的话需要短接FLASH的同时上电 ,不然会跑到u-boot阶段进不到maskrom,可以关注下串口看看是什么状态