RK3588移植openEuler,系统在kernel启动初始位置卡死

按照官方的步骤,编译出来的update.img镜像烧录进板卡,打印很少的乱码就停止,后发现波特率是1500000。正常打印后,启动到kernel就卡死,打印信息如下:

DDR V1.12 52218f4949 cym 23/07/06-19:46:50
LPDDR4X, 2112MHz
channel[0] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
channel[1] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
channel[2] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
channel[3] BW=16 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=4096MB
Manufacturer ID:0x1
CH0 RX Vref:26.7%, TX Vref:22.8%,22.8%
CH1 RX Vref:27.1%, TX Vref:22.8%,21.8%
CH2 RX Vref:26.7%, TX Vref:22.8%,21.8%
CH3 RX Vref:28.8%, TX Vref:21.8%,19.8%
change to F1: 528MHz
change to F2: 1068MHz
change to F3: 1560MHz
change to F0: 2112MHz
out
U-Boot SPL board init
U-Boot SPL 2017.09-g5f53abfa1e-221223 #zzz (Dec 26 2022 - 09:10:09)
unknown raw ID 0 0 0
unrecognized JEDEC id bytes: 00, 00, 00
Trying to boot from MMC2
MMC: no card present
mmc_init: -123, time 0
spl: mmc init failed with error: -123
Trying to boot from MMC1
No misc partition
Trying fit image at 0x4000 sector

Verified-boot: 0

Checking atf-1 0x00040000 … sha256(d889e76c19…) + OK

Checking uboot 0x00200000 … sha256(a03efbb871…) + OK

Checking fdt 0x00340fb0 … sha256(8ecccd16d2…) + OK

Checking atf-2 0x000f0000 … sha256(f202de33d9…) + OK

Checking atf-3 0xff100000 … sha256(1163474a5b…) + OK

Checking optee 0x08400000 … sha256(6193f4aac7…) + OK

Jumping to U-Boot(0x00200000) via ARM Trusted Firmware(0x00040000)
Total: 118.536 ms

INFO: Preloader serial: 2
NOTICE: BL31: v2.3():v2.3-611-g001b4889e:finley.xiao
NOTICE: BL31: Built : 20:11:39, Jun 27 2023
INFO: spec: 0x1
INFO: ext 32k is not valid
INFO: ddr: stride-en 4CH
INFO: GICv3 without legacy support detected.
INFO: ARM GICv3 driver initialized in EL3
INFO: valid_cpu_msk=0xff bcore0_rst = 0x0, bcore1_rst = 0x0
INFO: system boots from cpu-hwid-0
INFO: idle_st=0x21fff, pd_st=0x11fff9, repair_st=0xfff70001
INFO: dfs DDR fsp_params[0].freq_mhz= 2112MHz
INFO: dfs DDR fsp_params[1].freq_mhz= 528MHz
INFO: dfs DDR fsp_params[2].freq_mhz= 1068MHz
INFO: dfs DDR fsp_params[3].freq_mhz= 1560MHz
INFO: BL31: Initialising Exception Handling Framework
INFO: BL31: Initializing runtime services
INFO: BL31: Initializing BL32
I/TC:
I/TC: OP-TEE version: 3.13.0-698-g7f1ea6d6e #hisping.lin (gcc version 10.2.1 20201103 (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16))) #53 Wed Apr 19 14:30:22 CST 2023 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 = 0x200000
INFO: SPSR = 0x3c9

U-Boot 2017.09 (Dec 25 2025 - 04:05:30 +0000)

Model: Rockchip RK3588 Evaluation Board
MPIDR: 0x81000000
PreSerial: 2, raw, 0xfeb50000
DRAM: 16 GiB
Sysmem: init
Relocation Offset: eda1d000
Relocation fdt: eb9fac80 - eb9fecd0
CR: M/C/I
Using default environment

