Tool/software:
I've successfully tested low power modes on AM62P using the default images. But I've tried to build my own U-Boot images, but now low power modes are not working. What is the cause and solution to this?
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.
Tool/software:
I've successfully tested low power modes on AM62P using the default images. But I've tried to build my own U-Boot images, but now low power modes are not working. What is the cause and solution to this?
AM62P uses the TIFS stub as a part of the suspend/resume process as documented here: https://software-dl.ti.com/processor-sdk-linux/esd/AM62PX/latest/exports/docs/linux/Foundational_Components/Power_Management/pm_sw_arch.html
When using the pre-made wic image for AM62P, the TIFS Stub is included as seen below:
Host PC Command: mkimage -l tispl.bin
Image 5 (tifsstub-fs) Description: TIFSSTUB Created: Fri Nov 29 05:41:54 2024 Type: Firmware Compression: uncompressed Data Size: 30387 Bytes = 29.67 KiB = 0.03 MiB Architecture: Unknown Architecture OS: Unknown OS Load Address: 0x9ca00000
If you try to build the U-Boot images using the pre-built components in the Linux SDK 10.0 and 10.1, the TIFS Stub firmware is missing.
Image 5 (tifsstub-fs) Description: TIFSSTUB Created: Tue Apr 29 17:28:56 2025 Type: Firmware Compression: uncompressed Data Size: 0 Bytes = 0.00 KiB = 0.00 MiB Architecture: Unknown Architecture OS: Unknown OS Load Address: 0x9ca00000
Notice how the TIFS Stub files are size of zero which means it completely missing from the tispl.bin image.
This means during the Suspend sequence, at the TIFS step, it will fail to suspend and crash Linux.
If building using any of the makefiles, it may come with an error stating the Stub is missing.
The solution is to add these Stub files into the pre-built images section: "board-support/prebuilt-images/am62pxx-evm/ti-sysfw/"
The stub files can be found here:
After adding the files, re-compile the u-boot build to make everything is working.