Firefly开源社区

打印 上一主题 下一主题

[硬件交流] ROC-3566-PC 进入Mask无法发现设备

180

积分

0

威望

0

贡献

技术小白

积分
180

ROC-3566-PC 进入Mask无法发现设备

发表于 2021-12-22 15:21:24      浏览:2393 | 回复:1        打印      只看该作者   [复制链接] 楼主
ROC-3566-PC 按住MaskRom键,插入USB TypeC数据线,无法发现MaskRom设备,调试输出如下:
|?DDR Version V1.10 20210810
ln
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: 506ps, dqs1: 434ps, dqs2: 458ps, dqs3: 361ps,
tdqss: cs1 dqs0: 506ps, dqs1: 434ps, dqs2: 482ps, dqs3: 361ps,

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:60
vrefinner:16%, vrefout:41%
dram drv:40,odt:0
clk skew:0x64

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

change to: 1056MHz(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:0x18
cs 0:
the read training result:
DQS0:0x3a, DQS1:0x3b, DQS2:0x3c, DQS3:0x36,
min  : 0xe  0xd  0xe  0xc  0x1  0x5  0x9  0x4 , 0xa  0x9  0x3  0x1  0xb  0x9  0xf  0xa ,
      0x11  0xf  0xb  0x7  0x4  0x1  0x4  0x5 , 0xd  0x9  0x7  0x1  0xd  0xe  0xb  0xf ,
mid  :0x2a 0x2a 0x2b 0x28 0x1e 0x22 0x26 0x21 ,0x27 0x27 0x21 0x1e 0x28 0x27 0x2b 0x28 ,
      0x2e 0x2c 0x26 0x23 0x20 0x1d 0x20 0x22 ,0x2a 0x25 0x23 0x1d 0x29 0x2a 0x27 0x2a ,
max  :0x47 0x48 0x48 0x45 0x3b 0x3f 0x43 0x3f ,0x45 0x45 0x40 0x3b 0x45 0x45 0x48 0x46 ,
      0x4b 0x4a 0x41 0x40 0x3d 0x3a 0x3d 0x3f ,0x47 0x42 0x3f 0x3a 0x46 0x46 0x43 0x46 ,
range:0x39 0x3b 0x3a 0x39 0x3a 0x3a 0x3a 0x3b ,0x3b 0x3c 0x3d 0x3a 0x3a 0x3c 0x39 0x3c ,
      0x3a 0x3b 0x36 0x39 0x39 0x39 0x39 0x3a ,0x3a 0x39 0x38 0x39 0x39 0x38 0x38 0x37 ,
the write training result:
DQS0:0x5c, DQS1:0x52, DQS2:0x55, DQS3:0x48,
min  :0x91 0x94 0x95 0x92 0x87 0x8c 0x8d 0x8e 0x8e ,0x84 0x84 0x7f 0x7d 0x86 0x87 0x89 0x89 0x86 ,
      0x8e 0x8d 0x89 0x87 0x82 0x7e 0x82 0x87 0x88 ,0x83 0x7f 0x7c 0x7a 0x84 0x85 0x82 0x87 0x7e ,
mid  :0xae 0xb0 0xb1 0xae 0xa3 0xa8 0xaa 0xa9 0xa9 ,0xa1 0xa0 0x9b 0x99 0xa3 0xa2 0xa3 0xa4 0xa1 ,
      0xaa 0xaa 0xa5 0xa3 0x9e 0x98 0x9c 0xa0 0xa2 ,0x9f 0x9c 0x99 0x96 0xa0 0xa2 0x9c 0xa3 0x9a ,
max  :0xcc 0xcd 0xce 0xca 0xc0 0xc5 0xc7 0xc4 0xc4 ,0xbe 0xbd 0xb8 0xb6 0xc1 0xbd 0xbe 0xc0 0xbd ,
      0xc7 0xc7 0xc1 0xc0 0xba 0xb2 0xb7 0xb9 0xbd ,0xbc 0xb9 0xb7 0xb3 0xbc 0xc0 0xb7 0xc0 0xb7 ,
range:0x3b 0x39 0x39 0x38 0x39 0x39 0x3a 0x36 0x36 ,0x3a 0x39 0x39 0x39 0x3b 0x36 0x35 0x37 0x37 ,
      0x39 0x3a 0x38 0x39 0x38 0x34 0x35 0x32 0x35 ,0x39 0x3a 0x3b 0x39 0x38 0x3b 0x35 0x39 0x39 ,
cs 1:
the read training result:
DQS0:0x39, DQS1:0x39, DQS2:0x3b, DQS3:0x34,
min  : 0xd  0xd  0xf  0xc  0x1  0x4  0x8  0x4 , 0x8  0x8  0x2  0x1  0x9  0x8  0xe  0x9 ,
      0x12 0x10  0xc  0x7  0x5  0x1  0x4  0x6 , 0xd  0x8  0x6  0x2  0xd  0xe  0xb  0xf ,
mid  :0x2a 0x2a 0x2b 0x28 0x1e 0x21 0x25 0x20 ,0x25 0x25 0x1f 0x1d 0x27 0x25 0x2a 0x27 ,
      0x2e 0x2c 0x26 0x22 0x20 0x1c 0x20 0x22 ,0x29 0x24 0x22 0x1d 0x28 0x29 0x27 0x2a ,
max  :0x47 0x47 0x47 0x45 0x3b 0x3e 0x42 0x3d ,0x43 0x43 0x3d 0x3a 0x45 0x43 0x46 0x45 ,
      0x4a 0x48 0x40 0x3e 0x3c 0x38 0x3c 0x3f ,0x45 0x40 0x3e 0x38 0x44 0x45 0x44 0x45 ,
range:0x3a 0x3a 0x38 0x39 0x3a 0x3a 0x3a 0x39 ,0x3b 0x3b 0x3b 0x39 0x3c 0x3b 0x38 0x3c ,
      0x38 0x38 0x34 0x37 0x37 0x37 0x38 0x39 ,0x38 0x38 0x38 0x36 0x37 0x37 0x39 0x36 ,
the write training result:
DQS0:0x5c, DQS1:0x52, DQS2:0x55, DQS3:0x48,
min  :0x90 0x92 0x93 0x90 0x85 0x89 0x8c 0x8c 0x8c ,0x81 0x82 0x7c 0x7b 0x84 0x85 0x87 0x86 0x84 ,
      0x90 0x8f 0x8b 0x8b 0x84 0x81 0x84 0x89 0x8a ,0x82 0x7d 0x7b 0x79 0x83 0x83 0x81 0x85 0x7d ,
mid  :0xac 0xae 0xb0 0xac 0xa1 0xa5 0xa8 0xa7 0xa7 ,0x9e 0x9f 0x98 0x97 0xa1 0xa0 0xa1 0xa0 0x9f ,
      0xac 0xab 0xa7 0xa7 0x9f 0x9b 0x9e 0xa3 0xa5 ,0x9e 0x9a 0x98 0x95 0x9e 0xa0 0x9a 0xa1 0x99 ,
max  :0xc9 0xcb 0xcd 0xc8 0xbe 0xc2 0xc4 0xc2 0xc2 ,0xbc 0xbc 0xb5 0xb3 0xbf 0xbb 0xbc 0xbb 0xbb ,
      0xc9 0xc8 0xc3 0xc3 0xbb 0xb5 0xb8 0xbd 0xc1 ,0xbb 0xb7 0xb5 0xb1 0xba 0xbd 0xb4 0xbd 0xb5 ,
range:0x39 0x39 0x3a 0x38 0x39 0x39 0x38 0x36 0x36 ,0x3b 0x3a 0x39 0x38 0x3b 0x36 0x35 0x35 0x37 ,
      0x39 0x39 0x38 0x38 0x37 0x34 0x34 0x34 0x37 ,0x39 0x3a 0x3a 0x38 0x37 0x3a 0x33 0x38 0x38 ,
CA Training result:
cs:0 min  :0x4f 0x45 0x44 0x3a 0x46 0x3a 0x47 ,0x4b 0x40 0x46 0x3a 0x43 0x37 0x48 ,
cs:0 mid  :0x8a 0x88 0x80 0x7e 0x80 0x7d 0x73 ,0x87 0x83 0x7e 0x7c 0x7f 0x7b 0x73 ,
cs:0 max  :0xc5 0xcb 0xbc 0xc2 0xbb 0xc1 0x9f ,0xc3 0xc7 0xb6 0xbf 0xbb 0xc0 0x9e ,
cs:0 range:0x76 0x86 0x78 0x88 0x75 0x87 0x58 ,0x78 0x87 0x70 0x85 0x78 0x89 0x56 ,
cs:1 min  :0x52 0x47 0x46 0x3c 0x46 0x3d 0x3c ,0x4e 0x41 0x41 0x39 0x45 0x37 0x38 ,
cs:1 mid  :0x8c 0x8b 0x82 0x80 0x82 0x80 0x72 ,0x87 0x84 0x7e 0x7c 0x80 0x7b 0x6f ,
cs:1 max  :0xc6 0xd0 0xbf 0xc4 0xbf 0xc4 0xa9 ,0xc1 0xc8 0xbb 0xc0 0xbc 0xbf 0xa6 ,
cs:1 range:0x74 0x89 0x79 0x88 0x79 0x87 0x6d ,0x73 0x87 0x7a 0x87 0x77 0x88 0x6e ,
out
U-Boot SPL board init
U-Boot SPL 2017.09 (Dec 22 2021 - 12:11:13)
rk3568_sdmmc_set_clk,rate=400000
Trying to boot from MMC2
rk3568_sdmmc_set_clk,rate=400000
rk3568_sdmmc_set_clk,rate=400000
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 4
spl: mmc init failed with error: -110
Trying to boot from MTD2
No misc partition
## Verified-boot: 0
## Checking atf-1 0x00040000 ... sha256(98daa5ac76...) + OK
## Checking uboot 0x00a00000 ... sha256(c3925b687d...) + OK
## Checking fdt 0x00b27c70 ... sha256(9679fe2a45...) + OK
## Checking atf-2 0x00068000 ... sha256(c7d2bb5100...) + OK
## Checking atf-3 0xfdcd0000 ... sha256(a37442869e...) + OK
## Checking atf-4 0xfdcc9000 ... sha256(9edcb98829...) + OK
## Checking atf-5 0x00066000 ... sha256(315a4195a9...) + OK
## Checking optee 0x08400000 ... sha256(b8cddafab0...) + OK
Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000)
Total: 540.994 ms

