Firefly开源社区

[技术讨论] 编译Ubuntu 18.04固件,烧写后板子变砖

143

积分

0

威望

0

贡献

技术小白

积分
143
发表于 2021-12-5 14:11:21     
严格按照https://wiki.t-firefly.com/Core-3568J/linux_compile_gpt.html 操作,编译正常未报错,生产了固件,然后升级新固件后,板子起不了,usb口反应,串口无反应,串口在死之前打印如下:求大神帮忙看下,谢谢!
PHY drv:clk:38,ca:38,DQ:30,odt:60
vrefinner:16%, vrefout:29%
dram drv:40,odt:80
vref_ca:00000068
clk skew:0xb
cs 0:
the read training result:
DQS0:0x3c, DQS1:0x36, DQS2:0x39, DQS3:0x37,
min  :0x12 0x14 0x16 0x12  0x2  0x7  0xb  0x7 , 0xb  0x9  0x1  0x2  0xc  0xc  0xb  0x9 ,
      0x15 0x14  0xe  0xa  0x3  0x2  0x4  0x7 , 0xe  0x9  0x8  0x0 0x10  0xf  0xe 0x10 ,
mid  :0x2e 0x2e 0x31 0x2d 0x1f 0x24 0x28 0x24 ,0x26 0x23 0x1b 0x1d 0x27 0x27 0x26 0x23 ,
      0x30 0x30 0x28 0x26 0x1e 0x1c 0x1f 0x21 ,0x2a 0x25 0x24 0x1d 0x29 0x2b 0x2a 0x2c ,
max  :0x4b 0x49 0x4c 0x49 0x3c 0x41 0x46 0x42 ,0x41 0x3e 0x35 0x38 0x42 0x42 0x42 0x3d ,
      0x4b 0x4d 0x43 0x43 0x39 0x37 0x3a 0x3c ,0x47 0x41 0x41 0x3b 0x43 0x48 0x47 0x49 ,
range:0x39 0x35 0x36 0x37 0x3a 0x3a 0x3b 0x3b ,0x36 0x35 0x34 0x36 0x36 0x36 0x37 0x34 ,
      0x36 0x39 0x35 0x39 0x36 0x35 0x36 0x35 ,0x39 0x38 0x39 0x3b 0x33 0x39 0x39 0x39 ,
the write training result:
DQS0:0x57, DQS1:0x3f, DQS2:0x49, DQS3:0x36,
min  :0xa0 0xa5 0xa6 0xa6 0x95 0x99 0x9e 0x9e 0xa0 ,0x89 0x88 0x82 0x84 0x90 0x8f 0x8e 0x8c 0x8b ,
      0x91 0x92 0x8b 0x8c 0x7f 0x7e 0x81 0x86 0x88 ,0x78 0x75 0x74 0x70 0x7d 0x7c 0x79 0x7f 0x75 ,
mid  :0xbb 0xbf 0xc0 0xbe 0xab 0xb0 0xb5 0xb4 0xb5 ,0xa1 0x9f 0x96 0x9a 0xa4 0xa3 0xa2 0xa3 0xa1 ,
      0xab 0xaa 0xa2 0xa2 0x96 0x95 0x98 0x9c 0x9f ,0x91 0x8e 0x8b 0x88 0x93 0x93 0x91 0x97 0x8d ,
max  :0xd7 0xda 0xda 0xd7 0xc1 0xc7 0xcc 0xca 0xca ,0xba 0xb6 0xab 0xb0 0xb8 0xb7 0xb7 0xba 0xb7 ,
      0xc5 0xc3 0xba 0xb9 0xae 0xac 0xaf 0xb3 0xb6 ,0xaa 0xa7 0xa3 0xa0 0xaa 0xaa 0xa9 0xaf 0xa5 ,
range:0x37 0x35 0x34 0x31 0x2c 0x2e 0x2e 0x2c 0x2a ,0x31 0x2e 0x29 0x2c 0x28 0x28 0x29 0x2e 0x2c ,
      0x34 0x31 0x2f 0x2d 0x2f 0x2e 0x2e 0x2d 0x2e ,0x32 0x32 0x2f 0x30 0x2d 0x2e 0x30 0x30 0x30 ,
cs 1:
the read training result:
DQS0:0x3a, DQS1:0x39, DQS2:0x39, DQS3:0x38,
min  : 0xf 0x11 0x14 0x10  0x1  0x8  0xc  0x8 , 0xb  0xb  0x3  0x2  0xd  0xb  0xe  0xb ,
      0x15 0x14 0x10  0xb  0x3  0x2  0x4  0x6 ,0x10  0xc  0x8  0x2 0x12 0x11 0x10 0x12 ,
mid  :0x2b 0x2d 0x2f 0x2c 0x1d 0x24 0x27 0x24 ,0x26 0x26 0x1d 0x1f 0x28 0x28 0x29 0x25 ,
      0x30 0x30 0x2a 0x27 0x1e 0x1c 0x1e 0x21 ,0x2c 0x26 0x25 0x1e 0x2c 0x2c 0x2c 0x2e ,
