Skip to content
成功

変更履歴

概要

  1. airoha: add nodes for 3rd PCIe line for AN7581 (commit: 2fae199) (details)
  2. ipq40xx: remove ethernet0 alias for Netgear LBR20 (commit: 66169b1) (details)
  3. ipq40xx: improve Netgear LBR20 LED config (commit: aa0c78f) (details)
  4. ipq40xx: fix sysupgrade image for Netgear LBR20 (commit: 89f3c51) (details)
  5. realtek: pcs: rtl930x: import SerDes setup code from PHY driver (commit: 9e0cba5) (details)
  6. realtek: pcs: rtl930x: use regmap for register access (commit: d877600) (details)
  7. realtek: dsa,pcs: rtl930x: let PCS driver setup SerDes (commit: 017fc35) (details)
  8. wifi-scripts: ucode: fix check for empty crypto object while scanning (commit: 66e5e96) (details)
  9. realtek: rtl838x: fix regression in enable_phy_polling (commit: 93ba35f) (details)
  10. airoha: add pending patch for USB support on AN7581 (commit: 7afc2da) (details)
  11. airoha: an7581: add USB nodes (commit: 3db72b7) (details)
  12. airoha: an7581: correctly attach the USB2 PHY for 3rd PCIe line (commit: 3ba92e0) (details)
  13. airoha: an7581: enable USB node on eMMC RFB board (commit: 6d51c80) (details)
  14. Revert "toolchain: fortify-headers: Fix build of some packages" (commit: ab221cf) (details)
  15. Revert "toolchain: fortify-headers: Update to version 2.3.3" (commit: fbe2ad6) (details)
  16. Revert "elfutils: add compatibility with new fortify-headers" (commit: 677c5c3) (details)
  17. airoha: adjust and default the loadaddr (commit: fed2d31) (details)
  18. airoha: Add missing board files for EN7581 (commit: 738eacb) (details)
  19. airoha: backport minor fixes for NPU handling (commit: 83eacb6) (details)
  20. kernel: rtl8261n: Correct serdes global config register (commit: bd180e8) (details)
  21. kernel: rtl8261n: Add support for Serdes RX swap (commit: 2b773bd) (details)
  22. ucode-mod-uline: drop usage of AUTORELEASE (commit: be3722d) (details)
  23. cli: drop usage of AUTORELEASE (commit: 736494d) (details)
  24. provision: drop usage of AUTORELEASE (commit: 6a88ab5) (details)
  25. unetmsg: drop usage of AUTORELEASE (commit: afb83c8) (details)
  26. uboot-bmips: drop usage of AUTORELEASE (commit: b9c755c) (details)
  27. uboot-bcm53xx: drop usage of AUTORELEASE (commit: af22235) (details)
  28. rules.mk: add DEPRECATION NOTICE for AUTORELEASE (commit: a0b8243) (details)
  29. Revert "sdk: use git-src-full to allow Git versioning" (commit: b915eba) (details)
  30. ipq40xx: add support for ASUS Lyra Mini (MAP-AC1300) (commit: 120b70a) (details)
  31. airoha: support openwrt,netdev-name for renaming interfaces (commit: 130306f) (details)
コミット 2fae199953b025449d4143e85f2ab278b27afe3d by ansuelsmth
airoha: add nodes for 3rd PCIe line for AN7581

Some SoC might use the Serdes for the second USB port as a 3rd PCIe
line (with the SSTR register correctly setup).

Add the node for the 3rd PCIe card and enable for the eMMC RFB board.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(commit: 2fae199)
The file was modifiedtarget/linux/airoha/dts/an7581-evb-emmc.dts (diff)
The file was modifiedtarget/linux/airoha/dts/an7581.dtsi (diff)
コミット 66169b19c781afa530dd7ee71ae773ce7d51733e by robimarko
ipq40xx: remove ethernet0 alias for Netgear LBR20

This will remove the ethernet0 alias and TODO as setting the LAN MAC via
nvmem to gmac0 will set the correct mac to the switch.

