[PATCH] generate COFF zImage in arch/powerpc/boot
Olaf Hering
olh at suse.de
Sat Nov 19 09:13:09 EST 2005
On Fri, Nov 18, Olaf Hering wrote:
> On Fri, Nov 18, Paul Mackeras wrote:
>
>
> > +++ merge-hack/arch/powerpc/boot/zImage.lds 2005-11-16 23:16:48.000000000 +1100
>
> This change makes arch/powerpc/boot/README obsolete.
> Last time I looked, the COFF loader liked only .text, .data and .bss.
> But maybe hack-coff needs some tweaking to modify also other sections.
I tried to keep the kernel in its own section. But the firmware does not
fully setup the memory range for that section. claim and map calls for
that area are not enough.
So we either need a ld script for coff with kernel and initrd in the
.data section. Or we write a tool to extract the vmlinux.gz and initrd
based on nm or readelf -a output.
--
short story of a lazy sysadmin:
alias appserv=wotan
More information about the Linuxppc-dev
mailing list