max  :0x48 0x49 0x4a 0x49 0x39 0x41 0x43 0x41 ,0x42 0x41 0x38 0x3c 0x44 0x45 0x44 0x3f ,
      0x4b 0x4c 0x44 0x43 0x39 0x37 0x39 0x3c ,0x48 0x41 0x42 0x3b 0x46 0x48 0x48 0x4b ,
range:0x39 0x38 0x36 0x39 0x38 0x39 0x37 0x39 ,0x37 0x36 0x35 0x3a 0x37 0x3a 0x36 0x34 ,
      0x36 0x38 0x34 0x38 0x36 0x35 0x35 0x36 ,0x38 0x35 0x3a 0x39 0x34 0x37 0x38 0x39 ,
the write training result:
DQS0:0x57, DQS1:0x3f, DQS2:0x49, DQS3:0x36,
min  :0xa0 0xa4 0xa6 0xa4 0x94 0x99 0x9d 0x9e 0x9f ,0x89 0x89 0x83 0x84 0x90 0x8f 0x8f 0x8c 0x8b ,
      0xa0 0xa0 0x99 0x9a 0x90 0x8e 0x91 0x94 0x97 ,0x89 0x86 0x86 0x7f 0x8c 0x8c 0x8b 0x8f 0x84 ,
mid  :0xbc 0xbf 0xc1 0xbe 0xac 0xb0 0xb5 0xb5 0xb5 ,0xa2 0xa1 0x99 0x9b 0xa6 0xa4 0xa5 0xa4 0xa2 ,
      0xb9 0xb9 0xb1 0xb2 0xa8 0xa5 0xa8 0xab 0xae ,0xa0 0x9d 0x9b 0x96 0xa3 0xa3 0xa1 0xa6 0x9c ,
max  :0xd9 0xda 0xdc 0xd9 0xc4 0xc8 0xce 0xcc 0xcb ,0xbc 0xba 0xaf 0xb3 0xbd 0xba 0xbc 0xbc 0xb9 ,
      0xd3 0xd3 0xca 0xca 0xc0 0xbc 0xc0 0xc3 0xc6 ,0xb7 0xb5 0xb0 0xae 0xbb 0xbb 0xb7 0xbe 0xb5 ,
range:0x39 0x36 0x36 0x35 0x30 0x2f 0x31 0x2e 0x2c ,0x33 0x31 0x2c 0x2f 0x2d 0x2b 0x2d 0x30 0x2e ,
      0x33 0x33 0x31 0x30 0x30 0x2e 0x2f 0x2f 0x2f ,0x2e 0x2f 0x2a 0x2f 0x2f 0x2f 0x2c 0x2f 0x31 ,
CA Training result:
cs:0 min  :0x4d 0x46 0x42 0x3b 0x40 0x36 0x4b ,0x4e 0x42 0x3e 0x35 0x3d 0x36 0x49 ,
cs:0 mid  :0x87 0x86 0x7b 0x7a 0x7a 0x75 0x79 ,0x87 0x81 0x78 0x75 0x76 0x76 0x76 ,
cs:0 max  :0xc2 0xc6 0xb4 0xb9 0xb5 0xb5 0xa7 ,0xc0 0xc1 0xb3 0xb6 0xaf 0xb6 0xa3 ,
cs:0 range:0x75 0x80 0x72 0x7e 0x75 0x7f 0x5c ,0x72 0x7f 0x75 0x81 0x72 0x80 0x5a ,
cs:1 min  :0x4e 0x49 0x44 0x3d 0x47 0x38 0x43 ,0x50 0x44 0x41 0x36 0x40 0x37 0x40 ,
cs:1 mid  :0x89 0x88 0x7f 0x7d 0x7f 0x78 0x7b ,0x8a 0x84 0x7b 0x77 0x79 0x78 0x77 ,
cs:1 max  :0xc4 0xc8 0xba 0xbd 0xb7 0xb9 0xb3 ,0xc5 0xc5 0xb5 0xb8 0xb3 0xb9 0xaf ,
cs:1 range:0x76 0x7f 0x76 0x80 0x70 0x81 0x70 ,0x75 0x81 0x74 0x82 0x73 0x82 0x6f ,
out
U-Boot SPL board init
U-Boot SPL 2017.09-g5961c0c398-211025 #llq (Dec 01 2021 - 15:03:57)
unknown raw ID phN
unrecognized JEDEC id bytes: 00, 00, 00
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 9
spl: mmc init failed with error: -95
Trying to boot from MMC1
SPL: A/B-slot: _a, successful: 0, tries-remain: 7
## Verified-boot: 0
## Checking atf-1 0x00040000 ... sha256(fe4f274c06...) + OK
## Checking uboot 0x00a00000 ... sha256(f676249983...) + OK
## Checking fdt 0x00b22630 ... sha256(30938731de...) + OK
## Checking atf-2 0x00068000 ... sha256(8d44036095...) + OK
## Checking atf-3 0xfdcd0000 ... sha256(e410275b51...) + OK
## Checking atf-4 0xfdcc9000 ... sha256(990c53fc01...) + OK
## Checking atf-5 0x00066000 ... sha256(315a4195a9...) + OK
## Checking optee 0x08400000 ... sha256(5a22c90dfc...) + OK
Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000)
Total: 224.293 ms

