部分串口日志如下:
[2025-06-06 12:10:14.218]# RECV ASCII>
SNOTICE: Welcome to Horizon X5 ASIC BOOTROM - V4.1
NOTICE: OTP config:
NOTICE: otp exist: true
NOTICE: test region size: 304
NOTICE: secure region size: 120
NOTICE: none secure region size: 56
NOTICE: Enable MMU
[2025-06-06 12:10:14.323]# RECV ASCII>
NOTICE: Booting Trusted Firmware
NOTICE: BL1: v2.8(release):
NOTICE: BL1: Built : 17:42:12, Oct 19 2023
[2025-06-06 12:10:14.430]# RECV ASCII>
NOTICE: Enter SPI NAND-FLASH Mode…
NOTICE: Nand PAGE_SIZE_2K
NOTICE: Nand is_dummy = true
NOTICE: Nand CLK_12M
NOTICE: SPI baudrate is set to 12000000Hz
NOTICE: Nand reset
NOTICE: reg_status should = 0x18
NOTICE: Invalid enable flash buffer mode
NOTICE: Manufacturer ID 0xc8 Device ID 0x41c8
NOTICE: Enter media_source_select process(5).
NOTICE: SPI Nand flash set quad PASS
[2025-06-06 12:10:14.596]# RECV ASCII>
NOTICE: Get S1PK
NOTICE: [verify_signature] pass.
NOTICE: [verify_hash] pass.
[2025-06-06 12:10:14.792]# RECV ASCII>
NOTICE: [verify_hash] pass.
NOTICE: [auth_decrypt] pass.
NOTICE: BL1: BL2 memory layout address = 0x1fe9f000
NOTICE: BL1: Booting BL2
E
NOTICE: OTP config:
NOTICE: otp exist: true
NOTICE: test region size: 304
NOTICE: secure region size: 120
NOTICE: none secure region size: 56
NOTICE: origin vdd cpu:800mv, now vdd cpu: 850mv
NOTICE: BL2: v2.8(release):v1.0.8-45-gc4d99b7e2
NOTICE: BL2: Built : 09:51:10, Aug 28 2024
[2025-06-06 12:10:15.049]# RECV ASCII>
NOTICE: Enter SPI NAND-FLASH Mode…
NOTICE: dw_apb_ssi_params.apb_bus_freq: 100000000
NOTICE: SPI baudrate is set to 12500000Hz
NOTICE: Enter media_source_select process(5).
NOTICE: BL2 config file
NOTICE: ab slot is : 0
NOTICE: fip index:0
NOTICE: start to load bl2 cfg image
NOTICE: BL2 CFG ADDR:0x1ff00000, MAGIC:0x474643324c424248
NOTICE: bypass update efuse
NOTICE: calibration_offset -1
NOTICE: trimming_value 10
NOTICE: ADC read channel[2]: 297mv
NOTICE: ddr info:[LPDDR4]-[DUAL_RANK]-[ECC OFF]-[DVFS ON]-[4266M]
NOTICE: JTAG ENABLE
NOTICE: disable wdt
NOTICE: Get S1PK
NOTICE: [verify_signature] pass.
NOTICE: [verify_hash] pass.
NOTICE: [verify_signature] pass.
NOTICE: start to load ddr image
[2025-06-06 12:10:15.215]# RECV ASCII>
NOTICE: [verify_hash] pass.
NOTICE: run ddr Fw
NOTICE: matching profile: profile_2 from aon config
NOTICE: type: LP4, freq: 4266, ecc: 0(0x7f), rank: 2, dvfs: 1, version: 2.02
[2025-06-06 12:10:15.595]# RECV ASCII>
NOTICE: ddr cost: 153819 us, ddr size: 8 GB, manuid: 0xff
NOTICE: ddr ready
NOTICE: Get S1PK
NOTICE: [verify_signature] pass.
NOTICE: [verify_hash] pass.
NOTICE: [verify_signature] pass.
NOTICE: start to load bl31 image
NOTICE: [verify_hash] pass.
NOTICE: Get S1PK
NOTICE: [verify_signature] pass.
NOTICE: [verify_hash] pass.
NOTICE: [verify_signature] pass.
NOTICE: start to load optee image
NOTICE: [verify_hash] pass.
[2025-06-06 12:10:15.866]# RECV ASCII>
NOTICE: [verify_hash] pass.
NOTICE: start to load uboot image
[2025-06-06 12:10:16.410]# RECV ASCII>
NOTICE: BL1: Booting BL31
NOTICE: multicore_init: sec_entrypoint = 0x20000108
NOTICE: BL31: v2.8(release):v1.0.8-43-g09714a8e6
NOTICE: BL31: Built : 19:17:06, Aug 16 2024
NOTICE: plat_setup_psci_ops: sec_entrypoint = 0x20000108
I/TC:
I/TC: OP-TEE version: 4c4cc7275 (gcc version 11.3.1 20220712 (Arm GNU Toolchain 11.3.Rel1)) #1 Mon Sep 2 09:27:57 UTC 2024 aarch64
I/TC: WARNING: This OP-TEE configuration might be insecure!
I/TC: WARNING: Please check https://optee.readthedocs.io/en/latest/architecture/porting\_guidelines.html
I/TC: Primary CPU initializing
MBEDTLS_CORE Select regular OTP
MBEDTLS_CORE SRAM Pool Base: 0x80000000, size: 0x2000, alignment: 0x10
MBEDTLS_CORE ACA driver init success!
MBEDTLS_CORE set sw_init_done!
I/TC: Primary CPU switching to normal world boot
[2025-06-06 12:10:16.547]# RECV ASCII>
U-Boot 2022.10-g505104e8-dirty (Sep 26 2024 - 15:01:37 +0800)
Model: Horizon X5
DRAM: 7.9 GiB
[2025-06-06 12:10:16.699]# RECV ASCII>
console out start addr:0x0000000087ffc000, end addr:0x0000000087ffe000
horizon_lsio_pinctrl lsio_iomuxc@34180000: Initialized D-Robotics pinctrl driver
optee optee: OP-TEE: revision 3.20 (4c4cc727)
ADC calibration: -1
ADC trimming: 10
horizon_hsio_pinctrl hsio_iomuxc@35050000: Initialized D-Robotics pinctrl driver
Core: 126 devices, 23 uclasses, devicetree: separate
WDT: Started watchdog@34250000 with servicing (10s timeout)
stop watchdog
MMC: sdio-host@35040000: 0, sdio-host@35020000: 1
Loading Environment from Remote… *** Warning - bad CRC, using default environment
In: serial@32120000
Out: serial@32120000
Err: serial@32120000
Net:
Warning: gmac-tsn@35010000 (eth0) using random MAC address - ca:4a:5c:62:88:2c
eth0: gmac-tsn@35010000
[2025-06-06 12:10:16.852]# RECV ASCII>
Hit key to stop autoboot in 2s
[2025-06-06 12:10:18.990]# RECV ASCII>
switch to partitions #0, OK
mmc1 is current device
SD Card detected,into ums update system
argv[1] 0
button no press,pass
Card did not respond to voltage select! : -110
eMMC or SD Card not detected on mmchost 0
switch to partitions #0, OK
mmc1 is current device
eMMC or SD Card detected on mmchost 1
Scanning mmc 1:2…
[2025-06-06 12:10:19.280]# RECV ASCII>
Found U-Boot script /boot/boot.scr
1998 bytes read in 17 ms (114.3 KiB/s)
## Executing script at 84100000
Boot script loaded from devtype:mmc devnum:1 devplist:2
fdtfile = x5-rdk-v1p0.dtb
bootargs = console=tty1 console=ttyS0,115200 rootfstype=ext4 rw rootwait root=/dev/mmcblk1p2 mtdparts=spi7.0:0x700000@0x0(miniboot),0x180000@0x700000(ubootenv) hobotboot.reason=COLD_BOOT
Loading fdt file: /boot/hobot/x5-rdk-v1p0.dtb
150598 bytes read in 30 ms (4.8 MiB/s)
Apply device tree overlay
DTOVERLAY[error]: can’t load config file(/boot/config.txt)
Unknown command ‘setpin’ - try ‘help’
Loading kernel: /boot/Image
[2025-06-06 12:10:20.402]# RECV ASCII>
23218184 bytes read in 1086 ms (20.4 MiB/s)
Boot kernel from 0x85800000, devices tree from 0x84000000
## Flattened Device Tree blob at 84000000
Booting using the fdt blob at 0x84000000
[2025-06-06 12:10:20.634]# RECV ASCII>
Loading Device Tree to 0000000087fd4000, end 0000000087ffbc45 … OK
prop (-1) doesn’t fit in scratchpad!
Set Reserved carveout Mem [ion_reserved] Size to 0x0000000014000000 @0xa4100000
Set Carveout Mem [ion_carveout] Size to 0x0000000014000000 @0xb8100000
Set Reserve Mem [ion_cma] Size to 0x0000000008000000 @0xcc100000
enable qspi boot!
enable CPU 1.8G!
Timer summary in microseconds (26 records):
Mark Elapsed Stage
0 0 reset
2,242,450 2,242,450 board_init_f
2,242,454 4 initf_bootstage
2,242,483 29 arch_cpu_init_dm
2,319,846 77,363 board_early_init_f
2,366,757 46,911 display_text_info
2,369,019 2,262 dram_init
2,373,611 4,592 clear_bss
2,430,638 57,027 initr_malloc
2,430,642 4 board_init_r
2,473,044 42,402 initr_dm
2,473,560 516 serial_initialize
2,486,520 12,960 pci_init
2,501,539 15,019 initr_mmc
2,510,897 9,358 initr_env
2,517,098
[2025-06-06 12:10:20.721]# RECV ASCII>
6,201 console_init_r
2,517,605 507 eth_common_init
2,530,043 12,438 eth_initialize
2,532,169 2,126 initr_net
2,682,367 150,198 last_stage_init
2,682,369 2 main_loop
6,221,313 3,538,944 bootm_start
6,430,194 208,881 boot_jump_linux
6,430,195 1 start_kernel
Accumulated time:
36,295 dm_r
77,347 dm_f
Starting kernel …