GENERIC kernel issues

Warner Losh imp at bsdimp.com
Tue Mar 5 04:30:06 UTC 2013


On Mar 4, 2013, at 6:09 PM, Ian Lepore wrote:
> On Sun, 2013-03-03 at 11:43 -0800, Tim Kientzle wrote:
>> 
>> ** PHYSADDR/KERNPHYSADDR hardwiring.  Ian has made a
>> lot of progress and I'm working on some related changes to
>> address this.  I think we understand how to eliminate these
>> constants and replace them with run-time detection of the
>> load address.  I'm still not sure what changes might be needed
>> to the loader to make this work. 
> 
> I don't think anything more needs to be done to the loader to be able to
> load a kernel built with the ldscript changes, beyond the change I did a
> week or two ago to make it work right with elf headers that contain
> physical addresses.
> 
> On the other hand, I haven't got anything to offer on the problem of the
> loader needing to be linked differently for each board or SoC, since
> they all have physical memory in differing address ranges.

Well, the Phyiscal memory load address is just a hint after all. Any way to leave it blank and have ubldr cope by putting it in the first available phyiscal memory slot from the FDT?

Warner



More information about the freebsd-arm mailing list