aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Pavlov <AuthorReflex@gmail.com>2023-08-02 08:53:23 +0300
committerHauke Mehrtens <hauke@hauke-m.de>2023-08-14 20:08:05 +0200
commita87bc138cfccd8de06afaad81f7ba838a87fe4f8 (patch)
tree1adf495fa965954cccdc5c8e9a544d2ab247e5ea
parent54e5e396c59948224dfb8ccf7aa8afe11462f647 (diff)
uboot-envtools: add u-boot env config for Xiaomi mi-mini
Add u-boot env config for Xiaomi mi-mini for using fw_printenv and fw_setenv on this board Signed-off-by: Ivan Pavlov <AuthorReflex@gmail.com>
1 files changed, 4 insertions, 0 deletions
diff --git a/package/boot/uboot-envtools/files/ramips b/package/boot/uboot-envtools/files/ramips
index c94f8d69c7..835b4ec3e1 100644
--- a/package/boot/uboot-envtools/files/ramips
+++ b/package/boot/uboot-envtools/files/ramips
@@ -105,6 +105,10 @@ snr,cpe-w4n-mt)
[ -n "$idx" ] && \
ubootenv_add_uci_config "/dev/mtd$idx" "0x0" "0x1000" "0x1000"
;;
+xiaomi,miwifi-mini)
+ ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x1000" "0x10000"
+ ubootenv_add_uci_sys_config "/dev/mtd9" "0x0" "0x4000" "0x10000"
+ ;;
xiaomi,mi-router-3g-v2|\
xiaomi,mi-router-4a-gigabit|\
xiaomi,miwifi-3c)