[coreboot] .. Re: .. Re: Via epia
Corey Osgood
corey.osgood at gmail.com
Mon Mar 17 00:32:34 CET 2008
On Sun, Mar 16, 2008 at 5:45 PM, Jacek Chruscik <mercury at wirebros.com>
wrote:
> 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.
Yes, you do. Otherwise, XIP_ROM_SIZE ends up not being a multiple of 2. The
other option is to adjust XIP_ROM_SIZE and XIP_ROM_BASE manually.
-Corey
On Sun, 2008-03-16 at 03:57 -0400, Corey Osgood wrote:
> > On Sun, Mar 16, 2008 at 3:15 AM, jtd <jtd at 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 at coreboot.org
> > http://www.coreboot.org/mailman/listinfo/coreboot
>
>
> --
> coreboot mailing list
> coreboot at coreboot.org
> http://www.coreboot.org/mailman/listinfo/coreboot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080316/4e6d3fa3/attachment.html>
More information about the coreboot
mailing list