summaryrefslogtreecommitdiff
path: root/packages/arm-kernel-shim/files
diff options
context:
space:
mode:
Diffstat (limited to 'packages/arm-kernel-shim/files')
-rw-r--r--packages/arm-kernel-shim/files/config-dsmg600.h2
-rw-r--r--packages/arm-kernel-shim/files/config-fsg3.h2
-rw-r--r--packages/arm-kernel-shim/files/config-nas100d.h6
-rw-r--r--packages/arm-kernel-shim/files/config-nslu2.h6
-rw-r--r--packages/arm-kernel-shim/files/place-boot-section.patch12
5 files changed, 20 insertions, 8 deletions
diff --git a/packages/arm-kernel-shim/files/config-dsmg600.h b/packages/arm-kernel-shim/files/config-dsmg600.h
index b0f37b3e3b..cd331159e0 100644
--- a/packages/arm-kernel-shim/files/config-dsmg600.h
+++ b/packages/arm-kernel-shim/files/config-dsmg600.h
@@ -14,7 +14,7 @@
#if !defined (__CONFIG_H__)
# define __CONFIG_H__
-#define PHYS_PARAMS 0xc0000100 /* Address for the parameter list */
+#define PHYS_PARAMS 0x00000100 /* Address for the parameter list */
#define RAM_BANK0_START 0x00000000
#define RAM_BANK0_LENGTH 0x04000000
diff --git a/packages/arm-kernel-shim/files/config-fsg3.h b/packages/arm-kernel-shim/files/config-fsg3.h
index 1222d959c2..e2cdf8abd4 100644
--- a/packages/arm-kernel-shim/files/config-fsg3.h
+++ b/packages/arm-kernel-shim/files/config-fsg3.h
@@ -14,7 +14,7 @@
#if !defined (__CONFIG_H__)
# define __CONFIG_H__
-#define PHYS_PARAMS 0xc0000100 /* Address for the parameter list */
+#define PHYS_PARAMS 0x00000100 /* Address for the parameter list */
#define RAM_BANK0_START 0x00000000
#define RAM_BANK0_LENGTH 0x04000000
diff --git a/packages/arm-kernel-shim/files/config-nas100d.h b/packages/arm-kernel-shim/files/config-nas100d.h
index 5f148a666a..4389644cf0 100644
--- a/packages/arm-kernel-shim/files/config-nas100d.h
+++ b/packages/arm-kernel-shim/files/config-nas100d.h
@@ -14,7 +14,7 @@
#if !defined (__CONFIG_H__)
# define __CONFIG_H__
-#define PHYS_PARAMS 0xc0000100 /* Address for the parameter list */
+#define PHYS_PARAMS 0x00000100 /* Address for the parameter list */
#define RAM_BANK0_START 0x00000000
#define RAM_BANK0_LENGTH 0x04000000
@@ -22,8 +22,8 @@
//#define RAM_BANK1_START 0xd0000000
//#define RAM_BANK1_LENGTH 0x10000000
-//#define COMMANDLINE\
-// "console=ttyAMA0 root=/dev/memblk0 rootfstype=jffs"
+#define COMMANDLINE\
+ "init=/linuxrc root=/dev/mtdblock2 rootfstype=jffs rw noirqdebug console=ttyS0,115200n8"
#define MACH_TYPE 865
diff --git a/packages/arm-kernel-shim/files/config-nslu2.h b/packages/arm-kernel-shim/files/config-nslu2.h
index 7547061165..2262b57668 100644
--- a/packages/arm-kernel-shim/files/config-nslu2.h
+++ b/packages/arm-kernel-shim/files/config-nslu2.h
@@ -14,7 +14,7 @@
#if !defined (__CONFIG_H__)
# define __CONFIG_H__
-#define PHYS_PARAMS 0xc0000100 /* Address for the parameter list */
+#define PHYS_PARAMS 0x00000100 /* Address for the parameter list */
#define RAM_BANK0_START 0x00000000
#define RAM_BANK0_LENGTH 0x02000000
@@ -22,8 +22,8 @@
//#define RAM_BANK1_START 0xd0000000
//#define RAM_BANK1_LENGTH 0x10000000
-//#define COMMANDLINE\
-// "console=ttyAMA0 root=/dev/memblk0 rootfstype=jffs"
+#define COMMANDLINE\
+ "init=/linuxrc root=/dev/mtdblock4 rootfstype=jffs rw noirqdebug console=ttyS0,115200n8"
#define MACH_TYPE 597
diff --git a/packages/arm-kernel-shim/files/place-boot-section.patch b/packages/arm-kernel-shim/files/place-boot-section.patch
new file mode 100644
index 0000000000..6e6c9460a5
--- /dev/null
+++ b/packages/arm-kernel-shim/files/place-boot-section.patch
@@ -0,0 +1,12 @@
+--- arm-kernel-shim-1.2/Makefile~ 2007-02-06 16:44:31.000000000 +1030
++++ arm-kernel-shim-1.2/Makefile 2007-02-06 16:56:12.000000000 +1030
+@@ -9,7 +9,8 @@
+ OBJCOPY=$(TOOLS)objcopy
+
+ CFLAGS:=-g -Os -nostartfiles -nostdlib
+-LDFLAGS:= -g -X -Map shim.map -Ttext 0
++# LDFLAGS:= -g -X -Map shim.map -Ttext 0
++LDFLAGS:= -g -X -Map shim.map -Ttext 0 --section-start .boot=1fb
+
+ SRCS:= shim.lds main.c
+ OBJS:=$(SRCS:.c=.o)