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

- From: Kumar Gala \<hidden\>
- Date: 2008-03-11 04:19:24 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2008/03/9436728
- Thread: https://ratatoskr.run/linuxppc-dev/2008/03/9436671/t.md

```text

On Mar 10, 2008, at 7:37 PM, David Gibson wrote:

> On Fri, Mar 07, 2008 at 10:55:51AM -0600, Kumar Gala wrote:
>> 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
```
