aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* kernel: crypto: add atmel i2c hw accelerator supportTianling Shen2024-12-22
| | | | | | | | Add support for Microchip / Atmel ECC/SHA/RNG hw accelerator. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> Link: https://github.com/openwrt/openwrt/pull/17253 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: netdevices: add driver for Broadcom NetXtreme-C/EJonas Jelonek2024-12-22
| | | | | | | | | Package bnxt_en kernel module for Broadcom NetXtreme-C/E based Ethernet network chips like BCM573xx and BCM574xx. Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17301 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* build: d1: add SUPPORTED_DEVICESEric Fahlgren2024-12-22
| | | | | | | | | | | | | | | | | Include specific SUPPORTED_DEVICES values derived from the .dts file. This makes the generated profiles.json consistent with the 'board_name' from 'ubus call system board'. Specifically, this fixes a bug in the generated profiles.json that breaks the ASU clients when selecting the proper image from a build. See the 'supported_devices' fields here for the incorrect (or incomplete) list: https://downloads.openwrt.org/releases/24.10.0-rc1/targets/d1/generic/profiles.json Links: https://forum.openwrt.org/t/owut-openwrt-upgrade-tool/200035/287 Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17155 Signed-off-by: Robert Marko <robimarko@gmail.com>
* ipq-wifi: update to Git HEAD (2024-12-18)Shymon Samsel2024-12-22
| | | | | | | | 4b849214b137 ipq8074: add TP-Link EAP620 HD v1 BDF Add board file for TP-Link EAP620 HD v1. Sourced from bdwlan_US.bin in stock firmware 1.1.0 Build 20211028 Signed-off-by: Shymon Samsel <ssamsel@umass.edu> Link: https://github.com/openwrt/openwrt/pull/17254 Signed-off-by: Robert Marko <robimarko@gmail.com>
* ipq807x: add support for TP-Link EAP620 HD v1Shymon Samsel2024-12-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifications: * SoC: Qualcomm IPQ8072A (64-bit Quad-core Arm Cortex-A53 @ 1.4 GHz) * Memory: 2x ESMT M15T4G16256A-DEBG2G (1 GiB DDR3-1866 13-13-13) * Serial Port: 3v3 TTL 115200n8 * Wi-Fi: QCA5054 (4x4 5 GHz 802.11ax) * Wi-Fi: QCN5024 (2x2 2.4 GHz 802.11b/g/n/ax) * Ethernet: AR8031 (10/100/1000BASE-T) * Flash: Winbond W29N01HZSINF (128 MiB) * LEDs: 1x Blue Status (GPIO 42 Active High) * Buttons: 1x Reset (GPIO 50 Active Low) Installation Instructions (Serial+TFTP): 1. Solder 4 pin header to JP1 and bridge pads of R58 and R62. 2. Connect 3V3 TTL port to TX, RX, and GND, which are positions 1, 2, and 3 respectively. Be sure to crossover TX and RX. 3. Copy RAM firmware openwrt-qualcommax-ipq807x-tplink_eap620hd-v1-initramfs-uImage.itb to a TFTP server's root that is in the same subnet as your AP. 4. Power up the AP hold Ctrl+B in the serial console (115200n8) until autoboot is halted. 5. Run the following commands in the U-boot prompt: # setenv serverip <TFTP server addr> # setenv ipaddr <addr of AP> # tftpboot 0x44000000 openwrt-qualcommax-ipq807x-tplink_eap620hd-v1-initramfs-uImage.itb # bootm You may need to type Ctrl+C and Enter before running these commands to clear invisible characters from the buffer. 6. Run the following command in a terminal to copy the sysupgrade image to be installed (check IP address): $ scp -O openwrt-qualcommax-ipq807x-tplink_eap620hd-v1-squashfs-sysupgrade.bin root@192.168.1.1:/tmp/ 7. Activate the OpenWrt serial console and run the following commands: # cd /tmp # sysupgrade -n openwrt-qualcommax-ipq807x-tplink_eap620hd-v1-squashfs-sysupgrade.bin 8. The AP will reboot and OpenWrt will be successfully installed. Known Issues: * 5GHz radio instability (upstream current ath11k build bug maybe?) Device support directly followed from EAP660HDv1 support Links: #15832 Signed-off-by: Shymon Samsel <ssamsel@umass.edu> Link: https://github.com/openwrt/openwrt/pull/17254 Signed-off-by: Robert Marko <robimarko@gmail.com>
* ramips: rt3050: fix wrong compatibleRosen Penev2024-12-22
| | | | | | | | | | | In the process of upstreaming the local phy driver back in 2017, it seems rt3050.dtsi was left out when updating the compatible string. Add device reset as the driver needs it. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17257 Signed-off-by: Robert Marko <robimarko@gmail.com>
* realtek: merge Zyxel GS1900 firmware partitionsSander Vanheule2024-12-22
| | | | | | | | | | | | | | | | | | | | | | The dual-boot partition layout for the Zyxel GS1900 switches results in 6.9MB for both kernel and rootfs. Depending on the package selection, this may already leave no space for the user overlay. Merge the two firmware partitions, effectively dropping dual boot support with OpenWrt. This results in a firmware partition of 13.9MB, which should leave some room for the future. To maintain install capabilites on new devices, an image is required that still fits inside the original partition. The initramfs is used as factory install image, so ensure this meets the old size constraints. The factory image can be flashed via the same procedure as vendor images when reverting to stock, can be installed from stock, or can be launched via tftpboot. Link: https://github.com/openwrt/openwrt/issues/16439 Link: https://github.com/openwrt/openwrt/pull/16442 Tested-by: Stijn Segers <foss@volatilesystems.org> Signed-off-by: Sander Vanheule <sander@svanheule.net>
* realtek: ZyXEL GS1900-48: drop gpio-restartSander Vanheule2024-12-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | GPIO 5 on the RTL8231 is defined reset the system, but fails to actually do so. This triggers a kernel a number of warnings and backtrace for GPIO pins that can sleep, such as the RTL8231's. Two warnings are emitted by libgpiod, and a third warning by gpio-restart itself after it fails to restart the system: [ 106.654008] ------------[ cut here ]------------ [ 106.659240] WARNING: CPU: 0 PID: 4279 at drivers/gpio/gpiolib.c:3098 gpiod_set_value+0x7c/0x108 [ Stack dump and call trace ] [ 106.826218] ---[ end trace d1de50b401f5a153 ]--- [ 106.962992] ------------[ cut here ]------------ [ 106.968208] WARNING: CPU: 0 PID: 4279 at drivers/gpio/gpiolib.c:3098 gpiod_set_value+0x7c/0x108 [ Stack dump and call trace ] [ 107.136718] ---[ end trace d1de50b401f5a154 ]--- [ 111.087092] ------------[ cut here ]------------ [ 111.092271] WARNING: CPU: 0 PID: 4279 at drivers/power/reset/gpio-restart.c:46 gpio_restart_notify+0xc0/0xdc [ Stack dump and call trace ] [ 111.256629] ---[ end trace d1de50b401f5a155 ]--- By removing gpio-restart from this device, we skip the restart-by-GPIO attempt and rely only on the watchdog for restarts, which is already the de facto behaviour. Signed-off-by: Sander Vanheule <sander@svanheule.net>
* ath79: ap5030dn: use label-mac-device propertyRosen Penev2024-12-21
| | | | | | | | Userspace handling is deprecated. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17311 Signed-off-by: Robert Marko <robimarko@gmail.com>
* mvebu: rb5009: add label-mac-deviceFabian Bläse2024-12-21
| | | | | | | | Add the label-mac-device alias. Signed-off-by: Fabian Bläse <fabian@blaese.de> Link: https://github.com/openwrt/openwrt/pull/17313 Signed-off-by: Robert Marko <robimarko@gmail.com>
* octeon: enable AT803x PHY driverLorenz Brun2024-12-21
| | | | | | | | | | | | | | The AR8035 PHY is used in most Octeon boards supported by OpenWRT (all the Ubiquiti routers at least). To be able to use its PHY-specific functionality (cable testing, LED Control, ...) it should be built on Octeon. It also needs the regulator framework, so enable that as well. These boards are not space-constrained, so this really has no downsides. Tested on an EdgeRouter Lite, cable tests now work with ethtool-full. Signed-off-by: Lorenz Brun <lorenz@brun.one> Link: https://github.com/openwrt/openwrt/pull/17318 Signed-off-by: Robert Marko <robimarko@gmail.com>
* busybox: Fix hexdump appletHannu Nyman2024-12-20
| | | | | | | | | | | | Fix the hexdump applet's formatting with certain format types by applying the upstream fix for 1.37.0. Also refresh patches. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> Link: https://github.com/openwrt/openwrt/pull/17308 [Changed to 002- patch file name prefix] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: bump 6.6 to 6.6.67John Audia2024-12-20
| | | | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.67 All patches automatically rebased. Build system: x86/64 Build-tested: flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3, x86/64 Run-tested: flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3, x86/64 Signed-off-by: John Audia <therealgraysky@proton.me> Link: https://github.com/openwrt/openwrt/pull/17309 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* generic: fix BCM54612E suspend/resume backport patchMarco von Rosenberg2024-12-20
| | | | | | | | | | | | | | This backport patch inserted suspend/resume callbacks for the wrong PHY driver. The fixed patch is needed for Huawei AP5030DN to initialize its second PHY. Refresh all affected patch with make target/linux/refresh. Fixes: 06cdc07f8cc7 ("ath79: add support for Huawei AP5030DN") Signed-off-by: Marco von Rosenberg <marcovr@selfnet.de> Link: https://github.com/openwrt/openwrt/pull/17312 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mediatek: filogic: bpi-r4: set netdev-name for sfp portsJonas Jelonek2024-12-20
| | | | | | | | | | | | | Sets openwrt,netdev-name for the gmac nodes in the dts of BPI-R4 which correspond to the two sfp slots. By default they are automatically named as eth1 and eth2 in bad order, however 'SFP1-WAN' and 'SFP2-LAN' are printed on the PCB and the official metal case has labels 'SFP-WAN' and 'SFP-LAN'. Thus, label the ports accordingly to match the board/case labels. The COMPAT_VERSION is increased to denote that configuration has to be adjusted manually. Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
* mediatek: filogic: bpi-r3: set netdev-name for sfp1 portJonas Jelonek2024-12-20
| | | | | | | | | | | Sets openwrt,netdev-name for the gmac1 node in the dts of BPI-R3, which corresponds to the sfp1 slot, to have a proper naming and match the label on the official BPI-R3 metal case. This renames the port from eth1 to sfp1. The COMPAT_VERSION is increased to denote that configuration has to be adjusted manually. Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
* mediatek: filogic: support openwrt,netdev-name for renaming interfacesJonas Jelonek2024-12-20
| | | | | | | | | | | Add support in filogic subtarget for our own custom property `openwrt,netdev-name` in the device tree instead of `label` for renaming interfaces. This was suggested upstream to avoid potential conflicts [1]. [1] https://lore.kernel.org/netdev/20240709124503.pubki5nwjfbedhhy@skbuf/ Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
* hostapd: fix call to hostapd reloadFlorian Maurer2024-12-19
| | | | | | access to undeclared variable radio In [anonymous function](), file /usr/share/hostap/hostapd.uc, line 830, byte 45: Signed-off-by: Florian Maurer <f.maurer@outlook.de>
* wifi-scripts: fix phy index lookup in device_capabilitiesFelix Fietkau2024-12-19
| | | | | | For renamed phys, the index cannot be derived from the name Signed-off-by: Felix Fietkau <nbd@nbd.name>
* hostapd: fix passing radio parameter in wpa_supplicant callsFelix Fietkau2024-12-19
| | | | | | Fixes accessing PHY status in AP+STA configurations Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: bump 6.6 to 6.6.66John Audia2024-12-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | Update patch set for new release and add required kernel option CONFIG_ZRAM_TRACK_ENTRY_ACTIME to generic config Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.66 Manually rebased: bcm27xx/patches-6.6/950-0092-MMC-added-alternative-MMC-driver.patch bcm53xx/patches-6.6/180-usb-xhci-add-support-for-performing-fake-doorbell.patch starfive/patches-6.6/1000-serial-8250_dw-Add-starfive-jh7100-hsuart-compatible.patch Removed upstreamed: bcm27xx/patches-6.6/950-0029-vc4_hdmi-Avoid-log-spam-for-audio-start-failure.patch[1] All other patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.66&id=e0388a95736abd1f5f5a94221dd1ac24eacbd4d7 Build system: x86/64 Build-tested: bcm27xx/bcm2712, flogic/glinet_gl-mt6000, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3, x86/64 Run-tested: bcm27xx/bcm2712, flogic/glinet_gl-mt6000, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3, x86/64 Signed-off-by: John Audia <therealgraysky@proton.me> Link: https://github.com/openwrt/openwrt/pull/17271 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ath79: tplink,deco-s4-v2: use nvmem for calRosen Penev2024-12-18
| | | | | | | | | | Userspace handling is deprecated. MAC address stuff needs to remain handled in userspace as it's encrypted. Maybe an NVMEM driver can be written in the future... Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17276 Signed-off-by: Robert Marko <robimarko@gmail.com>
* firewall4: update to Git HEAD (2024-12-18)Felix Fietkau2024-12-18
| | | | | | | | | e00958884416 fw4: do not add physical devices for soft offload dfbcc1cd127c fw4: skip not existing netdev names in flowtable device list 18fc0ead19fa init: use the reload data trigger to reload firewall on procd data changes Fixes: https://github.com/openwrt/openwrt/issues/13410 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* apk: disable testsRobert Marko2024-12-18
| | | | | | | | | | | | Currently if the host system has cmocka installed it will leak the host path and try to use the host cmocka and build tests. This will obviously fail, so backport upstream commit allowing disabling of tests and disable building them. Fixes: openwrt/packages#25456 Link: https://github.com/openwrt/openwrt/pull/17297 Signed-off-by: Robert Marko <robimarko@gmail.com>
* linux-firmware: ath11k: add QCA2066 firmwareChukun Pan2024-12-18
| | | | | | | | Add QCA2066 firmware package, ath11k is already supported. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn> Link: https://github.com/openwrt/openwrt/pull/17260 Signed-off-by: Robert Marko <robimarko@gmail.com>
* qualcommax: fix usb regulator supply for RT-AX89XChukun Pan2024-12-18
| | | | | | | | | | | | | The qusb_phy node looks for the following supply: "vdd", "vdda-pll", "vdda-phy-dpdm" And ssphy node looks for the following supply: "vdda-phy", "vdda-pll" So fix the usb regulator supply for RT-AX89X. Fixes: 1306237 ("qualcommax: use PHY regulator for USB GPIO") Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn> Link: https://github.com/openwrt/openwrt/pull/17290 Signed-off-by: Robert Marko <robimarko@gmail.com>
* unetd: update to Git HEAD (2024-12-17)Felix Fietkau2024-12-17
| | | | | | | | | | | 93461ca4c827 unet-cli: only apply defaults on create 3e5766783d5d unet-tool: add support for confirming password 074d3659ca4a unet-cli: confirm password when creating new seed based key bf3488a3807a unet-cli: add add/set-local-host command 9eb57c528461 unet-cli: add support for setting interface zone a0a2d80f3459 ubus: add firewall rules for network port/pex_port via procd Signed-off-by: Felix Fietkau <nbd@nbd.name>
* procd: add support for reload triggers on data changeFelix Fietkau2024-12-17
| | | | | | This can be useful to reload the firewall when procd firewall data changes Signed-off-by: Felix Fietkau <nbd@nbd.name>
* procd: do not overwrite service data by defaultFelix Fietkau2024-12-17
| | | | | | Allows a running servie to manage its own data if untouched by the init script Signed-off-by: Felix Fietkau <nbd@nbd.name>
* procd: update to Git HEAD (2024-12-17)Felix Fietkau2024-12-17
| | | | | | | | | 2e206dbe77ec service: add support for triggers on service/instance data changes 735b48728fca service: remove leftover lines from previous commit 32469644a029 service: allow incremental changes to service properties fd01fb852302 service: fix double free bug when dealing with data Signed-off-by: Felix Fietkau <nbd@nbd.name>
* netifd: update to Git HEAD (2024-12-17)Felix Fietkau2024-12-17
| | | | | | | 058a099f5bc5 interface: fix memleak and reload issue for the zone attribute ea01ed41f321 interface: remove unnecessary NULL checks before free() Signed-off-by: Felix Fietkau <nbd@nbd.name>
* unetd: add firewall input rule for global portFelix Fietkau2024-12-17
| | | | | | Ensure that peers can be exchanged over any interface Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: Make the Marvell DSA switch a moduleLinus Walleij2024-12-16
| | | | | | | | | | | | | Not all Kirkwood systems have the Marvell MV88E6XXX switches. Drop those from the generic config and add them as modules in the systems that have it. This was inferred by inspecting the upstream DTS files for any mv88e* strings and adding the mv88e6xxx kmod package to those that have an upstream device tree with an MV88E6xxx switch and an OpenWrt image target. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* unetd: update to Git HEAD (2024-12-16)Felix Fietkau2024-12-16
| | | | | | | | | | | | | | | | d22d7db581d5 bpf_skb_utils.h: add missing include to fix build against newer kernel headers bbd3e0eb1419 host: fix peer routes on a node acting as gateway b17164751fc7 unet-tool: add support for generating keys from salt + seed passphrase 041e05870c20 unet-tool: add support for dumping pubkey from signed file b58920d420cb unet-tool: add support for extracting network data from signed bin file f335f5b40b4e unet-cli: add support for generating key from seed 8b1f1d099352 unet-cli: add support for importing networks from signed data 188ba05eadf2 unet-cli: add missing command line help for import 8f15fc306a40 unet-cli: fix add-ssh-host with seed keys 486bc3b86dc2 pex-msg: enable broadcast for global PEX socket e4a24cdfbc1c unet-cli: fix defaults on create Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath79: fix tl-wa eth1 macRosen Penev2024-12-16
| | | | | | | | This is using mac-base and so a 0 needs to be added. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17274 Signed-off-by: Robert Marko <robimarko@gmail.com>
* mediatek: add pending patches fixing video output on MT7623NDaniel Golle2024-12-16
| | | | | | | Add a bunch of fixes for HDMI output and Mali-450 GPU rendering on MT7623N, ie. the BananaPi R2. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* lantiq/xrx200: move 8M flash devices to a small flash subtargetAndrew MacIntyre2024-12-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Images for xrx200 8M flash are either not building due to image size (TD-W8970, TD-W8980) or building such that the available free space in the overlayfs is too little to be useful. To keep images for these devices buildable, move them into a small flash variant of the xrx200 subtarget. As these devices are NOR flash only, remove NAND and UBI references from the kernel config to gain some additional image size reduction. The apparent 8M flash devices Arcadyan VGV7510KW22-brn, Arcadyan VGV7519-brn and Lantiq Easy80920-nor seem to exist in order to create special "factory" installation images for these devices (which actually have larger flash: 16MB for the Arcardyan devices; 64MB for the Lantiq device). As a considerable amount of surgery would appear to be required to the uboot-lantiq package structure to separate the "factory" from the "sysupgrade" device recipes for these devices they remain in the xrx200 target - if factory images aren't now created, 23.05.x factory images should suffice for initial installation. Tested on: Netgear DM200, TP-Link TD-W8980, AVM Fritz7490 (xrx200 subtarget: image build only) Fixes: https://github.com/openwrt/openwrt/issues/16761 Signed-off-by: Andrew MacIntyre <andymac@pcug.org.au> Link: https://github.com/openwrt/openwrt/pull/17113 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: generic: tg3: Fix DMA allocations on 57766 devicesJohn Audia2024-12-16
| | | | | | | | | | | | At the request of rsalvaterra, add this patch to fix an issue affecting tg3 ethernet interfaces[1]. 1. https://github.com/openwrt/openwrt/pull/17271#issuecomment-2543836518 Tested-by: Rui Salvaterra <rsalvaterra@gmail.com> Signed-off-by: John Audia <therealgraysky@proton.me> Link: https://github.com/openwrt/openwrt/pull/17282 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ath79: fix ath9k calibration data size for AR9132Shiji Yang2024-12-15
| | | | | | | | | | For ath9k NICs older than AR9287, The eeprom size is 0xeb8. Fixes: https://github.com/openwrt/openwrt/issues/17196 Fixes: 74f2df9dbccd ("ath79: mtd-cal-data removals") Signed-off-by: Shiji Yang <yangshiji66@qq.com> Link: https://github.com/openwrt/openwrt/pull/17261 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: fix 2.4G wmac eeprom offset for TL-WR902AC v4Shiji Yang2024-12-14
| | | | | | | | | | The eeprom data offset on 2.4GHz wmac is wrong. It is obvious that this is a copy & paste issue. Suggested-by: @cgm999 on https://github.com/openwrt/openwrt/issues/13969 Signed-off-by: Shiji Yang <yangshiji66@qq.com> Link: https://github.com/openwrt/openwrt/pull/17263 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* base-files: fix shell scope error for the default LED brightnessAndre Heider2024-12-14
| | | | | | | | | | | | This fixes "sh: write error: Invalid argument" for all default!=1 LEDs as an empty $brightness was used. Setting up LEDs via luci also now works again. Fixes cbdfd03e: "base-files: add option to set LED brightness" Signed-off-by: Andre Heider <a.heider@gmail.com> Link: https://github.com/openwrt/openwrt/issues/17269 Signed-off-by: John Crispin <john@phrozen.org>
* kernel: bump 6.6 to 6.6.65John Audia2024-12-13
| | | | | | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.65 Update to checksum only/no patches required a rebase. Per the changelog, this is a trivial upstream bump with only 4 commits, 2 of which being reverts. Build system: x86/64 Build-tested: x86/64/AMD Cezanne Run-tested: x86/64/AMD Cezanne Signed-off-by: John Audia <therealgraysky@proton.me> Link: https://github.com/openwrt/openwrt/pull/17217 Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: bump 6.6 to 6.6.64John Audia2024-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.64 Manually rebased: generic/hack-6.6/780-usb-net-MeigLink_modem_support.patch bcm27xx/patches-6.6/950-0585-drm-vc4-Introduce-generation-number-enum.patch bcm27xx/patches-6.6/950-0610-drm-vc4-hvs-Support-BCM2712-HVS.patch bcm27xx/patches-6.6/950-0829-vc4-hvs-Add-support-for-D0-register-changes.patch Removed upstreamed: bcm27xx/patches-6.6/950-0597-drm-vc4-hdmi-Avoid-hang-with-debug-registers-when-su.patch[1] bcm27xx/patches-6.6/950-0599-drm-vc4-Fix-dlist-debug-not-resetting-the-next-entry.patch[2] bcm27xx/patches-6.6/950-0600-drm-vc4-Remove-incorrect-limit-from-hvs_dlist-debugf.patch[3] bcm27xx/patches-6.6/950-0708-drm-vc4-Correct-logic-on-stopping-an-HVS-channel.patch[4] ramips/patches-6.6/002-01-v6.13-clk-ralink-mtmips-fix-clock-plan-for-Ralink-SoC-RT38.patch[5] ramips/patches-6.6/002-02-v6.13-clk-ralink-mtmips-fix-clocks-probe-order-in-oldest-r.patch[6] All other patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.64&id=223ee2567a55e4f80315c768d2969e6a3b9fb23d 2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.64&id=8182b5ca19c6f173b6498d1c6d3e4b034b76bbde 3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.64&id=52c1716f65a558174e381360bd88f18dae4be85c 4. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.64&id=9728b508b01a5eeeac79ceb676364c674dd951ac 5. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.64&id=f85a1d06afbcc57ac44176db8f9d7a934979952c 6. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.64&id=fbb13732c6ffa9d58cedafabcd5ce8fd7ef8ae5a Build system: x86/64 Build-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Run-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Co-authored-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Signed-off-by: John Audia <therealgraysky@proton.me> Link: https://github.com/openwrt/openwrt/pull/17217 Signed-off-by: Robert Marko <robimarko@gmail.com>
* qualcommax: use PHY regulator for USB GPIORosen Penev2024-12-13
| | | | | | | | The PHY can handle turning off the GPIOs when turning off all USB ports. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17192 Signed-off-by: Robert Marko <robimarko@gmail.com>
* ramips: add support for ASUS 4G-AX56Chuncheng Chen2024-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifications: - Device: ASUS 4g-AX56 - SoC: MT7621AT - Flash: 128MB - RAM: 512MB - Switch: 1 WAN, 4 LAN (10/100/1000 Mbps) - WiFi: MT7905 2x2 2.4G + MT7975 2x2 5G - LTE : Fibocom FG621-EA - LEDs: 1x POWER (white, configurable) 1x 2.4G (white, not configurable) 1x 5G (white, not configurable) 1x WAN (white, not configurable) 1x 3G/4G (white, not configurable) 3x signal (white, not configurable) Flash by U-Boot TFTP method: - Configure your PC with IP 192.168.0.2 - Set up TFTP server and put the factory.bin image on your PC - Connect serial port(rate:115200) and turn on AP, then interrupt "U-Boot Boot Menu" by hitting any key Select "2. Upgrade firmware" Press enter when show "Run firmware after upgrading? (Y/n):" Select 0 for TFTP method Input U-Boot's IP address: 192.168.0.1 Input TFTP server's IP address: 192.168.0.2 Input IP netmask: 255.255.255.0 Input file name: openwrt-ramips-mt7621-asus_4g-ax56-squashfs-factory.bin - Restart AP aftre see the log "Firmware upgrade completed!" Notice: - LTE module is disable after flash openwrt image so you must active LTE by following two AT command echo -e "AT+GTAUTOCONNECT=1\r\n" > /dev/ttyUSB0 echo -e "AT+GTRNDIS=1,1\r\n" > /dev/ttyUSB0 - After finish AT command once, you don't need to input command later even if reboot/restore default Signed-off-by: Chuncheng Chen <ccchen1984@gmail.com> Link: https://github.com/openwrt/openwrt/pull/16752 Signed-off-by: John Crispin <john@phrozen.org>
* ramips: mt7620: add support for THA-103AC (Version v1.0R)Die Peter Pan2024-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hardware * Mediatek MT7620A + Mediatek MT7610EN * 64MB RAM * 8MB NAND (Winbond 25064FVSIG ) Both 2.4GHZ and 5GHZ are working, it is enabled by default since there is no physical ethernet port in the device. All LED's and buttons work. UART: 57600 8N1 3.3V Installation Upload the openwrt-ramips-mt7620-trendnet_tha103ac-initramfs-kernel.bin via the manufacturer firmware upgrade page on the device. Upon reboot wait +- 3 mins until the green power LED is not flashing anymore (do not be tempted to switch the device off while the LED is flashing, unless you are ready for soldering and TTL) and then press the WPS button to enable the default OpenWrt Wifi AP, the BLUE wifi LED will start flash. Then install openwrt-ramips-mt7620-trendnet_tha103ac-squashfs-sysupgrade.bin via OpenWrt. The integrated power monitoring and relay do not work in OpenWrt as the PL7223 chip source/documentation is unavailable. Recovery Mis-configuration can be dealt with using the RESET button to reset to factory, worst case scenario will require some serious work and soldering, there's pads on the PCB for both the UART and ETH0, and I soldered and tested that it does work. You will have to power the board using the header pins GND & 5V, see the 8-pin header socket. Signed-off-by: Die Peter Pan <diepeterpan@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17114 Signed-off-by: John Crispin <john@phrozen.org>
* ath79: pqi-air-pen: adjust mac addressesRosen Penev2024-12-13
| | | | | | | | | | | | | | | | | The original ar71xx version of this device used 1002 as mac address for both ethernet and wireless. The ath79 version inexplicably changes this to 2, which seems to be done nowhere else in ath79, indicating it's bogus. Restore previous ar71xx assignment. 1002 is used as an ethernet interface with some other devices as well. Also remove the bogus caldata userspace extraction. The size is bogus and it's already handled in dts. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17083 Signed-off-by: John Crispin <john@phrozen.org>
* mediatek: filogic: add support for NRadio C8-668GLYaoguang Bai2024-12-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NRadio C8-668GL is a Wi-Fi 6 5G cellular router based on MediaTek MT7981B SoC. - **SoC**: MediaTek MT7981B (2x Cortex-A53, 1.3GHz) - **RAM**: Nanya NT5AD512M16C4-JR 1GB DDR4 - **Flash**: ESMT FC51L08SFY3A 8GB eMMC - **Ethernet**: - 1x 2.5GbE (via GMAC0 and GPY211 PHY, shared with MT7531AE) - 3x 10/100/1000 Mbps (via MT7531AE, connected to GMAC0) - 5G Modem: GMAC1 (via GPY211 PHY - RTL8125BG - RM520N-GL) - **Wi-Fi**: MediaTek MT7976CN (2.4GHz/5GHz, 802.11ax, 2x2 MIMO, AX3000) - **Buttons**: Reset, WPS - **LEDs**: Power, 5G, 4G, WiFi - **SIM Slot**: 1x Nano SIM - **5G Modem**: Quectel RM520N-GL (Snapdragon™ X62) - **Power**: 12V/2A DC, 5.5×2.1 connector The MAC addresses are derived from the `fac_mac` field in the `bdinfo` partition, formatted as `fac_mac = HWMAC`. The allocation is as follows: | Vendor | OpenWrt Interface | Address | Notes | |---------|-------------------|---------------|------------------------------------------------| | LAN | br-lan | Label MAC | Default | | WAN | lan4 | Label MAC+1 | Only when lan4 is switched to WAN | | 2.4GHz | phy0-ap0 | Label MAC | | | 5GHz | phy1-ap0 | Label MAC | (Local Admin bit set) | | Modem | eth1 | Label MAC+2 | | 1. Log in to the router via `http://192.168.66.1`/. 2. Upgrade the official firmware to dual-system mode. 3. Select **Burn second system** and upload the `sysupgrade.bin` image. - Download the image from the OpenWrt build system or build it yourself using the OpenWrt buildroot. 4. Wait for 30 seconds and click **Switch system**. 5. The device will reboot and switch to OpenWrt. Set the U-Boot environment variable `boot_system=0` and reboot: ```bash fw_setenv boot_system 0 ``` Power off the router, hold the **WPS button**, and power it back on. 1. Rename the stock firmware file to **`recovery.bin`**. 2. Set your PC's Ethernet IP to **192.168.1.88** and connect it to the lan1 port on the router. 3. Run a TFTP server and place the `recovery.bin` file in its root directory. 4. Power off the router, press and hold the **Reset button**, and power it back on. 5. Release the Reset button when the TFTP server shows activity. 6. Wait for the router to flash the firmware and reboot automatically. - By default, `lan4` is part of `br-lan` and uses the label MAC address. - To query the RM520N-GL module, use the following command: ```bash cat /dev/ttyUSB2 & printf 'ATI\r\n' > /dev/ttyUSB2 ``` Signed-off-by: Yaoguang Bai <0xdeadc0de@badguys.club> Link: https://github.com/openwrt/openwrt/pull/17093 Signed-off-by: John Crispin <john@phrozen.org>
* ath79: usb: remove reset namesRosen Penev2024-12-13
| | | | | | | | | Upstream uses devm_reset_control_array_get_optional_shared, which does not use names. reset-names is also not specified in the documentation. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17118 Signed-off-by: John Crispin <john@phrozen.org>
* ath79: change phy-names to only usbRosen Penev2024-12-13
| | | | | | | | | Both generic-ehci.yaml and generic-ohci.yaml state that phy-names is to only be usb. Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17118 Signed-off-by: John Crispin <john@phrozen.org>