On Wed, 27 Mar 2013, Graeme Russ wrote:
Hi Brendan,
On Wed, Mar 27, 2013 at 11:20 AM, Brendan Conoboy <blc(a)redhat.com> wrote:
> On 03/26/2013 05:04 PM, Graeme Russ wrote:
>>
>> Hi Brendan,
>>
>> On Wed, Mar 27, 2013 at 10:54 AM, Brendan Conoboy <blc(a)redhat.com> wrote:
>>>
>>> On 03/26/2013 04:49 PM, Graeme Russ wrote:
>>>>
>>>>
>>>> 4. Relocatable kernel (like x86)
>>>
>>>
>>> If I understand correctly it already is relocatable. This is simply the
>>> address that uboot is instructed to load the kernel into memory at.
>>
>>
>> So why worry? Just have the load address in the U-Boot environment.
>
>
> Because uboot's bootm does not handling the relocation?
Ah, I think I get it now. The x86 relocatable kernel is truly
relocatable - the kernel itself figures out where is has been loaded
and performs some adjustments
The ARM kernel zImage does that too. It is the uImage wrapping that
U-Boot used to impose on it that insists on absolute load addresses.
At least with zImage and the bootz command, you can store the load
address in the U-Boot environment where it belongs.
Nicolas