勇者123 发表于 2024-8-6 08:40:01

ROC-RK3568-PC板 不能进入 MaskRom模式


按上面步骤 操作,RKdevtool 一直检测找不到设备



RKdevtool 软件先打开或后打开都 不行,请问是什么问题呢

勇者123 发表于 2024-8-6 08:55:52

插上USB 线时电脑没有找个新设备 ,卸载DriverAssistant 驱动后,重新安装也是找不到新设备 Rockusb Device ,请问什么原因呢

勇者123 发表于 2024-8-6 14:00:49

勇者123 发表于 2024-8-6 14:05:04

   
//ROC-RK3568-PC板  uboot起不来了,按 MaskRom 升级时后,变成上图样子了,
DDR Version V1.11 20211103
In
ddrconfig:7
LP4 MR14:0x4d
LPDDR4, 324MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
tdqss: cs0 dqs0: 458ps, dqs1: 361ps, dqs2: 409ps, dqs3: 337ps,
tdqss: cs1 dqs0: 458ps, dqs1: 385ps, dqs2: 409ps, dqs3: 313ps,

change to: 324MHz
PHY drv:clk:38,ca:38,DQ:30,odt:0
vrefinner:41%, vrefout:41%
dram drv:40,odt:0
clk skew:0x58

change to: 528MHz
PHY drv:clk:38,ca:38,DQ:30,odt:0
vrefinner:41%, vrefout:41%
dram drv:40,odt:0
clk skew:0x6a

change to: 780MHz
PHY drv:clk:38,ca:38,DQ:30,odt:0
vrefinner:41%, vrefout:41%
dram drv:40,odt:0
clk skew:0x58

change to: 1560MHz(final freq)
PHY drv:clk:38,ca:38,DQ:30,odt:60
vrefinner:16%, vrefout:29%
dram drv:40,odt:80
vref_ca:00000068
clk skew:0x1
cs 0:
the read training result:
DQS0:0x34, DQS1:0x31, DQS2:0x37, DQS3:0x30,
min:0x14 0x14 0x15 0x100x10x60xb0x8 , 0xe0xc0x20x20xd0xa0xe0xc ,
      0x18 0x150xd0xb0x40x10x70x8 ,0x100xa0x80x20xc0xc0xc0xf ,
mid:0x2e 0x2e 0x2f 0x29 0x1c 0x21 0x25 0x22 ,0x29 0x26 0x1c 0x1b 0x28 0x25 0x29 0x25 ,
      0x32 0x31 0x27 0x25 0x20 0x1c 0x22 0x24 ,0x2c 0x25 0x23 0x1e 0x29 0x29 0x28 0x2b ,
max:0x49 0x48 0x49 0x43 0x38 0x3c 0x3f 0x3c ,0x44 0x40 0x36 0x35 0x44 0x40 0x44 0x3e ,
      0x4d 0x4d 0x41 0x3f 0x3d 0x38 0x3d 0x41 ,0x49 0x41 0x3f 0x3a 0x46 0x46 0x44 0x47 ,
range:0x35 0x34 0x34 0x33 0x37 0x36 0x34 0x34 ,0x36 0x34 0x34 0x33 0x37 0x36 0x36 0x32 ,
      0x35 0x38 0x34 0x34 0x39 0x37 0x36 0x39 ,0x39 0x37 0x37 0x38 0x3a 0x3a 0x38 0x38 ,
the write training result:
DQS0:0x5c, DQS1:0x49, DQS2:0x52, DQS3:0x44,
min:0xbc 0xbf 0xc1 0xbc 0xad 0xb1 0xb5 0xb5 0xb5 ,0xa6 0xa4 0x9c 0x9d 0xa7 0xa6 0xa8 0xa6 0xa5 ,
      0xbf 0xbc 0xb4 0xb4 0xac 0xa8 0xac 0xb1 0xb5 ,0xac 0xaa 0xa7 0xa2 0xaf 0xaf 0xac 0xb2 0xa7 ,
mid:0xd8 0xda 0xdb 0xd6 0xc6 0xca 0xcf 0xce 0xce ,0xc1 0xbe 0xb5 0xb6 0xc0 0xbe 0xc0 0xbe 0xbd ,
      0xd9 0xd7 0xcd 0xce 0xc5 0xc0 0xc4 0xc9 0xcd ,0xc7 0xc3 0xc0 0xbc 0xc7 0xc9 0xc3 0xca 0xc0 ,
