Root/package/uboot-pxa/patches/001-squashfs_rootfstype_cmdline.patch

1diff --git a/include/configs/gumstix.h b/include/configs/gumstix.h
2index 319da63..5483993 100644
3--- a/include/configs/gumstix.h
4+++ b/include/configs/gumstix.h
5@@ -136,7 +136,7 @@
6 #define CONFIG_MISC_INIT_R /* misc_init_r function in gumstix sets board serial number */
7 
8 #define CONFIG_BOOTFILE boot/uImage
9-#define CONFIG_BOOTARGS "console=ttyS0,115200n8 root=1f01 rootfstype=jffs2 reboot=cold,hard"
10+#define CONFIG_BOOTARGS "console=ttyS0,115200n8 root=1f01 rootfstype=squashfs,jffs2 reboot=cold,hard"
11 #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"
12 #define CONFIG_BOOTDELAY 2 /* in seconds */
13 #define CONFIG_EXTRA_ENV_SETTINGS "verify=no"
14

Archive Download this file



interactive