[coreboot] r230 - in buildrom-devel: bin config/platforms packages/coreboot-v2 packages/filo/conf packages/kernel packages/roms

svn at coreboot.org svn at coreboot.org
Mon Sep 22 23:06:11 CEST 2008


Author: jcrouse
Date: 2008-09-22 23:06:10 +0200 (Mon, 22 Sep 2008)
New Revision: 230

Added:
   buildrom-devel/bin/show-instructions.sh
   buildrom-devel/config/platforms/dbm690t.conf
   buildrom-devel/packages/coreboot-v2/dbm690t.mk
   buildrom-devel/packages/filo/conf/dbm690t-Config
   buildrom-devel/packages/kernel/dbm690t.mk
   buildrom-devel/packages/roms/amd_r690.mk
   buildrom-devel/packages/roms/amd_r690_instructions
Log:
Add AMD dbm690t mainboard to buildrom.
The dbm690t uses an embedded VBIOS which buildrom can attach to the ROM image.

(The previous commit missed all the added files, my bad - Jordan)

Signed-off-by: Marc Jones <marc.jones at amd.com>
Signed-off-by: Jordan Crouse <jordan.crouse at amd.com>
Acked-by: Ward Vandewege <ward at gnu.org>



Added: buildrom-devel/bin/show-instructions.sh
===================================================================
--- buildrom-devel/bin/show-instructions.sh	                        (rev 0)
+++ buildrom-devel/bin/show-instructions.sh	2008-09-22 21:06:10 UTC (rev 230)
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+tmp=`tempfile`
+cat $1 | sed -e "s:%DESTFILE%:$2:" > $tmp
+`dirname $0`/../scripts/kconfig/lxdialog/lxdialog --textbox $tmp 20 75
+rm -rf $tmp
+


Property changes on: buildrom-devel/bin/show-instructions.sh
___________________________________________________________________
Added: svn:executable
   + *