max:0xf4 0xf5 0xf6 0xf0 0xe0 0xe3 0xe9 0xe7 0xe7 ,0xdc 0xd9 0xcf 0xd0 0xda 0xd7 0xd9 0xd7 0xd6 ,
      0xf3 0xf2 0xe7 0xe8 0xdf 0xd9 0xdd 0xe1 0xe6 ,0xe3 0xdc 0xda 0xd6 0xe0 0xe3 0xdb 0xe3 0xda ,
range:0x38 0x36 0x35 0x34 0x33 0x32 0x34 0x32 0x32 ,0x36 0x35 0x33 0x33 0x33 0x31 0x31 0x31 0x31 ,
      0x34 0x36 0x33 0x34 0x33 0x31 0x31 0x30 0x31 ,0x37 0x32 0x33 0x34 0x31 0x34 0x2f 0x31 0x33 ,
cs 1:
the read training result:
DQS0:0x36, DQS1:0x34, DQS2:0x3a, DQS3:0x30,
min:0x14 0x15 0x15 0x110x20x60xc0x8 , 0xf0xb0x20x10xd0xa 0x100xb ,
      0x19 0x16 0x100xb0x60x10xa0x8 ,0x110xa0x80x20xe0xc0xe 0x10 ,
mid:0x2f 0x2f 0x2f 0x2b 0x1e 0x22 0x26 0x23 ,0x2a 0x27 0x1d 0x1c 0x29 0x26 0x2b 0x25 ,
      0x35 0x32 0x2a 0x26 0x22 0x1d 0x24 0x25 ,0x2c 0x25 0x23 0x1c 0x29 0x28 0x29 0x2b ,
max:0x4a 0x49 0x4a 0x46 0x3a 0x3e 0x41 0x3e ,0x46 0x43 0x39 0x37 0x46 0x42 0x47 0x3f ,
      0x51 0x4f 0x45 0x42 0x3e 0x3a 0x3e 0x42 ,0x48 0x41 0x3e 0x36 0x45 0x45 0x44 0x47 ,
range:0x36 0x34 0x35 0x35 0x38 0x38 0x35 0x36 ,0x37 0x38 0x37 0x36 0x39 0x38 0x37 0x34 ,
      0x38 0x39 0x35 0x37 0x38 0x39 0x34 0x3a ,0x37 0x37 0x36 0x34 0x37 0x39 0x36 0x37 ,
the write training result:
DQS0:0x5c, DQS1:0x49, DQS2:0x52, DQS3:0x44,
min:0xc0 0xc3 0xc4 0xc0 0xb1 0xb5 0xb9 0xb9 0xb7 ,0xac 0xac 0xa4 0xa4 0xb0 0xae 0xb2 0xaf 0xae ,
      0xb7 0xb7 0xaf 0xaf 0xa6 0xa4 0xa7 0xab 0xaf ,0xa2 0xa0 0x9d 0x97 0xa4 0xa4 0xa2 0xa8 0x9d ,
mid:0xdc 0xde 0xdf 0xda 0xcc 0xcf 0xd3 0xd2 0xd1 ,0xc8 0xc6 0xbd 0xbe 0xc9 0xc6 0xc9 0xc7 0xc5 ,
      0xd3 0xd3 0xc9 0xca 0xc1 0xbd 0xc0 0xc4 0xc8 ,0xbf 0xba 0xb7 0xb2 0xbf 0xc0 0xbc 0xc2 0xb7 ,
max:0xf8 0xfa 0xfb 0xf5 0xe7 0xe9 0xed 0xeb 0xeb ,0xe4 0xe1 0xd7 0xd8 0xe3 0xdf 0xe1 0xdf 0xdc ,
      0xf0 0xef 0xe3 0xe5 0xdc 0xd6 0xd9 0xde 0xe2 ,0xdc 0xd5 0xd2 0xce 0xda 0xdc 0xd6 0xdc 0xd2 ,
range:0x38 0x37 0x37 0x35 0x36 0x34 0x34 0x32 0x34 ,0x38 0x35 0x33 0x34 0x33 0x31 0x2f 0x30 0x2e ,
      0x39 0x38 0x34 0x36 0x36 0x32 0x32 0x33 0x33 ,0x3a 0x35 0x35 0x37 0x36 0x38 0x34 0x34 0x35 ,