INFO:    Preloader serial: 2
NOTICE:  BL31: v2.3():v2.3-181-gc9a647cae:cl
NOTICE:  BL31: Built : 10:55:41, Oct 18 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= 1560MHz
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: OP-TEE version: 3.13.0-515-g7b4275734 #hisping.lin (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #1 Wed Aug  4 07:11:39 UTC 2021 aarch64
I/TC: Primary CPU initializing
I/TC: Primary CPU switching to normal world boot
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0xa00000
INFO:    SPSR = 0x3c9


U-Boot 2017.09-g5961c0c398-211025 #llq (Dec 01 2021 - 15:03:57 +0800)

Model: Firefly RK3568 Board
PreSerial: 2, raw, 0xfe660000
DRAM:  4 GiB
Sysmem: init
Relocation Offset: ed356000
Relocation fdt: eb9f8310 - eb9fece0
CR: M/C/I
Using default environment

dwmmc@fe2b0000: 1, dwmmc@fe2c0000: 2, sdhci@fe310000: 0
Bootdev(atags): mmc 0
MMC0: HS200, 200Mhz
PartType: EFI
boot mode: loader
FIT: no signed, no conf required
DTB: rk-kernel.dtb
HASH(c): OK
I2c0 speed: 100000Hz
PMIC:  RK8090 (on=0x40, off=0x00)
vdd_logic init 900000 uV
vdd_gpu init 900000 uV
vdd_npu init 900000 uV
io-domain: OK
Could not find baseparameter partition
Model: AIO-3568J HDMI (Linux)
enter Rockusb!
Rockchip UBOOT DRM driver version: v1.0.1
VOP have 1 active VP
vp0 have layer nr:6[0 2 4 1 3 5 ], primary plane: 4
vp1 have layer nr:0[], primary plane: 0
vp2 have layer nr:0[], primary plane: 0
hdmi@fe0a0000 disconnected
CLK: (sync kernel. arm: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
  apll 816000 KHz
  dpll 780000 KHz
  gpll 1188000 KHz
  cpll 1000000 KHz
  npll 1200000 KHz
  vpll 24000 KHz
  hpll 24000 KHz
  ppll 200000 KHz
  armclk 816000 KHz
  aclk_bus 150000 KHz
  pclk_bus 100000 KHz
  aclk_top_high 500000 KHz
  aclk_top_low 400000 KHz
  hclk_top 150000 KHz
  pclk_top 100000 KHz
  aclk_perimid 300000 KHz
  hclk_perimid 150000 KHz
  pclk_pmu 100000 KHz
Net:   eth1: ethernet@fe010000, eth0: ethernet@fe2a0000
RKUSB: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x3a3e000
/DDR Version V1.10 20210810
In
ddrconfig:7
LP4 MR14:0x4d
LPDDR4, 324MHz
BW=32 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=4096MB
tdqss: cs0 dqs0: 385ps, dqs1: 265ps, dqs2: 313ps, dqs3: 217ps,
tdqss: cs1 dqs0: 361ps, dqs1: 265ps, dqs2: 337ps, dqs3: 241ps,

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:0x76

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

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:0xb
cs 0:
the read training result:
DQS0:0x3a, DQS1:0x35, DQS2:0x37, DQS3:0x36,
min  :0x11 0x13 0x16 0x11  0x1  0x7  0xb  0x7 , 0xb  0x9  0x1  0x2  0xc  0xb  0xb  0x9 ,
      0x13 0x12  0xc  0x9  0x2  0x1  0x2  0x6 , 0xf  0xa  0x8  0x3 0x11 0x10  0xf 0x11 ,
mid  :0x2d 0x2d 0x30 0x2c 0x1d 0x23 0x27 0x23 ,0x25 0x23 0x1a 0x1c 0x26 0x26 0x26 0x22 ,
      0x2d 0x2e 0x26 0x24 0x1c 0x1a 0x1c 0x1f ,0x2a 0x25 0x23 0x1e 0x2a 0x2c 0x2a 0x2d ,
max  :0x4a 0x48 0x4b 0x48 0x3a 0x3f 0x44 0x40 ,0x3f 0x3d 0x34 0x37 0x41 0x41 0x41 0x3c ,
      0x48 0x4a 0x41 0x3f 0x36 0x33 0x37 0x39 ,0x46 0x40 0x3f 0x3a 0x43 0x48 0x46 0x49 ,
range:0x39 0x35 0x35 0x37 0x39 0x38 0x39 0x39 ,0x34 0x34 0x33 0x35 0x35 0x36 0x36 0x33 ,
      0x35 0x38 0x35 0x36 0x34 0x32 0x35 0x33 ,0x37 0x36 0x37 0x37 0x32 0x38 0x37 0x38 ,
the write training result:
DQS0:0x57, DQS1:0x3f, DQS2:0x49, DQS3:0x36,
min  :0xa0 0xa6 0xa6 0xa6 0x95 0x99 0x9d 0x9d 0xa0 ,0x89 0x88 0x82 0x85 0x90 0x8e 0x8e 0x8c 0x8b ,
      0x91 0x91 0x8b 0x8c 0x7f 0x7e 0x82 0x86 0x89 ,0x78 0x76 0x75 0x71 0x7d 0x7d 0x7a 0x7f 0x76 ,
mid  :0xbb 0xc0 0xc0 0xbe 0xab 0xb0 0xb5 0xb4 0xb5 ,0xa1 0x9e 0x96 0x9a 0xa3 0xa2 0xa2 0xa2 0xa0 ,
      0xab 0xaa 0xa2 0xa2 0x96 0x95 0x98 0x9c 0x9f ,0x91 0x8e 0x8c 0x89 0x93 0x94 0x92 0x97 0x8e ,
max  :0xd7 0xda 0xda 0xd7 0xc2 0xc7 0xcd 0xcb 0xcb ,0xb9 0xb5 0xab 0xb0 0xb7 0xb6 0xb6 0xb9 0xb6 ,
      0xc5 0xc3 0xba 0xb9 0xad 0xac 0xaf 0xb3 0xb5 ,0xaa 0xa7 0xa3 0xa1 0xaa 0xab 0xaa 0xb0 0xa6 ,
range:0x37 0x34 0x34 0x31 0x2d 0x2e 0x30 0x2e 0x2b ,0x30 0x2d 0x29 0x2b 0x27 0x28 0x28 0x2d 0x2b ,
      0x34 0x32 0x2f 0x2d 0x2e 0x2e 0x2d 0x2d 0x2c ,0x32 0x31 0x2e 0x30 0x2d 0x2e 0x30 0x31 0x30 ,
cs 1:
the read training result:
DQS0:0x39, DQS1:0x38, DQS2:0x38, DQS3:0x36,
min  :0x10 0x11 0x14 0x10  0x2  0x8  0xc  0x8 , 0xc  0xa  0x4  0x2  0xd  0xc  0xe  0xb ,
      0x15 0x15 0x10  0xb  0x3  0x2  0x4  0x6 ,0x10  0xb  0x8  0x2 0x10 0x11 0x10 0x11 ,
mid  :0x2b 0x2c 0x2e 0x2b 0x1d 0x23 0x27 0x23 ,0x26 0x24 0x1d 0x1e 0x28 0x27 0x28 0x24 ,
      0x2f 0x2f 0x29 0x26 0x1d 0x1b 0x1e 0x20 ,0x2b 0x25 0x24 0x1e 0x2a 0x2c 0x2b 0x2d ,
max  :0x46 0x48 0x48 0x47 0x38 0x3f 0x42 0x3f ,0x41 0x3f 0x37 0x3b 0x43 0x43 0x43 0x3e ,
      0x4a 0x4a 0x43 0x41 0x37 0x35 0x38 0x3a ,0x46 0x3f 0x40 0x3a 0x45 0x47 0x46 0x49 ,
range:0x36 0x37 0x34 0x37 0x36 0x37 0x36 0x37 ,0x35 0x35 0x33 0x39 0x36 0x37 0x35 0x33 ,
      0x35 0x35 0x33 0x36 0x34 0x33 0x34 0x34 ,0x36 0x34 0x38 0x38 0x35 0x36 0x36 0x38 ,
the write training result:
DQS0:0x57, DQS1:0x3f, DQS2:0x49, DQS3:0x36,
min  :0xa0 0xa6 0xa7 0xa4 0x95 0x99 0x9d 0x9e 0xa0 ,0x89 0x89 0x84 0x85 0x90 0x90 0x8f 0x8c 0x8b ,
      0xa0 0xa0 0x9a 0x9b 0x91 0x8e 0x91 0x95 0x98 ,0x89 0x87 0x86 0x7f 0x8c 0x8c 0x8b 0x8f 0x85 ,
mid  :0xbd 0xc0 0xc1 0xbe 0xad 0xb0 0xb6 0xb5 0xb6 ,0xa2 0xa1 0x99 0x9c 0xa6 0xa5 0xa5 0xa4 0xa2 ,
      0xba 0xba 0xb2 0xb3 0xa9 0xa4 0xa9 0xac 0xaf ,0xa0 0x9e 0x9b 0x96 0xa3 0xa3 0xa1 0xa6 0x9d ,
max  :0xda 0xda 0xdb 0xd9 0xc5 0xc8 0xcf 0xcc 0xcc ,0xbc 0xba 0xaf 0xb4 0xbc 0xba 0xbb 0xbc 0xb9 ,
      0xd4 0xd4 0xcb 0xcb 0xc1 0xbb 0xc1 0xc3 0xc6 ,0xb7 0xb5 0xb0 0xad 0xbb 0xba 0xb7 0xbe 0xb5 ,
range:0x3a 0x34 0x34 0x35 0x30 0x2f 0x32 0x2e 0x2c ,0x33 0x31 0x2b 0x2f 0x2c 0x2a 0x2c 0x30 0x2e ,
      0x34 0x34 0x31 0x30 0x30 0x2d 0x30 0x2e 0x2e ,0x2e 0x2e 0x2a 0x2e 0x2f 0x2e 0x2c 0x2f 0x30 ,
CA Training result:
cs:0 min  :0x4d 0x45 0x42 0x3b 0x40 0x36 0x4b ,0x4e 0x42 0x3e 0x35 0x3c 0x35 0x49 ,
cs:0 mid  :0x87 0x85 0x7b 0x79 0x7a 0x75 0x78 ,0x87 0x81 0x78 0x75 0x75 0x75 0x76 ,
cs:0 max  :0xc2 0xc6 0xb4 0xb8 0xb5 0xb4 0xa6 ,0xc0 0xc1 0xb2 0xb5 0xaf 0xb5 0xa3 ,
cs:0 range:0x75 0x81 0x72 0x7d 0x75 0x7e 0x5b ,0x72 0x7f 0x74 0x80 0x73 0x80 0x5a ,
cs:1 min  :0x4e 0x49 0x44 0x3e 0x47 0x38 0x43 ,0x50 0x44 0x40 0x36 0x40 0x38 0x40 ,
cs:1 mid  :0x89 0x88 0x7f 0x7d 0x7f 0x78 0x7b ,0x8a 0x84 0x7a 0x77 0x79 0x79 0x77 ,
cs:1 max  :0xc4 0xc8 0xba 0xbd 0xb8 0xb8 0xb3 ,0xc5 0xc5 0xb5 0xb8 0xb3 0xba 0xaf ,
cs:1 range:0x76 0x7f 0x76 0x7f 0x71 0x80 0x70 ,0x75 0x81 0x75 0x82 0x73 0x82 0x6f ,
out
U-Boot SPL board init
U-Boot SPL 2017.09-g5376d2c558 #forlinx (Dec 04 2021 - 20:02:17)
unknown raw ID phN
unrecognized JEDEC id bytes: 00, 00, 00
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
Magic is incorrect.
Error validating A/B metadata from disk. Resetting and writing new A/B metadata to disk.
SPL: A/B-slot: _a, successful: 0, tries-remain: 7
## Verified-boot: 0
## Checking atf-1 0x00040000 ... sha256(796d978c0a...) + OK
## Checking uboot 0x00a00000 ... sha256(2bf3f8fd75...) + OK
## Checking fdt 0x00b22248 ... sha256(30938731de...) + OK
## Checking atf-2 0x00068000 ... sha256(61f58405c6...) + OK
## Checking atf-3 0xfdcd0000 ... sha256(87af14e1bd...) + OK
## Checking atf-4 0xfdcc9000 ... sha256(4a24fbbebc...) + OK
## Checking atf-5 0x00066000 ... sha256(315a4195a9...) + OK
## Checking optee 0x08400000 ... sha256(5a22c90dfc...) + OK
Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000)
Total: 228.214 ms

