Re: Introduce support for little endian PowerPC
From: Josh Boyer <hidden>
Date: 2010-10-01 11:36:41
Also in:
lkml
On Fri, Oct 1, 2010 at 3:05 AM, Ian Munsie [off-list ref] wrote:
This patch set in combination with a patched GCC, binutils, uClibc and buildroot has allowed for a full proof of concept little endian environme=
nt on
a 440 Taishan board, which was able to successfully run busybox, OpenSSH =
and a
handful of other userspace programs without problems.
Aside from my general "uh, why?" stance, I'm very very hesitant to integrate anything in the kernel that doesn'.t have released patches on the toolchain side. Also, which uClibc? The old and crusty uClibc that uses the horrible linuxthreads, or the somewhat less crusty that just switched to NPTL (which hasn't been verified on normal PowerPC that I recall). Why not use glibc...
This is not yet complete support for little endian PowerPC, some outstand=
ing
issues that I am aware of are: =A0* We only support 32bit PowerPC for now (and indeed, only 44x) =A0* The vdso has not been fixed to be endian agnostic - any userspace pr=
ogram
=A0 accessing it will get an unexpected result. =A0* I have not touched PCI at all =A0* Remaining device tree accesses still need to be examined to ensure t=
hey are
=A0 correctly handling the endianess of the device tree. =A0* Any other driver that uses the device tree is likely be broken for t=
he same reason.
=A0* I've included a patch for the alignment handler, however it is as ye=
t
=A0 completely untested due to a property of the hardware I've been using=
for
=A0 testing.
I'm not meeting to detract here, but the Kconfig should be dependent on && BROKEN until the above is fixed. josh