[PATCH 01/11] [POWERPC] bootwrapper: Allow specifying of image physical offset

Paul Mackerras paulus at samba.org
Tue Apr 1 21:08:28 EST 2008


Kumar Gala writes:

> Normally we assume kernel images will be loaded at offset 0. However
> there are situations, like when the kernel itself is running at a non-zero
> physical address, that we don't want to load it at 0.
> 
> Allow the wrapper to take an offset.  We use this when building u-boot images.

This makes it a bit harder to build a kernel and then wrap it later
on, since one would have to know what -m value to give.  Would it
possible for either the wrapper script or mkimage to peek in the ELF
header of the vmlinux to work out what physical address to use?

Paul.



More information about the Linuxppc-dev mailing list