INFO:    Preloader serial: 2
NOTICE:  BL31: v2.3():v2.3-178-g16de7aecc:cl
NOTICE:  BL31: Built : 16:24:27, Sep 28 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= 1560MHz
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: OP-TEE version: 3.13.0-515-g7b4275734 #hisping.lin (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #1 Wed Aug  4 07:11:39 UTC 2021 aarch64
I/TC: Primary CPU initializing
I/TC: Primary CPU switching to normal world boot
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0xa00000
INFO:    SPSR = 0x3c9


U-Boot 2017.09-g5376d2c558 #forlinx (Dec 04 2021 - 20:02:17 -0800)

Model: Firefly RK3568 Board
PreSerial: 2, raw, 0xfe660000
DRAM:  4 GiB
Sysmem: init
Relocation Offset: ed356000
Relocation fdt: eb9f8f30 - eb9fece8
CR: M/C/I
Using default environment

dwmmc@fe2b0000: 1, dwmmc@fe2c0000: 2, sdhci@fe310000: 0
Bootdev(atags): mmc 0
MMC0: HS200, 200Mhz
PartType: EFI
boot mode: recovery (misc)
FIT: no signed, no conf required
DTB: rk-kernel.dtb
HASH(c): OK
I2c0 speed: 100000Hz
PMIC:  RK8090 (on=0x40, off=0x00)
vdd_logic init 900000 uV
vdd_gpu init 900000 uV
vdd_npu init 900000 uV
io-domain: OK
Could not find baseparameter partition
Model: AIO-3568J HDMI (Linux)
"Synchronous Abort" handler, esr 0x96000145

