Today i tried booting armbian station-p2 latest image with linux-5-18.19-station-p2.
I changed the dtb file to the original dtb.
Kernel gets loaded but now has problems with the usb host:
I changed the dtb file to the original dtb.
Kernel gets loaded but now has problems with the usb host:
Code:
DDR Version V1.09 20210630
ln
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: -72ps, dqs2: -48ps, dqs3: -144ps,
tdqss: cs1 dqs0: 48ps, dqs1: -72ps, dqs2: -72ps, dqs3: -120ps,
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: 920MHz(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:0x38
cs 0:
the read training result:
DQS0:0x46, DQS1:0x47, DQS2:0x4b, DQS3:0x43,
min : 0xa 0xa 0xd 0xb 0x1 0x2 0x6 0x2 , 0x6 0x6 0x2 0x1 0xa 0xa 0xc 0x7 ,
0xf 0x10 0xe 0x9 0x6 0x1 0x6 0x5 , 0xa 0x6 0x6 0x1 0xd 0xc 0x9 0xd ,
mid :0x2d 0x2e 0x30 0x2f 0x25 0x26 0x2a 0x26 ,0x29 0x28 0x25 0x22 0x2d 0x2b 0x2f 0x29 ,
0x33 0x33 0x30 0x2c 0x29 0x24 0x27 0x28 ,0x2c 0x29 0x29 0x24 0x30 0x2e 0x2b 0x2f ,
max :0x51 0x52 0x54 0x53 0x49 0x4b 0x4e 0x4a ,0x4c 0x4a 0x49 0x44 0x50 0x4c 0x52 0x4b ,
0x58 0x56 0x52 0x50 0x4c 0x48 0x48 0x4c ,0x4f 0x4d 0x4c 0x47 0x53 0x51 0x4e 0x52 ,
range:0x47 0x48 0x47 0x48 0x48 0x49 0x48 0x48 ,0x46 0x44 0x47 0x43 0x46 0x42 0x46 0x44 ,
0x49 0x46 0x44 0x47 0x46 0x47 0x42 0x47 ,0x45 0x47 0x46 0x46 0x46 0x45 0x45 0x45 ,
the write training result:
DQS0:0x3d, DQS1:0x30, DQS2:0x33, DQS3:0x28,
min :0x5b 0x5d 0x5e 0x5c 0x53 0x55 0x58 0x59 0x59 ,0x4a 0x4a 0x47 0x46 0x4d 0x4d 0x51 0x4e 0x4a ,
0x51 0x50 0x4e 0x4e 0x48 0x48 0x4a 0x4f 0x4d ,0x46 0x45 0x43 0x3e 0x4a 0x4a 0x4a 0x4c 0x46 ,
mid :0x78 0x7a 0x7b 0x7a 0x70 0x72 0x75 0x75 0x75 ,0x67 0x66 0x62 0x62 0x6a 0x68 0x6b 0x69 0x66 ,
0x6e 0x6e 0x69 0x69 0x65 0x5d 0x5f 0x65 0x66 ,0x64 0x60 0x5e 0x5b 0x67 0x67 0x60 0x68 0x5d ,
max :0x96 0x97 0x99 0x98 0x8e 0x90 0x93 0x91 0x91 ,0x84 0x82 0x7e 0x7e 0x87 0x84 0x85 0x85 0x82 ,
0x8c 0x8c 0x85 0x85 0x82 0x73 0x74 0x7b 0x80 ,0x82 0x7c 0x7a 0x78 0x84 0x85 0x76 0x85 0x75 ,
range:0x3b 0x3a 0x3b 0x3c 0x3b 0x3b 0x3b 0x38 0x38 ,0x3a 0x38 0x37 0x38 0x3a 0x37 0x34 0x37 0x38 ,
0x3b 0x3c 0x37 0x37 0x3a 0x2b 0x2a 0x2c 0x33 ,0x3c 0x37 0x37 0x3a 0x3a 0x3b 0x2c 0x39 0x2f ,
cs 1:
the read training result:
DQS0:0x44, DQS1:0x47, DQS2:0x4b, DQS3:0x43,
min : 0x9 0xa 0xc 0x9 0x1 0x2 0x5 0x1 , 0x6 0x6 0x4 0x2 0xa 0x9 0xd 0x6 ,
0x10 0xf 0xd 0x9 0x6 0x1 0x6 0x5 , 0xa 0x7 0x6 0x2 0xe 0xd 0xa 0xe ,
mid :0x2c 0x2c 0x2f 0x2d 0x23 0x25 0x27 0x24 ,0x29 0x28 0x27 0x23 0x2d 0x2a 0x30 0x29 ,
0x33 0x33 0x2f 0x2c 0x29 0x24 0x27 0x28 ,0x2c 0x2a 0x28 0x24 0x30 0x2f 0x2c 0x2f ,
max :0x4f 0x4f 0x53 0x51 0x46 0x48 0x4a 0x47 ,0x4c 0x4a 0x4a 0x44 0x50 0x4c 0x53 0x4c ,
0x57 0x57 0x51 0x50 0x4d 0x48 0x48 0x4c ,0x4f 0x4d 0x4b 0x47 0x53 0x52 0x4f 0x51 ,
range:0x46 0x45 0x47 0x48 0x45 0x46 0x45 0x46 ,0x46 0x44 0x46 0x42 0x46 0x43 0x46 0x46 ,
0x47 0x48 0x44 0x47 0x47 0x47 0x42 0x47 ,0x45 0x46 0x45 0x45 0x45 0x45 0x45 0x43 ,
the write training result:
DQS0:0x3d, DQS1:0x30, DQS2:0x33, DQS3:0x28,
min :0x5b 0x5d 0x5e 0x5c 0x54 0x55 0x58 0x5a 0x59 ,0x4a 0x4a 0x47 0x45 0x4d 0x4d 0x50 0x4f 0x4a ,
0x4f 0x4f 0x4c 0x4b 0x45 0x45 0x48 0x4d 0x4d ,0x48 0x46 0x46 0x43 0x4b 0x4b 0x4c 0x4e 0x48 ,
mid :0x79 0x7a 0x7c 0x7a 0x71 0x72 0x75 0x75 0x75 ,0x67 0x66 0x62 0x61 0x6a 0x68 0x6a 0x6a 0x66 ,
0x6c 0x6c 0x67 0x67 0x61 0x5b 0x5d 0x62 0x64 ,0x66 0x63 0x61 0x5e 0x68 0x69 0x62 0x6a 0x5f ,
max :0x97 0x98 0x9a 0x98 0x8e 0x90 0x93 0x91 0x91 ,0x84 0x83 0x7e 0x7d 0x88 0x84 0x84 0x85 0x82 ,
0x89 0x89 0x82 0x84 0x7d 0x71 0x72 0x78 0x7c ,0x84 0x80 0x7c 0x7a 0x86 0x87 0x78 0x87 0x76 ,
range:0x3c 0x3b 0x3c 0x3c 0x3a 0x3b 0x3b 0x37 0x38 ,0x3a 0x39 0x37 0x38 0x3b 0x37 0x34 0x36 0x38 ,
0x3a 0x3a 0x36 0x39 0x38 0x2c 0x2a 0x2b 0x2f ,0x3c 0x3a 0x36 0x37 0x3b 0x3c 0x2c 0x39 0x2e ,
CA Training result:
cs:0 min :0x47 0x4a 0x40 0x40 0x41 0x40 0x45 ,0x44 0x44 0x3e 0x3e 0x3f 0x3e 0x45 ,
cs:0 mid :0x86 0x88 0x80 0x7f 0x80 0x7e 0x76 ,0x83 0x82 0x7d 0x7d 0x7e 0x7c 0x76 ,
cs:0 max :0xc5 0xc6 0xc0 0xbe 0xbf 0xbc 0xa7 ,0xc3 0xc1 0xbd 0xbc 0xbe 0xbb 0xa7 ,
cs:0 range:0x7e 0x7c 0x80 0x7e 0x7e 0x7c 0x62 ,0x7f 0x7d 0x7f 0x7e 0x7f 0x7d 0x62 ,
cs:1 min :0x47 0x4e 0x40 0x41 0x3f 0x43 0x45 ,0x44 0x47 0x3d 0x41 0x3e 0x41 0x43 ,
cs:1 mid :0x88 0x89 0x81 0x7f 0x80 0x7f 0x78 ,0x85 0x84 0x7e 0x7d 0x80 0x7d 0x76 ,
cs:1 max :0xc9 0xc4 0xc3 0xbd 0xc2 0xbb 0xac ,0xc7 0xc1 0xc0 0xba 0xc2 0xba 0xa9 ,
cs:1 range:0x82 0x76 0x83 0x7c 0x83 0x78 0x67 ,0x83 0x7a 0x83 0x79 0x84 0x79 0x66 ,
out
U-Boot SPL board init
U-Boot SPL 2017.09-ga1f6fc00a0-210413 #ldq (Apr 13 2021 - 11:35:00)
unknown raw ID phN
unrecognized JEDEC id bytes: 00, 00, 00
Trying to boot from MMC2
No misc partition
spl: partition error
Trying to boot from MMC1
No misc partition
## Verified-boot: 0
## Checking atf-1 0x00040000 ... sha256+ OK
## Checking uboot 0x00a00000 ... sha256+ OK
## Checking fdt 0x00b21880 ... sha256+ OK
## Checking atf-2 0xfdcc9000 ... sha256+ OK
## Checking atf-3 0xfdcd0000 ... sha256+ OK
## Checking optee 0x08400000 ... sha256+ OK
Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000)
Total: 402.326 ms
INFO: Preloader serial: 2
NOTICE: BL31: v2.3():v2.3-152-g4e725b15f:cl
NOTICE: BL31: Built : 10:51:13, Jul 15 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= 920MHz
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.10 (Jun 27 2022 - 10:22:09 +0800)
Model: Rockchip RK3568 Evaluation Board
PreSerial: 2, raw, 0xfe660000
DRAM: 7.7 GiB
Sysmem: init
Relocation Offset: ed357000, fdt: eb9f8578
Using default environment
dwmmc@fe2b0000: 1, dwmmc@fe2c0000: 2, sdhci@fe310000: 0
Bootdev(atags): mmc 0
MMC0: HS200, 200Mhz
PartType: EFI
No misc partition
boot mode: None
FIT: No boot partition
No resource partition
Failed to load DTB
Failed to get kernel dtb, ret=-19
io-domain: OK
Failed to get scmi clk dev
Model: Rockchip RK3568 Evaluation Board
CLK: (sync kernel. arm: enter 816000 KHz, init 816000 KHz, kernel 0N/A)
apll 816000 KHz
dpll 460000 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 boot partition
FIT: No FIT image
Could not find misc partition
ANDROID: reboot reason: "(none)"
optee api revision: 2.0
Not AVB images, AVB skip
android_image_load_by_partname: Can't find part: boot
Android image load failed
Android boot failed, error -1.
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:1...
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
312 bytes read in 17 ms (17.6 KiB/s)
1: Armbian
Retrieving file: /boot/uInitrd
28855343 bytes read in 2439 ms (11.3 MiB/s)
Retrieving file: /boot/Image
31662592 bytes read in 2668 ms (11.3 MiB/s)
append: root=UUID=ee8e6788-12ca-40d5-b32c-01fe4cbf474b console=ttyS02,1500000 console=tty0 rw no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0 bootsplash.bootfile=bootsplash.armbian
Retrieving file: /boot/dtb/rockchip/rk3566-backup.dtb
112393 bytes read in 96 ms (1.1 MiB/s)
Fdt Ramdisk skip relocation
## Loading init Ramdisk from Legacy Image at 0a200000 ...
Image Name: uInitrd
Image Type: AArch64 Linux RAMDisk Image (gzip compressed)
Data Size: 28855279 Bytes = 27.5 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 0x0a100000
Booting using the fdt blob at 0x0a100000
Using Device Tree in place at 000000000a100000, end 000000000a11e708
can't found rockchip,drm-logo, use rockchip,fb-logo
WARNING: could not set reg FDT_ERR_BADOFFSET.
failed to reserve fb-loader-logo memory
Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
Adding bank: 0x09400000 - 0xf0000000 (size: 0xe6c00000)
Adding bank: 0x100000000 - 0x200000000 (size: 0x100000000)
Total: 6291.51 ms