Author: jow
Date: 2014-10-19 19:46:37 +0200 (Sun, 19 Oct 2014)
New Revision: 42966

Modified:
   trunk/target/linux/x86_64/image/Makefile
Log:
x86_64: use default block2mtd timeout of 5s

If the underlying block device is a USB device it might require some
time to settle, observed when booting a squashfs image from sd card
on an Alix APU board.

Signed-off-by: Jo-Philipp Wich <[email protected]>

Modified: trunk/target/linux/x86_64/image/Makefile
===================================================================
--- trunk/target/linux/x86_64/image/Makefile    2014-10-19 17:13:50 UTC (rev 
42965)
+++ trunk/target/linux/x86_64/image/Makefile    2014-10-19 17:46:37 UTC (rev 
42966)
@@ -55,15 +55,15 @@
   endef
 
   define Image/cmdline/jffs2-64k
-    block2mtd.block2mtd=$(ROOTPART),65536,rootfs root=/dev/mtdblock0 
rootfstype=jffs2 rootwait
+    block2mtd.block2mtd=$(ROOTPART),65536,rootfs,5 root=/dev/mtdblock0 
rootfstype=jffs2 rootwait
   endef
 
   define Image/cmdline/jffs2-128k
-    block2mtd.block2mtd=$(ROOTPART),131072,rootfs root=/dev/mtdblock0 
rootfstype=jffs2 rootwait
+    block2mtd.block2mtd=$(ROOTPART),131072,rootfs,5 root=/dev/mtdblock0 
rootfstype=jffs2 rootwait
   endef
 
   define Image/cmdline/squashfs
-    block2mtd.block2mtd=$(ROOTPART),65536,rootfs root=/dev/mtdblock0 
rootfstype=squashfs rootwait
+    block2mtd.block2mtd=$(ROOTPART),65536,rootfs,5 root=/dev/mtdblock0 
rootfstype=squashfs rootwait
   endef
 
   define Image/Build/grub2
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to