Thread (5 messages) 5 messages, 3 authors, 2008-03-11

Re: [PATCH] [POWERPC] bootwrapper: Allow specifying of image physical offset

flat view

From: Kumar Gala <hidden>
Date: 2008-03-11 04:19:24

On Mar 10, 2008, at 7:37 PM, David Gibson wrote:
On Fri, Mar 07, 2008 at 10:55:51AM -0600, Kumar Gala wrote:
quoted
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.

Signed-off-by: Kumar Gala <redacted>
Hrm.  It concerns me that with the patch as it stands,
CONFIG_MEMORY_START looks like a fairly universal option, but it will
only be respected on u-boot platforms (and only new u-boot, not cuboot
at that).
Nothing stops anyone from submitting patches that makes it work for other platforms.  CONFIG_MEMORY_START is only of utility on book-e class machines at this point and from a Freescale point of view that's 85xx and thus means u-boot.  IBM, AMCC, or a random Joe is free to submit patches to make it work on 44x. :)

- k
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help