Re: [PATCH 2/6] disk: part_efi: Add missing endianness conversions

Alexey Charkov <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot
Message-ID <CAKTNdwGwkUdbn=nvti0y6kGk1Gbat2OipjEj5oCZzvdzUw=v5Q@mail.gmail.com>
On Mon, Aug 3, 2026 at 5:39 PM Ilias Apalodimas
<[email protected]> wrote:
>
> Hrmm,
>
> On Mon, 3 Aug 2026 at 16:36, Ilias Apalodimas
> <[email protected]> wrote:
> >
> > On Mon, 3 Aug 2026 at 16:29, Alexey Charkov <[email protected]> wrote:
> > >
> > > On Mon, Aug 3, 2026 at 5:07 PM Ilias Apalodimas
> > > <[email protected]> wrote:
> > > >
> > > > On Mon, 3 Aug 2026 at 15:33, Peter Robinson <[email protected]> wrote:
> > > > >
> > > > > On Mon, 3 Aug 2026 at 13:20, Ilias Apalodimas
> > > > > <[email protected]> wrote:
> > > > > >
> > > > > > On Fri, 31 Jul 2026 at 15:40, Alexey Charkov <[email protected]> wrote:
> > > > > > >
> > > > > > > Several GPT header fields are read without converting from
> > > > > > > little-endian, which is wrong on big-endian hosts.
> > > > > >
> > > > > > Probably because we got no BE architecture running EFI.
> > > > >
> > > > > Isn't the EFI spec explicitly LE?
> > > >
> > > > Ah yes, I forgot that part.
> > > > Alexey, you can drop that patch in v2
> > >
> > > Does that mean no BE system can ever have a GUID partition table on
> > > any disks relevant to U-Boot, including removable storage?
> > > It doesn't
> > > have to boot via EFI to benefit from GPT-formatted storage, does it?
> > >
> >
> > It doesn't but that's the EFI part of U-Boot we are changing here.
>
> Ok I was too fast on replying. You can keep this patch. It's not for
> the EFI loader.

Got it, thank you!

Best regards,
Alexey
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.