Tool/software:
Hi
where is the device tree node /reserved-memory/tfa@80000000 come from after system boot up ? it is not defined in device tree source files
TI linux SDK version : 10.00.07.04
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:
Hi
where is the device tree node /reserved-memory/tfa@80000000 come from after system boot up ? it is not defined in device tree source files
TI linux SDK version : 10.00.07.04
Hi Bert,
This tfa memory region is originally defined in the kernel devicetree:
However, U-Boot might load TF-A to a different location, so U-Boot modifies this memory region in kernel devicetree using function ft_system_setup() below,
https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/arch/arm/mach-k3/am625_fdt.c?h=10.00.07#n78
based on the value of CONFIG_K3_ATF_LOAD_ADDR which would be 0x80000000 defined in Kconfig:
https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/arch/arm/mach-k3/Kconfig?h=10.00.07#n140