added Config file for SiS 635/735 Demoboard

This commit is contained in:
Li-Ta Lo 2002-05-24 01:42:43 +00:00
parent 5c7e5ad578
commit 2f30905c14
2 changed files with 88 additions and 0 deletions

46
util/config/sis635.config Normal file
View file

@ -0,0 +1,46 @@
# Sample config file for SiS 635 Demo Board with Standard Flash
# This will make a target directory of ./sis635
target sis635
# SiS 635 Demo Board
mainboard sis/635
# Enable Serial Console for debugging
option SERIAL_CONSOLE=1
# Enable MicroCode update and L2 Cache init for PII and PIII
option UPDATE_MICROCODE
option CONFIGURE_L2_CACHE
# Use 256KB Standard Flash as Normal BIOS
option USE_GENERIC_ROM=1
option STD_FLASH
option ZKERNEL_START=0xfffc0000
# payload size = 192KB
option PAYLOAD_SIZE=196608
# Rom image size = 63KB
option ROM_IMAGE_SIZE=64512
# We reuse docipl from DoC
docipl northsouthbridge/sis/635/ipl.S
# use ELF Loader to load Etherboot
option USE_ELF_BOOT=1
# Use Etherboot as our payload
payload /home/ollie/work/etherboot/src/bin32/sis900.ebi
# Add our own special make rules to handle 256KB flash with docipl
makerule romimage: linuxbios.rom payload.block docipl ;
addaction romimage cat payload.block linuxbios.rom docipl.bin > romimage
makerule docipl: ipl.o ;
addaction docipl objcopy -O binary -R .note -R .comment -S ipl.o docipl
addaction docipl dd if=docipl skip=126 of=docipl.bin
makerule linuxbios.rom: linuxbios.strip ;
addaction linuxbios.rom dd if=linuxbios.strip of=linuxbios.rom bs=$(ROM_IMAGE_SIZE) conv=sync
# Kernel command line parameters
commandline root=/dev/hda1 console=ttyS0,115200 console=tty0 single

42
util/config/sis735.config Normal file
View file

@ -0,0 +1,42 @@
# Sample config file for SiS 735 Demo Board with Standard Flash
# This will make a target directory of ./sis735
target sis735
# SiS 735 Demo Board
mainboard sis/735
# Enable Serial Console for debugging
option SERIAL_CONSOLE=1
# Use 256KB Standard Flash as Normal BIOS
option USE_GENERIC_ROM=1
option STD_FLASH
option ZKERNEL_START=0xfffc0000
# payload size = 192KB
option PAYLOAD_SIZE=196608
# Rom image size = 63KB
option ROM_IMAGE_SIZE=64512
# We reuse docipl from DoC
docipl northsouthbridge/sis/735/ipl.S
# use ELF Loader to load Etherboot
option USE_ELF_BOOT=1
# Use Etherboot as our payload
payload /home/ollie/work/etherboot/src/bin32/sis900.ebi
# Add our own special make rules to handle 256KB flash with docipl
makerule romimage: linuxbios.rom payload.block docipl ;
addaction romimage cat payload.block linuxbios.rom docipl.bin > romimage
makerule docipl: ipl.o ;
addaction docipl objcopy -O binary -R .note -R .comment -S ipl.o docipl
addaction docipl dd if=docipl skip=126 of=docipl.bin
makerule linuxbios.rom: linuxbios.strip ;
addaction linuxbios.rom dd if=linuxbios.strip of=linuxbios.rom bs=$(ROM_IMAGE_SIZE) conv=sync
# Kernel command line parameters
commandline root=/dev/hda1 console=ttyS0,115200 console=tty0 single