summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-02-21 18:51:31 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-21 18:51:31 +0100
commitb8074629774161e2cea19c704aaea9d3e482e290 (patch)
treea287feef415567bc4dab06254933b4509f187c1a /target
parent08c3724108f33060956438bff670ee1135f473b1 (diff)
add some finetuning stuff for foxg20 support
Diffstat (limited to 'target')
-rw-r--r--target/Config.in1
-rw-r--r--target/bulk.lst1
-rw-r--r--target/foxg20/target.mk3
-rw-r--r--target/linux/patches/2.6.32.2/scsi-header.patch41
-rw-r--r--target/target.lst1
-rw-r--r--target/toolchain-armel/target.mk2
6 files changed, 6 insertions, 43 deletions
diff --git a/target/Config.in b/target/Config.in
index b489d52f1..8361234a2 100644
--- a/target/Config.in
+++ b/target/Config.in
@@ -873,6 +873,7 @@ config ADK_TARGET_ROOTFS_EXT2_CF
ADK_LINUX_X86_ALIX2D || \
ADK_LINUX_X86_ALIX2D13 || \
ADK_LINUX_X86_WRAP || \
+ ADK_LINUX_ARM_FOXBOARD || \
ADK_LINUX_MIPS_RB532
select ADK_KERNEL_EXT2_FS
select ADK_KERNEL_SCSI
diff --git a/target/bulk.lst b/target/bulk.lst
index 968949373..253e16f16 100644
--- a/target/bulk.lst
+++ b/target/bulk.lst
@@ -1,5 +1,6 @@
ag241 uclibc nfsroot
foxboard uclibc nfsroot
+foxg20 uclibc nfsroot
rb532 uclibc nfsroot
rb532 eglibc nfsroot
alix1c uclibc nfsroot
diff --git a/target/foxg20/target.mk b/target/foxg20/target.mk
index 15650b4d3..5a7e677d7 100644
--- a/target/foxg20/target.mk
+++ b/target/foxg20/target.mk
@@ -1,5 +1,6 @@
+# arm default is little endian, this target uses EABI
ARCH:= arm
-CPU_ARCH:= armel
+CPU_ARCH:= arm
KERNEL_VERSION:= 2.6.32.2
KERNEL_RELEASE:= 1
KERNEL_MD5SUM:= 260551284ac224c3a43c4adac7df4879
diff --git a/target/linux/patches/2.6.32.2/scsi-header.patch b/target/linux/patches/2.6.32.2/scsi-header.patch
deleted file mode 100644
index 9173b242d..000000000
--- a/target/linux/patches/2.6.32.2/scsi-header.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-diff -Nur linux-2.6.32.orig/include/scsi/Kbuild linux-2.6.32/include/scsi/Kbuild
---- linux-2.6.32.orig/include/scsi/Kbuild 2009-12-03 04:51:21.000000000 +0100
-+++ linux-2.6.32/include/scsi/Kbuild 2009-12-03 19:46:03.000000000 +0100
-@@ -1,3 +1,5 @@
-+header-y += sg.h
-+header-y += scsi_ioctl.h
- header-y += scsi.h
- header-y += scsi_netlink.h
- header-y += scsi_netlink_fc.h
-diff -Nur linux-2.6.32.orig/include/scsi/scsi.h linux-2.6.32/include/scsi/scsi.h
---- linux-2.6.32.orig/include/scsi/scsi.h 2009-12-03 04:51:21.000000000 +0100
-+++ linux-2.6.32/include/scsi/scsi.h 2009-12-03 19:47:49.000000000 +0100
-@@ -143,6 +143,8 @@
-
- #define SCSI_MAX_VARLEN_CDB_SIZE 260
-
-+#ifdef __KERNEL__
-+
- /* defined in T10 SCSI Primary Commands-2 (SPC2) */
- struct scsi_varlen_cdb_hdr {
- u8 opcode; /* opcode always == VARIABLE_LENGTH_CMD */
-@@ -169,6 +171,8 @@
- scsi_varlen_cdb_length(cmnd) : COMMAND_SIZE(cmnd[0]);
- }
-
-+#endif
-+
- /*
- * SCSI Architecture Model (SAM) Status codes. Taken from SAM-3 draft
- * T10/1561-D Revision 4 Draft dated 7th November 2002.
-@@ -284,8 +288,10 @@
- SCSI_PROTOCOL_UNSPEC = 0xf, /* No specific protocol */
- };
-
-+#ifdef __KERNEL__
- /* Returns a human-readable name for the device */
- extern const char * scsi_device_type(unsigned type);
-+#endif
-
- /*
- * standard mode-select header prepended to all mode-select commands
diff --git a/target/target.lst b/target/target.lst
index 38d3a5c19..b7de1f4f1 100644
--- a/target/target.lst
+++ b/target/target.lst
@@ -5,6 +5,7 @@ alix2d13 ADK_LINUX_X86_ALIX2D13
alix ADK_LINUX_X86_ALIX1C || ADK_LINUX_X86_ALIX2D || ADK_LINUX_X86_ALIX2D13
wrap ADK_LINUX_X86_WRAP
foxboard ADK_LINUX_CRIS_FOXBOARD
+foxg20 ADK_LINUX_ARM_FOXBOARD
lemote ADK_LINUX_MIPS64_LEMOTE
ag241 ADK_LINUX_MIPS_AG241
zaurus ADK_LINUX_XSCALE_ZAURUS
diff --git a/target/toolchain-armel/target.mk b/target/toolchain-armel/target.mk
index 42cb33bec..e81a03c59 100644
--- a/target/toolchain-armel/target.mk
+++ b/target/toolchain-armel/target.mk
@@ -1,5 +1,5 @@
ARCH:= arm
-CPU_ARCH:= armel
+CPU_ARCH:= arm
KERNEL_VERSION:= 2.6.32
KERNEL_RELEASE:= 1
KERNEL_MD5SUM:= 260551284ac224c3a43c4adac7df4879