Added: buildrom-devel/config/platforms/dbm690t.conf
===================================================================
--- buildrom-devel/config/platforms/dbm690t.conf	                        (rev 0)
+++ buildrom-devel/config/platforms/dbm690t.conf	2008-09-22 21:06:10 UTC (rev 230)
@@ -0,0 +1,64 @@
+# Support for the AMD Herring Platform
+
+#### Platform configuration
+
+CC=gcc
+STRIP=strip
+AS=as
+
+ifeq ($(CONFIG_TARGET_64BIT),y)
+TARGET_ARCH=x86_64
+CFLAGS_platform =
+else
+TARGET_ARCH=i686
+CFLAGS_platform =
+endif
+
+# Targets
+
+KERNEL_MK=$(PACKAGE_DIR)/kernel/dbm690t.mk
+CBV2_MK=$(PACKAGE_DIR)/coreboot-v2/dbm690t.mk
+
+# kernel configuration (for LAB)
+
+ifeq ($(CONFIG_TARGET_64BIT),y)
+KERNEL_VERSION=2.6.22.2
+KERNEL_MK=$(PACKAGE_DIR)/kernel/dbm690t-x86_64.mk
+KERNEL_CONFIG=$(PACKAGE_DIR)/kernel/conf/defconfig-dbm690t-x86_64
+BUSYBOX_CONFIG=defconfig-dbm690t-x86_64
+UCLIBC_VER=0.9.29
+UCLIBC_CONFIG=defconfig-x86_64
+else
+KERNEL_VERSION=2.6.20.2
+KERNEL_CONFIG=$(PACKAGE_DIR)/kernel/conf/defconfig-dbm690t
+UCLIBC_VER=0.9.29
+endif
+
+#UCLIBC_ARCH=$(TARGET_ARCH)
+
+# Etherboot configuration
+ETHERBOOT_ARCH=i386
+
+# coreboot configuration
+
+COREBOOT_VENDOR=amd
+CBV2_CONFIG=Config.lb
+CBV2_PAYLOAD_FILE_EXT=elf
+
+CBV3_TAG=HEAD
+
+COREBOOT_BOARD=dbm690t
+CBV2_TDIR=dbm690t
+CBV2_TAG=3590
+
+# FILO configuration
+
+FILO_CONFIG=dbm690t-Config
+
+# VIDEO BIOS configuration
+
+ifndef $(CONFIG_AMD_R690_VBIOS)
+AMD_R690_VBIOS_LOCATION := $(BASE_DIR)/sources/amd_rs690_vbios.bin
+else
+AMD_R690_VBIOS_LOCATION = $(subst ",,$(CONFIG_AMD_R690_VBIOS))
+endif

Added: buildrom-devel/packages/coreboot-v2/dbm690t.mk
===================================================================
--- buildrom-devel/packages/coreboot-v2/dbm690t.mk	                        (rev 0)
+++ buildrom-devel/packages/coreboot-v2/dbm690t.mk	2008-09-22 21:06:10 UTC (rev 230)
@@ -0,0 +1,22 @@
+# This is the AMD DBM690T coreboot target
+
+CBV2_PATCHES=
+
+# Make sure we have the tools we need to accomplish this
+HAVE_IASL:=$(call find-tool,iasl)
+
+ifeq ($(HAVE_IASL),n)
+$(error To build coreboot, you need to install the 'iasl' tool)
+endif
+
+ifeq ($(CONFIG_PLATFORM_DBM690T),y)
+ifeq ($(CONFIG_SIMNOW),y)
+CBV2_PATCHES += $(PACKAGE_DIR)/coreboot-v2/patches/simnow.patch
+endif
+endif
+
+include $(PACKAGE_DIR)/coreboot-v2/coreboot.inc
+
+coreboot: generic-coreboot
+coreboot-clean: generic-coreboot-clean
+coreboot-distclean: generic-coreboot-distclean

Added: buildrom-devel/packages/filo/conf/dbm690t-Config
===================================================================
--- buildrom-devel/packages/filo/conf/dbm690t-Config	                        (rev 0)
+++ buildrom-devel/packages/filo/conf/dbm690t-Config	2008-09-22 21:06:10 UTC (rev 230)
@@ -0,0 +1,102 @@
+# !!! 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
+# SATA
+# MENULST_FILE = "hda1:/boot/filo/menu.lst"
+# PATA
+MENULST_FILE = "hde1:/boot/filo/menu.lst"
+
+# time before default menu.lst is chosen. Set to 0 to ignore
+MENULST_TIMEOUT = 3
+
+# Image filename for automatic boot and optional command line parameter
+#AUTOBOOT_FILE = "hde1:/vmlinuz root=/dev/hda1 console=tty0 console=ttyS0,115200"
+#AUTOBOOT_FILE = "mem at 0xfff80000"
+#AUTOBOOT_FILE = "hde1 at 0"
+#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 MII10000 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 do need this.
+PCI_BRUTE_SCAN = 1
+
+# Sound support (needs SUPPORT_PCI)
+#SUPPORT_SOUND = 1
+
+# Sound drivers
+#VIA_SOUND = 1
+
+# Debugging
+DEBUG_ALL = 1
+#DEBUG_ELFBOOT = 1
+#DEBUG_ELFNOTE = 1
+#DEBUG_LINUXBIOS = 1
+#DEBUG_MALLOC = 1
+#DEBUG_MULTIBOOT = 1
+#DEBUG_SEGMENT = 1
+#DEBUG_SYS_INFO = 1
+#DEBUG_TIMER = 1
+#DEBUG_BLOCKDEV = 1
+#DEBUG_PCI = 1
+#DEBUG_VIA_SOUND = 1
+#DEBUG_LINUXLOAD = 1
+#DEBUG_IDE = 1
+#DEBUG_USB = 1
+#DEBUG_ELTORITO = 1
+
+# i386 options
+
+# Loader for standard Linux kernel image, a.k.a. /vmlinuz
+LINUX_LOADER = 1
+
+# Boot FILO from Multiboot loader (eg. GRUB)
+#MULTIBOOT_IMAGE = 1
+

Added: buildrom-devel/packages/kernel/dbm690t.mk
===================================================================
--- buildrom-devel/packages/kernel/dbm690t.mk	                        (rev 0)
+++ buildrom-devel/packages/kernel/dbm690t.mk	2008-09-22 21:06:10 UTC (rev 230)
@@ -0,0 +1,16 @@
+# Build file for the AMD DBM690T LAB kernel
+
+KERNEL_URL=http://kernel.org/pub/linux/kernel/v2.6/
+KERNEL_SOURCE=linux-$(KERNEL_VERSION).tar.bz2
+
+# Kernel config is set in the platform configuration
+
+$(SOURCE_DIR)/$(KERNEL_SOURCE):
+	@ mkdir -p $(SOURCE_DIR)
+	@ wget $(WGET_Q) -P $(SOURCE_DIR) $(KERNEL_URL)/$(KERNEL_SOURCE)
+
+include $(PACKAGE_DIR)/kernel/kernel.inc
+
+kernel: generic-kernel
+kernel-clean: generic-kernel-clean
+kernel-distclean: generic-kernel-distclean

Added: buildrom-devel/packages/roms/amd_r690.mk
===================================================================
--- buildrom-devel/packages/roms/amd_r690.mk	                        (rev 0)
+++ buildrom-devel/packages/roms/amd_r690.mk	2008-09-22 21:06:10 UTC (rev 230)
@@ -0,0 +1,11 @@
+ifeq ($(CONFIG_AMD_R690_USE_VBIOS),y)
+OPTIONROM_TARGETS += $(AMD_R690_VBIOS_LOCATION)
+CBV2_PREPEND := $(AMD_R690_VBIOS_LOCATION)
+endif
+
+$(AMD_R690_VBIOS_LOCATION):
+	@ $(BIN_DIR)/show-instructions.sh \
+	$(PACKAGE_DIR)/roms/amd_r690_instructions \
+	$(AMD_R690_VBIOS_LOCATION)
+	@ echo "Unable to find $(AMD_R690_VBIOS_LOCATION)"
+	@ exit 1

Added: buildrom-devel/packages/roms/amd_r690_instructions
===================================================================
--- buildrom-devel/packages/roms/amd_r690_instructions	                        (rev 0)
+++ buildrom-devel/packages/roms/amd_r690_instructions	2008-09-22 21:06:10 UTC (rev 230)
@@ -0,0 +1,10 @@
+Please follow these instructions for downloading the video BIOS
+for your R690 platform:
+
+ * Download the latest video BIOS from:
+   http://url.goes.here/
+ * Copy the file to:
+   %DESTFILE%
+   You may need to create the directory first.
+
+After copying the file, start the build again by typing 'make'.





More information about the coreboot mailing list