Signed-off-by: Christoph Krapp <achterin@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20558
Signed-off-by: Robert Marko <robimarko@gmail.com>
(commit: 66169b1)
The file was modifiedtarget/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-lbr20.dts (diff)
コミット aa0c78f898ec0097377ae5e293b3233ac3c85204 by robimarko
ipq40xx: improve Netgear LBR20 LED config

This aligns the LED behaviour with other Orbi devices. Orbi devices have
multiple RBG LEDs at the top of the device and two status LEDs at the
back next to the barrel jack.
The current behaviour of other Orbi devices is to use the multi-color
LEDs at the top for status indication and the green/red LEDs at the back
for running/panic-indication. This matches the vendor behaviour except
the color choice.
Other devices use green as running, blue on upgrade, red on failsafe and
white on bootup, so this aligns the LBR20 behaviour to the rest.

Signed-off-by: Christoph Krapp <achterin@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20558
Signed-off-by: Robert Marko <robimarko@gmail.com>
(commit: aa0c78f)
The file was modifiedtarget/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-lbr20.dts (diff)
コミット 89f3c51e88bf50dc67ab296042cae7cb5f5831f4 by robimarko
ipq40xx: fix sysupgrade image for Netgear LBR20

This fixes the sysupgrade image generation for the LBR20 as before
updating resulted in a brick which needed to be recovered using
nmrpflash.

UART log of a bricked unit:
Loading DNI firmware for checking...
Loading firmware 1 ...

NAND read: device 0 offset 0xa600000, size 0x20000
131072 bytes read: OK

NAND read: device 0 offset 0xa600000, size 0x380000
3670016 bytes read: OK
rootfs imge header corrupted !
Loading firmware 2 ...

NAND read: device 0 offset 0xa600000, size 0x20000
131072 bytes read: OK

NAND read: device 0 offset 0xa600000, size 0x380000
3670016 bytes read: OK
rootfs imge header corrupted !

Comparing the partition contents of a bricked and a working unit showed
that on the bricked one the fake uImage header was missing. The UBI
partition also showed significant changes. Both are fixed when the
base DniImage receipt is used.

Signed-off-by: Christoph Krapp <achterin@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20558
Signed-off-by: Robert Marko <robimarko@gmail.com>
(commit: 89f3c51)
The file was modifiedtarget/linux/ipq40xx/image/generic.mk (diff)
コミット 9e0cba597ac78a4e4a190ea840f680362193ee87 by robimarko
realtek: pcs: rtl930x: import SerDes setup code from PHY driver

Import SerDes configuration code from PHY driver into the PCS driver.
Only do mandatory adjustments, rename the function to adhere to the
naming scheme, adjust all SerDes access calls.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20539
Signed-off-by: Robert Marko <robimarko@gmail.com>
(commit: 9e0cba5)
The file was modifiedtarget/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c (diff)
コミット d877600aef4a565e82a472c93ec9343d619b4fc4 by robimarko
realtek: pcs: rtl930x: use regmap for register access

Use regmap to access registers in the global register space so we don't
have to use the old macros sw_r32/sw_w32 anymore.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20539
Signed-off-by: Robert Marko <robimarko@gmail.com>
(commit: d877600)
The file was modifiedtarget/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c (diff)
コミット 017fc35b52dae306941959287eefe4dea941116a by robimarko
realtek: dsa,pcs: rtl930x: let PCS driver setup SerDes

Remove SerDes initialization/configuration calls from the DSA driver in
'rtl93xx_phylink_mac_config' and let our PCS driver setup the SerDes now
that the driver is able to do that.

Adjust some details in rtl93xx_phylink_mac_config to ensure the MAC is
properly disabled MAC before configuring the SerDes. This was done
within the SerDes code before.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20539
Signed-off-by: Robert Marko <robimarko@gmail.com>
(commit: 017fc35)
The file was modifiedtarget/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/dsa.c (diff)
The file was modifiedtarget/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c (diff)
コミット 66e5e9671f8c02319109ba3391e355ccce98003f by robimarko
wifi-scripts: ucode: fix check for empty crypto object while scanning

it can be empty

