Author: jcrouse
Date: 2007-06-20 23:29:35 +0200 (Wed, 20 Jun 2007)
New Revision: 11
Added:
buildrom-devel/buildrom/config/platforms/db800.conf
buildrom-devel/buildrom/packages/filo/conf/db800-Config
Modified:
buildrom-devel/buildrom/config/platforms/Config.in
buildrom-devel/buildrom/config/platforms/platforms.conf
Log:
Add platform support for the db800 "salsa".
Signed-off-by: Marc Jones <marc.jones(a)amd.com>
Signed-off-by: Jordan Crouse <jordan.crouse(a)amd.com>
Acked-by: Stefan Reinauer <stepan at coresystems.de>
Modified: buildrom-devel/buildrom/config/platforms/Config.in
===================================================================
--- buildrom-devel/buildrom/config/platforms/Config.in 2007-06-20 21:28:10 UTC (rev 10)
+++ buildrom-devel/buildrom/config/platforms/Config.in 2007-06-20 21:29:35 UTC (rev 11)
@@ -18,5 +18,9 @@
bool "Digital Logic msm800sev"
select PLATFORM
+config PLATFORM_DB800
+ bool "AMD DB800"
+ select PLATFORM
+
endchoice
endmenu
Added: buildrom-devel/buildrom/config/platforms/db800.conf
===================================================================
--- buildrom-devel/buildrom/config/platforms/db800.conf (rev 0)
+++ buildrom-devel/buildrom/config/platforms/db800.conf 2007-06-20 21:29:35 UTC (rev 11)
@@ -0,0 +1,42 @@
+# Copied from the AMD Geode 'norwich' platform
+# Norwich is very generic LX configuration and can be reused in most cases.
+
+#### Platform configuration
+
+CC=gcc
+STRIP=strip
+AS=as
+
+TARGET_ARCH=i586
+CFLAGS_platform =
+
+# Targets
+# Use the same settings as the Norwich platform
+
+KERNEL_MK=$(PACKAGE_DIR)/kernel/norwich-kernel.mk
+LINUXBIOS_MK=$(PACKAGE_DIR)/linuxbios/norwich-linuxbios.mk
+
+# kernel configuration (for LAB)
+# Use the same settings as the Norwich platform
+
+KERNEL_VERSION=2.6.20.2
+KERNEL_CONFIG=$(PACKAGE_DIR)/kernel/conf/norwich-defconfig
+UCLIBC_ARCH=i386
+
+# Etherboot configuration
+ETHERBOOT_ARCH=i386
+
+# LinuxBIOS configuration
+
+LINUXBIOS_VENDOR=amd
+LINUXBIOS_BOARD=db800
+LINUXBIOS_CONFIG=Config.lb
+LINUXBIOS_TDIR=db800
+LINUXBIOS_TAG=2708
+LINUXBIOS_ROM_NAME=db800.rom
+
+# FILO configuration
+# Use a new FILO config for the DB800 to autoload an image
+
+FILO_CONFIG=db800-Config
+
Modified: buildrom-devel/buildrom/config/platforms/platforms.conf
===================================================================
--- buildrom-devel/buildrom/config/platforms/platforms.conf 2007-06-20 21:28:10 UTC (rev 10)
+++ buildrom-devel/buildrom/config/platforms/platforms.conf 2007-06-20 21:29:35 UTC (rev 11)
@@ -9,7 +9,7 @@
PLATFORM-$(CONFIG_PLATFORM_NORWICH) = norwich.conf
PLATFORM-$(CONFIG_PLATFORM_OLPC) = olpc.conf
PLATFORM-$(CONFIG_PLATFORM_MSM800SEV) = msm800sev.conf
-
+PLATFORM-$(CONFIG_PLATFORM_DB800) = db800.conf
include $(CONFIG_DIR)/platforms/$(PLATFORM-y)
ifeq ($(CONFIG_LB_CUSTOM_REV),y)
Added: buildrom-devel/buildrom/packages/filo/conf/db800-Config
===================================================================
--- buildrom-devel/buildrom/packages/filo/conf/db800-Config (rev 0)
+++ buildrom-devel/buildrom/packages/filo/conf/db800-Config 2007-06-20 21:29:35 UTC (rev 11)
@@ -0,0 +1,101 @@
+# !!! 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/menu.lst"
+# Via Epia-MII CF boot:
+#MENULST_FILE = "hde1:/boot/filo/menu.lst"
+
+# time before default menu.lst is chosen. Set to 0 to ignore
+MENULST_TIMEOUT = 10
+
+# Image filename for automatic boot and optional command line parameter
+AUTOBOOT_FILE = "hda1:/vmlinuz root=/dev/hda1 console=tty0 console=ttyS0,115200"
+#AUTOBOOT_FILE = "mem@0xfff80000"
+#AUTOBOOT_FILE = "hde1@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
+