* Reason:        Exception from a Data abort, from current exception level
* PC         =   0000000000a01ac8
* LR         =   0000000000a4e1c0
* SP         =   00000000eb9f8ba0
* ESR_EL2    =   0000000096000145
* Reloc Off  =   00000000ed356000

x0 : 0000000100000000 x1 : 000000010ded0cc0
x2 : 0000000000000040 x3 : 000000000000003f
x4 : 00000000ebe3d1b0 x5 : 0000000000000005
x6 : 0000000000000018 x7 : 0000000000000010
x8 : 0000000000000000 x9 : 0000000000000008
x10: 0000000000000010 x11: 00000000ebd5c0b0
x12: 0000000000000000 x13: 0000000000000200
x14: 0000000000000037 x15: 00000000ffffffff
x16: 000000000000000c x17: 0000000000000001
x18: 00000000eb9ffcf8 x19: 0000000000000000
x20: 000000001ffd0cae x21: 00000000ebe2cd60
x22: 00000000ebe3d1c0 x23: 00000000000020cf
x24: 000000000002f40e x25: 00000000ebe3d160
x26: 0000000000000000 x27: 00000000edf00000
x28: 00000000edf00000 x29: 00000000eb9f8d80


Call trace:
  PC:   [< 00a01ac8 >]
  LR:   [< 00a4e1c0 >]