Signed-off-by: Leon M. Busch-George <leon@georgemail.eu>
Link: https://github.com/openwrt/openwrt/pull/20526
Signed-off-by: Robert Marko <robimarko@gmail.com>
(commit: 66e5e96)
The file was modifiedpackage/network/config/wifi-scripts/files-ucode/usr/bin/iwinfo (diff)
コミット 93ba35fa7d537088ac81bce3435f8de049e0189b by robimarko
realtek: rtl838x: fix regression in enable_phy_polling

Fix regression from back when support for RTL930x was added.
While at it replace 0x8000 by BIT(15).

Fixes: 27029277f98ddd0006175bdc5beec8b0b150f187

Tested-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Signed-off-by: Felix Baumann <felix.bau@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/20549
Signed-off-by: Robert Marko <robimarko@gmail.com>
(commit: 93ba35f)
The file was modifiedtarget/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/dsa.c (diff)
コミット 7afc2da3fcc01a3932829ed4fb3ced6876b71846 by ansuelsmth
airoha: add pending patch for USB support on AN7581

Add pending patch for USB support on AN7581 SoC. This is also required
to make operational the 3rd PCIe line that use the USB2 Serdes for PCIe
operations.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(commit: 7afc2da)
The file was addedtarget/linux/airoha/patches-6.12/220-04-dt-bindings-soc-Add-bindings-for-Airoha-SCU-Serdes-l.patch
The file was addedtarget/linux/airoha/patches-6.12/220-08-usb-host-add-ARCH_AIROHA-in-XHCI-MTK-dependency.patch
The file was addedtarget/linux/airoha/patches-6.12/220-10-PCI-mediatek-gen3-set-PHY-mode-for-Airoha-EN7581.patch
The file was addedtarget/linux/airoha/patches-6.12/220-05-dt-bindings-phy-Add-documentation-for-Airoha-AN7581-.patch
The file was addedtarget/linux/airoha/patches-6.12/220-06-phy-move-Airoha-PCIe-PHY-driver-to-dedicated-directo.patch
The file was addedtarget/linux/airoha/patches-6.12/220-07-phy-airoha-Add-support-for-Airoha-AN7581-USB-PHY.patch
コミット 3db72b71d1929e27068bf927e8e09200e190464d by ansuelsmth
airoha: an7581: add USB nodes

Add USB nodes to AN7581 DTSI, disabled by default.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(commit: 3db72b7)
The file was modifiedtarget/linux/airoha/dts/an7581.dtsi (diff)
コミット 3ba92e0e3268c07859859968368602d2dc758148 by ansuelsmth
airoha: an7581: correctly attach the USB2 PHY for 3rd PCIe line

The 3rd PCIe line use the USB2 serdes for PCIe operation. Correctly set
it to the DT node so that the mode can be correctly set in the PHY
driver.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(commit: 3ba92e0)
The file was modifiedtarget/linux/airoha/dts/an7581.dtsi (diff)
コミット 6d51c80424b93b6aebacf4c47ad74597e450c8bd by ansuelsmth
airoha: an7581: enable USB node on eMMC RFB board

Enable USB node on eMMC RFB board and disable USB2 3.0 port to make the
3rd PCIe line correctly work.

This is needed to prevent the xHCI driver to mess with PCIe by
configuring the USB2 3.0 port. Port will still be detected but won't be
configureed by the driver and won't have PHY to configure for.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(commit: 6d51c80)
The file was modifiedtarget/linux/airoha/dts/an7581-evb-emmc.dts (diff)
コミット ab221cfcd93ac825c935ff020ee6d883b98e83a8 by hauke
Revert "toolchain: fortify-headers: Fix build of some packages"

This reverts commit 61f16a6960be0ed9d8d173796fcb4dd633eea317.

The new fortify-headers version needs some more work to be usable in
OpenWrt. Revert this to fix the builds again.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(commit: ab221cf)
The file was removedtoolchain/fortify-headers/patches/011-Check-if-FORTIFY_USE_NATIVE_CHK-is-defined.patch
The file was removedtoolchain/fortify-headers/patches/013-fortify-headers-Remove-__fh_has_builtin.patch
The file was removedtoolchain/fortify-headers/patches/012-poll-Check-if-_REDIR_TIME64-is-defined.patch
コミット fbe2ad6c60709aa5379e227d10a6f3e0e711c84b by hauke
Revert "toolchain: fortify-headers: Update to version 2.3.3"

