added ELF etherboot and 256kB flash config files

This commit is contained in:
Li-Ta Lo 2002-03-21 02:27:46 +00:00
parent b609cf717d
commit d59da5fde6
4 changed files with 156 additions and 0 deletions

View file

@ -0,0 +1,21 @@
# Sample config file for SiS 550 SoC with DoC Millennium (as root)
# This will make a target directory of ./winfast
target sis550-elf-etherboot
# SiS 550 SoC demo mainboard
mainboard sis/550
# use DOC MIL
option USE_DOC_MIL=1
docipl northsouthbridge/sis/550/ipl.S
# Use the internal VGA frame buffer device
option HAVE_FRAMEBUFFER
# use ELF Loader to load Etherboot
option USE_ELF_BOOT=1
payload /home/ollie/work/etherboot/src/bin32/sis900.ebi
# Kernel command line parameters
commandline root=/dev/hda5 console=tty0 video=sisfb:1024x768-32@85,font:VGA8x16

View file

@ -0,0 +1,42 @@
# Sample config file for SiS 550 SoC with DoC Millennium (as root)
# This will make a target directory of ./winfast
target sis550-flash
# SiS 550 SoC demo mainboard
mainboard sis/550
# 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/550/ipl.S
# Use the internal VGA frame buffer device
option HAVE_FRAMEBUFFER
# 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/hda5 console=tty0 video=sisfb:1024x768-32@85,font:VGA8x16

View file

@ -0,0 +1,37 @@
# Sample config file for Winfast 6300 to use Etherboot in ELF format
# This will make a target directory of ./winfast-elf-etherboot
target winfast-elf-etherboot
# WinFast 6300 MAX mainboard
mainboard leadtek/winfast6300
# Enable Serial Console for debugging
option SERIAL_CONSOLE=1
# use DOC MIL
#option USE_DOC_MIL_PLUS
#option INTERLEAVE=2
option USE_DOC_MIL
docipl northsouthbridge/sis/630/ipl.S
# Enable MicroCode update and L2 Cache init for PII and PIII
option UPDATE_MICROCODE
option CONFIGURE_L2_CACHE
# Enable CPU Piple Line function, if your are not
# using PIII, this boost performance a lot
option ENABLE_SIS630_CPU_PIPELINE
# Use the internal VGA frame buffer device
option HAVE_FRAMEBUFFER
# some eariler SiS 630 parts have crappy internal LAN
option DISABLE_INTERNAL_DEVICES
# use ELF Loader to load Etherboot
option USE_ELF_BOOT=1
payload /home/ollie/work/etherboot/src/bin32/sis900.ebi
# Kernel command line parameters
commandline root=/dev/hda1 console=ttyS0,115200 console=tty0 video=sisfb:1024x768-32@85,font:VGA8x16

View file

@ -0,0 +1,56 @@
# Sample config file for Winfast 6300 to use Etherboot in ELF format
# This will make a target directory of ./winfast-elf-etherboot
target winfast-flash
# WinFast 6300 MAX mainboard
mainboard leadtek/winfast6300
# 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/630/ipl.S
# Enable MicroCode update and L2 Cache init for PII and PIII
option UPDATE_MICROCODE
option CONFIGURE_L2_CACHE
# Enable CPU Piple Line function, if your are not
# using PIII, this boost performance a lot
option ENABLE_SIS630_CPU_PIPELINE
# Use the internal VGA frame buffer device
option HAVE_FRAMEBUFFER
# some eariler SiS 630 parts have crappy internal LAN
option DISABLE_INTERNAL_DEVICES
# 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 video=sisfb:1024x768-32@85,font:VGA8x16