ramips: improve compatibility for Youku YK-L2 and YK-L1 series
authorShiji Yang <yangshiji66@qq.com>
Sat, 5 Nov 2022 11:52:08 +0000 (19:52 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 12 Nov 2022 20:55:11 +0000 (21:55 +0100)
commitd2ae7613b5749e8a4b63e23c9b58eb5f5ffeed06
tree9c221f9fe09fad97fd60726805301380933d721e
parent9155d405130041e9abaf1fcbc03dd7f6746a1fc9
ramips: improve compatibility for Youku YK-L2 and YK-L1 series

Add UIMAGE_NAME and UIMAGE_MAGIC to allow users to directly install
initramfs-kernel.bin from the stock firmware Web UI. At the same time,
this change makes it possible to boot OpenWrt with the official u-boot.

Notice:
Since the stock firmware is based on OpenWrt and the configuration
will be retained by default during the upgrade process, so we must use
initramfs-kernel.bin to do a initial installation. After the system
restarts, install sysupgrade.bin and do not retain any configuration.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
(cherry picked from commit eba0a8deb65de70b0d913f9ec8910640a79d0191)
target/linux/ramips/dts/mt7620a_youku_yk-l1.dtsi
target/linux/ramips/dts/mt7621_youku_yk-l2.dts
target/linux/ramips/image/mt7620.mk
target/linux/ramips/image/mt7621.mk