summaryrefslogtreecommitdiff
path: root/target/linux/ramips/image/rt3883.mk
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-03-27 21:47:05 +0200
committerMathias Kresin <dev@kresin.me>2017-04-13 08:18:57 +0200
commit1b5ae141629d15e4c64c01ac82a374039117d69f (patch)
treec6e4bf3f8b3eec2ddf7a390ec4f9472cd8463b29 /target/linux/ramips/image/rt3883.mk
parent7ae58bebc811a0ac6734405e9bc47533939d61d7 (diff)
downloadmtk-20170518-1b5ae141629d15e4c64c01ac82a374039117d69f.zip
mtk-20170518-1b5ae141629d15e4c64c01ac82a374039117d69f.tar.gz
mtk-20170518-1b5ae141629d15e4c64c01ac82a374039117d69f.tar.bz2
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@kresin.me>
Diffstat (limited to 'target/linux/ramips/image/rt3883.mk')
-rw-r--r--target/linux/ramips/image/rt3883.mk2
1 files changed, 0 insertions, 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