07-17-2022, 10:49 AM
So I built a soquartz buildroot image and unfortunately it doesn't boot.
It sends this on to the console:
I have mounted the sd card under linux and it seems to contain 6 partitions the biggest one with what looks like normal root FS. Could someone suggest some troubleshooting steps?
It sends this on to the console:
Code:
DDR Version V1.13 20220218
ln
ddrconfig:0
LPDDR4X, 324MHz
BW=32 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=2048MB
tdqss: cs0 dqs0: 72ps, dqs1: -24ps, dqs2: -24ps, dqs3: -72ps,
change to: 324MHz
PHY drv:clk:36,ca:36,DQ:29,odt:0
vrefinner:24%, vrefout:41%
dram drv:40,odt:0
clk skew:0x60
change to: 528MHz
PHY drv:clk:36,ca:36,DQ:29,odt:0
vrefinner:24%, vrefout:41%
dram drv:40,odt:0
clk skew:0x58
change to: 780MHz
PHY drv:clk:36,ca:36,DQ:29,odt:0
vrefinner:24%, 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:0xe
cs 0:
the read training result:
DQS0:0x31, DQS1:0x30, DQS2:0x31, DQS3:0x2e,
min :0x10 0x10 0x6 0x1 0x5 0x5 0xc 0xa , 0x7 0x3 0x3 0x5 0x9 0xe 0x1 1 0xc ,
0xb 0xa 0xa 0xa 0x5 0x2 0x5 0x6 , 0x2 0x2 0x7 0x1 0x9 0x6 0x 3 0x4 ,
mid :0x2a 0x2a 0x20 0x1c 0x1f 0x20 0x26 0x24 ,0x21 0x1c 0x1d 0x1e 0x22 0x28 0x2 a 0x25 ,
0x26 0x26 0x25 0x24 0x20 0x1d 0x20 0x21 ,0x1e 0x1e 0x23 0x1d 0x25 0x22 0x1 f 0x1f ,
max :0x45 0x45 0x3b 0x37 0x3a 0x3b 0x41 0x3f ,0x3b 0x36 0x37 0x37 0x3b 0x42 0x4 4 0x3f ,
0x42 0x42 0x40 0x3e 0x3b 0x39 0x3b 0x3c ,0x3b 0x3b 0x3f 0x3a 0x42 0x3f 0x3 b 0x3b ,
range:0x35 0x35 0x35 0x36 0x35 0x36 0x35 0x35 ,0x34 0x33 0x34 0x32 0x32 0x34 0x3 3 0x33 ,
0x37 0x38 0x36 0x34 0x36 0x37 0x36 0x36 ,0x39 0x39 0x38 0x39 0x39 0x39 0x3 8 0x37 ,
the write training result:
DQS0:0x1c, DQS1:0xa, DQS2:0xa, DQS3:0x0,
min :0x6e 0x70 0x67 0x63 0x63 0x65 0x6c 0x6c 0x6c ,0x54 0x51 0x4e 0x4f 0x54 0x5 c 0x5c 0x5a 0x54 ,
0x5a 0x59 0x5a 0x56 0x52 0x50 0x55 0x57 0x55 ,0x4a 0x4b 0x4f 0x4b 0x4e 0x4 e 0x4a 0x4e 0x4c ,
mid :0x89 0x8c 0x80 0x7c 0x7d 0x7e 0x86 0x86 0x87 ,0x6f 0x6d 0x6a 0x6a 0x6f 0x7 7 0x77 0x75 0x70 ,
0x76 0x74 0x74 0x72 0x6d 0x69 0x6f 0x71 0x70 ,0x65 0x67 0x6c 0x67 0x6a 0x6 a 0x65 0x69 0x68 ,
max :0xa4 0xa9 0x9a 0x96 0x97 0x98 0xa1 0xa1 0xa2 ,0x8b 0x89 0x86 0x86 0x8b 0x9 2 0x92 0x91 0x8c ,
0x92 0x90 0x8f 0x8e 0x89 0x83 0x89 0x8b 0x8c ,0x81 0x84 0x89 0x84 0x86 0x8 6 0x81 0x84 0x85 ,
range:0x36 0x39 0x33 0x33 0x34 0x33 0x35 0x35 0x36 ,0x37 0x38 0x38 0x37 0x37 0x3 6 0x36 0x37 0x38 ,
0x38 0x37 0x35 0x38 0x37 0x33 0x34 0x34 0x37 ,0x37 0x39 0x3a 0x39 0x38 0x3 8 0x37 0x36 0x39 ,
CA Training result:
cs:0 min :0x4c 0x4a 0x42 0x44 0x44 0x3a 0x4a ,0x49 0x42 0x47 0x43 0x46 0x3c 0x4 e ,
cs:0 mid :0x88 0x89 0x7c 0x83 0x7f 0x7a 0x77 ,0x85 0x82 0x82 0x82 0x81 0x7c 0x7 b ,
cs:0 max :0xc4 0xc9 0xb6 0xc2 0xbb 0xba 0xa5 ,0xc2 0xc3 0xbe 0xc1 0xbc 0xbd 0xa 8 ,
cs:0 range:0x78 0x7f 0x74 0x7e 0x77 0x80 0x5b ,0x79 0x81 0x77 0x7e 0x76 0x81 0x5 a ,
out
U-Boot SPL board init
U-Boot SPL 2017.09-gaaca6ffec1-211203 #zzz (Dec 03 2021 - 18:42:16)
unknown raw ID phN
unrecognized JEDEC id bytes: 00, 00, 00
Trying to boot from MMC2
SPL: A/B-slot: _a, successful: 0, tries-remain: 7
Trying fit image at 0x4000 sector
## Verified-boot: 0
## Checking atf-1 0x00040000 ... sha256(6204b6f381...) + OK
## Checking uboot 0x00a00000 ... sha256(62a83e4dcc...) + OK
## Checking fdt 0x00b27f58 ... sha256(30938731de...) + OK
## Checking atf-2 0xfdcc1000 ... sha256(5563d929da...) + OK
## Checking atf-3 0x0006a000 ... sha256(b04372ab0f...) + OK
## Checking atf-4 0xfdcd0000 ... sha256(b46eaa95b8...) + OK
## Checking atf-5 0xfdcce000 ... sha256(2f8839c803...) + OK
## Checking atf-6 0x00068000 ... sha256(6e9d32ba23...) + OK
## Checking optee 0x08400000 ... sha256(66bbd17352...) + OK
Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000)
Total: 293.562 ms
INFO: Preloader serial: 2
NOTICE: BL31: v2.3():v2.3-365-gae7c295ca:derrick.huang
NOTICE: BL31: Built : 15:37:13, May 17 2022
INFO: GICv3 without legacy support detected.
INFO: ARM GICv3 driver initialized in EL3
INFO: pmu v1 is valid 220114
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-641-g4167319d3 #hisping.lin (gcc version 10.2.1 202 01103 (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16))) # 8 Wed Mar 16 15:14:56 CST 2022 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-g14d99fe8fb #luk (Jul 16 2022 - 14:18:06 +0200)
Model: Firefly RK3568 Board
PreSerial: 2, raw, 0xfe660000
DRAM: 2 GiB
Sysmem: init
Relocation Offset: 7d350000
Relocation fdt: 7b9f8c28 - 7b9fecd0
CR: M/C/I
Using default environment
no mmc device at slot 1
dwmmc@fe2b0000: 1 (SD), dwmmc@fe2c0000: 2, sdhci@fe310000: 0
Bootdev(atags): mmc 1
MMC1: Legacy, 52Mhz
PartType: EFI
DM: v1
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
io-domain: OK
Could not find baseparameter partition
Model: Pine64 RK3566 Quartz64-A Board
Enable charge animation display
charge_extrem_low_power: Not charging, online=0. Shutdown...
Cpu should never reach h▒
I have mounted the sd card under linux and it seems to contain 6 partitions the biggest one with what looks like normal root FS. Could someone suggest some troubleshooting steps?