Stack:
        [< 00a01ac8 >]
        [< 00a4e3c8 >]
        [< 00a03b18 >]
        [< 00a99eec >]
        [< 00a192b8 >]
        [< 00a01e00 >]

Copy info from "Call trace..." to a file(eg. dump.txt), and run
command in your U-Boot project: ./scripts/stacktrace.sh dump.txt

Resetting CPU ...

### ERROR ### Please RESET the board ###
DDR Version V1.10 20210810
In
ddrconfig:7
LP4 MR14:0x4d
LPDDR4, 324MHz
BW=32 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=4096MB
tdqss: cs0 dqs0: 385ps, dqs1: 265ps, dqs2: 313ps, dqs3: 217ps,
tdqss: cs1 dqs0: 361ps, dqs1: 265ps, dqs2: 337ps, dqs3: 241ps,

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:0x76

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

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:0xb
cs 0:
the read training result:
DQS0:0x3c, DQS1:0x37, DQS2:0x39, DQS3:0x37,
min  :0x12 0x14 0x16 0x11  0x2  0x7  0xb  0x7 , 0xb  0x9  0x2  0x2  0xb  0xb  0xb  0x9 ,
      0x15 0x14  0xe  0xb  0x3  0x2  0x4  0x7 , 0xe  0x8  0x8  0x0 0x10  0xf  0xf 0x10 ,
mid  :0x2e 0x2f 0x31 0x2d 0x1f 0x24 0x28 0x24 ,0x26 0x23 0x1b 0x1d 0x27 0x27 0x26 0x23 ,
      0x30 0x31 0x28 0x27 0x1e 0x1c 0x1f 0x21 ,0x2a 0x24 0x24 0x1e 0x29 0x2b 0x2b 0x2c ,
max  :0x4b 0x4a 0x4c 0x4a 0x3c 0x41 0x46 0x41 ,0x41 0x3e 0x35 0x39 0x43 0x43 0x42 0x3d ,
      0x4b 0x4e 0x43 0x43 0x39 0x37 0x3a 0x3c ,0x47 0x41 0x41 0x3c 0x43 0x48 0x47 0x49 ,
range:0x39 0x36 0x36 0x39 0x3a 0x3a 0x3b 0x3a ,0x36 0x35 0x33 0x37 0x38 0x38 0x37 0x34 ,
      0x36 0x3a 0x35 0x38 0x36 0x35 0x36 0x35 ,0x39 0x39 0x39 0x3c 0x33 0x39 0x38 0x39 ,
the write training result:
DQS0:0x57, DQS1:0x3f, DQS2:0x49, DQS3:0x36,
min  :0xa0 0xa5 0xa6 0xa5 0x95 0x99 0x9e 0x9e 0xa0 ,0x89 0x88 0x82 0x84 0x90 0x8f 0x8e 0x8c 0x8b ,
      0x91 0x92 0x8b 0x8c 0x7f 0x7f 0x81 0x86 0x89 ,0x78 0x76 0x74 0x70 0x7d 0x7c 0x79 0x7f 0x75 ,
mid  :0xbb 0xbd 0xbe 0xbd 0xab 0xb0 0xb5 0xb4 0xb5 ,0xa0 0x9f 0x96 0x9a 0xa3 0xa3 0xa2 0xa3 0xa1 ,
      0xab 0xaa 0xa2 0xa3 0x96 0x95 0x98 0x9c 0x9f ,0x91 0x8e 0x8b 0x88 0x93 0x93 0x90 0x97 0x8d ,
max  :0xd6 0xd6 0xd7 0xd6 0xc1 0xc7 0xcc 0xca 0xca ,0xb8 0xb6 0xab 0xb1 0xb7 0xb7 0xb7 0xba 0xb7 ,
      0xc5 0xc3 0xba 0xba 0xae 0xac 0xaf 0xb3 0xb6 ,0xaa 0xa7 0xa3 0xa0 0xaa 0xaa 0xa8 0xaf 0xa5 ,
