aboutsummaryrefslogtreecommitdiffstats
path: root/package
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-15 17:19:05 +0200
commit4e066f1f0bfe6d733c904b406e269764b204e4b8 (patch)
treea160b2e2584a53c4f80c3d6e0ab4ed9ba88a1ff9 /package
parent5569b92cb345bf11b7a3e3792d2c50588433c3ba (diff)
downloadupstream-4e066f1f0bfe6d733c904b406e269764b204e4b8.tar.gz
upstream-4e066f1f0bfe6d733c904b406e269764b204e4b8.tar.bz2
upstream-4e066f1f0bfe6d733c904b406e269764b204e4b8.zip
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> (cherry picked from commit a87bc138cfccd8de06afaad81f7ba838a87fe4f8)
Diffstat (limited to 'package')
-rw-r--r--package/boot/uboot-envtools/files/ramips4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/boot/uboot-envtools/files/ramips b/package/boot/uboot-envtools/files/ramips
index 5fb5c45a51..0abb5f6549 100644
--- a/package/boot/uboot-envtools/files/ramips
+++ b/package/boot/uboot-envtools/files/ramips
@@ -103,6 +103,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)