ramips: add support for read/write uboot env to Asus RX-AX53U
authorFelix Baumann <felix.bau@gmx.de>
Mon, 26 Dec 2022 20:40:43 +0000 (21:40 +0100)
committerFelix Baumann <felix.bau@gmx.de>
Sun, 2 Apr 2023 10:19:18 +0000 (12:19 +0200)
commit3014c694da6c83bba883200ae65b0350a37d7976
tree6bda1d5a15f9ff5690d3e86d2084a21abb27f3d6
parentff22a20922117efd9a0ceb44705242a2d95f577f
ramips: add support for read/write uboot env to Asus RX-AX53U

Add support for read/writing uboot env by renaming the second partition
to its stock label "nvram" and remove the deemed unnecessary
"read-only". Split the first partition "u-boot" in two, in order
to allow `fw_setenv` safe write-access to the uboot environment
variables.

This implements hauke's request from [1].
Based on the patch provided by Shiji Yang.

[1] https://github.com/openwrt/openwrt/pull/10400#discussion_r945153224

Co-Authored-By: Shiji Yang <yangshiji66@qq.com>
Signed-off-by: Felix Baumann <felix.bau@gmx.de>
[ improve commit title and description, fix some whitespace problem ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit 3f1e9f6f3b14385cab7ca6d1dcc2a4b658475bc3)
target/linux/ramips/dts/mt7621_asus_rt-ax53u.dts