Re: [PATCH 10/17] spl: Align FDT load address

2025-02-24 Thread Sam Edwards
On Mon, Feb 24, 2025 at 8:03 AM Tom Rini wrote: > > On Mon, Feb 24, 2025 at 04:54:09PM +0100, Heinrich Schuchardt wrote: > > On 24.02.25 15:56, Tom Rini wrote: > > > On Mon, Feb 24, 2025 at 09:59:42AM +0100, Heinrich Schuchardt wrote: > > > > On 2/24/25 06:55, Sam Edwards wrote: > > > > > While th

Re: [PATCH 10/17] spl: Align FDT load address

2025-02-24 Thread Tom Rini
On Mon, Feb 24, 2025 at 04:54:09PM +0100, Heinrich Schuchardt wrote: > On 24.02.25 15:56, Tom Rini wrote: > > On Mon, Feb 24, 2025 at 09:59:42AM +0100, Heinrich Schuchardt wrote: > > > On 2/24/25 06:55, Sam Edwards wrote: > > > > While the image size is generally a multiple of 8 bytes, this is not

Re: [PATCH 10/17] spl: Align FDT load address

2025-02-24 Thread Heinrich Schuchardt
On 24.02.25 15:56, Tom Rini wrote: On Mon, Feb 24, 2025 at 09:59:42AM +0100, Heinrich Schuchardt wrote: On 2/24/25 06:55, Sam Edwards wrote: While the image size is generally a multiple of 8 bytes, this is not actually guaranteed; some linkers (like LLD) may shave a few bytes off of the end of

Re: [PATCH 10/17] spl: Align FDT load address

2025-02-24 Thread Tom Rini
On Mon, Feb 24, 2025 at 09:59:42AM +0100, Heinrich Schuchardt wrote: > On 2/24/25 06:55, Sam Edwards wrote: > > While the image size is generally a multiple of 8 bytes, this is not > > actually guaranteed; some linkers (like LLD) may shave a few bytes off > > of the end of output sections if there

Re: [PATCH 10/17] spl: Align FDT load address

2025-02-24 Thread Heinrich Schuchardt
On 2/24/25 06:55, Sam Edwards wrote: While the image size is generally a multiple of 8 bytes, this is not actually guaranteed; some linkers (like LLD) may shave a few bytes off of the end of output sections if there are no content bytes there. Since libfdt imposes a hard rule of 8-byte alignment,

[PATCH 10/17] spl: Align FDT load address

2025-02-23 Thread Sam Edwards
While the image size is generally a multiple of 8 bytes, this is not actually guaranteed; some linkers (like LLD) may shave a few bytes off of the end of output sections if there are no content bytes there. Since libfdt imposes a hard rule of 8-byte alignment, make the SPL also be explicit about th