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>
Fri, 21 Feb 2020 13:12:30 +0000 (14:12 +0100)
commit2d3a93335ae4ea9ca63e4bae798738b5befca440
treea905d6d93df1b72606750c0b8b6e5c19f807fefa
parent8fa6107aee1d876f187da1afdfc6a82f17f2b0e6
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>
(cherry picked from commit be3e98ce26da5e737744427e1d59dd1c0508edef)
target/linux/ramips/image/mt7621.mk