From: Jo-Philipp Wich Date: Sun, 19 Oct 2014 17:46:37 +0000 (+0000) Subject: x86_64: use default block2mtd timeout of 5s X-Git-Url: https://git.archive.openwrt.org/?a=commitdiff_plain;h=fc13c5df1c7c9d4daae9a7666aaf7a4d699ade10;p=15.05%2Fopenwrt.git 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42966 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/x86_64/image/Makefile b/target/linux/x86_64/image/Makefile index aacdab0ff6..e8d9ac1158 100644 --- a/target/linux/x86_64/image/Makefile +++ b/target/linux/x86_64/image/Makefile @@ -55,15 +55,15 @@ ifneq ($(CONFIG_GRUB_IMAGES),) 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