There are three places that have R5F cache
configurations. The configuration in sbl_main.c is the appropriate one for AUTOSAR. This
configuration is widely used in J7 SDK.
- SBL Cache configuration
- $SDK_Path/ti-processor-sdk-rtos-$platform-evm-$psdkra_ver/pdk_jacinto_$pdk_ver/packages/ti/boot/sbl/board/k3/sbl_main.c
as a part of the structure named gCslR5MpuCfg
- Boot app Cache configuration
- $SDK_Path/ti-processor-sdk-rtos-$platform-evm-$psdkra_ver/mcusw/boot_app_mcu_rtos_overrides/j721e/r5_mpu.xs.
This configuration gets included in the TI RTOS configuration file at
$SDK_Path/ti-processor-sdk-rtos-$platform-evm-$psdkra_ver/mcusw/boot_app_mcu_rtos_overrides/j721e/sysbios_r5f.cfg.
- CSL Cache configuration (gets
overridden by baremetal apps)
- $SDK_Path/ti-processor-sdk-rtos-$platform-evm-$psdkra_ver/pdk_jacinto_$pdk_ver/packages/ti/csl/arch/r5/src/startup/startup.c.