CA Training result:
cs:0 min:0x5f 0x49 0x51 0x3f 0x53 0x3b 0x51 ,0x5d 0x48 0x51 0x3e 0x4e 0x3f 0x51 ,
cs:0 mid:0x95 0x91 0x84 0x84 0x87 0x7f 0x78 ,0x94 0x8d 0x85 0x81 0x84 0x81 0x78 ,
cs:0 max:0xcc 0xda 0xb8 0xc9 0xbc 0xc4 0x9f ,0xcb 0xd2 0xb9 0xc4 0xba 0xc3 0x9f ,
cs:0 range:0x6d 0x91 0x67 0x8a 0x69 0x89 0x4e ,0x6e 0x8a 0x68 0x86 0x6c 0x84 0x4e ,
cs:1 min:0x5d 0x55 0x4f 0x42 0x56 0x40 0x48 ,0x5f 0x4b 0x51 0x43 0x4f 0x43 0x48 ,
cs:1 mid:0x96 0x95 0x87 0x85 0x8a 0x83 0x7a ,0x96 0x90 0x87 0x84 0x85 0x85 0x7a ,
cs:1 max:0xd0 0xd6 0xbf 0xc9 0xbe 0xc7 0xad ,0xce 0xd5 0xbe 0xc5 0xbb 0xc7 0xad ,
cs:1 range:0x73 0x81 0x70 0x87 0x68 0x87 0x65 ,0x6f 0x8a 0x6d 0x82 0x6c 0x84 0x65 ,
out
U-Boot SPL board init
U-Boot SPL 2017.09 (Aug 02 2024 - 09:48:35)
Trying to boot from MMC2
MMC error: The cmd index is 1, ret is -110
Card did not respond to voltage select!
mmc_init: -95, time 10
spl: mmc init failed with error: -95
Trying to boot from MMC1
MMC error: The cmd index is 0, ret is -110
mmc_init: -110, time 5
spl: mmc init failed with error: -110
Trying to boot from MTD2
SPL: A/B-slot: _a, successful: 0, tries-remain: 7
## Verified-boot: 0
## Checking uboot 0x00a00000 ... sha256(7710c481d7...) + OK
## Checking fdt 0x00b22638 ...   sha256(30938731de...) + OK
## Checking optee 0x08400000 ... sha256(5a22c90dfc...) + OK

<    8    DDR Version V1.11 20211103
In
ddrconfig:7
LP4 MR14:0x4d
LPDDR4, 324MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
tdqss: cs0 dqs0: 458ps, dqs1: 361ps, dqs2: 409ps, dqs3: 337ps,
tdqss: cs1 dqs0: 458ps, dqs1: 385ps, dqs2: 409ps, dqs3: 313ps,

change to: 324MHz
PHY drv:clk:38,ca:38,DQ:30,odt:0
vrefinner:41%, vrefout:41%
dram drv:40,odt:0
clk skew:0x58

change to: 528MHz
PHY drv:clk:38,ca:38,DQ:30,odt:0
vrefinner:41%, vrefout:41%
dram drv:40,odt:0
clk skew:0x6a

change to: 780MHz
PHY drv:clk:38,ca:38,DQ:30,odt:0
vrefinner:41%, vrefout:41%
dram drv:40,odt:0
clk skew:0x58

change to: 1560MHz(final freq)
PHY drv:clk:38,ca:38,DQ:30,odt:60
vrefinner:16%, vrefout:29%
dram drv:40,odt:80
vref_ca:00000068
clk skew:0x4
cs 0:
the read training result:
DQS0:0x35, DQS1:0x31, DQS2:0x37, DQS3:0x30,
min:0x15 0x15 0x16 0x110x20x70xc0xa , 0xe0xc0x20x20xd0xa0xe0xc ,
      0x18 0x150xe0xa0x40x20x70x8 ,0x100xa0x80x20xc0xd0xc 0x10 ,
mid:0x2f 0x2f 0x2f 0x2a 0x1d 0x22 0x26 0x24 ,0x28 0x25 0x1c 0x1b 0x28 0x25 0x29 0x25 ,
      0x32 0x31 0x27 0x25 0x20 0x1d 0x22 0x24 ,0x2c 0x25 0x23 0x1e 0x29 0x29 0x28 0x2b ,
max:0x49 0x49 0x40x3d 0x41 0x3e ,0x43 0x3f 0x36 0x35 0x44 0x40 0x44 0x3e ,
      0x4d 0x4d 0x41 0x40 0x3d 0x38 0x3d 0x41 ,0x49 0x41 0x3f 0x3a 0x46 0x46 0x44 0x47 ,