DM: v2
mmc@fe2c0000: 1, mmc@fe2e0000: 0
Bootdev(atags): mmc 0
MMC0: HS400 Enhanced Strobe, 200Mhz
PartType: EFI
No misc partition
boot mode: None
RESC: ‘boot’, blk@0x00013ccc
optee api revision: 2.0
TEEC: Waring: Could not find security partition
/home/openeuler/build/ok3588/tmp/work/ok3588-openeuler-linux/u-boot-rockchip/1_2017.09-r0/u-boot-rockchip/lib/avb/libavb_user/avb_ops_user.c: trusty_read_lock_state failed
Error determining whether device is unlocked.
Device is: UNLOCKED
DTB: rk-kernel.dtb
HASH(c): OK
I2c0 speed: 100000Hz
vsel-gpios- not found!
en-gpios- not found!
vdd_cpu_big0_s0 800000 uV
vsel-gpios- not found!
en-gpios- not found!
vdd_cpu_big1_s0 800000 uV
I2c1 speed: 100000Hz
vsel-gpios- not found!
en-gpios- not found!
vdd_npu_s0 800000 uV
spi2: RK806: 2
ON=0x00, OFF=0x00
vdd_gpu_s0 750000 uV
vdd_cpu_lit_s0 750000 uV
vdd_log_s0 750000 uV
vdd_vdenc_s0 init 750000 uV
vdd_ddr_s0 850000 uV
Model: Forlinx OK3588 Board
MPIDR: 0x81000000
CLK: (uboot. arm: enter 1008000 KHz, init 1008000 KHz, kernel 0N/A)
b0pll 24000 KHz
b1pll 24000 KHz
lpll 24000 KHz
v0pll 24000 KHz
aupll 786431 KHz
cpll 1500000 KHz
gpll 1188000 KHz
npll 850000 KHz
ppll 1100000 KHz
aclk_center_root 702000 KHz
pclk_center_root 100000 KHz
hclk_center_root 396000 KHz
aclk_center_low_root 500000 KHz
aclk_top_root 594000 KHz
pclk_top_root 100000 KHz
aclk_low_top_root 396000 KHz
Net: eth1: ethernet@fe1c0000, eth0: ethernet@fe1b0000
Hit key to stop autoboot(‘CTRL+C’): 0
Could not find misc partition
ANDROID: reboot reason: “(none)”
Not AVB images, AVB skip
ANDROID: Hash OK
Booting IMAGE kernel at 0x00400000 with fdt at 0x08300000…

Fdt Ramdisk skip relocation
No misc partition

Booting Android Image at 0x003ff800 …

Kernel: 0x00400000 - 0x01f98a00 (28259 KiB)

Flattened Device Tree blob at 0x08300000

Booting using the fdt blob at 0x08300000
XIP Kernel Image from 0x00400000 to 0x00400000 … OK
kernel loaded at 0x00400000, end = 0x01f98a00
Using Device Tree in place at 0000000008300000, end 000000000832dbd3
WARNING: could not set reg FDT_ERR_BADOFFSET.

reserved-memory:

dma-trans@3c000000: addr=3c000000 size=4000000
cma: addr=10000000 size=10000000
Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
Adding bank: 0x09400000 - 0xf0000000 (size: 0xe6c00000)
Adding bank: 0x100000000 - 0x3fc000000 (size: 0x2fc000000)
Adding bank: 0x3fc500000 - 0x3fff00000 (size: 0x03a00000)
Adding bank: 0x4f0000000 - 0x500000000 (size: 0x10000000)
Total: 463.861/820.431 ms

Starting kernel …

I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot
I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot
I/TC: Secondary CPU 4 initializing
I/TC: Secondary CPU 4 switching to normal world boot
I/TC: Secondary CPU 5 initializing
I/TC: Secondary CPU 5 switching to normal world boot
I/TC: Secondary CPU 6 initializing
I/TC: Secondary CPU 6 switching to normal world boot
I/TC: Secondary CPU 7 initializing
I/TC: Secondary CPU 7 switching to normal world boot