the number 57344 is my vga bios size, you have to replace this number with the size of your vga bios (in boths places of my config: ROM_SIZE and FALLBACK_SIZE) I suggest to use awardeco or amideco tool to extract the vga bios from original bios. The RAM memory dump didn't work for me on epia. You don't need to pad your vga bios if you use exact size in the config.
On Sun, 2008-03-16 at 03:57 -0400, Corey Osgood wrote:
On Sun, Mar 16, 2008 at 3:15 AM, jtd jtd@mtnl.net.in wrote: On Sunday 16 March 2008 05:21 am, Jacek Chruscik wrote: > I never managed to build working normal image for epia-m though. > Fallback works fine, and vga bios too. > The only odd behaviour is that my epia-m2 has about 12sec delay > before it runs the coreboot image. > > here's my config.lb: > (57344 is my vga bios rom size) > > ------------------------------------------------------ > > target via_epia-m > mainboard via/epia-m > option MAXIMUM_CONSOLE_LOGLEVEL=8 > option DEFAULT_CONSOLE_LOGLEVEL=8 > option CONFIG_CONSOLE_SERIAL8250=1 > option CONFIG_CONSOLE_VGA=1 > option ROM_SIZE=0x40000-57344 > option HAVE_OPTION_TABLE=1 > option CONFIG_ROM_PAYLOAD=1 > option HAVE_FALLBACK_BOOT=1 > option CONFIG_COMPRESSED_PAYLOAD_NRV2B=0 > option _RAMBASE=0x00004000 > option FALLBACK_SIZE=0x40000-57344 > > romimage "fallback" > option USE_FALLBACK_IMAGE=1 > option ROM_IMAGE_SIZE=0x10000 > payload /boot/filo/filo.elf > end > > > buildrom ./coreboot.rom ROM_SIZE "fallback" > ----------------------------------------------------------
"XIP_ROM_BASE is not a multiple of XIP_ROM_SIZE" make[1]: *** [auto.inc] Error 1
cat zeros onto the end of your vga bios to make it exactly 64k. Once you adjust coreboot's config for that, the sizes should fall back into place.
-Corey
-- coreboot mailing list coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot