[openwrt/openwrt] uboot-mediatek: move Asus ZenWiFi BT8 env file to defenvs directory
LEDE Commits
lede-commits at lists.infradead.org
Mon Jul 28 07:08:10 PDT 2025
dangole pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/4ba116c55f21c60a7513fd9dd0db75a56457df2c
commit 4ba116c55f21c60a7513fd9dd0db75a56457df2c
Author: Shiji Yang <yangshiji66 at outlook.com>
AuthorDate: Sun Jul 20 22:56:05 2025 +0800
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 <yangshiji66 at outlook.com>
---
package/boot/uboot-mediatek/patches/461-add-asus-zenwifi-bt8.patch | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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 217e381cb8..8327b6ea6e 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
More information about the lede-commits
mailing list