ramips: drop rt-n56u factory image
authorMathias Kresin <dev@kresin.me>
Mon, 27 Mar 2017 19:47:05 +0000 (21:47 +0200)
committerMathias Kresin <dev@kresin.me>
Thu, 13 Apr 2017 06:18:57 +0000 (08:18 +0200)
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 <dev@kresin.me>
target/linux/ramips/image/rt3883.mk

index 58026891e4276d08cca15f905d1dca77b6c6b43b..973eab9a64901c8320707de09521729251d20932 100644 (file)
@@ -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