Hi. 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:
= target epia-m
mainboard via/epia-m
option MAXIMUM_CONSOLE_LOGLEVEL=8 option DEFAULT_CONSOLE_LOGLEVEL=8 option CONFIG_CONSOLE_SERIAL8250=1
option ROM_SIZE=256*1024 option HAVE_OPTION_TABLE=1 option CONFIG_ROM_STREAM=1 option HAVE_FALLBACK_BOOT=1
option FALLBACK_SIZE=0x30000 option _RAMBASE=0x00004000
romimage "fallback" option USE_FALLBACK_IMAGE=1 option ROM_IMAGE_SIZE=0x10000 option ROM_SECTION_OFFSET=0x10000 option ROM_SECTION_SIZE=0x30000 option LINUXBIOS_EXTRA_VERSION=".0Fallback" payload /home/anthony/src/payloads/adlo.elf end
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. Version 1.3
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?
Thanks.
33:stream_init() - rom_stream: 0xfffd0000 - 0xfffeffff
Found ELF candiate at offset 0 Cannot Load ELF Image = =
Where I've done wrong? Does anybody experienced with ADLO applying to LX2 recently?
See if you can load any payload at all or if its just the ADLO payload thats causing you trouble. Try memtest without the video bios so you don't have to change any settings.
-- Richard A. Smith