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.

AM6548: AM65x EVM R5 firmware load by R5 SPL (tiboot3.bin)

Part Number: AM6548

Hi,

We are working on AM65xx EVM. We are trying to build the u-boot sources from the SDK (ti-processor-sdk-linux-am65xx-evm-07_01_00_17).

We are working on R5 firmware load by R5 SPL, to avoid R5 core going to low power state (wfe) after A53 initialization.

To do this we found the load firmware function in the file arch/arm/mach-k3/common.c. calling by  function jump_to_image_no_args().

init_env();
        start_non_linux_remote_cores();
        size = load_firmware("name_mcur5f0_0fw", "addr_mcur5f0_0load",
                             &loadaddr);
 
To enable the actual load_firmware function,  enabled the configurations CONFIG_FS_LOADER and CONFIG_SPL_ENV_SUPPORT in the am65x_evm_r5_defconfig. file.
With the above configuration source compilation is throwing following error:
board-support/u-boot-2020.01+gitAUTOINC+3c9ebdb87d-g3c9ebdb87d/arch/arm/mach-k3/common.c:177: undefined reference to `request_firmware_into_buf'
 

What could be the issue ?
 
We would like to understand the load_firmware function call input arguments and r5 firmware boot flow.
.
Thank you in advance for looking into this matter.
 
Thanks and Regards,
Adish P V