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

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Tue Nov 27 03:59:29 CET 2007


On 27.11.2007 03:55, Carl-Daniel Hailfinger wrote:
> This is on top of the patch I sent 50 minutes ago titled: "Re:
> [LinuxBIOS] patch: prepare v3 tree for new way of doing initram".
>
> Convert stage2 handling from binary blob to multi-segment LAR which is
> created by parsing the ELF file linuxbios.stage2.o. That way, we avoid
> manual specification of the entry point for stage2 code. A few LAR
> functions are now unused and can be removed in a following cleanup session.
> Another suggested cleanup would be factoring out a load_all_segments
> function, resulting in less code duplication.
>
> Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>
>   

Qemu boot log for a tree with both patches attached so you can verify it
works and looks nice.

Regards,
Carl-Daniel
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: qemu67.txt
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20071127/9b84ee99/attachment.txt>


More information about the coreboot mailing list