From: Shiji Yang Date: Sun, 20 Jul 2025 14:56:05 +0000 (+0800) Subject: uboot-mediatek: move Asus ZenWiFi BT8 env file to defenvs directory X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ba116c55f21c60a7513fd9dd0db75a56457df2c;p=thirdparty%2Fopenwrt.git uboot-mediatek: move Asus ZenWiFi BT8 env file to defenvs directory The popular Mediatek target has many u-boot modified devices. This change can keep the u-boot source code tidy. Signed-off-by: Shiji Yang --- diff --git a/package/boot/uboot-mediatek/patches/461-add-asus-zenwifi-bt8.patch b/package/boot/uboot-mediatek/patches/461-add-asus-zenwifi-bt8.patch index 217e381cb88..8327b6ea6ed 100644 --- a/package/boot/uboot-mediatek/patches/461-add-asus-zenwifi-bt8.patch +++ b/package/boot/uboot-mediatek/patches/461-add-asus-zenwifi-bt8.patch @@ -80,7 +80,7 @@ +CONFIG_ENV_UBI_VOLUME_REDUND="ubootenv2" +CONFIG_SYS_RELOC_GD_ENV_ADDR=y +CONFIG_USE_DEFAULT_ENV_FILE=y -+CONFIG_DEFAULT_ENV_FILE="asus_zenwifi-bt8_env" ++CONFIG_DEFAULT_ENV_FILE="defenvs/asus_zenwifi-bt8_env" +CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y +CONFIG_VERSION_VARIABLE=y +CONFIG_NETCONSOLE=y @@ -132,7 +132,7 @@ +CONFIG_ZSTD=y +CONFIG_HEXDUMP=y --- /dev/null -+++ b/asus_zenwifi-bt8_env ++++ b/defenvs/asus_zenwifi-bt8_env @@ -0,0 +1,56 @@ +ethaddr_factory=ubi read 0x46000000 factory && env readmem -b ethaddr 0x46000004 0x6 ; setenv ethaddr_factory +ipaddr=192.168.1.1