[PATCH] powerpc: Add mktree utility to arch/powerpc/boot

Josh Boyer jwboyer at linux.vnet.ibm.com
Sat Oct 14 04:26:20 EST 2006

On Fri, 2006-10-13 at 09:14 -0700, Geoff Levand wrote:
> Josh Boyer wrote:
> > + * Makes a tree bootable image for IBM Evaluation boards.
> > + * Basically, just take a zImage, skip the ELF header, and stuff
> > + * a 32 byte header on the front.
> I guess you mean on some standard bootloader that comes with
> IBM Evaluation boards?  Should this comment reflect that this
> operation is required by that bootloader, not the hardware?

Yes, this is needed for the standard bootloader on some boards.
However, neither the bootloader or the HW are doing what the comment
says.  That is what mktree.c itself does, so I think it's correctly
describing what's going on.

BTW, this is simply a copy of the mktree.c that's been in
arch/ppc/boot/simple for years.  I'm simply adding it to arch/powerpc in
preparation for some more 4xx merge work to follow.


More information about the Linuxppc-dev mailing list