
25 Sep
2024
25 Sep
'24
2:50 p.m.
On 9/25/24 8:06 AM, Chee, Tien Fong wrote:
Hi,
Add a new .data section for preserving the original state of the .data section of SoC64 SPL. This new .data section is required to make SPL reentrant after warm reset.
Where is the linker script copied from ? What is the original file name and path ?
I think the script is copied from arch/arm/cpu/armv8/u-boot-spl.lds .
Can arch/arm/cpu/armv8/u-boot-spl.lds be extended somehow instead , or are there too many differences ?
We think can use arch/arm/cpu/armv8/u-boot-spl.lds, because we just noticed the CONFIG_SPL_RECOVER_DATA_SECTION was added into lds and this should be the same design with current patch.
Excellent !