工具与软件:
你(们)好
设备树节点 /reserved-memory/tfa@8000000 来自 系统启动后的哪个位置 ? 未在器件树源文件中定义
TI Linux SDK 版本: 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.
工具与软件:
你(们)好
设备树节点 /reserved-memory/tfa@8000000 来自 系统启动后的哪个位置 ? 未在器件树源文件中定义
TI Linux SDK 版本: 10.00.07.04
尊敬的 BERT:
此 TFA 存储器区域最初在内核 devicetree 中定义:
但是、U-Boot 可能会将 TF-A 加载到不同的位置、因此 U-Boot 使用下面的 ft_system_setup ()函数修改内核 devicetree 中的此存储器区域。
https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/arch/arm/mach-k3/am625_fdt.c?h=10.00.07#n78
基于 CONFIG_K3_ATF_LOAD_ADDR 的值、该值将是 KCONFIG 中定义的0x80000000:
https://git.ti.com/cgit/ti-u-boot/ti-u-boot/tree/arch/arm/mach-k3/Kconfig?h=10.00.07#n140