[LinuxBIOS] [PATCH] v3: support LARchives with header-after-data

Peter Stuge peter at stuge.se
Fri Oct 12 12:21:32 CEST 2007


On Fri, Oct 12, 2007 at 11:55:26AM +0200, Stefan Reinauer wrote:
> Just add a jump into the "bootblock" member of the lar the first
> thing before the archive on those architectures that start their
> execution at the beginning of flash rather than anywhere in the
> middle.

Just that it's "unfair" to only be able to identify top bootblocks.


> This would be a perfectly valid lar, as lar copes with non-lar-data
> between the members. It was designed to do that.

Excellent point.


> Lar could even produce that jump once it supports non-x86
> architectures. (Obviously lar's bootblock handling can never be
> 100% generic)

Maybe it can - if lar is only used to manage locations and sizes
rather than actual instructions. The rope only has two ends..


> Let's keep things simple so that every idiot can understand it,
> even 6 months later.

You made a very good point, I still like the signed idea but it isn't
at all needed in the short term. When we get popular LAR use on
bottom bootblock archs we may have even better ideas.


//Peter




More information about the coreboot mailing list