This reverts commit 6268692bd2bf25a5105c074648f7c899624ecfd7.

The new fortify-headers version needs some more work to be usable in
OpenWrt. Revert this to fix the builds again.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(commit: fbe2ad6)
The file was modifiedtoolchain/fortify-headers/patches/002-strings.h-add-__extension__-mark.patch (diff)
The file was addedtoolchain/fortify-headers/patches/001-__ppoll_time64.patch
The file was modifiedtoolchain/fortify-headers/Makefile (diff)
コミット 677c5c3b0d62e33c49b28f8e66a30f948d356cd9 by hauke
Revert "elfutils: add compatibility with new fortify-headers"

This reverts commit 096739a93d16fa8a923d3f80e1a9c570be5d38d2.

The new fortify-headers version needs some more work to be usable in
OpenWrt. Revert this to fix the builds again.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(commit: 677c5c3)
The file was modifiedpackage/libs/elfutils/Makefile (diff)
コミット fed2d313436e76eb1c1d7ac9f49e09dc1e611008 by ansuelsmth
airoha: adjust and default the loadaddr

Similar to e92b153e99 ("mediatek: introduce KERNEL_LOADADDR to Device/Default template"),
let's move the default loadaddr to Device/Default.

What's more, use 0x80200000 instead of the SDK default value 0x80088000
to avoid the following error which may overwrite TZ memory and cause crash:

    [    0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
    [    0.000000] OF: reserved mem: Reserved memory: failed to reserve memory for node 'atf@80000000': base 0x0000000080000000, size 2 MiB

Signed-off-by: Ziyang Huang <hzyitc@outlook.com>
[ fix spelling mistake ]
Link: https://github.com/openwrt/openwrt/pull/20470
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(commit: fed2d31)
The file was modifiedtarget/linux/airoha/image/an7581.mk (diff)
The file was modifiedtarget/linux/airoha/image/en7523.mk (diff)
The file was modifiedtarget/linux/airoha/image/Makefile (diff)
コミット 738eacb9a00dc813e0c81691f1ca757de0e01e6b by ansuelsmth
airoha: Add missing board files for EN7581

Add missing leds and network board files for EN7581 SoC.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
[ drop reference to downstream 10g RFB board ]
Link: https://github.com/openwrt/openwrt/pull/20556
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(commit: 738eacb)
The file was addedtarget/linux/airoha/an7581/base-files/etc/board.d/02_network
The file was addedtarget/linux/airoha/an7581/base-files/etc/board.d/01_leds
コミット 83eacb6ab0596634131aa90510e52159cef08b93 by ansuelsmth
airoha: backport minor fixes for NPU handling

Backport upstream minor fixed for NPU handling that might result in
kernel panic or handle leak.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(commit: 83eacb6)
The file was addedtarget/linux/airoha/patches-6.12/104-6.19-net-airoha-Fix-a-copy-and-paste-bug-in-probe.patch
The file was modifiedtarget/linux/airoha/patches-6.12/116-06-net-airoha-add-initial-fixup-for-GDM3-4-port-support.patch (diff)
The file was addedtarget/linux/airoha/patches-6.12/105-6.17-net-airoha-Get-rid-of-dma_sync_single_for_device-in-.patch
The file was modifiedtarget/linux/airoha/patches-6.12/116-02-net-airoha-deassert-XSI-line-on-hw-init.patch (diff)
The file was modifiedtarget/linux/airoha/patches-6.12/116-03-net-airoha-add-reference-for-SPORT-GDM4-in-qdma_get_.patch (diff)
The file was modifiedtarget/linux/airoha/patches-6.12/116-10-net-airoha-add-phylink-support-for-GDM2-4.patch (diff)
The file was modifiedtarget/linux/airoha/patches-6.12/606-net-airoha-disable-external-phy-code-if-PCS_AIROHA-i.patch (diff)
The file was modifiedtarget/linux/airoha/patches-6.12/604-02-net-ethernet-airoha-define-sport-value-for-GDM3.patch (diff)
The file was addedtarget/linux/airoha/patches-6.12/106-6.16-net-airoha-fix-potential-use-after-free-in-airoha_np.patch
The file was modifiedtarget/linux/airoha/patches-6.12/116-07-airoha-ethernet-drop-xsi-mac-reset.patch (diff)
コミット bd180e8905fbcc70c7c2a1ae9d50ed22c63fe596 by ansuelsmth
kernel: rtl8261n: Correct serdes global config register

Fix typo in register for the serdes global config.

Fixes: ddb0cd276cff ("kernel: rtl8261n: add support for Serdes TX swap")
Signed-off-by: Richard Huynh <voxlympha@gmail.com>
[ add commit description ]
Link: https://github.com/openwrt/openwrt/pull/20465
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(commit: bd180e8)
The file was modifiedtarget/linux/generic/files/drivers/net/phy/rtl8261n/rtk_phy.c (diff)
コミット 2b773bddeb7695076691e3247efcf0b604a2154a by ansuelsmth
kernel: rtl8261n: Add support for Serdes RX swap

Datasheet claims this register bit is supposed to be set by default,
however it was found in practice to not be, and OEM drivers would set
this bit at the same time.

Signed-off-by: Richard Huynh <voxlympha@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20465
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(commit: 2b773bd)
The file was modifiedtarget/linux/generic/files/drivers/net/phy/rtl8261n/rtk_phylib.h (diff)
The file was modifiedtarget/linux/generic/files/drivers/net/phy/rtl8261n/rtk_phy.c (diff)
コミット be3722d86b08e116a371a127c3804fcafde623ab by ansuelsmth
ucode-mod-uline: drop usage of AUTORELEASE

AUTORELEASE has been deprecated from a long time. Drop it and hardcode
the release following the current one present in the downloads
repository.

Link: https://github.com/openwrt/openwrt/pull/20586
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(commit: be3722d)
The file was modifiedpackage/utils/ucode-mod-uline/Makefile (diff)
コミット 736494deeca2da5f17ee244cb8440856ce4d7ce4 by ansuelsmth
cli: drop usage of AUTORELEASE

AUTORELEASE has been deprecated from a long time. Drop it and hardcode
the release following the current one present in the downloads
repository.

Link: https://github.com/openwrt/openwrt/pull/20586
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(commit: 736494d)
The file was modifiedpackage/utils/cli/Makefile (diff)
コミット 6a88ab5685b8ac11e377047db9cd97ad3fec12f7 by ansuelsmth
provision: drop usage of AUTORELEASE

AUTORELEASE has been deprecated from a long time. Drop it and hardcode
the release following the current one present in the downloads
repository.

Link: https://github.com/openwrt/openwrt/pull/20586
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(commit: 6a88ab5)
The file was modifiedpackage/utils/provision/Makefile (diff)
コミット afb83c81977220e86352f6868865dc3a69fc5f47 by ansuelsmth
unetmsg: drop usage of AUTORELEASE

AUTORELEASE has been deprecated from a long time. Drop it and hardcode
the release following the current one present in the downloads
repository.

Link: https://github.com/openwrt/openwrt/pull/20586
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(commit: afb83c8)
The file was modifiedpackage/network/services/unetmsg/Makefile (diff)
コミット b9c755c838035e65623ef846ab0061d4633c1078 by ansuelsmth
uboot-bmips: drop usage of AUTORELEASE

AUTORELEASE has been deprecated from a long time. Drop it and hardcode
the release following the current one present in the downloads
repository.

Link: https://github.com/openwrt/openwrt/pull/20586
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(commit: b9c755c)
The file was modifiedpackage/boot/uboot-bmips/Makefile (diff)
コミット af22235b7924cd063aade301dfe707b6c0e0ad62 by ansuelsmth
uboot-bcm53xx: drop usage of AUTORELEASE

AUTORELEASE has been deprecated from a long time. Drop it and hardcode
the release following the current one present in the downloads
repository.

Link: https://github.com/openwrt/openwrt/pull/20586
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(commit: af22235)
The file was modifiedpackage/boot/uboot-bcm53xx/Makefile (diff)
コミット a0b82434ab92f0f49e4c9fa9c18eb8caf1c212bf by ansuelsmth
rules.mk: add DEPRECATION NOTICE for AUTORELEASE

Add DEPRECATION NOTICE for AUTORELEASE to signal that any usage of this
should be dropped and fixed.

The macro is still defined for legacy reason but we at least dropped any
usage of it in both main and feeds.

Link: https://github.com/openwrt/openwrt/pull/20586
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(commit: a0b8243)
The file was modifiedrules.mk (diff)
コミット b915eba9a9956cbfaa9db6193aa49ce744dffcf3 by ansuelsmth
Revert "sdk: use git-src-full to allow Git versioning"

This reverts commit f795ecc0ddb40a3d796e6faaa177b545923efc70.

Now that AUTORELEASE has been dropped from main, we can go back on
shallow clone it for faster SDK usage.

Link: https://github.com/openwrt/openwrt/pull/20586
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(commit: b915eba)
The file was modifiedtarget/sdk/Makefile (diff)
コミット 120b70a6e267a23cc7675703b311a62769abe334 by robimarko
ipq40xx: add support for ASUS Lyra Mini (MAP-AC1300)

The device is the little brother of the already supported ASUS Lyra but
with the flash configuration/layout of the RT-AC58U.

Hardware
--------
SOC:    Qualcomm IPQ4019
FLASH:  2MB (Macronix MX25L1606E)
        128MB (GigaDevice GD5F1GQ4UCYIG)
RAM:    256MB (Nanya NT5CC128M16IP-DI)
WIFI:   Qualcomm IPQ4019
BT:     Atheros AR3012-BL3D
ETH:    1x WAN, 1x LAN
LED:    1 RBG LED
BTN:    WPS, Reset
UART:   115200 8N1 (square pin = VCC) VCC-TX-RX-GND

MAC addresses
-------------
LAN     2.4G + 1
WAN     2.4G + 3
2.4G    Label MAC (stored in factory offset 0x1006)
5G      2.4G + 2 (stored in factory offset 0x5006)

Installation
------------
SSH
---
1. Reset the device, setup and enable SSH.
2. Transfer initramfs.itb to /tmp on the device.
3. SSH into the router, credentials are the same as in the web ui.
4. Write initramfs to linux partition:
   mtd-write -d linux -i initramfs.itb
5. Reboot and wait for OpenWrt to boot.
6. Transfer sysupgrade.bin to /tmp on the device.
7. SSH into the router, user root, no pw.
8. Delete jffs2 ubi partition:
   ubirmvol /dev/ubi0 --name=jffs2
9. Flash OpenWrt:
   sysupgrade -n sysupgrade.bin

Signed-off-by: Christoph Krapp <achterin@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/20573
Signed-off-by: Robert Marko <robimarko@gmail.com>
(commit: 120b70a)
The file was addedtarget/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4018-map-ac1300.dts
The file was modifiedtarget/linux/ipq40xx/image/generic.mk (diff)
The file was modifiedtarget/linux/ipq40xx/base-files/etc/board.d/02_network (diff)
The file was modifiedtarget/linux/ipq40xx/base-files/lib/upgrade/platform.sh (diff)
コミット 130306fab93656865178c5a9d40a08885f9d70d6 by robimarko
airoha: support openwrt,netdev-name for renaming interfaces

Add support to the airoha target for the OpenWrt-specific DT property
`openwrt,netdev-name`. In particular, this is for interfaces under
non-DSA `airoha_eth` interfaces.

This will avoid conflicts with upstream code[1]; and maintain forward
compatibility with OpenWrt configurations if/when `airoha_eth` becomes
a full DSA driver.

[1] https://lore.kernel.org/netdev/20240709124503.pubki5nwjfbedhhy@skbuf/

Borrowed from d4d6c48 (mediatek: filogic: support openwrt,netdev-name for renaming interfaces)

Signed-off-by: Kenneth Kasilag <kenneth@kasilag.me>
Link: https://github.com/openwrt/openwrt/pull/20475
Signed-off-by: Robert Marko <robimarko@gmail.com>
(commit: 130306f)
The file was addedtarget/linux/airoha/base-files/lib/preinit/04_set_netdev_label