range:0x36 0x31 0x31 0x31 0x2c 0x2e 0x2e 0x2c 0x2a ,0x2f 0x2e 0x29 0x2d 0x27 0x28 0x29 0x2e 0x2c ,
      0x34 0x31 0x2f 0x2e 0x2f 0x2d 0x2e 0x2d 0x2d ,0x32 0x31 0x2f 0x30 0x2d 0x2e 0x2f 0x30 0x30 ,
cs 1:
the read training result:
DQS0:0x3a, DQS1:0x39, DQS2:0x39, DQS3:0x38,
min  :0x10 0x11 0x14 0x10  0x1  0x8  0xc  0x8 , 0xd  0xb  0x4  0x2  0xd  0xc  0xd  0xb ,
      0x14 0x14  0xf  0xa  0x3  0x2  0x4  0x6 ,0x10  0xb  0x8  0x2 0x11 0x11 0x10 0x12 ,
mid  :0x2c 0x2d 0x2e 0x2c 0x1d 0x24 0x27 0x24 ,0x27 0x26 0x1d 0x1f 0x28 0x28 0x28 0x25 ,
      0x2f 0x30 0x29 0x26 0x1d 0x1c 0x1e 0x21 ,0x2b 0x26 0x25 0x1f 0x2b 0x2d 0x2c 0x2e ,
max  :0x48 0x49 0x49 0x49 0x39 0x41 0x43 0x41 ,0x42 0x41 0x37 0x3d 0x44 0x45 0x44 0x3f ,
      0x4b 0x4c 0x44 0x42 0x38 0x36 0x39 0x3c ,0x47 0x41 0x42 0x3c 0x46 0x49 0x48 0x4b ,
range:0x38 0x38 0x35 0x39 0x38 0x39 0x37 0x39 ,0x35 0x36 0x33 0x3b 0x37 0x39 0x37 0x34 ,
      0x37 0x38 0x35 0x38 0x35 0x34 0x35 0x36 ,0x37 0x36 0x3a 0x3a 0x35 0x38 0x38 0x39 ,
the write training result:
DQS0:0x57, DQS1:0x3f, DQS2:0x49, DQS3:0x36,
min  :0xa0 0xa4 0xa6 0xa4 0x94 0x99 0x9d 0x9e 0x9f ,0x89 0x89 0x83 0x84 0x90 0x8f 0x8f 0x8c 0x8b ,
      0xa0 0xa0 0x99 0x9a 0x90 0x8e 0x91 0x94 0x97 ,0x89 0x86 0x86 0x7f 0x8d 0x8c 0x8b 0x8f 0x84 ,
mid  :0xbc 0xbf 0xc1 0xbe 0xac 0xb0 0xb5 0xb5 0xb5 ,0xa2 0xa1 0x99 0x9b 0xa6 0xa4 0xa5 0xa4 0xa2 ,
      0xba 0xba 0xb1 0xb2 0xa8 0xa5 0xa9 0xab 0xaf ,0xa0 0x9d 0x9b 0x96 0xa4 0xa3 0xa1 0xa6 0x9c ,
max  :0xd9 0xda 0xdc 0xd9 0xc4 0xc8 0xce 0xcc 0xcc ,0xbc 0xba 0xaf 0xb3 0xbd 0xba 0xbc 0xbc 0xba ,
      0xd5 0xd5 0xca 0xca 0xc0 0xbc 0xc1 0xc3 0xc7 ,0xb7 0xb5 0xb1 0xae 0xbc 0xbb 0xb7 0xbe 0xb5 ,
range:0x39 0x36 0x36 0x35 0x30 0x2f 0x31 0x2e 0x2d ,0x33 0x31 0x2c 0x2f 0x2d 0x2b 0x2d 0x30 0x2f ,
      0x35 0x35 0x31 0x30 0x30 0x2e 0x30 0x2f 0x30 ,0x2e 0x2f 0x2b 0x2f 0x2f 0x2f 0x2c 0x2f 0x31 ,
