Push VSA into CBFS for amd/lx systems. It's not hooked up to
authorPatrick Georgi <patrick.georgi@coresystems.de>
Thu, 10 Dec 2009 17:38:30 +0000 (17:38 +0000)
committerPatrick Georgi <patrick.georgi@coresystems.de>
Thu, 10 Dec 2009 17:38:30 +0000 (17:38 +0000)
the build system yet, so some additional steps are necessary.
It's not that bad, given that the code didn't work before.

You have to convert the VSA bios image to ELF using the following
commands (assuming i386/32bit binutils, if in doubt, use crossgcc's
i386-elf-* tools):

objcopy --set-start 0x20 --adjust-vma 0x60000 -I binary -O elf32-i386 -B i386 vsa.binary vsa.o
ld -e 0x60020 --section-start .data=0x60000 vsa.o -o vsa.elf

Then, after build, use
cbfstool coreboot.rom add-stage vsa.elf vsa l
to add it to the image.

Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4976 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1


No differences found