grub-devel
[Top][All Lists]
Advanced

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

Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)


From: Dinar Valeev
Subject: Re: [RFC PATCH 21/23] powerpc64 is not necessarily BigEndian anymore! :)
Date: Fri, 04 Apr 2014 20:24:58 +0200

On Fri, 2014-04-04 at 22:17 +0400, Andrey Borzenkov wrote:
> В Fri, 4 Apr 2014 10:47:35 -0700
> Ram Pai <address@hidden> пишет:
> 
> > On Fri, Apr 04, 2014 at 06:28:51AM +0400, Andrey Borzenkov wrote:
> > > В Thu, 3 Apr 2014 13:32:22 -0700
> > > Ram Pai <address@hidden> пишет:
> > > 
> > > > 
> > > > They generate a 32bit BE grub binary  on a LE system?  No. I dont think
> > > > so. Because the cross-compile tool chain is not enabled do so.
> > > > 
> > > 
> > > address@hidden:/tmp/binaries> file usr/bin/grub2-mkimage
> > > usr/bin/grub2-mkimage: ELF 64-bit LSB executable, 64-bit PowerPC or cisco 
> > > 7500, version 1 (SYSV), dynamically linked (uses shared libs), for 
> > > GNU/Linux 3.0.0, BuildID[sha1]=4a9b7759e1c41a2b2de9f4d33bc179186bf04f8f, 
> > > stripped
> > > address@hidden:/tmp/binaries> file 
> > > usr/lib/grub2/powerpc-ieee1275/kernel.exec
> > > usr/lib/grub2/powerpc-ieee1275/kernel.exec: ELF 32-bit MSB executable, 
> > > PowerPC or cisco 4500, version 1 (SYSV), statically linked, not stripped
> > > address@hidden:/tmp/binaries> 
> > 
> > I know Dinar had attempted and abondoned the work, because it did not work 
> > for him.
> > 
> > As of now that thing is not there anymore...if you look at 
> > openSUSE:Factory:PowerPC/grub2
> 
> What do you mean? openSUSE:Factory:PowerPC/grub2 does not exist because
> openSUSE:Factory:PowerPC links to openSUSE:Factory and pulls everything
> not explicitly defined from there. And openSUSE:Factory itself gets
> updates from Base:System.
> 
> Cc'ing to clear confusion :)

Right, my mistake. I recall a message message with 64bit LE patches. But
seems that came from somewhere else.

Long story short. With 32Bit BE stage one I had several issues like
accessing btrfs and booting from media. I gave up on my hack, and now
use proposed patches (64Bit LE).

I'll submit it to Base:System.

Have fun,
Dinar
> 
> Fri Jan 31 14:42:26 UTC 2014 - address@hidden
> 
> - Enable grub2 for PowerPC LE (ppc64le)
> - Add ppc64le to exclusive arches
> - Don't require gcc-32bit (PowerLE don't have 32bit toolchain)
> 
> - added patches:
>   * grub2-powerpc-libgcc.patch
>      Provide 32bit libgcc functions for PowerLE
> 
>   * grub2-ppc64le-core-bigendian.patch
>      Build grub kernel and images as BE on ppc64le (BL is BE there)
> 
>   * grub2-ppc64le-platform.patch
>      Enable ppc64le platform
> 
> 





reply via email to

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