range:0x34 0x34 0x33 0x33 0x37 0x36 0x35 0x34 ,0x35 0x33 0x34 0x33 0x37 0x36 0x36 0x32 ,
      0x35 0x38 0x33 0x36 0x39 0x36 0x36 0x39 ,0x39 0x37 0x37 0x38 0x3a 0x39 0x38 0x37 ,
the write training result:
DQS0:0x5f, DQS1:0x4c, DQS2:0x55, DQS3:0x47,
min:0xbf 0xc3 0xc4 0xc0 0xb0 0xb4 0xb9 0xb9 0xb7 ,0xa9 0xa8 0xa0 0xa0 0xac 0xaa 0xac 0xaa 0xa8 ,
      0xc3 0xc0 0xb7 0xb7 0xb0 0xac 0xb0 0xb4 0xb9 ,0xaf 0xad 0xaa 0xa5 0xb2 0xb1 0xb0 0xb5 0xaa ,
mid:0xdb 0xdd 0xde 0xda 0xc9 0xcd 0xd2 0xd1 0xd0 ,0xc4 0xc2 0xb9 0xba 0xc5 0xc3 0xc5 0xc3 0xc1 ,
      0xdd 0xda 0xd0 0xd1 0xc9 0xc4 0xc7 0xcc 0xd1 ,0xca 0xc5 0xc3 0xbe 0xca 0xcb 0xc7 0xcd 0xc3 ,
max:0xf7 0xf8 0xf9 0xf4 0xe3 0xe7 0xeb 0xea 0xea ,0xdf 0xdd 0xd3 0xd4 0xde 0xdc 0xde 0xdc 0xda ,
      0xf7 0xf5 0xea 0xeb 0xe2 0xdc 0xdf 0xe4 0xe9 ,0xe6 0xde 0xdc 0xd8 0xe2 0xe6 0xde 0xe5 0xdc ,
range:0x38 0x35 0x35 0x34 0x33 0x33 0x32 0x31 0x33 ,0x36 0x35 0x33 0x34 0x32 0x32 0x32 0x32 0x32 ,
      0x34 0x35 0x33 0x34 0x32 0x30 0x2f 0x30 0x30 ,0x37 0x31 0x32 0x33 0x30 0x35 0x2e 0x30 0x32 ,
cs 1:
the read training result:
DQS0:0x36, DQS1:0x34, DQS2:0x39, DQS3:0x30,
min:0x14 0x15 0x15 0x120x20x70xc0x8 , 0xf0xc0x20x20xe0xa 0x100xc ,
      0x19 0x15 0x100xb0x60x20xa0x8 ,0x120xb0x90x20xe0xe0xe 0x10 ,
mid:0x2e 0x2f 0x30 0x2b 0x1d 0x22 0x26 0x23 ,0x2a 0x27 0x1d 0x1c 0x2a 0x26 0x2b 0x25 ,
      0x34 0x31 0x2a 0x26 0x21 0x1d 0x23 0x24 ,0x2c 0x25 0x24 0x1c 0x29 0x29 0x28 0x2b ,
max:0x49 0x49 0x4b 0x45 0x38 0x3d 0x41 0x3e ,0x46 0x42 0x38 0x36 0x46 0x42 0x47 0x3f ,
      0x50 0x4e 0x44 0x41 0x3d 0x38 0x3c 0x41 ,0x47 0x40 0x3f 0x36 0x45 0x44 0x43 0x47 ,
range:0x35 0x34 0x36 0x33 0x36 0x36 0x35 0x36 ,0x37 0x36 0x36 0x34 0x38 0x38 0x37 0x33 ,
      0x37 0x39 0x34 0x36 0x37 0x36 0x32 0x39 ,0x35 0x35 0x36 0x34 0x37 0x36 0x35 0x37 ,
the write training result:
DQS0:0x5f, DQS1:0x4c, DQS2:0x55, DQS3:0x47,
min:0xc3 0xc6 0xc7 0xc2 0xb4 0xb7 0xbc 0xbb 0xb9 ,0xb0 0xb0 0xa7 0xa6 0xb2 0xb0 0xb5 0xb1 0xb0 ,
      0xbb 0xbb 0xb3 0xb3 0xaa 0xa7 0xab 0xaf 0xb3 ,0xa6 0xa3 0xa0 0x9c 0xa8 0xa8 0xa6 0xac 0xa0 ,
