[LinuxBIOS] [PATCH] v3: convert stage2 to multi-segment LAR

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Tue Nov 27 15:54:06 CET 2007


On 27.11.2007 06:36, ron minnich wrote:
> On Nov 26, 2007 7:42 PM, ron minnich <rminnich at gmail.com> wrote:
>   
>> Acked-by: Ronald G. Minnich <rminnich at gmail.com>
>>
>> I'll wait on your patches to do my next bit of work on alix1c :-)
>>
>> This is great. We killed the blob. In the movie, it was impossible.
>>     
>
> FYI, the new approach works on real hardware, I am getting nice printk
> messages from stage1!
>   

You may also need my "v3: fix SHARED macros in the non-_MAINOBJECT case"
patch if you are calling stage1 functions (printk, post_code, ...) from
any file linked into initram which has _MAINOBJECT not set.
Besides that, there is a compiler bug in gcc 4.2.1 (possibly others)
which will cause a crash on any call to stage1 functions under the above
conditions. I think I can sort of workaround that bug with advanced
linker trickery, but I'd rather resolve that bug in a clean way.

> We're on our way!
>   

Thanks, r524.

Regards,
Carl-Daniel




More information about the coreboot mailing list