grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC PATCH 0/3] grub powerpc64 little-endian enablement


From: Paulo Flabiano Smorigo
Subject: Re: [RFC PATCH 0/3] grub powerpc64 little-endian enablement
Date: Tue, 16 Jun 2015 09:36:45 -0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

On 2015-06-15 14:15, Andrei Borzenkov wrote:
В Thu, 28 Aug 2014 16:56:02 -0300
Paulo Flabiano Smorigo <address@hidden> пишет:

From: Paulo Flabiano Smorigo <address@hidden>

Hi,

At the beginning of the year we provide a patchset that enabled GRUB for
little-endian PowerPC. Our approach at the time was to build GRUB itself and
its tools in 64-bit little-endian. One of the reasons of build in 64-bit is
to avoid 32-bit dependencies in the distro and build a system entirely 64-bit.

This patchset was not welcomed at the time because it would bring a
high-maintainance-cost, without real gain since it could just be cross-compiled.

After that, Brent Baude, Vladmir (phcoder) and I started to work in a solution
that would cross-compile but without 32-bit dependencies. This patchset is the
result of this new approach. It's based on the work of Brent Baude, Vladimir
(phcoder), and Tomohiro.

It can be devided in two parts:

   1) Skip libgcc dependency just for ppc64el (patch 1 and 2);

This is now default for all platforms

   2) Check elf endianess and byteswap if necessary (patch 3);


That's still pending.

Yes, I'm aware of that. :)


The result is GRUB itself in 32-bit BE and its tools in 64-bit LE. This solution
satisfies the needs of the distros. I tested it in three different distros, in
both endianess and it's fine.

If thoses patches were accepted we will have an official solution. Nowadays,
distros are taking diffrent approachs. Some of then are using the original
solutions and others are using cross-compiler.


Could you resend missing bits rebased to current head?

Sure thing. I'll review it once more and send it to the ML later this week.

--
Paulo Flabiano Smorigo
IBM Linux Technology Center




reply via email to

[Prev in Thread] Current Thread [Next in Thread]