ramips: mt7621: ASUS RT-AX53U add NMBM, nest firmware
authorFelix Baumann <felix.bau@gmx.de>
Fri, 31 Mar 2023 04:16:04 +0000 (06:16 +0200)
committerFelix Baumann <felix.bau@gmx.de>
Sun, 2 Apr 2023 10:24:07 +0000 (12:24 +0200)
commitfc1750b305a991c7b263ea79ad921cb8952d8703
treed9fc610c833152236ef984d739a0cc585299c070
parent85b6a7a19590ecc0c2cd4d97c4fe764024d19676
ramips: mt7621: ASUS RT-AX53U add NMBM, nest firmware

Nests kernel and ubi into firmware partition in-order to be compatible
with OEM firmware. This allows restoring oem firmware from a backup of
firmware2. Add jffs2 partition which is present in the oem firmware.
Add support for mediatek NMBM (wear leveling on newer mediatek devices).
Exclude UBI partition from NMBM management.
Continues PR #10685.

Tested-by: Felix Baumann <felix.bau@gmx.de>
Signed-off-by: Felix Baumann <felix.bau@gmx.de>
(cherry picked from commit 787ecdf66de6798540fb8b756404566341b4733c)
target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts