工具/软件:
尊敬的专家:
在引导的早期阶段解决串行控制台的上一个问题后、我现在被卡住了
我认为、A72即将开始主 U-Boot 过程。
以下是引导日志:
U-Boot SPL 2024.04-ti-gea67cbeaca21 (Mar 18 2025 - 14:34:00 +0000) SYSFW ABI: 4.0 (firmware rev 0x000a '10.1.6--v10.01.06 (Fiery Fox)') Trying to boot from DFU #######################################################DOWNLOAD ... OK Ctrl+C to exit ... alloc space exhausted Could not get FIT buffer of 1118628 bytes check CONFIG_SPL_SYS_MALLOC_SIZE Authentication passed Authentication passed Authentication passed Loading Environment from nowhere... OK init_env from device 18 not supported! Authentication passed Authentication passed Starting ATF on ARM64 core... NOTICE: BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty NOTICE: BL31: Built : 07:57:12, Oct 23 2024 I/TC: I/TC: OP-TEE version: 4.2.0-dev (gcc version 13.3.0 (GCC)) #1 Tue Oct 22 10:29:57 UTC 2024 aarch64 I/TC: WARNING: This OP-TEE configuration might be insecure! I/TC: WARNING: Please check optee.readthedocs.io/.../porting_guidelines.html I/TC: Primary CPU initializing I/TC: GIC redistributor base address not provided I/TC: Assuming default GIC group status and modifier I/TC: SYSFW ABI: 4.0 (firmware rev 0x000a '10.1.6--v10.01.06 (Fiery Fox)') I/TC: HUK Initialized I/TC: Activated SA2UL device I/TC: Enabled firewalls for SA2UL TRNG device I/TC: SA2UL TRNG initialized I/TC: SA2UL Drivers initialized I/TC: Primary CPU switching to normal world boot U-Boot SPL 2024.04-ti-gea67cbeaca21 (Mar 18 2025 - 14:34:08 +0000) SYSFW ABI: 4.0 (firmware rev 0x000a '10.1.6--v10.01.06 (Fiery Fox)') The value of PLL8_SS_CTRL register 0x80000001 The value of PLL7_SS_CTRL register 0x80000001 Successfully set the A72 clock frequency to 1000000000 Successfully set the MSMC clock frequency to 500000000 Trying to boot from DFU ############DOWNLOAD ... OK Ctrl+C to exit ... Authentication passed Authentication passed
我担心的是关于适配缓冲区空间不足的警告:
alloc space exhausted
Could not get FIT buffer of 1118628 bytes
check CONFIG_SPL_SYS_MALLOC_SIZE
这可能是大的 u-boot 适配映像不合适、因此无法启动吗?
U-Boot FIT 映像(u-boot-asp3-hs-fs.img)如下所示:
FIT description: FIT image with multiple configurations Created: Tue Mar 18 16:43:06 2025 Image 0 (uboot) Description: U-Boot for asp3 board Created: Tue Mar 18 16:43:06 2025 Type: Firmware Compression: uncompressed Data Size: 1358444 Bytes = 1326.61 KiB = 1.30 MiB Architecture: ARM OS: U-Boot Load Address: 0x80800000 Hash algo: crc32 Hash value: 91759ad8 Image 1 (fdt-dev) Description: k3-j721e-asp3 Created: Tue Mar 18 16:43:06 2025 Type: Flat Device Tree Compression: uncompressed Data Size: 113102 Bytes = 110.45 KiB = 0.11 MiB Architecture: ARM Hash algo: crc32 Hash value: beda69a1 Default Configuration: 'conf-0' Configuration 0 (conf-0) Description: k3-j721e-asp3 Kernel: unavailable Firmware: uboot FDT: fdt-dev Loadables: uboot
我已尝试通过启用以下配置来增加 SPL_SYS_malloc_size:
# Enable SPL MALLOC SIZE
CONFIG_SPL=y
CONFIG_SPL_SYS_MALLOC=y
CONFIG_SPL_SYS_MALLOC_SIZE
=0x200000
U-Boot SPL 2024.04-ti-gea67cbeaca21 (Mar 18 2025 - 14:27:19 +0000)
SYSFW ABI: 4.0 (firmware rev 0x000a '10.1.6--v10.01.06 (Fiery Fox)')
Trying to boot from DFU