This project is mirrored from https://git.openwrt.org/openwrt/openwrt.git.
Pull mirroring updated .
- Jan 13, 2025
-
-
Juan Pedro Paredes Caballero authored
The manufacturer Cudy usually releases signed openwrt firmware, to facilitate the migration from the proprietary version to the official versions of openwrt. In contact with the manufacturer tells me that only releases the firmware of the WR3000H if and only if there is an official version. With this proposal I pretend to have an initial operative version so that they do their part, and facilitate to the users the possibility of using openwrt. In the present state, it is only possible to use this firmware by uploading and installing it with UART connection. AX3000 2.5G Dual Band Wi-Fi 6 Mesh Router (WR3000H) Hardware -------- MediaTek MT7981 WiSoC 256MB DDR3 RAM 128MB SPI-NAND (XMC XM25QH128C) MediaTek MT7981 2x2 DBDC 802.11ax 2T2R (2.4 / 5) 4 LAN MediaTek MT7531 PHY 1 WAN RTL8221B-VB-CG 2.5Gbps PHY (C22) 2 Radios MT7976CN UART: 115200 8N1 3.3V MAC: LAN MAC: label mac WAN MAC: label mac + 1 2.4G MAC: label mac 5G MAC: label mac + 1 with LA bit set Installation ------------ 1. Connect to the serial port as described in the "Hardware" section. 2. Power on the device + press reset pin. Keep pressing reset pin to enter the U-Boot shell (The recovery.bin image load process must fail). 3. Download the OpenWrt initramfs image. Place it on an TFTP server connected to the Cudy LAN ports. Make sure the server is reachable at 192.168.1.88. Rename the image to "cudy3000h.bin" 4. Download and boot the OpenWrt initramfs image. $ tftpboot 0x46000000 cudy3000h.bin; bootm 0x46000000 5. IMPORTANT: Make backup from original firmware. System -> Backup /Flash Firmware -> Save mtdblock contents. All mtdblock one by one, keep unaltered (BL2, u-boot-env, Factory, bdinfo, FIP, and ubi). 6. Transfer the OpenWrt sysupgrade image to the device using scp. Install with sysupgrade. Warning for BL2 and U-BOOT developers ------------------------------------- The nand partition layout from vendor is slightly diferent from "standard". The FIP partition starts at 0x3c0000 be carefull with BL2 to BL31. The UBI partition start at 0x5c0000 be carefull. DO NOT OVERWRITE bdinfo partition it contains hardware MAC definition Layout is start-end (not start size) - 0x000000000000-0x000007800000 : "nmbm0" - 0x000000000000-0x000000100000 : "bl2" - 0x000000100000-0x000000180000 : "u-boot-env" - 0x000000180000-0x000000380000 : "factory" - 0x000000380000-0x0000003c0000 : "bdinfo" - 0x0000003c0000-0x0000005c0000 : "fip" - 0x0000005c0000-0x0000045c0000 : "ubi" ALLWAYS for U-BOOT operations check this setenv mtdids nmbm0=nmbm0 setenv mtdparts nmbm0:1024k(bl2),512k(u-boot-env),2048k(factory),256k(bdinfo),2048k(fip),65536k(ubi) Signed-off-by:
Juan Pedro Paredes Caballero <juanpedro.paredes@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17458 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
- Jan 12, 2025
-
-
Alexandru Gagniuc authored
TP-Link EAP610-Outdoor is a 802.11ax AP claiming AX1800 support. It is wall or pole mountable, and rated for outdoor use. It can only be powered via PoE. Specifications: --------------- * CPU: Qualcomm IPQ6018 Quad core Cortex-A53 * RAM: 512 MB * Storage: ESMT PSR1GA30DT 128MB NAND * Ethernet: * Gigabit RJ45 port with PoE input * WLAN: * 2.4GHz/5GHz * LEDs: * Multi-color System LED (Green/Amber) * Buttons: * 1x Reset * UART: 4-pin unpopulated header * 1.8 V level, Pinout 1 - TX, 2 - RX, 3 - GND, 4 - 1.8V Installation: ============= Web UI method ------------- Set up the device using the vendor's web UI. After that go to Management->SSH and enable the "SSH Login" checkbox. Select "Save". The connect to the machine via SSH: ssh -o hostkeyalgorithms=ssh-rsa <ip_of_device> Disable signature verification: cliclientd stopcs Rename the "-web-ui-factory" image to something less than 63 characters, maintaining the ".bin" suffix. * Go to System -> Firmware Update. * Under "New Firmware File", click "Browse" and select the image * Select "Update" and confirm by clicking "OK". If the update fails, the web UI should show an error message. Otherwise, the device should reboot into OpenWRT. TFTP method ----------- To flash via tftp, first place the initramfs image on the TFTP server. setenv serverip <ip of tftp server> setenv ipaddr <ip in same subnet as tftp server> tftpboot tplink_eap610-outdoor-initramfs-uImage.itb bootm This should boot OpenWRT. Once booted, flash the sysupgrade.bin image using either luci or the commandline. The tplink2022 image format ============================ The vendor images of this device are packaged in a format that does not match any previous tplink formats. In order for flashing to work from the vendor's web UI, firmware updates need to be packaged in this format. The `tplink-mkimage-2022.py` is provided for this purpose. This script can also analyze vendor images, and extract the required "support" string. This string is checked by the vendor firmware, and images with a missing or incorrect string are rejected. Signed-off-by:
Alexandru Gagniuc <mr.nuke.me@gmail.com> Link: https://github.com/openwrt/openwrt/pull/14922 Signed-off-by:
Robert Marko <robimarko@gmail.com>
-
John Audia authored
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.71 Manually rebased: airoha/patches-6.6/110-01-clk-en7523-Rework-clock-handling-for-different-clock.patch airoha/patches-6.6/111-mmc-mtk-sd-add-support-for-AN7581-MMC-Host.patch All other patches automatically rebased. Build system: x86/64 Build-tested: bcm27xx/bcm2712 Run-tested: bcm27xx/bcm2712 Signed-off-by:
John Audia <therealgraysky@proton.me> [ fix manually rebased patch ] Link: https://github.com/openwrt/openwrt/pull/17568 Signed-off-by:
Christian Marangi <ansuelsmth@gmail.com>
-
Jack Sun authored
Release notes: https://cmake.org/cmake/help/latest/release/3.31.html No need refresh patch Signed-off-by:
Jack Sun <sunjiazheng321521@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17587 Signed-off-by:
Robert Marko <robimarko@gmail.com>
-
Kien Truong authored
This setting is more suitable for device running OpenWRT. Most OpenWRT targets are already default to this configuration, and it has shown better performance in VPN (wireguard). Fix: #17454 Signed-off-by:
Kien Truong <duckientruong@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17575 Signed-off-by:
Robert Marko <robimarko@gmail.com>
-
Christian Lamparter authored
OpenWRT on the WNDAP6x0 refuses to sysupgrade to itself due to a compat_version imbalance. The Image is generated with version 2.0, but the uci-defaults says that it needs to be at 3.0 for the device. Fix this by downgrading WNDAP6x0 05_fix-compat-version's values back to 2.0 so it matches what we use. Fixes: 5815884c ("apm821xx: migrate to DSA") Signed-off-by:
Christian Lamparter <chunkeey@gmail.com>
-
Linus Walleij authored
This was the first DSA packaged, and the tagger was made into a separate package. This is too complicated: the mv88e6xxx is the only module using this tagger after all, fold the module for the DSA hardware and the driver for the tagger into a single package and let modprobe do its job of probing the tagger for the driver. Tested on the BMIPS Inteno XG6846. Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250110-mv88e6xxx-single-package-v1-1-223ad7fb312e@linaro.org/ Signed-off-by:
Linus Walleij <linus.walleij@linaro.org>
-
John Audia authored
Release information (not yet published): https://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.47.2 Signed-off-by:
John Audia <therealgraysky@proton.me> Link: https://github.com/openwrt/openwrt/pull/17499 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
John Audia authored
Release information (not yet published): https://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.47.2 Signed-off-by:
John Audia <therealgraysky@proton.me> Link: https://github.com/openwrt/openwrt/pull/17499 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
Damien Zammit authored
This adds a new port for the above device. Currently, there is no easy installation method except opening the device up and soldering a UART header on and getting u-boot shell access. You boot the initramfs version first using tftpboot, then once booted, you sysupgrade. Shell access to root on vendor firmware: admin:1234 To get U-Boot console, spam '4' into the serial console at boot. with LEDs on the left, serial pinout is: o - tx o - rx o - gnd x - 3v3 server ip for tftpboot 192.168.0.225 The initramfs-kernel version boots without touching onboard flash with: MT7628# tftpboot 0x80000000 openwrt-ramips-mt76x8-tplink_archer-mr200-v6-initramfs-kernel.bin MT7628# bootm 0x80000000 Then when it boots off RAM, you copy openwrt-ramips-mt76x8-tplink_archer-mr200-v6-squashfs-sysupgrade.bin to /tmp/sysupgrade.bin of the device and run: root@OpenWrt:/tmp# sysupgrade -n sysupgrade.bin - [x] LEDs working - [x] Buttons working - [x] wlan detected - [x] wwan detected - [x] initramfs image working - [x] sysupgrade working Signed-off-by:
Damien Zammit <damien@zamaudio.com> Link: https://github.com/openwrt/openwrt/pull/15610 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
- Jan 10, 2025
-
-
Christian Marangi authored
Refresh DTS with required changes for cpufreq, MTD and MMC. While at it also fix wrong speed for MAC. Signed-off-by:
Christian Marangi <ansuelsmth@gmail.com>
-
Christian Marangi authored
Replace cpufreq patch with new version requested upstream. Signed-off-by:
Christian Marangi <ansuelsmth@gmail.com>
-
Christian Marangi authored
Add pending patch for ETS qdisc on Airoha ethernet driver. Signed-off-by:
Christian Marangi <ansuelsmth@gmail.com>
-
Christian Marangi authored
Add pending patch to fix PCIe missing register. Signed-off-by:
Christian Marangi <ansuelsmth@gmail.com>
-
Christian Marangi authored
Add patch fixing support for MMC. Additional clock are needed for MMC to work and some small fixup to make the Mediatek MMC driver on Airoha SoC. Signed-off-by:
Christian Marangi <ansuelsmth@gmail.com>
-
Lorenzo Bianconi authored
Add ETS Qdisch scheduler to kernel package modules. Signed-off-by:
Lorenzo Bianconi <lorenzo@kernel.org> [ add commit description ] Signed-off-by:
Christian Marangi <ansuelsmth@gmail.com>
-
Christian Marangi authored
Backport patch to support ETS and HTB scheduler for airoha ethernet driver. Signed-off-by:
Christian Marangi <ansuelsmth@gmail.com>
-
Christian Marangi authored
Backport 2 fix for airoha ethernet driver merged upstream. Signed-off-by:
Christian Marangi <ansuelsmth@gmail.com>
-
Christian Marangi authored
Replace BUS clock patch with upstream version with related tag as it got approved and merged. Signed-off-by:
Christian Marangi <ansuelsmth@gmail.com>
-
Christian Marangi authored
Enable MMC and PCI config symbol and refresh config for Airoha AN7581. Signed-off-by:
Christian Marangi <ansuelsmth@gmail.com>
-
Shiji Yang authored
The boot hang issue on ralink rt288x has been fixed in Linux upstream commit 7f028bff8a8e ("MIPS: ralink: rt288x: select MIPS_AUTO_PFN_OFFSET") Link: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7f028bff8a8e55a783eeb12e50bb3f5f18804459 This reverts commit b3c5db79. Signed-off-by:
Shiji Yang <yangshiji66@qq.com> Link: https://github.com/openwrt/openwrt/pull/17498 Signed-off-by:
Robert Marko <robimarko@gmail.com>
-
FUKAUMI Naoki authored
"ROCK" is the correct series name. https://radxa.com/products/rock4 Signed-off-by:
FUKAUMI Naoki <naoki@radxa.com> Link: https://github.com/openwrt/openwrt/pull/17532 Signed-off-by:
Robert Marko <robimarko@gmail.com>
-
John Audia authored
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.70 Removed upstreamed: generic/backport-6.6/902-net-llc-reset-skb-transport_header.patch[1] generic/pending-6.6/605-netfilter-nft_set_hash-unaligned-atomic-read-on-stru.patch[2] All other patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.70&id=0c896816aa193e6459fc947747e5753c06b395b9 2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.70&id=4f49349c1963e507aa37c1ec05178faeb0103959 Build system: x86/64 Build-tested: bcm27xx/bcm2712, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Run-tested: bcm27xx/bcm2712, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Signed-off-by:
John Audia <therealgraysky@proton.me> Link: https://github.com/openwrt/openwrt/pull/17545 Signed-off-by:
Robert Marko <robimarko@gmail.com>
-
Brian Norris authored
ChromiumOS's vboot_reference tooling [1] provides convenient access to various firmware and hardware details via its `crossystem` tool. crossystem currently: (1) relies on the v1 GPIO cdev API to read GPIOs; and (2) expects gpio-line-names properties. Enable the kernel config, and document a few pins for OnHub devices. I only go so far as to pull two relevant names out of the vendor device tree. Others could perhaps be backfilled if the info is available and useful. [1] https://chromium.googlesource.com/chromiumos/platform/vboot_reference/+/HEAD/README Signed-off-by:
Brian Norris <computersforpeace@gmail.com> Link: https://github.com/openwrt/openwrt/pull/16014 Signed-off-by:
Robert Marko <robimarko@gmail.com>
-
Brian Norris authored
ChromiumOS's vboot_reference tooling [1] provides convenient access to various firmware and hardware details via its `crossystem` tool. crossystem currently: (1) relies on the v1 GPIO cdev API to read GPIOs; and (2) expects gpio-line-names properties. Enable the kernel config, and document a few pins for Google WiFi devices. I only go so far as to pull two relevant names out of the vendor device tree. Others could perhaps be backfilled if the info is available and useful. [1] https://chromium.googlesource.com/chromiumos/platform/vboot_reference/+/HEAD/README Signed-off-by:
Brian Norris <computersforpeace@gmail.com> Link: https://github.com/openwrt/openwrt/pull/16014 Signed-off-by:
Robert Marko <robimarko@gmail.com>
-
Brian Norris authored
These flash chips are used on Google / TP-Link / ASUS OnHub devices, and OnHub devices are write-protected by default (same as any other ChromeOS/Chromebook system). This patch has been submitted upstream, per the notes in the patch file. Signed-off-by:
Brian Norris <computersforpeace@gmail.com> Link: https://github.com/openwrt/openwrt/pull/16014 Signed-off-by:
Robert Marko <robimarko@gmail.com>
-
Eric Fahlgren authored
Strip off initial leading blanks and tabs from scripts and script fragments that are supplied by the package's Makefile. Specifically, the script included in the postrm must be left justified so that the shebang is in the first column. Fixes: https://github.com/openwrt/openwrt/issues/17439 Signed-off-by:
Eric Fahlgren <ericfahlgren@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17440 Signed-off-by:
Robert Marko <robimarko@gmail.com>
-
- Jan 09, 2025
-
-
Florian Maurer authored
The label MAC address is written inside the case of the whw03 v2 at the bottom. Similar fix as to the 4040 in b22d382a Signed-off-by:
Florian Maurer <f.maurer@outlook.de> Link: https://github.com/openwrt/openwrt/pull/17535 Signed-off-by:
Robert Marko <robimarko@gmail.com>
-
Álvaro Fernández Rojas authored
This patch is also needed on bmips since it fixes issues with GPIOs not being properly configured due to gpio_request_enable not being called on bcm63xx devices. Therefore we can now drop the bcm63268 gpio function patch. Signed-off-by:
Álvaro Fernández Rojas <noltari@gmail.com>
-
- Jan 08, 2025
-
-
Rosen Penev authored
ath79 uses the generic-ehci driver, which does not support regulators using vbus-supply. dr_mode is also not useful as the driver does not support multiple modes. Signed-off-by:
Rosen Penev <rosenp@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17486 Signed-off-by:
Robert Marko <robimarko@gmail.com>
-
David Bauer authored
Bringing up a mesh interface using wpa_supplicant already supports a per-VIF basic rate selection. Add the same ability when creating a mesh VIF without wpa_supplicant. Signed-off-by:
David Bauer <mail@david-bauer.net>
-
- Jan 07, 2025
-
-
Sander Vanheule authored
Update the devicetree files to switch the GS1900 devices over to the new pinctrl and GPIO driver. Enable the drivers to ensure the nodes can be used. This may fix issues caused by bad RMW behaviour on the GPIO data lines, or glitches due to setting the pin direction before the pin level. Although the driver supports retaining GPIO state after a warm boot, some bootloaders appear to apply a default configuration on boot, which may cause an interrupt in PoE-PSE support. Signed-off-by:
Sander Vanheule <sander@svanheule.net>
-
Sander Vanheule authored
Add pending patches to add RTL8231 support as a MDIO-bus attached multi-functional device. This includes subdrivers for the pincontrol and GPIO features, as well as the LED matrix support. Leave the drivers disabled until required by a device. Signed-off-by:
Sander Vanheule <sander@svanheule.net>
-
Sander Vanheule authored
Add a disabled node for the auxiliary MDIO bus, used to manage the RTL8231 expanders. A simple-mfd parent node is added, at the same (implied) address as the switch@1b000000 node, as the switch drivers should anyway transistion to MFD subdivices at some point. Additionally, two pinctrl-single node are added to allow the MDX pins to be muxed correctly, in case the bootloader leaves these unconfigured. Signed-off-by:
Sander Vanheule <sander@svanheule.net>
-
Sander Vanheule authored
Add a driver that exposes the auxiliary busses, used for the RTL8231 expanders, as a proper MDIO controller. The device must be instantiated under an MFD device, so the driver should also be compatible with SoC managed by an external CPU via SPI. Leave the driver disabled in builds until required. Signed-off-by:
Sander Vanheule <sander@svanheule.net>
-
Sander Vanheule authored
Run 'make kernel_oldconfig' to get an up-to-date config. Signed-off-by:
Sander Vanheule <sander@svanheule.net>
-
Sander Vanheule authored
Run 'make kernel_oldconfig' to get an up-to-date config. Signed-off-by:
Sander Vanheule <sander@svanheule.net>
-
Sander Vanheule authored
Run 'make kernel_oldconfig' to get an up-to-date config. "# CONFIG_I2C_MUX_RTL9300 is not set" is retained, as the kernel module build will selects CONFIG_I2C_MUX=m, on which this symbol depends. Signed-off-by:
Sander Vanheule <sander@svanheule.net>
-
Sander Vanheule authored
Run 'make kernel_oldconfig' to get an up-to-date config. Signed-off-by:
Sander Vanheule <sander@svanheule.net>
-
Robert Marko authored
It is not required to specify the number of blocks as envtools are able to autodetect it. Link: https://github.com/openwrt/openwrt/pull/17504 Signed-off-by:
Robert Marko <robimarko@gmail.com>
-