[LinuxBIOS] v3 - vsa into lar

Marc Jones marc.jones at amd.com
Tue Jan 8 00:25:43 CET 2008

Carl-Daniel Hailfinger wrote:

> IIRC we now have the VSA sources available, so we should be able to
> build a custom VSA.
Yes, the source is out but it hasn't been ported to gcc so you don't 
want to do that. Just use the (nrv2b compressed) compiled binary.

> For storing the VSA in the LAR, I have to know a few things.
> - Is the VSA a blob with no header and/or signature?

It would need a elf/lar header.

> - Do we have to load it at a specific address?

I don't think so but below 1MB to be safe.

> - How do we determine the entry point?
> - What's the exact calling convention?

Same as used in v2

> If at all possible, I'd like to handle the VSA like any ELF file in the
> LAR, that means parsing and compressing it for storage in flash, then
> uncompressing and loading it to a specified address and executing it at
> the specified entry point.

I agree, this is exactly how it should work.


Marc Jones
Senior Firmware Engineer
(970) 226-9684 Office
mailto:Marc.Jones at amd.com

More information about the coreboot mailing list