This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM62A7-Q1: Boot Time Optimizations with SPL

Part Number: AM62A7-Q1
Other Parts Discussed in Thread: AM62A7

Tool/software:

We boot from EMMC with SPL boot, and it will cost about 5s from tiboot--> uboot end, following is the log

We find performance a guide for boot time optimizations, but it for SBL boot,

6.1.11. Boot Time Optimizations — Processor SDK AM62Ax Documentation

Is there any guide from boot time optimization for SPL boot

[2025-03-20 13:15:50] U-Boot SPL 2024.04-ti-g (Mar 16 2025 - 21:03:15 +0000)

[2025-03-20 13:15:50] SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')

[2025-03-20 13:15:50] SPL initial stack usage: 13568 bytes

[2025-03-20 13:15:50] Trying to boot from MMC1

[2025-03-20 13:15:50] Authentication passed

[2025-03-20 13:15:50] Authentication passed

[2025-03-20 13:15:50] Authentication passed

[2025-03-20 13:15:50] Authentication passed

[2025-03-20 13:15:50] Authentication passed

[2025-03-20 13:15:50] Starting ATF on ARM64 core...

[2025-03-20 13:15:50]

[2025-03-20 13:15:50] NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g0f1ec6b87-dirty

[2025-03-20 13:15:50] NOTICE:  BL31: Built : 16:09:05, Feb  9 2024

[2025-03-20 13:15:50]

[2025-03-20 13:15:50] U-Boot SPL 2024.04-ti-g (Mar 16 2025 - 21:03:15 +0000)

[2025-03-20 13:15:50] SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')

[2025-03-20 13:15:50] Trying to boot from MMC1

[2025-03-20 13:15:51] Authentication passed

[2025-03-20 13:15:51] Authentication passed

[2025-03-20 13:15:53]

[2025-03-20 13:15:53]

[2025-03-20 13:15:53] U-Boot 2024.04-ti-g (Mar 16 2025 - 21:03:15 +0000)

[2025-03-20 13:15:53]

[2025-03-20 13:15:53] SoC:   AM62AX SR1.0 HS-FS

[2025-03-20 13:15:53] Model: Texas Instruments AM62A7 SK

[2025-03-20 13:15:53] DRAM:  2 GiB

[2025-03-20 13:15:53] Core:  87 devices, 30 uclasses, devicetree: separate

[2025-03-20 13:15:53] MMC:   mmc@fa10000: 0, mmc@fa00000: 1

[2025-03-20 13:15:53] Loading Environment from MMC... *** Warning - bad CRC, using default environment

[2025-03-20 13:15:53]

[2025-03-20 13:15:53] In:    serial@2800000

[2025-03-20 13:15:53] Out:   serial@2800000

[2025-03-20 13:15:53] Err:   serial@2800000

[2025-03-20 13:15:53] Net:   eth0: ethernet@8000000port@1

[2025-03-20 13:15:53] Hit any key to stop autoboot:  0

[2025-03-20 13:15:55] Initializing default U-Boot environment...

[2025-03-20 13:15:55] Saving Environment to MMC... Writing to MMC(0)... OK

[2025-03-20 13:15:56] switch to partitions #0, OK

[2025-03-20 13:15:56] mmc0(part 0) is current device

[2025-03-20 13:15:56] SD/MMC found on device 0

[2025-03-20 13:15:56] Can't set block device

[2025-03-20 13:15:56] 20490752 bytes read in 164 ms (119.2 MiB/s)

[2025-03-20 13:15:56] 61618 bytes read in 39 ms (1.5 MiB/s)

[2025-03-20 13:15:56] Working FDT set to 88000000

[2025-03-20 13:15:56] ## Flattened Device Tree blob at 88000000

[2025-03-20 13:15:56]    Booting using the fdt blob at 0x88000000

[2025-03-20 13:15:56] Working FDT set to 88000000

[2025-03-20 13:15:56]    Loading Device Tree to 000000008feed000, end 000000008fffffff ... OK

[2025-03-20 13:15:56] Working FDT set to 8feed000

[2025-03-20 13:15:56]

[2025-03-20 13:15:56] Starting kernel ...(