On Fri, Jan 23, 2009 at 04:00:24PM +0800, Yunchuan Qin wrote:
I noticed that there is two version for seabios on 20081108. The bios.bin.elf-20081108-viavga works fine for me but the source code I download from git tree cannot.
I sent an email separately with the steps to build a working version from git. (See below for a resend.)
The log says:
Scan for option roms Found option rom with bad checksum: loc=000c0000 len=64000 sum=000000ff
That is very strange. How did you extract your VGA bios?
-Kevin
On Fri, Jan 23, 2009 at 11:16:02PM +0800, Yunchuan Qin wrote:
Hi, Kevin I have tested the precompiled file bios.bin.elf-20081108-VIAVGA. It works well on my EPIA-ML board. And now, I want to compile it by myself. But my compiled version cannot display any word on the screen. Does there some difference configuration between bios.bin.elf-20081108-viavga and bios.bin.elf-20081108?
Yes. In order to use SeaBIOS with via vga, you need to edit src/config.h and turn on:
CONFIG_COREBOOT CONFIG_DEBUG_SERIAL
and turn off:
CONFIG_OPTIONROMS_DEPLOYED
Finally, you need to set:
#define OPTIONROM_BDF_1 0x0100 #define OPTIONROM_MEM_1 0xfffc0000
The actual memory address depends on your rom size. (The above assumes you have the latest version from git.)
-Kevin