[PATCH 2/4] powerpc/boot/wrapper: use the pseries wrapper for zImage.epapr
Benjamin Herrenschmidt
benh at kernel.crashing.org
Wed Feb 11 13:20:15 AEDT 2015
On Wed, 2015-02-11 at 10:16 +0800, Jeremy Kerr wrote:
> Hi Ben,
>
> >> We'll likely be entering the zImage.epapr as BE, so include the pseries
> >> implementation of _zimage_start, which adds the endian fixup magic.
> >
> > Wont that break embedded epapr stuff ?
>
> How so? This will just give us the endian fixup trampoline (followed by
> a branch to _zimage_start_lib) as the entry point, rather than directly
> entering _zimage_start_lib. Will that not work on embedded?
Hrm, the trampoline only works on server, so it would have a weird
effect if booting embedded with the wrong endian, but ok.
Ben.
More information about the Linuxppc-dev
mailing list