INFO:    Preloader serial: 2
NOTICE:  BL31: v2.3():v2.3-168-g367a3ffb3-dirty:xsf
NOTICE:  BL31: Built : 19:07:00, Sep  7 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
INFO:    BL31: Initializing BL32
I/TC:
I/TC: Start rockchip platform init
I/TC: Rockchip release version: 1.0
I/TC: OP-TEE version: 3.6.0-307-g0b06ae94 #1 Fri May  7 01:52:27 UTC 2021 aarch64
I/TC: Initialized
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0xa00000
INFO:    SPSR = 0x3c9


U-Boot 2017.09 (Dec 22 2021 - 12:11:13 +0800)

Model: Rockchip RK3568 Evaluation Board
PreSerial: 2, raw, 0xfe660000
DRAM:  2 GiB
Sysmem: init
Relocation Offset: 7d351000
Relocation fdt: 7b9f8950 - 7b9fece0
CR: M/C/I
Using default environment

SF: Detected sfc_nor with page size 256 Bytes, erase size 4 KiB, total 16 MiB
Bootdev(atags): mtd 2
PartType: EFI
boot mode: None
FIT: No fdt blob
No resource partition
Failed to load DTB, ret=-19
Failed to get kernel dtb, ret=-19
io-domain: OK
Failed to get scmi clk dev
Model: Rockchip RK3568 Evaluation Board
rockchip_set_ethaddr: vendor_storage_write failed -5
rockchip_set_serialno: could not find efuse/otp device
no recovery key node
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
## Booting FIT Image FIT: No fit blob
FIT: No FIT image
failed to read ca head from misc
Could not read from misc partition
WARNING: Unable to load the BCB.
ANDROID: reboot reason: "(none)"
optee api revision: 2.0
Vboot=0, AVB images, AVB verify
read_is_device_unlocked() ops returned that device is UNLOCKED
Magic is incorrect.
Error validating A/B metadata from disk. Resetting and writing new A/B metadata to disk.
avb_vbmeta_image.c:65: ERROR: Magic is incorrect.
avb_slot_verify.c:773: ERROR: vbmeta: Error verifying vbmeta image: invalid vbmeta header
AVB verify failed
Android boot failed, error -1.
no mmc device at slot 1
no mmc device at slot 0
starting USB...
Bus dwc3@fcc00000: usb maximum-speed not found
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
Bus dwc3@fd000000: usb maximum-speed not found
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus dwc3@fcc00000 for devices... 1 USB Device(s) found
scanning bus dwc3@fd000000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Device 0: unknown device
No ethernet found.
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm-rockchip
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default-arm
No ethernet found.
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/default
No ethernet found.
Config file not found
No ethernet found.
=>

难道变砖了?
回复

使用道具 举报

2077

积分

10

威望

12

贡献

中级创客

Rank: 4

积分
2077
发表于 2021-12-22 16:36:41        只看该作者  沙发
你这没有进入Makrom,就在这个阶段,输入rbrom命令进入Maskrom
然后按照这个方法一修复固件
https://wiki.t-firefly.com/zh_CN ... #fang-fa-yi-firefly
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表