# # 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