1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

give Aruba some love - add support for the combined flash layout

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7283 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
kaloz
2007-05-20 18:51:23 +00:00
parent 21c566be05
commit f2146ff453
4 changed files with 14 additions and 6 deletions

View File

@@ -630,9 +630,9 @@ diff -Nur linux-2.6.17/arch/mips/aruba/prom.c linux-2.6.17-owrt/arch/mips/aruba/
+
+/* Kernel Boot parameters */
+static unsigned char bootparm[] =
+ "init=/etc/preinit "
+ "mtdparts=physmap-flash.0:3520k@0x080000(zImage),2752k@0x140000(JFFS2),8k@0x3f8000(NVRAM) "
+ "console=ttyS0,9600 root=/dev/mtdblock1 rootfstype=jffs2 ";
+ "init=/etc/preinit noinitrd "
+ "mtdparts=physmap-flash.0:3520k@0x080000(kernel),2752k@0x140000(rootfs),8k@0x3f8000(NVRAM) "
+ "console=ttyS0,9600 root=/dev/mtdblock1 rootfstype=squashfs,jffs2 ";
+
+extern unsigned long mips_machgroup;
+extern unsigned long mips_machtype;