epia800 direct vga working

Nathanael Noblet nathanael at gnat.ca
Sat Sep 20 20:58:00 CEST 2003


I have a few questions regarding the changes you made. I have an 
epia800 board. I altered the epia.config / HOWTO instructions to boot 
filo. Once that worked I added to the filo payload the vga bios 
extracted from the normal bios while running. Now I've applied this 
patch and I'm trying to figure out the differences between the two. The 
main difference as I see it is that you use the linux /path/to/linux 
command and I'm trying to do the payload /path/to/filo+vga... I'm 
wondering if these two things are compatible? I'm also wondering if I 
NEED the vga bios extracted still? I'd rather not alter the setup to 
make it boot from a kernel dd' to the hardrive as I like the fact that 
filo allows me to boot whatever kernel I feel like. Could you give me a 
hand so I can alter this. I've looked around and I'm trying to figure 
out what to change in my config...


> diff --exclude-from exclude_epia --recursive --unified -P 
> freebios/util/config/epia800.config 
> freebios_epia_works/util/config/epia800.config
> --- freebios/util/config/epia800.config	Wed Dec 31 16:00:00 1969
> +++ freebios_epia_works/util/config/epia800.config	Sun Sep  7 16:48:42 
> 2003
> @@ -0,0 +1,63 @@
> +#
> +# LinuxBIOS config file for: VIA epia mini-itx
> +#
> +
> +target /usr/src/epia
> +
> +# via epia
> +mainboard via/epia
> +biosbase 0xffff0000
> +
> +# setup delay using TSC
> +option CONFIG_UDELAY_TSC=1
> +
> +# Enable Serial Console for debugging
> +option CONFIG_COMPRESS=0
> +option SERIAL_CONSOLE=1
> +option VIDEO_CONSOLE=1
> +option TTYS0_BAUD=115200
> +
> +# For printk_debug, set level to 8
> +# for printk_info, set level to 7
> +#option DEFAULT_CONSOLE_LOGLEVEL=8
> +#option DEFAULT_CONSOLE_LOGLEVEL=7
> +option DEFAULT_CONSOLE_LOGLEVEL=6
> +
> +#option DEBUG=1
> +
> +option BOOT_IDE=1
> +option IDE_BOOT_DRIVE=0
> +#need to know size of partition table for ide
> +#option ONE_TRACK=32
> +option ONE_TRACK=63
> +
> +
> +# the logo is displayed for VIDEO_SHOW_LOGO seconds.
> +# Need to have to have a 128k rom since the logo image is at the
> +# beginning (0xfffe0000)
> +option VIDEO_SHOW_LOGO=10
> +option ROM_IMAGE_SIZE=131072
> +option PCX_FILE_LOCATION=0xfffe0000
> +
> +
> +# Use 256KB Standard Flash as Normal BIOS
> +option RAMTEST=1
> +
> +linux /usr/src/linux
> +commandline root=/dev/hda2 ro console=ttyS0,115200n8 console=tty1
> +
> +#
> +# these actions put the pcx image file on the front of the bios.
> +# the image size is placed in the first 4 bytes then the pcx file
> +# important that ROM_IMAGE_SIZE be set to 128K or larger.
> +# The logo file is called linuxbioslogo.pcx and is by default located 
> at
> +# src/pc80/linuxbioslogo.pcx.
> +# Change the variable LOGOFILE below if you want to use your own file.
> +# See the file src/pc80/vga_load_pcx.c for details on the file format.
> +#
> +option LOGOFILE=$(TOP)/src/pc80/linuxbioslogo.pcx
> +addaction linuxbios.rom dd if=$(LOGOFILE) of=linuxbios.rom bs=1 
> seek=4 conv=notrunc;
> +addaction linuxbios.rom perl -e '@a=stat 
> "$(LOGOFILE)";$$a=pack("L",$$a[7]); print $$a' | dd of=linuxbios.rom 
> bs=1 conv=notrunc
> +
> +# copy to home dir where flash programmer can reach.
> +addaction linuxbios.rom /bin/cp -f linuxbios.rom 
> $(HOME)/cti/software/bios/exp/linuxbios_epia.bin
>
-- 
Nathanael Noblet
Gnat Solutions
4604 Monterey Ave NW
Calgary, AB
T3B 5K4

T/F 403.288.5360
C 403.809.5368

http://www.gnat.ca/




More information about the coreboot mailing list