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)
committerChristian Lamparter <chunkeey@gmail.com>
Fri, 9 Jun 2023 20:28:45 +0000 (22:28 +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>
package/boot/uboot-envtools/files/mediatek_filogic

index b638a65a4e8a640bdfa9d453a485852d3dadbda8..9df64791b2b7a0b9bfa3a1add1d962a55fdf55b3 100644 (file)
@@ -37,6 +37,9 @@ bananapi,bpi-r3)
                ;;
        esac
        ;;
+glinet,gl-mt3000)
+       ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x80000" "0x20000"
+       ;;
 xiaomi,redmi-router-ax6000-stock)
        ubootenv_add_uci_config "/dev/mtd1" "0x0" "0x10000" "0x20000"
        ubootenv_add_uci_sys_config "/dev/mtd2" "0x0" "0x10000" "0x20000"