[LinuxBIOS] r46 - in buildrom-devel: config/platforms packages/filo/conf packages/kernel packages/kernel/conf packages/linuxbios scripts
Author: jcrouse Date: 2007-10-24 16:56:47 +0200 (Wed, 24 Oct 2007) New Revision: 46 Added: buildrom-devel/config/platforms/serengeti_cheetah.conf buildrom-devel/packages/filo/conf/serengeti_cheetah-Config buildrom-devel/packages/kernel/conf/defconfig-serengeti_cheetah buildrom-devel/packages/kernel/serengeti_cheetah-kernel.mk Modified: buildrom-devel/config/platforms/Config.in buildrom-devel/config/platforms/platforms.conf buildrom-devel/packages/linuxbios/generic-linuxbios.mk buildrom-devel/scripts/Build.settings Log: [BUILDROM] Support the AMD Serengeti-Cheetah platform Build a ROM for the Serengeti-Cheetah platform supported in LinuxBIOSv2. Signed-off-by: Jordan Crouse [EMAIL PROTECTED] Signed-off-by: Marc Jones [EMAIL PROTECTED] Acked-by: Stefan Reinauer [EMAIL PROTECTED] Modified: buildrom-devel/config/platforms/Config.in === --- buildrom-devel/config/platforms/Config.in 2007-10-18 00:10:57 UTC (rev 45) +++ buildrom-devel/config/platforms/Config.in 2007-10-24 14:56:47 UTC (rev 46) @@ -34,5 +34,8 @@ bool Tyan S2891 select PLATFORM +config PLATFORM_SERENGETI_CHEETAH + bool AMD Serengeti_Cheetah + select PLATFORM endchoice endmenu Modified: buildrom-devel/config/platforms/platforms.conf === --- buildrom-devel/config/platforms/platforms.conf 2007-10-18 00:10:57 UTC (rev 45) +++ buildrom-devel/config/platforms/platforms.conf 2007-10-24 14:56:47 UTC (rev 46) @@ -13,5 +13,6 @@ PLATFORM-$(CONFIG_PLATFORM_DBE61) = dbe61.conf PLATFORM-$(CONFIG_PLATFORM_M57SLI) = m57sli.conf PLATFORM-$(CONFIG_PLATFORM_TYAN_S2891) = tyan-s2891.conf +PLATFORM-$(CONFIG_PLATFORM_SERENGETI_CHEETAH) = serengeti_cheetah.conf include $(CONFIG_DIR)/platforms/$(PLATFORM-y) Added: buildrom-devel/config/platforms/serengeti_cheetah.conf === --- buildrom-devel/config/platforms/serengeti_cheetah.conf (rev 0) +++ buildrom-devel/config/platforms/serengeti_cheetah.conf 2007-10-24 14:56:47 UTC (rev 46) @@ -0,0 +1,39 @@ +# Support for the AMD Serengeti_Cheetah Platform +# This should work for most K8+8111 platforms + + Platform configuration + +CC=gcc +STRIP=strip +AS=as + +TARGET_ARCH=i586 +CFLAGS_platform = + +# Targets + +KERNEL_MK=$(PACKAGE_DIR)/kernel/serengeti_cheetah-kernel.mk +LINUXBIOS_MK=$(PACKAGE_DIR)/linuxbios/generic-linuxbios.mk + +# kernel configuration (for LAB) + +KERNEL_VERSION=2.6.20.2 +KERNEL_CONFIG=$(PACKAGE_DIR)/kernel/conf/serengeti_cheetah-defconfig +UCLIBC_ARCH=i386 + +# Etherboot configuration +ETHERBOOT_ARCH=i386 + +# LinuxBIOS configuration + +LINUXBIOS_VENDOR=amd +LINUXBIOS_BOARD=serengeti_cheetah +LINUXBIOS_CONFIG=Config.lb +LINUXBIOS_TDIR=serengeti_cheetah +LINUXBIOS_TAG=2880 +LINUXBIOS_ROM_NAME=serengeti_cheetah.rom + +# FILO configuration + +FILO_CONFIG=serengeti_cheetah-Config + Added: buildrom-devel/packages/filo/conf/serengeti_cheetah-Config === --- buildrom-devel/packages/filo/conf/serengeti_cheetah-Config (rev 0) +++ buildrom-devel/packages/filo/conf/serengeti_cheetah-Config 2007-10-24 14:56:47 UTC (rev 46) @@ -0,0 +1,99 @@ +# !!! NOTE !!! +# Do NOT add spaces or comments at the end of option lines. +# It confuses some versions of make. + +# Use grub instead of autoboot? +USE_GRUB = 1 + +# Grub menu.lst path +MENULST_FILE = hda1:/boot/filo/menu.lst + +# time before default menu.lst is chosen. Set to 0 to ignore +MENULST_TIMEOUT = 0 + +# Image filename for automatic boot and optional command line parameter +AUTOBOOT_FILE = hda1:/vmlinuz root=/dev/hda1 console=tty0 console=ttyS0,115200 +#AUTOBOOT_FILE = [EMAIL PROTECTED] +#AUTOBOOT_FILE = [EMAIL PROTECTED] +#AUTOBOOT_FILE = uda1:/vmlinuz.elf + +# Time in second before booting AUTOBOOT_FILE +AUTOBOOT_DELAY = 2 + +# Driver for hard disk, CompactFlash, and CD-ROM on IDE bus +IDE_DISK = 1 + +# Add a short delay when polling status registers +# (required on some broken SATA controllers) +# NOTE: Slows down access significantly, so disable +# whenever possible. +#IDE_DISK_POLL_DELAY = 1 + +# Use PCMCIA compact flash on Via Epia MII1 and MII6000E +# This device is referred to as hde. +#PCMCIA_CF = 1 + +# Driver for USB Storage +# USB_DISK = 1 + +# VGA text console + VGA_CONSOLE = 1 + PC_KEYBOARD = 1 + +# Serial console +SERIAL_CONSOLE = 1 +SERIAL_IOBASE = 0x3f8 +# if SERIAL_SPEED is commented out, the speed will not be changed. +#SERIAL_SPEED = 115200 + +# Filesystems +FSYS_EXT2FS = 1 +FSYS_FAT = 1 +#FSYS_JFS = 1 +#FSYS_MINIX = 1 +FSYS_REISERFS = 1 +#FSYS_XFS = 1 +FSYS_ISO9660 = 1 + +# Support for boot disk image in bootable CD-ROM (El Torito) +ELTORITO = 1 + +# PCI support +SUPPORT_PCI = 1 + +# Enable this to scan PCI busses above bus 0 +# AMD64 based boards
Re: [LinuxBIOS] r46 - in buildrom-devel: config/platforms packages/filo/conf packages/kernel packages/kernel/conf packages/linuxbios scripts
On Wed, Oct 24, 2007 at 04:56:47PM +0200, [EMAIL PROTECTED] wrote: Modified: buildrom-devel/config/platforms/Config.in === --- buildrom-devel/config/platforms/Config.in 2007-10-18 00:10:57 UTC (rev 45) +++ buildrom-devel/config/platforms/Config.in 2007-10-24 14:56:47 UTC (rev 46) @@ -34,5 +34,8 @@ bool Tyan S2891 select PLATFORM +config PLATFORM_SERENGETI_CHEETAH + bool AMD Serengeti_Cheetah No underscore needed here, I think. Added: buildrom-devel/config/platforms/serengeti_cheetah.conf === --- buildrom-devel/config/platforms/serengeti_cheetah.conf (rev 0) +++ buildrom-devel/config/platforms/serengeti_cheetah.conf2007-10-24 14:56:47 UTC (rev 46) @@ -0,0 +1,39 @@ +# Support for the AMD Serengeti_Cheetah Platform Ditto. Modified: buildrom-devel/packages/linuxbios/generic-linuxbios.mk === --- buildrom-devel/packages/linuxbios/generic-linuxbios.mk2007-10-18 00:10:57 UTC (rev 45) +++ buildrom-devel/packages/linuxbios/generic-linuxbios.mk2007-10-24 14:56:47 UTC (rev 46) @@ -9,9 +9,18 @@ LINUXBIOS_BASE_DIR=svn LINUXBIOS_URL=svn://openbios.org/repos/trunk/LinuxBIOSv2 LINUXBIOS_TARBALL=linuxbios-svn-$(LINUXBIOS_TAG).tar.gz -LINUXBIOS_PAYLOAD_TARGET=/tmp/payload.elf +LINUXBIOS_PAYLOAD_TARGET=$(LINUXBIOS_BUILD_DIR)/payload.elf TARGET_ROM = $(LINUXBIOS_VENDOR)-$(LINUXBIOS_BOARD).rom +# Make sure we have the tools we need to accomplish this +HAVE_IASL:=$(call find-tool,iasl) + +ifeq ($(HAVE_IASL),n) +$(error To build LinuxBIOS, you need to install the 'iasl' tool) +endif This is not true for all boards, maybe we should make this a requirement only for those boards which actually require it. Another tool to check for might be bzip2 btw, it's not guaranteed to be installed by default everywhere. Uwe. -- http://www.hermann-uwe.de | http://www.holsham-traders.de http://www.crazy-hacks.org | http://www.unmaintained-free-software.org signature.asc Description: Digital signature -- linuxbios mailing list linuxbios@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios
Re: [LinuxBIOS] r46 - in buildrom-devel: config/platforms packages/filo/conf packages/kernel packages/kernel/conf packages/linuxbios scripts
Uwe Hermann wrote: +# Make sure we have the tools we need to accomplish this +HAVE_IASL:=$(call find-tool,iasl) + +ifeq ($(HAVE_IASL),n) +$(error To build LinuxBIOS, you need to install the 'iasl' tool) +endif This is not true for all boards, maybe we should make this a requirement only for those boards which actually require it. It will be true pretty soon though I guess. Stefan -- coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br. Tel.: +49 761 7668825 • Fax: +49 761 7664613 Email: [EMAIL PROTECTED] • http://www.coresystems.de/ Registergericht: Amtsgericht Freiburg • HRB 7656 Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866 -- linuxbios mailing list linuxbios@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios
Re: [LinuxBIOS] r46 - in buildrom-devel: config/platforms packages/filo/conf packages/kernel packages/kernel/conf packages/linuxbios scripts
On Wed, Oct 24, 2007 at 09:50:25AM -0600, Jordan Crouse wrote: On 24/10/07 17:27 +0200, Uwe Hermann wrote: On Wed, Oct 24, 2007 at 04:56:47PM +0200, [EMAIL PROTECTED] wrote: Modified: buildrom-devel/config/platforms/Config.in === --- buildrom-devel/config/platforms/Config.in 2007-10-18 00:10:57 UTC (rev 45) +++ buildrom-devel/config/platforms/Config.in 2007-10-24 14:56:47 UTC (rev 46) @@ -34,5 +34,8 @@ bool Tyan S2891 select PLATFORM +config PLATFORM_SERENGETI_CHEETAH + bool AMD Serengeti_Cheetah No underscore needed here, I think. Thats what its called in LinuxBIOS, so we tried to stick with the same names. I agree thats not always the best policy, but the Serengeti-Cheetah name is confusing anyway, so we went with this. I think this depends where the name is used. In C struct names or as variable names, directory names etc. some adaptations might be necessary. For use in comments or README or other texts we should, in general, use the official correct name as per vendor (website etc). This is not true for all boards, maybe we should make this a requirement only for those boards which actually require it. This target is only built by those targets that do require it. OK, that's no problem then. But thats also why I made find-cool a function - if we find other tools we need, then we should not be afraid to add them. Yep. Uwe. -- http://www.hermann-uwe.de | http://www.holsham-traders.de http://www.crazy-hacks.org | http://www.unmaintained-free-software.org signature.asc Description: Digital signature -- linuxbios mailing list linuxbios@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios