ramips: append tail to WF2881 initramfs image
authorSungbo Eo <mans0n@gorani.run>
Fri, 7 Feb 2020 11:26:05 +0000 (20:26 +0900)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Tue, 11 Feb 2020 14:13:52 +0000 (15:13 +0100)
commitbe3e98ce26da5e737744427e1d59dd1c0508edef
treef6b2f91459f331fc7eb2ad2feb9c3e0cefeeae7e
parentfb99ac6807f29eb5fe50271eff711e7415038731
ramips: append tail to WF2881 initramfs image

Stock firmware has a vendor-defined tail at the end of uImage for image
validation. This patch enables OpenWrt installation from stock firmware
without having to access the UART console.

Installation via web interface:
1.  Flash **initramfs** image through the stock web interface.
2.  Boot into OpenWrt and perform sysupgrade with sysupgrade image.

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
target/linux/ramips/image/mt7621.mk