mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
57 lines
1.7 KiB
Text
57 lines
1.7 KiB
Text
# 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
|
|
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/hda1 console=ttyS0,115200 console=tty0 video=sisfb:1024x768-32@85,font:VGA8x16
|