[source] ramips: drop rt-n56u factory image

LEDE Commits lede-commits at lists.infradead.org
Wed Apr 12 23:22:20 PDT 2017


mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/1b5ae141629d15e4c64c01ac82a374039117d69f

commit 1b5ae141629d15e4c64c01ac82a374039117d69f
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Mon Mar 27 21:47:05 2017 +0200

    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 <dev at kresin.me>
---
 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 5802689..973eab9 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



More information about the lede-commits mailing list