[PATCH v1 03/20] linker: Add SPL linker script for SoC64 devices

Marek Vasut marex at denx.de
Wed Sep 25 14:50:49 CEST 2024


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 !


More information about the U-Boot mailing list