Tool/software:
Hi experts,
After solving the previous issue with the serial console for the early stages of booting, I am now stuck
at what I believe is the point where the A72 is about to start the main U-Boot process.
Here is the boot log:
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 https://optee.readthedocs.io/en/latest/architecture/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
What worries me is the warning about not enough space for the FIT buffer:
alloc space exhaustedCould not get FIT buffer of 1118628 bytes check CONFIG_SPL_SYS_MALLOC_SIZE
Could this be that the large u-boot FIT image does not fit and therefore cannot be started?
The U-Boot fit image (u-boot-asp3-hs-fs.img) looks like this:
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
I have tried to increase the SPL_SYS_MALLOC_SIZE by enabling these configs:
# Enable SPL MALLOC SIZECONFIG_SPL=yCONFIG_SPL_SYS_MALLOC=yCONFIG_SPL_SYS_MALLOC_SIZE=0x200000U-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
