summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-10-10 22:48:33 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-10-10 22:48:33 +0000
commit046a9b34bcca8431a0a7d7338fec8b80a76a6d5b (patch)
tree6d000bb59c47a2d9aa270e14d52c4c6677b0b10f
parent36d3a76afb32eda306753361abf13c3d4c41e555 (diff)
[Patch v2] Geos -- new x86 subtarget definition
This defines the Geos platform from Traverse Technologies in AUS. This is a Geode LX800 with 512MB of DDR400 memory, 2 8139CP interfaces, 2 Solos ADSL2+ interfaces, USB, serial console, CF slot, and miniPCI slot. I'll add support for the LEDs separately. Signed-off-by: Philip A. Prindeville git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23390 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/x86/Makefile2
-rw-r--r--target/linux/x86/geos/config-default25
-rw-r--r--target/linux/x86/geos/target.mk25
-rw-r--r--target/linux/x86/image/Config.in4
4 files changed, 53 insertions, 3 deletions
diff --git a/target/linux/x86/Makefile b/target/linux/x86/Makefile
index a1d7ec625..2b89b5cd0 100644
--- a/target/linux/x86/Makefile
+++ b/target/linux/x86/Makefile
@@ -10,7 +10,7 @@ ARCH:=i386
BOARD:=x86
BOARDNAME:=x86
FEATURES:=squashfs jffs2 ext2 vdi vmdk pcmcia targz
-SUBTARGETS=generic olpc xen_domu ep80579 net5501 kvm_guest
+SUBTARGETS=generic olpc xen_domu ep80579 net5501 kvm_guest geos
LINUX_VERSION:=2.6.32.24
diff --git a/target/linux/x86/geos/config-default b/target/linux/x86/geos/config-default
new file mode 100644
index 000000000..20f10a29c
--- /dev/null
+++ b/target/linux/x86/geos/config-default
@@ -0,0 +1,25 @@
+# CONFIG_ACPI is not set
+# CONFIG_DMI is not set
+CONFIG_CPU_SUP_AMD=y
+CONFIG_GEODE_MFGPT_TIMER=y
+# CONFIG_GEODE_WDT is not set
+CONFIG_HAVE_PERF_EVENTS=y
+CONFIG_HWMON=y
+# CONFIG_HWMON_DEBUG_CHIP is not set
+# CONFIG_ISA is not set
+# CONFIG_INPUT is not set
+# CONFIG_KEYBOARD_ATKBD is not set
+# CONFIG_M486 is not set
+CONFIG_MGEODE_LX=y
+# CONFIG_MOUSE_PS2 is not set
+# CONFIG_PCSPKR_PLATFORM is not set
+CONFIG_PROCESSOR_SELECT=y
+# CONFIG_SCx200 is not set
+# CONFIG_SERIO_I8042 is not set
+# CONFIG_SERIO_LIBPS2 is not set
+CONFIG_X86_DEBUGCTLMSR=y
+# CONFIG_X86_DS is not set
+CONFIG_X86_L1_CACHE_SHIFT=5
+CONFIG_X86_TSC=y
+CONFIG_X86_USE_3DNOW=y
+CONFIG_X86_USE_PPRO_CHECKSUM=y
diff --git a/target/linux/x86/geos/target.mk b/target/linux/x86/geos/target.mk
new file mode 100644
index 000000000..0387a3112
--- /dev/null
+++ b/target/linux/x86/geos/target.mk
@@ -0,0 +1,25 @@
+BOARDNAME:=Traverse Geos
+FEATURES:=squashfs pci usb gpio
+DEFAULT_PACKAGES += kmod-ata-via-sata kmod-crypto-hw-geode \
+ kmod-gpio-cs5535 kmod-gpio-nsc \
+ kmod-wdt-geode kmod-hwmon-core kmod-hwmon-lm90 \
+ kmod-8139cp kmod-solos-pci \
+ kmod-i2c-core kmod-i2c-gpio \
+ kmod-i2c-algo-bit kmod-i2c-algo-pca kmod-i2c-algo-pcf \
+ kmod-usb-core kmod-usb2 kmod-usb-uhci \
+ kmod-cfg80211 kmod-mac80211 \
+ kmod-mppe kmod-pppoe kmod-pppoa kmod-pppol2tp \
+ kmod-ath kmod-ath5k kmod-ath9k
+
+CS5535_MASK:=0x0E000048
+
+CFLAGS += -Os -march=k6-2 -fno-align-functions -fno-align-loops -fno-align-jumps \
+ -fno-align-labels
+
+define Target/Description
+ Build firmware images for Traverse Geos board
+endef
+
+define KernelPackage/gpio-cs5535/install
+ sed -i -r -e 's/$$$$$$$$/ mask=$(CS5535_MASK)/' $(1)/etc/modules.d/??-gpio-cs5535
+endef
diff --git a/target/linux/x86/image/Config.in b/target/linux/x86/image/Config.in
index ac7510edb..df183aa6f 100644
--- a/target/linux/x86/image/Config.in
+++ b/target/linux/x86/image/Config.in
@@ -8,7 +8,7 @@ config X86_GRUB_IMAGES
config X86_GRUB_CONSOLE
bool "Use Console Terminal (in addition to Serial)"
depends X86_GRUB_IMAGES
- default n if (TARGET_x86_generic_Soekris45xx || TARGET_x86_generic_Soekris48xx || TARGET_x86_net5501)
+ default n if (TARGET_x86_generic_Soekris45xx || TARGET_x86_generic_Soekris48xx || TARGET_x86_net5501 || TARGET_x86_geos)
default y
config X86_GRUB_SERIAL
@@ -20,7 +20,7 @@ config X86_GRUB_SERIAL
config X86_GRUB_BAUDRATE
int "Serial port baud rate"
depends X86_GRUB_IMAGES
- default 19200 if TARGET_x86_generic_Soekris45xx || TARGET_x86_generic_Soekris48xx || TARGET_x86_net5501
+ default 19200 if TARGET_x86_generic_Soekris45xx || TARGET_x86_generic_Soekris48xx || TARGET_x86_net5501 || TARGET_x86_geos
default 38400
config X86_GRUB_BOOTOPTS