# # config file for stpc consumer II with vga and # graphics logo display # uses flash, ide, and optionally floppy # no doc mem. # # by Steve M. Gehlbach # # This will dump all the files in /usr/src/stpc_build target /usr/src/stpc_new # stpc consumer2 mainboard stpc/consumer2 biosbase 0xffff0000 option CONFIG_COMPRESS=0 # For printk_debug, set level to 8 # for printk_info, set level to 7 # for printk_notice, set level to 6 #option DEFAULT_CONSOLE_LOGLEVEL=8 option DEFAULT_CONSOLE_LOGLEVEL=6 # Enable Serial Console for debugging option VIDEO_CONSOLE=1 # the logo is displayed for VIDEO_SHOW_LOGO seconds # have to have a 128k rom since the image is at the # beginning (0xfffe0000) option VIDEO_SHOW_LOGO=10 option ROM_IMAGE_SIZE=131072 option PCX_FILE_LOCATION=0xfffe0000 option SERIAL_CONSOLE=1 # uncomment if debugging #option SERIAL_POST=1 #floppy is nice option MUST_ENABLE_FLOPPY=1 option CONFIG_UDELAY_TIMER2=1 #for elfboot #option USE_ELF_BOOT=1 #option USE_GENERIC_ROM=1 #option ZKERNEL_START=0xfffe0000 # if you boot using a floppy, # the floppy/ide needs linux.gz and a ramdisk # at the offset in the linux commandline below # option BOOT_FLOPPY=1 # for ide, this is set for linux at part1 raw # on an ide drive (CF in this case) at ide=2 # and the linux rootfs on ide=0 in part1. see linux command line below. option BOOT_IDE=1 option IDE_BOOT_DRIVE=2 # need to know size of partition table for ide option ONE_TRACK=32 # Path to your kernel (vmlinux) linux /usr/src/linux/ # Kernel command line parameters # commandline rw load_ramdisk=1 prompt_ramdisk=0 ramdisk_start=750 root=/dev/fd0 console=ttyS0,38400n8 # commandline rw load_ramdisk=1 prompt_ramdisk=0 ramdisk_start=750 root=/dev/fd0 console=tty0 commandline root=/dev/hda1 ro reboot=h #addaction linuxbios.rom dd conv=sync if=tulip.elf of=tulipelfimage bs=65536 #addaction linuxbios.rom cat tulipelfimage linuxbios.rom >romelfimage #addaction linuxbios.rom /bin/cp -f romelfimage /home/staff/steve/cti/software/bios/exp/ # # 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 should be copied to the build directory # addaction linuxbios.rom dd if=$(TOP)/src/pc80/linuxbioslogo.pcx of=linuxbios.rom bs=1 seek=4 conv=notrunc; addaction linuxbios.rom perl -e '@a=stat "$(TOP)/src/pc80/linuxbioslogo.pcx";$$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)/linuxbios_stpc.bin