locore.S question
Rafal Jaworowski
raj at semihalf.com
Wed Apr 1 11:30:08 PDT 2009
On 2009-04-01, at 12:25, Guillaume Ballet wrote:
> On Wed, Apr 1, 2009 at 11:38 AM, Olivier Houchard <mlfbsd at ci0.org>
> wrote:
>> On Tue, Mar 31, 2009 at 06:50:10PM -0500, Mark Tinguely wrote:
>>> I was wondering why the kernel is loaded 16MB into the physical
>>> memory?
>>>
>>
>> Don't know in this case, but it often happens the bootloader is
>> loaded at
>> the beginning of the ram, and so won't let you load the kernel there.
>>
>> Olivier
>>
>
> I have indeed u-boot and my intermediate kernel-loader that are loaded
> at the beginning of the RAM. This is not carved in stone: I will
> probably move the kernel-loader further away and overwrite u-boot.
> During platform bringup, though, I have put it here.
> Nothing to worry about, I was just wondering if there was some
> concealed requirement for the kernel to be below the first 16MB of
> RAM.
Ideally, we'd have loader(8) load the kernel to the desired location
(set by the user interactively) in memory, which is not in place yet,
but also not a difficult thing to do.
Rafal
More information about the freebsd-arm
mailing list