aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJianhui Zhao <zhaojh329@gmail.com>2023-06-05 03:02:07 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2023-07-01 11:49:25 +0200
commit42c99789ac15de2d130c08347f50b80a3d038a26 (patch)
tree66335a82602ae4bf46126f837a198625cf3c7cbc
parent123afce696584a0a0088dd4c4ebe4c446774dd33 (diff)
downloadupstream-42c99789ac15de2d130c08347f50b80a3d038a26.tar.gz
upstream-42c99789ac15de2d130c08347f50b80a3d038a26.tar.bz2
upstream-42c99789ac15de2d130c08347f50b80a3d038a26.zip
uboot-envtools: Add u-boot env config for GL-MT3000
This commit add u-boot env config for GL-MT3000, so that we can use fw_printenv to print u-boot env and use fw_setenv to set u-boot env in GL-MT3000. Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com> (cherry picked from commit 6892603efa11603c6f365bee1cf94e98336d72aa)
-rw-r--r--package/boot/uboot-envtools/files/mediatek_filogic3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/boot/uboot-envtools/files/mediatek_filogic b/package/boot/uboot-envtools/files/mediatek_filogic
index 154944a8eb..881d0c4501 100644
--- a/package/boot/uboot-envtools/files/mediatek_filogic
+++ b/package/boot/uboot-envtools/files/mediatek_filogic
@@ -37,6 +37,9 @@ bananapi,bpi-r3)
;;
esac
;;
+glinet,gl-mt3000)
+ ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x80000" "0x20000"
+ ;;
netgear,wax220)
ubootenv_add_uci_config "/dev/mtd5" "0x0" "0x20000" "0x20000"
;;