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

Chee, Tien Fong tien.fong.chee at intel.com
Wed Sep 25 08:06:04 CEST 2024


Hi,

> -----Original Message-----
> From: Marek Vasut <marex at denx.de>
> Sent: Wednesday, September 25, 2024 2:36 AM
> To: Chee, Tien Fong <tien.fong.chee at intel.com>; u-boot at lists.denx.de
> Cc: Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>; Meng, Tingting
> <tingting.meng at intel.com>; Yuslaimi, Alif Zakuan
> <alif.zakuan.yuslaimi at intel.com>; Hea, Kok Kiang
> <kok.kiang.hea at intel.com>
> Subject: Re: [PATCH v1 03/20] linker: Add SPL linker script for SoC64 devices
> 
> On 9/24/24 7:48 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.

Thanks.

Best regards,
Tien Fong


More information about the U-Boot mailing list