[openwrt/openwrt] uboot-envtools: Add u-boot env config for GL-MT3000

LEDE Commits lede-commits at lists.infradead.org
Sat Jul 1 02:50:14 PDT 2023


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/42c99789ac15de2d130c08347f50b80a3d038a26

commit 42c99789ac15de2d130c08347f50b80a3d038a26
Author: Jianhui Zhao <zhaojh329 at gmail.com>
AuthorDate: Mon Jun 5 03:02:07 2023 +0000

    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 at gmail.com>
    (cherry picked from commit 6892603efa11603c6f365bee1cf94e98336d72aa)
---
 package/boot/uboot-envtools/files/mediatek_filogic | 3 +++
 1 file changed, 3 insertions(+)

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"
 	;;




More information about the lede-commits mailing list