switch-coreboot/util/config/sis550-flash.config
2002-06-03 05:08:56 +00:00

43 lines
1.3 KiB
Text

# 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
addaction clean rm -f 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