zephyr/cmake
Daniel DeGrasse 6023d6a142 arch: common: fix copy for ramfunc region during XIP init
ramfunc region is copied into RAM from FLASH region during XIP init. We
copy from the loadaddr of the region, and were previously loading to the
symbol __ramfunc_start. This is incorrect when using an MPU with
alignment requirements, as the __ramfunc_start symbol may have padding
placed before it in the region. The __ramfunc_start symbol still needs
to be aligned in order to be used by the MPU though, so define a new
symbol __ramfunc_region_start, and use that symbol when copying the
__ramfunc region from FLASH to RAM.

Fixes #75296

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
2024-11-06 10:19:08 -08:00
..
app
bintools
compiler cmake: toolchain/xcc,xt-clang: env vars for multiple cores 2024-10-31 09:26:00 -05:00
emu
flash cmake: flash: Update OPENOCD variables to work with sysbuild 2024-10-11 13:15:56 -04:00
ide
linker cmake: gcc/ld: Fix LTO warnings 2024-10-25 18:49:07 +01:00
linker_script arch: common: fix copy for ramfunc region during XIP init 2024-11-06 10:19:08 -08:00
makefile_exports
modules cmake: scripts: support SoC extension 2024-10-26 17:14:06 +02:00
reports reports: footprint: Print footprint output 2024-10-25 22:44:07 +01:00
sca
toolchain cmake: toolchain/xcc,xt-clang: env vars for multiple cores 2024-10-31 09:26:00 -05:00
usage
util
cfb.cmake
extra_flags.cmake
gcc-m-cpu.cmake
gcc-m-fpu.cmake
gen_version_h.cmake
hex.cmake
kobj.cmake
llext-edk.cmake
mcuboot.cmake mcuboot: Add support for RAM load mode 2024-10-11 13:19:39 -04:00
package_helper.cmake cmake: move script mode handling from package helper to extensions.cmake 2024-10-08 17:00:30 +02:00
pristine.cmake
target_toolchain_flags.cmake cmake: improve Zephyr link phase 2024-10-04 16:34:35 +01:00
verify-toolchain.cmake
vif.cmake