Merry x-mas to you as well.  Hopefully Santa will bring you some
working bios code. *grin*

>         else {
>             romSize = *((CARD8 *) (pBIOS + VIA_BIOS_SIZE_POS)) * 512;
>             pRom = pBIOS;
>             sum = 0;

What is it getting here?  Bios extensions have a size parameter in the
same area as the signature.  Offset 2. (Right after the 0xaa55) its
the length in 512 byte chunks.  So make sure this number is correct
for your image size.   Does the factory bios have the same values as
your LB image?

For your fill.  The unerased value of a ROM part is 0xFF.  So using
0xFF as a fill value is probally a good idea.

--
Richard A. Smith
-- 
LinuxBIOS mailing list
LinuxBIOS@openbios.org
http://www.openbios.org/mailman/listinfo/linuxbios

Reply via email to