openwrt-6.x/package/boot/uboot-tools/uboot-envtools/files/qualcommax_ipq60xx
Roc Lai 6fe92d97f9 Add Support For KT-AR06-012H
​​Thanks to @baalwy for his contributions.​

Link: https://github.com/LiBwrt/openwrt-6.x/issues/201
2025-09-17 23:07:35 +08:00

54 lines
1004 B
Plaintext

[ -e /etc/config/ubootenv ] && exit 0
touch /etc/config/ubootenv
. /lib/uboot-envtools.sh
. /lib/functions.sh
board=$(board_name)
case "$board" in
anysafe,e1|\
8devices,mango-dvk|\
8devices,mango-dvk-sfp|\
cambiumnetworks,xe3-4)
ubootenv_add_mtd "0:APPSBLENV" "0x0" "0x10000" "0x10000"
;;
cmiot,ax18|\
kt,ar06-012h|\
qihoo,360v6|\
redmi,ax5|\
xiaomi,ax1800|\
zn,m2|\
glinet,gl-ax1800|\
glinet,gl-axt1800|\
netgear,wax214|\
netgear,wax610|\
netgear,wax610y|\
tplink,eap610od|\
tplink,eap623od-hd-v1|\
tplink,eap625od-hd-v1)
ubootenv_add_mtd "0:appsblenv" "0x0" "0x40000" "0x20000"
;;
linksys,mr7350|\
linksys,mr7500)
ubootenv_add_mtd "u_env" "0x0" "0x40000" "0x20000"
;;
yuncore,fap650)
ubootenv_add_mtd "0:appsblenv" "0x0" "0x10000" "0x10000"
;;
jdcloud,re-ss-01|\
jdcloud,re-cs-02|\
jdcloud,re-cs-07|\
link,nn6000-v1|\
link,nn6000-v2|\
redmi,ax5-jdcloud)
ubootenv_add_mmc "0:APPSBLENV" "0x0" "0x40000" "0x20000"
;;
esac
config_load ubootenv
config_foreach ubootenv_add_app_config
exit 0