Re: [PATCH 09/17] spl: riscv: opensbi: Error on misaligned FDT

2025-02-24 Thread Sam Edwards
On Mon, Feb 24, 2025 at 6:54 AM Tom Rini wrote: > > On Mon, Feb 24, 2025 at 09:54:56AM +0100, Heinrich Schuchardt wrote: > > On 2/24/25 06:55, Sam Edwards wrote: > > > libfdt 1.6.1+ requires the FDT to be 8-byte aligned and returns an error > > > if not. OpenSBI 1.0+ includes this version of libfd

Re: [PATCH 09/17] spl: riscv: opensbi: Error on misaligned FDT

2025-02-24 Thread Tom Rini
On Mon, Feb 24, 2025 at 09:54:56AM +0100, Heinrich Schuchardt wrote: > On 2/24/25 06:55, Sam Edwards wrote: > > libfdt 1.6.1+ requires the FDT to be 8-byte aligned and returns an error > > if not. OpenSBI 1.0+ includes this version of libfdt and will also > > reject misaligned FDTs. > > > > Howeve

Re: [PATCH 09/17] spl: riscv: opensbi: Error on misaligned FDT

2025-02-24 Thread Heinrich Schuchardt
On 2/24/25 06:55, Sam Edwards wrote: libfdt 1.6.1+ requires the FDT to be 8-byte aligned and returns an error if not. OpenSBI 1.0+ includes this version of libfdt and will also reject misaligned FDTs. However, OpenSBI cannot indicate the error to the user: since it cannot access the serial conso

[PATCH 09/17] spl: riscv: opensbi: Error on misaligned FDT

2025-02-23 Thread Sam Edwards
libfdt 1.6.1+ requires the FDT to be 8-byte aligned and returns an error if not. OpenSBI 1.0+ includes this version of libfdt and will also reject misaligned FDTs. However, OpenSBI cannot indicate the error to the user: since it cannot access the serial console, it can only silently hang. This can