[LinuxBIOS] ADLO with EPIA-M LX2
a.borisov at tesv.tmb.ru
Wed Nov 9 06:14:13 CET 2005
I have compiled ADLO from LX1 (freebios--devel--1.0--base-0.tar.bz2). Pure BOCHS BIOS ~58k. Payload with VGABIOS - 124k.
My Config.lb is below:
buildrom ./linuxbios.rom ROM_SIZE "fallback"
Some comments regarding FALLBACK_SIZE. This is done intentionally to include VIA's VGABIOS into fallback portion.
linuxbios.rom being composed this way is written into flash chip.
Unfortunately I wasn't able to load ADLO payload (see messages below).
Moving GDT to 0x500...ok
Wrote linuxbios table at: 00000530 - 00000b28 checksum 97d3
Welcome to elfboot, the open sourced starter.
January 2002, Eric Biederman.
33:stream_init() - rom_stream: 0xfffd0000 - 0xfffeffff
Found ELF candiate at offset 0
Cannot Load ELF Image
I assume this is a problem with improper configuring ROM_IMAGE_SIZE, ROM_SECTION_OFFSET in my example. I did increase it to 0x20000 value. And I've got this error while compiling with ROMCC:
./romcc -mcpu=c3 -O -I/home/lx/src/LinuxBIOSv2-2080/src -I. -I/home/lx/src/LinuxBIOSv2-earlymtrr.c:21.45: Integer constant to large
Where I've done wrong? Does anybody experienced with ADLO applying to LX2 recently?
Sincerely, Anton Borisov
More information about the coreboot