summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/arm-kernel-shim/arm-kernel-shim_1.4.11.bb17
-rw-r--r--packages/arm-kernel-shim/files/config-dsmg600.h30
-rw-r--r--packages/arm-kernel-shim/files/config-fsg3.h30
-rw-r--r--packages/arm-kernel-shim/files/config-nas100d.h4
4 files changed, 78 insertions, 3 deletions
diff --git a/packages/arm-kernel-shim/arm-kernel-shim_1.4.11.bb b/packages/arm-kernel-shim/arm-kernel-shim_1.4.11.bb
index 3f5da24991..d75b829509 100644
--- a/packages/arm-kernel-shim/arm-kernel-shim_1.4.11.bb
+++ b/packages/arm-kernel-shim/arm-kernel-shim_1.4.11.bb
@@ -8,7 +8,10 @@ PR = "r1"
SRC_URI = "ftp://ftp.buici.com/pub/apex/apex-${PV}.tar.gz \
file://disable-commandline.patch;patch=1 \
file://config-nslu2.h \
- file://config-nas100d.h"
+ file://config-nas100d.h \
+ file://config-dmsg600.h \
+ file://config-fsg3.h"
+
S = ${WORKDIR}/apex-${PV}/arm-kernel-shim
EXTRA_OEMAKE_append = " CROSS_COMPILE=${CROSS_DIR}/bin/${HOST_PREFIX}"
@@ -24,6 +27,16 @@ oe_runmake() {
rm -f ${S}/main.o
oenote make ${PARALLEL_MAKE} TOOLS=${CROSS_DIR}/bin/${TARGET_PREFIX} PACKAGE=arm-kernel-shim-nas100d
make ${PARALLEL_MAKE} TOOLS=${CROSS_DIR}/bin/${TARGET_PREFIX} PACKAGE=arm-kernel-shim-nas100d || die "oe_runmake failed"
+ # DSMG-600
+ cp ${WORKDIR}/config-dsmg600.h ${S}/config.h
+ rm -f ${S}/main.o
+ oenote make ${PARALLEL_MAKE} TOOLS=${CROSS_DIR}/bin/${TARGET_PREFIX} PACKAGE=arm-kernel-shim-dmsg600
+ make ${PARALLEL_MAKE} TOOLS=${CROSS_DIR}/bin/${TARGET_PREFIX} PACKAGE=arm-kernel-shim-dmsg600 || die "oe_runmake failed"
+ # FSG-3
+ cp ${WORKDIR}/config-fsg3.h ${S}/config.h
+ rm -f ${S}/main.o
+ oenote make ${PARALLEL_MAKE} TOOLS=${CROSS_DIR}/bin/${TARGET_PREFIX} PACKAGE=arm-kernel-shim-fsg3
+ make ${PARALLEL_MAKE} TOOLS=${CROSS_DIR}/bin/${TARGET_PREFIX} PACKAGE=arm-kernel-shim-fsg3 || die "oe_runmake failed"
}
do_populate_staging() {
@@ -31,4 +44,6 @@ do_populate_staging() {
. ${CONFIG_SITE}
cp ${S}/arm-kernel-shim-nslu2.bin ${STAGING_LOADER_DIR}/
cp ${S}/arm-kernel-shim-nas100d.bin ${STAGING_LOADER_DIR}/
+ cp ${S}/arm-kernel-shim-dsmg600.bin ${STAGING_LOADER_DIR}/
+ cp ${S}/arm-kernel-shim-fsg3.bin ${STAGING_LOADER_DIR}/
}
diff --git a/packages/arm-kernel-shim/files/config-dsmg600.h b/packages/arm-kernel-shim/files/config-dsmg600.h
new file mode 100644
index 0000000000..b0f37b3e3b
--- /dev/null
+++ b/packages/arm-kernel-shim/files/config-dsmg600.h
@@ -0,0 +1,30 @@
+/* config.h
+
+ written by Marc Singer
+ 23 Jun 2006
+
+ Copyright (C) 2006 Marc Singer
+
+ -----------
+ DESCRIPTION
+ -----------
+
+*/
+
+#if !defined (__CONFIG_H__)
+# define __CONFIG_H__
+
+#define PHYS_PARAMS 0xc0000100 /* Address for the parameter list */
+
+#define RAM_BANK0_START 0x00000000
+#define RAM_BANK0_LENGTH 0x04000000
+
+//#define RAM_BANK1_START 0xd0000000
+//#define RAM_BANK1_LENGTH 0x10000000
+
+//#define COMMANDLINE\
+// "console=ttyAMA0 root=/dev/memblk0 rootfstype=jffs"
+
+#define MACH_TYPE 964
+
+#endif /* __CONFIG_H__ */
diff --git a/packages/arm-kernel-shim/files/config-fsg3.h b/packages/arm-kernel-shim/files/config-fsg3.h
new file mode 100644
index 0000000000..1222d959c2
--- /dev/null
+++ b/packages/arm-kernel-shim/files/config-fsg3.h
@@ -0,0 +1,30 @@
+/* config.h
+
+ written by Marc Singer
+ 23 Jun 2006
+
+ Copyright (C) 2006 Marc Singer
+
+ -----------
+ DESCRIPTION
+ -----------
+
+*/
+
+#if !defined (__CONFIG_H__)
+# define __CONFIG_H__
+
+#define PHYS_PARAMS 0xc0000100 /* Address for the parameter list */
+
+#define RAM_BANK0_START 0x00000000
+#define RAM_BANK0_LENGTH 0x04000000
+
+//#define RAM_BANK1_START 0xd0000000
+//#define RAM_BANK1_LENGTH 0x10000000
+
+//#define COMMANDLINE\
+// "console=ttyAMA0 root=/dev/memblk0 rootfstype=jffs"
+
+#define MACH_TYPE 1091
+
+#endif /* __CONFIG_H__ */
diff --git a/packages/arm-kernel-shim/files/config-nas100d.h b/packages/arm-kernel-shim/files/config-nas100d.h
index 7547061165..5f148a666a 100644
--- a/packages/arm-kernel-shim/files/config-nas100d.h
+++ b/packages/arm-kernel-shim/files/config-nas100d.h
@@ -17,7 +17,7 @@
#define PHYS_PARAMS 0xc0000100 /* Address for the parameter list */
#define RAM_BANK0_START 0x00000000
-#define RAM_BANK0_LENGTH 0x02000000
+#define RAM_BANK0_LENGTH 0x04000000
//#define RAM_BANK1_START 0xd0000000
//#define RAM_BANK1_LENGTH 0x10000000
@@ -25,6 +25,6 @@
//#define COMMANDLINE\
// "console=ttyAMA0 root=/dev/memblk0 rootfstype=jffs"
-#define MACH_TYPE 597
+#define MACH_TYPE 865
#endif /* __CONFIG_H__ */