From 1b5ae141629d15e4c64c01ac82a374039117d69f Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Mon, 27 Mar 2017 21:47:05 +0200 Subject: [PATCH] ramips: drop rt-n56u factory image The factory image has an uImage header covering the entire image and not only the kernel. The original uImage header which covers only the kernel is appended to the end of the image. During LEDE boot the uImage rootfs splitter skips the whole filesystem, can't find a valid filesystem magic and panics. The last known working version was OpenWrt 14.07, which simply kept on searching for an uImage header if the first found didn't resulted into a working rootfs. This behaviour is kind of error prone since it could produce false positives. Since the sysupgrade image works fine in combination with the tftp recovery for doing the initial installation of LEDE, simply drop the factory image. Related: FS#462 Signed-off-by: Mathias Kresin --- target/linux/ramips/image/rt3883.mk | 2 -- 1 file changed, 2 deletions(-) diff --git a/target/linux/ramips/image/rt3883.mk b/target/linux/ramips/image/rt3883.mk index 58026891e4..973eab9a64 100644 --- a/target/linux/ramips/image/rt3883.mk +++ b/target/linux/ramips/image/rt3883.mk @@ -74,8 +74,6 @@ define Device/rt-n56u BLOCKSIZE := 64k IMAGES += factory.bin IMAGE/sysupgrade.bin += | mkrtn56uimg -s - IMAGE/factory.bin := $$(sysupgrade_bin) | \ - check-size $$$$(IMAGE_SIZE) | mkrtn56uimg -f DEVICE_TITLE := Asus RT-N56U DEVICE_PACKAGES := kmod-usb-core kmod-usb-ohci kmod-usb2 swconfig endef -- 2.30.2