uboot-envtools: Add u-boot env config for GL-MT3000
authorJianhui Zhao <zhaojh329@gmail.com>
Mon, 5 Jun 2023 03:02:07 +0000 (03:02 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 1 Jul 2023 09:49:25 +0000 (11:49 +0200)
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)

package/boot/uboot-envtools/files/mediatek_filogic

index 154944a8ebb7390532cdc6b1f505cb4011a023c4..881d0c45011a97f57c00edcda919b42d78633a36 100644 (file)
@@ -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"
        ;;