diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-10-03 16:14:21 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-10-03 16:14:21 +0000 |
commit | d42a6b6d3aa74b10a4dd395b5b297991178117ae (patch) | |
tree | cab7a9f9881069500df0ffcf28e83246e40113bf /package/uboot-pxa/patches | |
parent | f538d04c12e39cd6a3f461b62374c74c07998375 (diff) | |
download | upstream-d42a6b6d3aa74b10a4dd395b5b297991178117ae.tar.gz upstream-d42a6b6d3aa74b10a4dd395b5b297991178117ae.tar.bz2 upstream-d42a6b6d3aa74b10a4dd395b5b297991178117ae.zip |
[package] add uboot-pxa for Gumstix boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33608 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/uboot-pxa/patches')
-rw-r--r-- | package/uboot-pxa/patches/001-squashfs_rootfstype_cmdline.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/package/uboot-pxa/patches/001-squashfs_rootfstype_cmdline.patch b/package/uboot-pxa/patches/001-squashfs_rootfstype_cmdline.patch new file mode 100644 index 0000000000..cfef66b8f9 --- /dev/null +++ b/package/uboot-pxa/patches/001-squashfs_rootfstype_cmdline.patch @@ -0,0 +1,13 @@ +diff --git a/include/configs/gumstix.h b/include/configs/gumstix.h +index 319da63..5483993 100644 +--- a/include/configs/gumstix.h ++++ b/include/configs/gumstix.h +@@ -136,7 +136,7 @@ + #define CONFIG_MISC_INIT_R /* misc_init_r function in gumstix sets board serial number */ + + #define CONFIG_BOOTFILE boot/uImage +-#define CONFIG_BOOTARGS "console=ttyS0,115200n8 root=1f01 rootfstype=jffs2 reboot=cold,hard" ++#define CONFIG_BOOTARGS "console=ttyS0,115200n8 root=1f01 rootfstype=squashfs,jffs2 reboot=cold,hard" + #define CONFIG_BOOTCOMMAND "icache on; setenv stderr nulldev; setenv stdout nulldev; if pinit on && fatload ide 0 a2000000 gumstix-factory.script; then setenv stdout serial; setenv stderr serial; echo Found gumstix-factory.script on CF...; autoscr; else if mmcinit && fatload mmc 0 a2000000 gumstix-factory.script; then setenv stdout serial; setenv stderr serial; echo Found gumstix-factory.script on MMC...; autoscr; else setenv stdout serial; setenv stderr serial; katload 100000 && bootm; fi; fi" + #define CONFIG_BOOTDELAY 2 /* in seconds */ + #define CONFIG_EXTRA_ENV_SETTINGS "verify=no" |