mid:0xdf 0xe1 0xe2 0xdd 0xcf 0xd1 0xd6 0xd5 0xd4 ,0xcb 0xca 0xc0 0xc0 0xcc 0xc9 0xcd 0xc9 0xc8 ,
      0xd7 0xd6 0xcd 0xcd 0xc4 0xc0 0xc4 0xc7 0xcc ,0xc2 0xbd 0xbb 0xb7 0xc2 0xc3 0xbf 0xc5 0xba ,
max:0xfc 0xfd 0xfe 0xf8 0xea 0xeb 0xf0 0xef 0xef ,0xe7 0xe4 0xda 0xda 0xe6 0xe3 0xe5 0xe2 0xe1 ,
      0xf3 0xf2 0xe7 0xe7 0xdf 0xda 0xdd 0xe0 0xe5 ,0xdf 0xd8 0xd6 0xd2 0xdd 0xdf 0xd9 0xdf 0xd5 ,
range:0x39 0x37 0x37 0x36 0x36 0x34 0x34 0x34 0x36 ,0x37 0x34 0x33 0x34 0x34 0x33 0x30 0x31 0x31 ,
      0x38 0x37 0x34 0x34 0x35 0x33 0x32 0x31 0x32 ,0x39 0x35 0x36 0x36 0x35 0x37 0x33 0x33 0x35 ,
CA Training result:
cs:0 min:0x5b 0x44 0x4d 0x3b 0x4e 0x37 0x4e ,0x58 0x44 0x4c 0x3b 0x4a 0x3a 0x4c ,
cs:0 mid:0x91 0x8d 0x80 0x80 0x83 0x7c 0x74 ,0x8f 0x88 0x80 0x7e 0x80 0x7c 0x73 ,
cs:0 max:0xc7 0xd6 0xb4 0xc6 0xb8 0xc1 0x9b ,0xc6 0xcd 0xb5 0xc1 0xb6 0xbf 0x9b ,
cs:0 range:0x6c 0x92 0x67 0x8b 0x6a 0x8a 0x4d ,0x6e 0x89 0x69 0x86 0x6c 0x85 0x4f ,
cs:1 min:0x5e 0x55 0x50 0x42 0x56 0x40 0x48 ,0x62 0x4c 0x51 0x43 0x4f 0x43 0x48 ,
cs:1 mid:0x97 0x95 0x87 0x85 0x8a 0x83 0x7a ,0x98 0x90 0x87 0x84 0x84 0x85 0x7b ,
cs:1 max:0xd0 0xd6 0xbf 0xc8 0xbe 0xc7 0xad ,0xce 0xd5 0xbe 0xc5 0xba 0xc7 0xaf ,
cs:1 range:0x72 0x81 0x6f 0x86 0x68 0x87 0x65 ,0x6c 0x89 0x6d 0x82 0x6b 0x84 0x67 ,
out
U-Boot SPL board init
U-Boot SPL 2017.09 (Aug 02 2024 - 09:48:35)
Trying to boot from MMC2
MMC error: The cmd index is 1, ret is -110
Card did not respond to voltage select!
mmc_init: -95, time 10
spl: mmc init failed with error: -95
Trying to boot from MMC1
MMC error: The cmd index is 0, ret is -110
mmc_init: -110, time 5
spl: mmc init failed with error: -110
Trying to boot from MTD2
SPL: A/B-slot: _a, successful: 0, tries-remain: 7
## Verified-boot: 0
## Checking uboot 0x00a00000 ... sha256(7710c481d7...) + OK
## Checking fdt 0x00b22638 ... sha256(30938731de...) + OK
## Checking optee 0x08400000 ... sha256(5a22c90dfc...) + OK

勇者123 发表于 2024-8-6 14:17:34

再补充一下,板子上是有 spi flash的
过程是:ROC-RK3568-PC板uboot起不来了,然后./build.sh 全部编译,把 rockdev/pack/xx.img按 MaskRom 步骤升级后,变成下图样子了
跟原来正常时比较,看着打印少了atf-1 、atf -2 。。。atf -5
再按MaskRom键,RKDevTool 软件 一直是no device found,麻烦给看下 是什么问题呀 ,多谢啦

qq号2317783075 发表于 2024-8-13 09:28:58

多看看对应的Wiki

zhhtao 发表于 2024-8-15 16:38:52

mark

luwy 发表于 2024-8-21 09:25:08

可以直接在串口输入rbrom 进入maskrom
页: [1]
查看完整版本: ROC-RK3568-PC板 不能进入 MaskRom模式