]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
qualcommax: ipq60xx: rename TP-Link EAP623-Outdoor HD v1 compatible
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Wed, 14 May 2025 16:47:23 +0000 (11:47 -0500)
committerRobert Marko <robimarko@gmail.com>
Sat, 14 Mar 2026 20:41:44 +0000 (21:41 +0100)
Originally, the .compatible string for EAP623-Outdoor HD tried to
shorten the "-outdoor" to "od". However, this naming was inconsistent
with the existing "eap610-outdoor". As "od" is not a common shorthand,
spell out the complete word: "eap623-outdoor-hd-v1".

Fixes: 5dbf93c8c5 ("ipq60xx: add support for TP-Link EAP623-Outdoor HD v1")
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/18804
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/boot/uboot-tools/uboot-envtools/files/qualcommax_ipq60xx
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6018-eap623-outdoor-hd-v1.dts [moved from target/linux/qualcommax/dts/ipq6018-eap623od-hd-v1.dts with 97% similarity]
target/linux/qualcommax/image/ipq60xx.mk
target/linux/qualcommax/ipq60xx/base-files/etc/board.d/02_network
target/linux/qualcommax/ipq60xx/base-files/etc/hotplug.d/firmware/11-ath11k-caldata
target/linux/qualcommax/ipq60xx/base-files/lib/preinit/09_mount_factory_data
target/linux/qualcommax/ipq60xx/base-files/lib/upgrade/platform.sh

index 14e8950feb9e46d89f6630c365ffd8b1a3892d70..f7eb07147f50949bb995fb1da4adbd4656d5eaec 100644 (file)
@@ -7,6 +7,12 @@ touch /etc/config/ubootenv
 
 board=$(board_name)
 
+ubootenv_add_mtd() {
+       local idx="$(find_mtd_index "${1}")"
+       [ -n "$idx" ] && \
+               ubootenv_add_uci_config "/dev/mtd$idx" "${2}" "${3}" "${4}"
+}
+
 case "$board" in
 8devices,mango-dvk|\
 8devices,mango-dvk-sfp|\
@@ -25,7 +31,7 @@ netgear,wax214|\
 netgear,wax610|\
 netgear,wax610y|\
 tplink,eap610-outdoor|\
-tplink,eap623od-hd-v1|\
+tplink,eap623-outdoor-hd-v1|\
 tplink,eap620-hd-v3|\
 tplink,eap625-outdoor-hd-v1)
        ubootenv_add_mtd "0:appsblenv" "0x0" "0x40000" "0x20000"
similarity index 97%
rename from target/linux/qualcommax/dts/ipq6018-eap623od-hd-v1.dts
rename to target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq6018-eap623-outdoor-hd-v1.dts
index f54593a08bf0dae748673fd6d58e19dc070d599e..3aaa32e827b784b965495cf35af51e9c3468a8d6 100644 (file)
@@ -12,7 +12,7 @@
 
 / {
        model = "TP-Link EAP623-Outdoor HD V1.0";
-       compatible = "tplink,eap623od-hd-v1", "qcom,ipq6018";
+       compatible = "tplink,eap623-outdoor-hd-v1", "qcom,ipq6018";
 
        aliases {
                serial0 = &blsp1_uart3;
index bef95ecd4c30fdb397f785f51b8a54ae29e1838a..5319dfc00f61ff745d3d0f34bc930645cc2b5f72 100644 (file)
@@ -252,7 +252,7 @@ define Device/tplink_eap610-outdoor
 endef
 TARGET_DEVICES += tplink_eap610-outdoor
 
-define Device/tplink_eap623od-hd-v1
+define Device/tplink_eap623-outdoor-hd-v1
        $(call Device/FitImage)
        $(call Device/UbiFit)
        DEVICE_VENDOR := TP-Link
@@ -266,7 +266,7 @@ define Device/tplink_eap623od-hd-v1
        IMAGE/web-ui-factory.bin := append-ubi | tplink-image-2022
        TPLINK_SUPPORT_STRING := SupportList:\r\nEAP623-Outdoor HD(TP-Link|UN|AX1800-D):1.0\r\n
 endef
-TARGET_DEVICES += tplink_eap623od-hd-v1
+TARGET_DEVICES += tplink_eap623-outdoor-hd-v1
 
 define Device/tplink_eap625-outdoor-hd-v1
        $(call Device/FitImage)
index 67ac532602ad85320bc3fda71fb13fca2c1e797d..558c68dacc097f1339c59ba6c1d91089e812dc6a 100644 (file)
@@ -41,8 +41,8 @@ ipq60xx_setup_interfaces()
        netgear,wax610|\
        netgear,wax610y|\
        tplink,eap610-outdoor|\
-       tplink,eap623od-hd-v1|\
        tplink,eap620-hd-v3|\
+       tplink,eap623-outdoor-hd-v1|\
        tplink,eap625-outdoor-hd-v1)
                ucidef_set_interface_lan "lan" "dhcp"
                ;;
@@ -70,7 +70,7 @@ ipq60xx_setup_macs()
                ;;
        tplink,eap610-outdoor|\
        tplink,eap620-hd-v3|\
-       tplink,eap623od-hd-v1|\
+       tplink,eap623-outdoor-hd-v1|\
        tplink,eap625-outdoor-hd-v1)
                label_mac=$(get_mac_binary /tmp/factory_data/default-mac 0)
                lan_mac=$label_mac
index 77587aeca4547563e7a212529100ad403c63eb9d..14ab459e66436790b5ff9052f178054877500283 100644 (file)
@@ -70,7 +70,7 @@ case "$FIRMWARE" in
                ath11k_set_macflag
                ;;
        tplink,eap610-outdoor|\
-       tplink,eap623od-hd-v1|\
+       tplink,eap623-outdoor-hd-v1|\
        tplink,eap625-outdoor-hd-v1)
                caldata_from_file "/tmp/factory_data/radio" 0 0x10000
                label_mac=$(get_mac_binary /tmp/factory_data/default-mac 0)
index 09ca32f08c4371928619b989820929e819058acf..fbd294f33325f75e6dcdd441b023b140d16eab12 100644 (file)
@@ -9,7 +9,7 @@ preinit_mount_factory_data() {
        case $(board_name) in
        tplink,eap610-outdoor|\
        tplink,eap620-hd-v3|\
-       tplink,eap623od-hd-v1|\
+       tplink,eap623-outdoor-hd-v1|\
        tplink,eap625-outdoor-hd-v1)
                mtd_path=$(find_mtd_chardev "factory_data")
                ubiattach --dev-path="$mtd_path" --devn=1
index 789f88c4bf1fa5ce013a5518bbf9a5daa7b5a90e..3cfd935431e75ece3ab326bace25b9511ab2bedf 100644 (file)
@@ -205,7 +205,7 @@ platform_do_upgrade() {
                ;;
        tplink,eap610-outdoor|\
        tplink,eap620-hd-v3|\
-       tplink,eap623od-hd-v1|\
+       tplink,eap623-outdoor-hd-v1|\
        tplink,eap625-outdoor-hd-v1)
                tplink_do_upgrade "$1"
                ;;