projects
/
openwrt
/
staging
/
blocktrron.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54e5e39
)
uboot-envtools: add u-boot env config for Xiaomi mi-mini
author
Ivan Pavlov
<AuthorReflex@gmail.com>
Wed, 2 Aug 2023 05:53:23 +0000
(08:53 +0300)
committer
Hauke Mehrtens
<hauke@hauke-m.de>
Mon, 14 Aug 2023 18:08:05 +0000
(20:08 +0200)
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>
package/boot/uboot-envtools/files/ramips
patch
|
blob
|
history
diff --git
a/package/boot/uboot-envtools/files/ramips
b/package/boot/uboot-envtools/files/ramips
index c94f8d69c74feff2db2416c873e9060995de4143..835b4ec3e1234254f62ac0edaaa934020bdb0d9e 100644
(file)
--- 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)