[LinuxBIOS] [BUILDROM] Add support for the Cheetah FAM10 target to buildrom

Jordan Crouse jordan.crouse at amd.com
Wed Dec 19 18:45:14 CET 2007


Hey all - following on Marc's awesome Barcelona patches, here is the
code to add the fam10 target to buildrom.  You may see a stack protect
problem, patches following shortly to deal with that.

Jordan
-- 
Jordan Crouse
Systems Software Development Engineer 
Advanced Micro Devices, Inc.
-------------- next part --------------
[BUILDROM] Add support for the Cheetah FAM10 target to buildrom

This adds support for the Cheetah FAM10 target in LinuxBIOS to
buildrom.  Simple port, uses most of the existing S-C infrastructure.

Reviewed-by: Marc Jones <marc.jones at amd.com>
Signed-off-by: Jordan Crouse <jordan.crouse at amd.com>

Index: buildrom-devel/config/platforms/Config.in
===================================================================
--- buildrom-devel.orig/config/platforms/Config.in
+++ buildrom-devel/config/platforms/Config.in
@@ -104,6 +104,11 @@ config PLATFORM_SUPERMICRO_H8DMR
        select PLATFORM
        select PLATFORM_SUPPORT_64BIT
 
+config PLATFORM_CHEETAH_FAM10
+	bool "AMD Serengeti-Cheetah with fam10 processor"
+	depends VENDOR_AMD
+	select PLATFORM
+	select PLATFORM_SUPPORT_64BIT
 endchoice
 
 config BUILD_QEMU
Index: buildrom-devel/config/platforms/platforms.conf
===================================================================
--- buildrom-devel.orig/config/platforms/platforms.conf
+++ buildrom-devel/config/platforms/platforms.conf
@@ -19,5 +19,6 @@ PLATFORM-$(CONFIG_PLATFORM_SERENGETI_CHE
 PLATFORM-$(CONFIG_PLATFORM_SERENGETI_CHEETAH_64) = serengeti_cheetah-x86_64.conf
 PLATFORM-$(CONFIG_PLATFORM_GA_2761GXDK) = ga-2761gxdk.conf
 PLATFORM-$(CONFIG_PLATFORM_QEMU-i386) = qemu.conf
+PLATFORM-$(CONFIG_PLATFORM_CHEETAH_FAM10) = cheetah-fam10.conf
 
 include $(CONFIG_DIR)/platforms/$(PLATFORM-y)
Index: buildrom-devel/config/platforms/cheetah-fam10.conf
===================================================================
--- /dev/null
+++ buildrom-devel/config/platforms/cheetah-fam10.conf
@@ -0,0 +1,38 @@
+# AMD Cheetah platform with a fam10 (Barcelona) processor
+
+#### 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_fam10
+LINUXBIOS_CONFIG=Config.lb
+LINUXBIOS_TDIR=serengeti_cheetah_fam10
+LINUXBIOS_TAG=3018
+LINUXBIOS_ROM_NAME=amd-cheetah-fam10.rom
+
+# FILO configuration
+
+FILO_CONFIG=serengeti_cheetah-Config
+


More information about the coreboot mailing list