CA Training result:
cs:0 min  :0x4d 0x45 0x42 0x3b 0x40 0x36 0x4b ,0x4f 0x42 0x3e 0x35 0x3d 0x36 0x49 ,
cs:0 mid  :0x87 0x86 0x7b 0x7a 0x7a 0x75 0x79 ,0x87 0x81 0x78 0x76 0x76 0x76 0x76 ,
cs:0 max  :0xc2 0xc7 0xb5 0xb9 0xb5 0xb5 0xa7 ,0xbf 0xc1 0xb3 0xb7 0xaf 0xb7 0xa3 ,
cs:0 range:0x75 0x82 0x73 0x7e 0x75 0x7f 0x5c ,0x70 0x7f 0x75 0x82 0x72 0x81 0x5a ,
cs:1 min  :0x4e 0x49 0x44 0x3d 0x47 0x37 0x43 ,0x50 0x44 0x41 0x36 0x40 0x37 0x40 ,
cs:1 mid  :0x89 0x88 0x7f 0x7c 0x7f 0x78 0x7b ,0x8a 0x84 0x7b 0x77 0x79 0x78 0x78 ,
cs:1 max  :0xc4 0xc8 0xba 0xbc 0xb7 0xb9 0xb3 ,0xc5 0xc5 0xb5 0xb9 0xb3 0xb9 0xb0 ,
cs:1 range:0x76 0x7f 0x76 0x7f 0x70 0x82 0x70 ,0x75 0x81 0x74 0x83 0x73 0x82 0x70 ,
out
U-Boot SPL board init
U-Boot SPL 2017.09-g5376d2c558 #forlinx (Dec 04 2021 - 20:02:17)
unknown raw ID phN
unrecognized JEDEC id bytes: 00, 00, 00
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
SPL: A/B-slot: _a, successful: 0, tries-remain: 7
## Verified-boot: 0
## Checking atf-1 0x00040000 ... sha256(796d978c0a...) + OK
## Checking uboot 0x00a00000 ... sha256(2bf3f8fd75...) + OK
## Checking fdt 0x00b22248 ... sha256(30938731de...) + OK
## Checking atf-2 0x00068000 ... sha256(61f58405c6...) + OK
## Checking atf-3 0xfdcd0000 ... sha256(87af14e1bd...) + OK
## Checking atf-4 0xfdcc9000 ... sha256(4a24fbbebc...) + OK
## Checking atf-5 0x00066000 ... sha256(315a4195a9...) + OK
## Checking optee 0x08400000 ... sha256(5a22c90dfc...) + OK
Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000)
Total: 223.662 ms

INFO:    Preloader serial: 2
NOTICE:  BL31: v2.3():v2.3-178-g16de7aecc:cl
NOTICE:  BL31: Built : 16:24:27, Sep 28 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= 1560MHz
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: OP-TEE version: 3.13.0-515-g7b4275734 #hisping.lin (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #1 Wed Aug  4 07:11:39 UTC 2021 aarch64
I/TC: Primary CPU initializing
I/TC: Primary CPU switching to normal world boot
INFO:    BL31: Preparing for EL3 exit to normal world
INFO:    Entry point address = 0xa00000
INFO:    SPSR = 0x3c9


U-Boot 2017.09-g5376d2c558 #forlinx (Dec 04 2021 - 20:02:17 -0800)

Model: Firefly RK3568 Board
PreSerial: 2, raw, 0xfe660000
DRAM:  4 GiB
Sysmem: init
Relocation Offset: ed356000
Relocation fdt: eb9f8f30 - eb9fece8
CR: M/C/I
Using default environment

dwmmc@fe2b0000: 1, dwmmc@fe2c0000: 2, sdhci@fe310000: 0
Bootdev(atags): mmc 0
MMC0: HS200, 200Mhz
PartType: EFI
boot mode: recovery (misc)
FIT: no signed, no conf required
DTB: rk-kernel.dtb
HASH(c): OK
I2c0 speed: 100000Hz
PMIC:  RK8090 (on=0x40, off=0x00)
vdd_logic init 900000 uV
vdd_gpu init 900000 uV
vdd_npu init 900000 uV
io-domain: OK
Could not find baseparameter partition
Model: AIO-3568J HDMI (Linux)
"Synchronous Abort" handler, esr 0x96000145

* Reason:        Exception from a Data abort, from current exception level
* PC         =   0000000000a01ac8
* LR         =   0000000000a4e1c0
* SP         =   00000000eb9f8ba0
* ESR_EL2    =   0000000096000145
* Reloc Off  =   00000000ed356000

x0 : 0000000100000000 x1 : 000000010ded0cc0
x2 : 0000000000000040 x3 : 000000000000003f
x4 : 00000000ebe3d1b0 x5 : 0000000000000005
x6 : 0000000000000018 x7 : 0000000000000010
x8 : 0000000000000000 x9 : 0000000000000008
x10: 0000000000000010 x11: 00000000ebd5c0b0
x12: 0000000000000000 x13: 0000000000000200
x14: 0000000000000037 x15: 00000000ffffffff
x16: 000000000000000c x17: 0000000000000001
x18: 00000000eb9ffcf8 x19: 0000000000000000
x20: 000000001ffd0cae x21: 00000000ebe2cd60
x22: 00000000ebe3d1c0 x23: 00000000000020cf
x24: 000000000002f40e x25: 00000000ebe3d160
x26: 0000000000000000 x27: 00000000edf00000
x28: 00000000edf00000 x29: 00000000eb9f8d80


Call trace:
  PC:   [< 00a01ac8 >]
  LR:   [< 00a4e1c0 >]

Stack:
        [< 00a01ac8 >]
        [< 00a4e3c8 >]
        [< 00a03b18 >]
        [< 00a99eec >]
        [< 00a192b8 >]
        [< 00a01e00 >]

Copy info from "Call trace..." to a file(eg. dump.txt), and run
command in your U-Boot project: ./scripts/stacktrace.sh dump.txt

Resetting CPU ...

### ERROR ### Please RESET the board ###
回复

使用道具 举报

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

本版积分规则

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