Shengyu Qu [Thu, 15 May 2025 03:38:46 +0000 (11:38 +0800)]
odhcp6c: Conditionally request S46 OROs
Request Softwire46 (S46) [RFC 7598] options when the map and/or ds-lite
packages are installed. This is required as the behaviour of odhcp6c has
changed to not include these OROs by default.
See openwrt/odhcp6c#89
Signed-off-by: Richard Patterson <[email protected]>
Signed-off-by: Shengyu Qu <[email protected]>
Shengyu Qu [Thu, 15 May 2025 05:04:41 +0000 (13:04 +0800)]
odhcp6c: update to Git HEAD (2025-02-06)
ffbb2d559af4 odhcp6c: Do not request S46 OROs by default
8aa8b706727a Use GNUInstallDirs macros
Signed-off-by: Shengyu Qu <[email protected]>
Stephen Howell [Sat, 17 May 2025 11:06:10 +0000 (12:06 +0100)]
realtek: extend simple thermal driver to support rtl839x
* Extends SoC thermal sensor on rtl839x
* Tested on HP JG928A
Signed-off-by: Stephen Howell <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18825
Signed-off-by: Robert Marko <[email protected]>
Rosen Penev [Fri, 15 Nov 2024 23:22:42 +0000 (15:22 -0800)]
ramips: mt7621: use regulators for USB GPIO
Regulators as implemented by the XHCI driver only accept one GPIO.
However, we can abuse the fact that the XHCI driver accepts two
regulators, one for 5V and the other for 3.3V, for USB 2 and 3 GPIOs.
Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/16967
Signed-off-by: Robert Marko <[email protected]>
Álvaro Fernández Rojas [Mon, 2 Jun 2025 15:45:44 +0000 (17:45 +0200)]
bmips: huawei,hg556a-b: configure LAN LEDs
Now that the external switch is working properly we can configure the LAN LEDs.
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Linus Walleij [Tue, 27 May 2025 19:36:10 +0000 (21:36 +0200)]
ixp4xx: Switch to kernel v6.12
This can be done with so little effort, all but two patches are now
upstream. No need to keep support for v6.6, everything just works
the same or better with v6.12.
Signed-off-by: Linus Walleij <[email protected]>
George Moussalem [Fri, 30 May 2025 05:19:29 +0000 (09:19 +0400)]
qualcommax: ipq50xx: fix uniphy soft reset issue
The resets in the GCC of the uniphy found in the IPQ5018 SoC are
incorrect which broke the ability to shift between 1G and 2.5G link
speeds. So let's correct the resets based on below two downstream
commits.
In a seperate and prequisite PR to the QCA-SSDK repo, logic has been
implemented to select the right reset based on the link setup so fixed
link scenarios don't break.
Signed-off-by: George Moussalem <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18774
Signed-off-by: Robert Marko <[email protected]>
George Moussalem [Sat, 31 May 2025 10:41:44 +0000 (14:41 +0400)]
qca-ssdk: update to Git HEAD (2025-05-30)
446db12b1fd3 MP: fix uniphy reset in phy to phy link scenario
Signed-off-by: George Moussalem <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18774
Signed-off-by: Robert Marko <[email protected]>
George Moussalem [Sat, 10 May 2025 11:33:12 +0000 (15:33 +0400)]
qualcommax: ipq50xx: prepare for UNIPHY reset fix
Ahead of the actual fix in both the GCC and QCA-SSDK, add the required
AHB reset so it can be picked up by updated QCA-SSDK. This is needed
as the SSDK needs to use different resets depending on the link
architecture. If it's a fixed link, AHB needs to be reset. In a phy to
phy link setup (such as QCA8081), SYS, RX, and TX need to be reset using
one reset with a bitmask in the GCC (GCC_UNIPHY_SOFT_RESET).
Signed-off-by: George Moussalem <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18774
Signed-off-by: Robert Marko <[email protected]>
George Moussalem [Fri, 30 May 2025 08:00:20 +0000 (12:00 +0400)]
qualcommax: ipq50xx: remove named clock references for GE PHY
With completely carving out GE PHY out of the QCA-SSDK, the named clock
references to the GE PHY RX and TX clocks are no longer needed.
So, let's revert to using the DT indices as per the upstream GCC driver.
Signed-off-by: George Moussalem <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18774
Signed-off-by: Robert Marko <[email protected]>
George Moussalem [Sat, 31 May 2025 10:27:24 +0000 (14:27 +0400)]
qca-ssdk: update to Git HEAD (2025-05-30)
3423fdacac63 ssdk_clk: Remove MP_PHY clocks resets and init logic
Signed-off-by: George Moussalem <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18774
Signed-off-by: Robert Marko <[email protected]>
George Moussalem [Wed, 28 May 2025 05:24:49 +0000 (09:24 +0400)]
qualcommax: ipq50xx: update patches for IPQ5018 GE PHY
Use latest patches sent upstream for review for IPQ5018 GE PHY support:
- Move enablement of the LDO controller to the mdio-ipq4019 driver away
from the CMN PLL driver
- Remove the different patches to add CDT, MSE, AZ, and DAC support they
are all contained in the upstreamed driver.
Accordingly, also set the right property in the DTS for Linksys SPNMX56
to set the right DAC values to accommodate for the short cable length.
Signed-off-by: George Moussalem <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18774
Signed-off-by: Robert Marko <[email protected]>
Shiji Yang [Thu, 29 May 2025 11:32:52 +0000 (19:32 +0800)]
gemini: switch default NTFS driver package to kmod-fs-ntfs3
kmod-fs-ntfs is not available on the 6.12 kernel.
Signed-off-by: Shiji Yang <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18954
Signed-off-by: Robert Marko <[email protected]>
Alexandru Gagniuc [Sat, 31 May 2025 15:56:28 +0000 (10:56 -0500)]
qualcommbe: drop kernel v6.6 support
As qualcommbe is now supported by the v6.12 kernel, there is no point
in v6.6 as well. Drop v6.6 support.
Signed-off-by: Alexandru Gagniuc <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18982
Signed-off-by: Robert Marko <[email protected]>
Alexandru Gagniuc [Sat, 31 May 2025 15:37:10 +0000 (10:37 -0500)]
qualcommbe: use kernel 6.12 by default
The qualcommbe target was introduced after openwrt-24.10. The v6.12
kernel is now available, and is likely to be used by the next openwrt
release.While the v6.6 kernel served as an interim development vehicle,
it is no longer useful for the qualcommbe target
The v6.12 patches contain more recent submissions of pending ipq95xx
drivers. I expect that it will be much easier to update v6.12 patches
with new submissions. For ease of maintenance, it makes sense to use
a single kernel for qualcommbe.
For these reasons, enable v6.12 by default.
Signed-off-by: Alexandru Gagniuc <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18982
Signed-off-by: Robert Marko <[email protected]>
Álvaro Fernández Rojas [Tue, 24 May 2022 09:14:21 +0000 (11:14 +0200)]
bmips: huawei,hg556a-b: enable external switch
The external switch of the Huawei HG556a is a BCM5325E connected by MDIO.
All the DSA brcm legacy FCS tag and b53 patches have been submitted upstream
and will be backported when accepted.
There are still some sporadic FDB errors, but at least the switch is working
and stable on my device:
bcm53xx
fffe4800.ethernet-mii:1e: port 0 failed to add 72:31:59:xx:xx:xx vid 1 to fdb: -28
bcm53xx
fffe4800.ethernet-mii:1e: port 0 failed to add 5c:4c:a9:xx:xx:xx vid 0 to fdb: -28
bcm53xx
fffe4800.ethernet-mii:1e: port 0 failed to add 5c:4c:a9:xx:xx:xx vid 1 to fdb: -28
bcm53xx
fffe4800.ethernet-mii:1e: port 0 failed to delete 72:31:59:xx:xx:xx vid 1 from fdb: -2
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Zoltan HERPAI [Sun, 1 Jun 2025 13:52:26 +0000 (13:52 +0000)]
pistachio: drop 6.6 support
Drop configs and patches for Linux 6.6.
Signed-off-by: Zoltan HERPAI <[email protected]>
Zoltan HERPAI [Sun, 1 Jun 2025 12:04:18 +0000 (12:04 +0000)]
pistachio: use kernel 6.12 by default
Switch to Linux kernel version 6.12.
Signed-off-by: Zoltan HERPAI <[email protected]>
Alexandru Gagniuc [Wed, 17 Apr 2024 02:49:28 +0000 (21:49 -0500)]
realtek: support EnGenius EWS2910P v3
Add support for V3 of the Engenius EWS2910P PoE switch. Like its v1
brother, This is an RTL8380 based switch with two SFP slots, and PoE
802.3af one every RJ-45 port.
Unlike its older brother, the max budget is 55W instead of 61.6 W.
Investigation into the communication protocol with the PoE controller
is ongoing, though it appears the vendor firmware configures the PSE
with a per-port budget of 30.0W.
Specifications:
---------------
* SoC: Realtek RTL8380M
* Flash: 32 MiB SPI flash Macronix MX25L25635E
* RAM: 256 MiB (As reported by bootloader)
* Ethernet: 8x 10/100/1000 Mbps with PoE
2x SFP slots
* Buttons: 1 "Reset" button on front panel
1 "LED mode: button on front panel
1 "On/Off" Toggle switch on the back
* Power: 48V-54V DC barrel jack
* UART: 1 serial header (JP1) with populated 2.54mm pitch header
Labeled GRTV for ground, rx, tx, and 3.3V respectively
* PoE: 1 STM ST32... microcontroller (U15)
1 RTL8238B PSE controller
Works:
------
- (8) RJ-45 ethernet ports
- Switch functions
- LEDs and buttons
Not yet enabled:
----------------
- Power-over-Ethernet (requires realtek-poe support for RTL8232B)
Install via web interface:
-------------------------
The factory firmware will accept and flash the initramfs image. It is
recommended to flash to "Partition 0". Flashing to "Partition 1" is
not supported at this point.
The factory web GUI will show the following warning:
" Warning: The firmware version is v0.00.00-c0.0.00
The firmware image you are uploading is older than the current
firmware of the switch. The device will reset back to default
settings. Are you sure you want to proceed?"
This is expected when flashing OpenWrt. After the initramfs image
boots, flash the -sysupgrade using either the commandline or LuCI.
Install via serial console/tftp:
--------------------------------
See commit
2cfaab4549f5 ("realtek: add support for EnGenius EWS2910P").
Signed-off-by: Alexandru Gagniuc <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/15217
Signed-off-by: Robert Marko <[email protected]>
Alexandru Gagniuc [Wed, 17 Apr 2024 02:28:23 +0000 (21:28 -0500)]
realtek: engenius_ews2910p: support multiple hardware versions
When the Engenius EWS-2910P was added, only v1 was known. Move the
common parts to a dtsi, and split up the support to acccount for the
hardware version.
On v3, for example, the root partition uses a different uImage magic.
Add a "engenius,ews2910p-v1" compatible, while leaving the legacy
"engenius,ews2910p" to also mean v1.
Signed-off-by: Alexandru Gagniuc <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/15217
Signed-off-by: Robert Marko <[email protected]>
Enrico Mioso [Wed, 21 May 2025 15:21:08 +0000 (17:21 +0200)]
uboot-mediatek: bump to v2025.04
The following upstreamed / superseded patches were dropped:
060-01-clk-mediatek-mt7629-fix-parent-clock-of-some-top-clo.patch
060-02-arm-dts-mt7629-fix-sgmii-clock-selection-for-etherne.patch
060-03-net-mediatek-use-correct-register-field-for-SGMII-sp.patch
060-04-net-mediatek-correct-register-name-of-ethsys-syscfg1.patch
060-05-net-mediatek-fix-sgmii-selection-for-mt7622.patch
060-06-net-mediatek-fix-gmac2-usability-for-mt7629.patch
060-07-net-mediatek-add-support-for-10GBASE-R.patch
060-08-net-mediatek-make-sgmii-usxgmii-optional.patch
060-09-net-mediatek-don-t-enable-GDMA-cpu-bridge-unconditio.patch
060-10-net-mediatek-fix-usability-with-wget-command.patch
061-01-net-mediatek-split-ethernet-switch-code-from-mtk_eth.patch
061-02-net-mediatek-add-support-for-MediaTek-MT7987-SoC.patch
061-03-net-mediatek-add-support-for-Airoha-AN8855-ethernet-.patch
070-01-board-mediatek-mt7622-remove-board_late_init.patch
070-02-clk-mediatek-fix-uninitialized-fields-issue-in-INFRA.patch
070-03-configs-mt7629-move-image-load-address-to-0x42000000.patch
070-04-configs-mt7988-move-image-load-address-to-0x44000000.patch
070-05-spi-mtk_spim-add-support-to-use-DT-live-tree.patch
070-06-spi-mtk_spim-check-slave-device-mode-in-spi-mem-s-su.patch
070-07-arm-dts-mediatek-add-quad-mode-capabilities-for-SPI-.patch
070-08-pwm-mediatek-add-pwm3-support-for-mt7981.patch
070-09-pci-mediatek-add-support-for-multiple-ports-in-media.patch
070-10-arm-dts-mediatek-add-pcie-support-for-mt7988.patch
070-11-arm-dts-medaitek-fix-internal-switch-link-speed-of-m.patch
070-12-arm-dts-mediatek-add-support-for-all-three-GMACs-for.patch
070-13-arm-dts-medaitek-add-flash-interface-driving-setting.patch
070-14-arm-dts-mediatek-update-mt7981-mmc-node.patch
070-15-MAINTAINERS-update-file-list-for-MediaTek-ARM-platfo.patch
071-01-pinctrl-mediatek-update-mt7981-pinctrl-driver-based-.patch
100-18-board-mt7629-add-support-for-booting-from-SPI-NAND.patch
290-mt7981-add-USB-nodes.patch
Refreshed all the patches needing it.
Run-tested: GatoNetworks GDSP, Arcadyan Mozart (ynezz),
Zbt WG3526 (dangowrt)
Signed-off-by: Enrico Mioso <[email protected]>
Signed-off-by: Petr Štetiar <[email protected]> [patch refresh, Mozart testing]
Signed-off-by: Daniel Golle <[email protected]> [rebased, tested on MT7621]
Philip Prindeville [Sun, 11 Aug 2024 21:28:01 +0000 (15:28 -0600)]
sysupgrade: create 10_disable_services w/ fixed modified time
Every time "sysupgrade -b -" runs it would generate a new
(synthetic) "/etc/uci-defaults/10_disable_services" file with
the current time as the modified time. This unfortunately
creates a non-deterministic tarball, so if you run a cron job
to save your state, you don't have a trivial way of seeing if
it changed or not without unpacking the archive, deleting this
file, and comparing the entire directory tree to the previous
backup.
Fixes: #16145
Fixes: 0ad062a21b ("base-files: sysupgrade: include uci-defaults script disabling services #2")
Signed-off-by: Philip Prindeville <[email protected]>
Shiji Yang [Thu, 29 May 2025 10:25:21 +0000 (18:25 +0800)]
kernel: bump 6.12 to 6.12.31
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.12.31
Remove upstreamed patches:
backport-6.12/780-27-v6.15-r8169-don-t-scan-PHY-addresses-0.patch [1]
backport-6.12/780-33-v6.15-r8169-disable-RTL8126-ZRX-DC-timeout.patch [2]
bcm27xx/patches-6.12/950-0315-media-i2c-imx219-Correct-the-minimum-vblanking-value.patch [3]
bcm27xx/patches-6.12/950-0857-drm-v3d-Add-clock-handling.patch [4]
bcm27xx/patches-6.12/950-0874-PCI-brcmstb-Expand-inbound-window-size-up-to-64GB.patch [5]
bcm27xx/patches-6.12/950-0877-PCI-brcmstb-Adding-a-softdep-to-MIP-MSI-X-driver.patch [6]
bcm27xx/patches-6.12/950-0960-media-imx335-Set-vblank-immediately.patch [7]
Manually rebased patches:
d1/patches-6.12/0009-ASoC-sunxi-sun4i-codec-add-basic-support-for-D1-audi.patch
[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.31&id=
ba59747562c49974cbace989d76b94a8331da442
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.31&id=
2780aa8394415df0a69e3b908d6dd8c79e1d1bcc
[3] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.31&id=
9a981079097bee6a0583877798de0b240717bdde
[4] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.31&id=
bbd6dc1fb6c56267ad1d58810d92287fcd5b0058
[5] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.31&id=
3ffaa2e999380477774e76680ff4cef247451168
[6] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.31&id=
12153e3948c596737853c3ec4ff7e4e3f4a9f9a6
[7] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.12.31&id=
8d7e13c31c52690655883dff604238b0760a3644
Signed-off-by: Shiji Yang <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18953
Signed-off-by: Hauke Mehrtens <[email protected]>
Felix Fietkau [Tue, 20 May 2025 18:52:01 +0000 (20:52 +0200)]
cli: return the correct data type for enum attributes
Return entries from the value array instead of the provided string
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Thu, 22 May 2025 07:47:04 +0000 (09:47 +0200)]
mac80211: allow scanning operating on DFS channels
Only for multi-radio configurations where the scan would not affect the radio
running DFS detection
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Thu, 22 May 2025 08:09:41 +0000 (10:09 +0200)]
hostapd: tweak ACS retry behavior
When running ACS on multi-radio devices, ACS on one band can block another.
Increase the number of retries and prevent bouncing interfaces between AP
and STA mode during attempts.
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Fri, 30 May 2025 19:27:52 +0000 (21:27 +0200)]
cli: fix dealing with enum types with object value lists
Convert to array before calling filter()
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Fri, 30 May 2025 19:38:31 +0000 (21:38 +0200)]
unetmsg: set TCP timeout for outgoing connections
Avoid running into long timeouts
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Sat, 31 May 2025 14:21:18 +0000 (16:21 +0200)]
procd: update to Git HEAD (2025-05-31)
59d22013f9dd jail: make udebug socket optional
Fixes: https://github.com/openwrt/openwrt/issues/18967
Signed-off-by: Felix Fietkau <[email protected]>
Álvaro Fernández Rojas [Sat, 31 May 2025 07:16:21 +0000 (09:16 +0200)]
generic: backport brcm legacy dsa tag fix
Backport a small fix for brcm legacy dsa tags that has been accepted for
linux v6.16.
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Álvaro Fernández Rojas [Sat, 31 May 2025 07:00:21 +0000 (09:00 +0200)]
generic: backport bcm63xx SPI reset fix
Fixes SPI and HSSPI coexistance on bmips bcm6362 and bcm63268.
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Markus Stockhausen [Mon, 19 May 2025 14:41:50 +0000 (10:41 -0400)]
realtek: enhance & harmonize dsa/phy max port patches
DSA silently drops internal phy access to ports >= 32 in dsa_user_phy_read()
and dsa_user_phy_write(). The code shows:
static int dsa_user_phy_read(struct mii_bus *bus, int addr, int reg)
{
struct dsa_switch *ds = bus->priv;
if (ds->phys_mii_mask & (1 << addr))
return ds->ops->phy_read(ds, addr, reg);
return 0xffff;
}
With ds->phys_mii_mask being a 32 bit variable the reason is clear. So do
not only increase the max values but also adapt the needed bitmasks in
the dsa and phy code. This fixes the dsa_user_ports() and dsa_cpu_ports()
too.
While we are here combine the old separated patches because dsa, mdio and
phy are tigthly coupled.
Signed-off-by: Markus Stockhausen <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18846
Signed-off-by: Robert Marko <[email protected]>
Alexandru Gagniuc [Sun, 25 May 2025 22:42:20 +0000 (17:42 -0500)]
qualcommbe: v6.12: enable 2.5G and 10G phylink modes in pcs-qcom-ipq9574
The PCS driver in the 6.12 patchset is the v5 submission (see link
below). It solves a number of issues and crashes with teh pcs driver
from the 6.6 patchset. However, this new driver is missing support for
"10gbase-r", "10g-qxgmii", and 1000/2500base-x modes.
Port these modes to the 6.12 patchset. "2500base-x" in particular seems
to be needed to establish a 2.5G link on phy-mode="usxgmii";
Link: https://lore.kernel.org/lkml/[email protected]/
Signed-off-by: Alexandru Gagniuc <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18796
Signed-off-by: Robert Marko <[email protected]>
Alexandru Gagniuc [Sat, 3 May 2025 13:57:10 +0000 (08:57 -0500)]
qualcommbe: enable v6.12 testing kernel
Now that patches for v6.12 are available, add the config, and enable
6.12 as a testing kernel.
Compared to v6.6 the patches to add "10gbase-r", "2500base-x",
"1000base-x", and "10g-qxgmii" modes have not been ported yet. They do
not apply cleanly to the new PCS driver. As the currently supported
hardware does not use those modes, it is not possible to test them at
this time.
Signed-off-by: Alexandru Gagniuc <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18796
Signed-off-by: Robert Marko <[email protected]>
Alexandru Gagniuc [Fri, 16 May 2025 22:39:33 +0000 (17:39 -0500)]
qualcommbe: add v6.12 config from v6.6
Copy the v6.6 config to v6.6. It will be updated in a subsequent
commit in order to show the changes.
Signed-off-by: Alexandru Gagniuc <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18796
Signed-off-by: Robert Marko <[email protected]>
Alexandru Gagniuc [Wed, 14 May 2025 03:13:55 +0000 (22:13 -0500)]
qualcommbe: v6.12: add NSSCC clock and reset fixes
Port reset and clock fixes from target/linux/qualcommbe/patches-6.6.
Modifications of v6.6 patches are noted in each commit body.
Signed-off-by: Alexandru Gagniuc <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18796
Signed-off-by: Robert Marko <[email protected]>
Alexandru Gagniuc [Wed, 14 May 2025 03:08:55 +0000 (22:08 -0500)]
qualcommbe: v6.12: enable ethernet for RDP433
Now that ethernet is supported on IPQ9574, add the port nodes and
other requirements to enable ethernet on RDP433.
Signed-off-by: Alexandru Gagniuc <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18796
Signed-off-by: Robert Marko <[email protected]>
Alexandru Gagniuc [Wed, 14 May 2025 03:03:38 +0000 (22:03 -0500)]
qualcommbe: v6.12: add PPE driver (part 2)
Add the second part of the PPE driver. This includes the EDMA and
network device support. This part does not appear to have been
officially submitted for upstream review. The series is taken from
target/linux/qualcommbe/patches-6.6, and had to be heavily modified
in order to compile of v6.12. Changes to patches are noted in the
respective patch body.
Also add the PPE and EDMA nodes in this series.
Signed-off-by: Alexandru Gagniuc <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18796
Signed-off-by: Robert Marko <[email protected]>
Alexandru Gagniuc [Wed, 14 May 2025 02:55:12 +0000 (21:55 -0500)]
qualcommbe: v6.12: add pending PPE driver (part 1)
Add v3 submission of the qualcomm PPE driver. As of this writing, it
is the latest version. This lacks the EDMA driver and network device
support. That will be added in part 2.
Link: https://lore.kernel.org/lkml/[email protected]
Signed-off-by: Alexandru Gagniuc <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18796
Signed-off-by: Robert Marko <[email protected]>
Alexandru Gagniuc [Wed, 14 May 2025 02:45:35 +0000 (21:45 -0500)]
qualcommbe: v6.12: add ethernet PCS driver for IPQ9574
Add the v5 of the PCS patch. This is the latest submission as of this
writing. THe last four patches are not part of the submission. They
make the series work with v6.12 kernel, resolve a circular dependency
with the clocks, and add the DTS node. Include them as bundle.
Link: https://lore.kernel.org/lkml/[email protected]/
Signed-off-by: Alexandru Gagniuc <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18796
Signed-off-by: Robert Marko <[email protected]>
Alexandru Gagniuc [Wed, 14 May 2025 02:38:58 +0000 (21:38 -0500)]
qualcommbe: v6.12: add QCA8084 ethernet PHY driver
This driver is cherry-picked from target/linux/qualcommbe/patches-6.6.
While Qualcomm did submit past patches for QCA8084, the code has since
ben split from at803x. The existing OpenWRT version of the patch is
the cleanest version I could find. Add it here.
Signed-off-by: Alexandru Gagniuc <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18796
Signed-off-by: Robert Marko <[email protected]>
Alexandru Gagniuc [Wed, 14 May 2025 02:35:25 +0000 (21:35 -0500)]
qualcommbe: v6.12: add various DTS updates for IPQ9574 and RDP433
These devicetree updates can work with the existing upstreamcode. They
do not require code changes. Add them before any code change.
Signed-off-by: Alexandru Gagniuc <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18796
Signed-off-by: Robert Marko <[email protected]>
Alexandru Gagniuc [Wed, 14 May 2025 02:31:48 +0000 (21:31 -0500)]
qualcommbe: v6.12: add pending patches
Add dts fixes from linux-next. Two patches from the NSSCC series are
still in -next did not yet land in mainline, as well as misc other DTS
changes. Add them here.
Signed-off-by: Alexandru Gagniuc <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18796
Signed-off-by: Robert Marko <[email protected]>
Alexandru Gagniuc [Tue, 13 May 2025 23:45:56 +0000 (18:45 -0500)]
qualcommbe: v6.12: add upstreamed patches
Add relevant patches from upstream, up to v5.16-rc6. The gaps in the
patch numbersing are either patches that were picked into the stable
kernel (6.12.y), or that are already backported in
target/linux/generic. The gaps makes it easy for me to pick these
patches from my working kernel git branch.
Signed-off-by: Alexandru Gagniuc <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18796
Signed-off-by: Robert Marko <[email protected]>
Vladislav Grigoryev [Tue, 24 Oct 2023 17:33:09 +0000 (20:33 +0300)]
base-files: use cidr for config_generate
Generate network configuration replacing netmask with CIDR.
Depends on:
https://github.com/openwrt/openwrt/pull/13765
Using CIDR provides the following advantages:
* Consolidate notation for IPv4 and IPv6 addresses.
* Consolidate notation for IP addresses and routing targets.
* Simplify network configuration and troubleshooting.
* Follow the transition from net-tools to iproute2.
Resulting configuration example:
```
config interface 'loopback'
option device 'lo'
option proto 'static'
list ipaddr '127.0.0.1/8'
config interface 'lan'
option device 'br-lan'
option proto 'static'
list ipaddr '192.168.1.1/24'
```
Signed-off-by: Vladislav Grigoryev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/13780
Signed-off-by: Robert Marko <[email protected]>
Christian Marangi [Fri, 30 May 2025 19:21:09 +0000 (21:21 +0200)]
ath79: add calibtation variant for TP-Link Archer C6 v2
Now that we have a board file, add calibration variant for TP-Link
Archer C6 v2 and add ipq-wifi package for it.
Signed-off-by: Christian Marangi <[email protected]>
Christian Marangi [Fri, 30 May 2025 19:33:44 +0000 (21:33 +0200)]
ipq-wifi: Add entry for TP-Link Archer C6 v2
Add IPQ Wifi entry for Ath79 TP-Link Archer C6 v2.
Signed-off-by: Christian Marangi <[email protected]>
Christian Marangi [Fri, 30 May 2025 19:25:38 +0000 (21:25 +0200)]
ipq-wifi: update to Git HEAD (2025-05-30)
576ade747259 CI: add action that prints info about submited BDF-s
1d688e8654a5 qca9888 : add BDF for Yuncore WB5G08
ddfd9d2f3a8e ipq60xx: rename BDF for EAP623-Outdoor HD v1
bab36c1d947d ath10k: drop upstramed board files
09e5afab85b2 CI: add QCA9988
fde3d2a7ce59 qca9888: add TP-Link Archer C6 v2 (EU) BDF
Signed-off-by: Christian Marangi <[email protected]>
Zoltan HERPAI [Wed, 28 May 2025 17:10:27 +0000 (17:10 +0000)]
sunxi: enable crypto offload engine
Enable the sun8i_ce and sun8i_ss crypto engines that are included on
various Allwinner SoCs, along with their respective hash/prng/trng
options.
sun8i_ce: H2+, H3, H5, H6, R40 and A64
sun8i_ss: A80, A83T
BananaPi P2 Zero (H2+):
[ 0.373860] sun8i-ce
1c15000.crypto: Set mod clock to
50000000 (50 Mhz) from
24000000 (24 Mhz)
[ 0.374326] sun8i-ce
1c15000.crypto: will run requests pump with realtime priority
[ 0.374516] sun8i-ce
1c15000.crypto: will run requests pump with realtime priority
[ 0.374657] sun8i-ce
1c15000.crypto: will run requests pump with realtime priority
[ 0.374788] sun8i-ce
1c15000.crypto: will run requests pump with realtime priority
[ 0.374924] sun8i-ce
1c15000.crypto: Register cbc(aes)
[ 0.374962] sun8i-ce
1c15000.crypto: Register ecb(aes)
[ 0.374976] sun8i-ce
1c15000.crypto: Register cbc(des3_ede)
[ 0.374990] sun8i-ce
1c15000.crypto: Register ecb(des3_ede)
[ 0.375005] sun8i-ce
1c15000.crypto: Register md5
[ 0.375019] sun8i-ce
1c15000.crypto: Register sha1
[ 0.375032] sun8i-ce
1c15000.crypto: Register sha224
[ 0.375046] sun8i-ce
1c15000.crypto: Register sha256
[ 0.375061] sun8i-ce
1c15000.crypto: Register sha384
[ 0.375075] sun8i-ce
1c15000.crypto: Register sha512
[ 0.375109] sun8i-ce
1c15000.crypto: Register stdrng
[ 0.375150] sun8i-ce
1c15000.crypto: TRNG not supported
[ 0.375157] sun8i-ce
1c15000.crypto: CryptoEngine Die ID 1
BananaPi M3 (A83t):
[ 0.429615] sun8i-ss
1c15000.crypto: will run requests pump with realtime priority
[ 0.429866] sun8i-ss
1c15000.crypto: will run requests pump with realtime priority
[ 0.430042] sun8i-ss
1c15000.crypto: DEBUG: Register cbc(aes)
[ 0.430095] sun8i-ss
1c15000.crypto: DEBUG: Register ecb(aes)
[ 0.430112] sun8i-ss
1c15000.crypto: DEBUG: Register cbc(des3_ede)
[ 0.430128] sun8i-ss
1c15000.crypto: DEBUG: Register ecb(des3_ede)
[ 0.430152] sun8i-ss
1c15000.crypto: Register md5
[ 0.430171] sun8i-ss
1c15000.crypto: Register sha1
[ 0.430187] sun8i-ss
1c15000.crypto: Register sha224
[ 0.430203] sun8i-ss
1c15000.crypto: Register sha256
[ 0.430220] sun8i-ss
1c15000.crypto: Register hmac(sha1)
[ 0.430276] sun8i-ss
1c15000.crypto: Security System Die ID 7
[ 0.493087] sun8i-ss
1c15000.crypto: Fallback driver could no be loaded
OrangePi Zero 2 (H616):
[ 0.176833] sun8i-ce
1904000.crypto: will run requests pump with realtime priority
[ 0.177054] sun8i-ce
1904000.crypto: will run requests pump with realtime priority
[ 0.177167] sun8i-ce
1904000.crypto: will run requests pump with realtime priority
[ 0.177258] sun8i-ce
1904000.crypto: will run requests pump with realtime priority
[ 0.177361] sun8i-ce
1904000.crypto: Register cbc(aes)
[ 0.177408] sun8i-ce
1904000.crypto: Register ecb(aes)
[ 0.177420] sun8i-ce
1904000.crypto: Register cbc(des3_ede)
[ 0.177432] sun8i-ce
1904000.crypto: Register ecb(des3_ede)
[ 0.177444] sun8i-ce
1904000.crypto: Register md5
[ 0.177456] sun8i-ce
1904000.crypto: Register sha1
[ 0.177468] sun8i-ce
1904000.crypto: Register sha224
[ 0.177479] sun8i-ce
1904000.crypto: Register sha256
[ 0.177503] sun8i-ce
1904000.crypto: Register sha384
[ 0.177515] sun8i-ce
1904000.crypto: Register sha512
[ 0.177527] sun8i-ce
1904000.crypto: Register stdrng
[ 0.177648] sun8i-ce
1904000.crypto: CryptoEngine Die ID 0
Signed-off-by: Zoltan HERPAI <[email protected]>
Zoltan HERPAI [Wed, 28 May 2025 21:03:14 +0000 (21:03 +0000)]
sunxi: cortexa53: enable rtc drivers
RTC has been disabled so far in the cortexa53 subtarget so far, enable
it. It's also required for the crypto trng/prng drivers on these SoC
variants (to gather IOSC noise).
Signed-off-by: Zoltan HERPAI <[email protected]>
Zoltan HERPAI [Thu, 29 May 2025 20:58:28 +0000 (22:58 +0200)]
sunxi: drop 6.6 support
Drop configs and patches for Linux 6.6.
Signed-off-by: Zoltan HERPAI <[email protected]>
Zoltan HERPAI [Thu, 29 May 2025 20:57:53 +0000 (22:57 +0200)]
sunxi: use kernel 6.12 by default
Switch to Linux kernel version 6.12.
Signed-off-by: Zoltan HERPAI <[email protected]>
Zoltan HERPAI [Thu, 29 May 2025 12:35:31 +0000 (12:35 +0000)]
pistachio: add 6.12 testing kernel
Allow selecting 6.12 as testing kernel on pistachio.
Runtime-tested:
- Creator Ci40 Marduk 02KZ/5+
Signed-off-by: Zoltan HERPAI <[email protected]>
Zoltan HERPAI [Thu, 29 May 2025 12:35:12 +0000 (12:35 +0000)]
pistachio: 6.12: refresh patches and kernel config
Refresh patches and configs as required.
Signed-off-by: Zoltan HERPAI <[email protected]>
Zoltan HERPAI [Thu, 29 May 2025 12:05:09 +0000 (12:05 +0000)]
kernel/pistachio: Restore kernel files for v6.6
This is an automatically generated commit which aids following Kernel patch
history, as git will see the move and copy as a rename thus defeating the
purpose.
For the original discussion see:
https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html
Signed-off-by: Zoltan HERPAI <[email protected]>
Zoltan HERPAI [Thu, 29 May 2025 12:05:09 +0000 (12:05 +0000)]
kernel/pistachio: Create kernel files for v6.12 (from v6.6)
This is an automatically generated commit.
When doing `git bisect`, consider `git bisect --skip`.
Signed-off-by: Zoltan HERPAI <[email protected]>
Antti Seppälä [Sat, 10 May 2025 10:54:56 +0000 (13:54 +0300)]
qmi: increase SIM power-cycle timeouts
Some modems and SIM cards take a bit longer to initialize after UIM has been
powered off. Waiting too little time can cause the qmi protocol to end up
in a loop repeatedly power-cycling the SIM card.
Avoid that by
a) increasing the time we unconditionally sleep after --uim-power-on
b) increasing the time we allow uqmi to wait for response for --uim-get-sim-state
Signed-off-by: Antti Seppälä <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18772
Signed-off-by: Hauke Mehrtens <[email protected]>
Florian Eckert [Wed, 30 Apr 2025 10:25:01 +0000 (12:25 +0200)]
base-files: treat 'ipaddr is inside range' as warning again
The call to 'ipcalc' is used in 'dnsmasq' init script to create the
configuration. If the 'ipaddr' is in the configured range then 'ipcalc' exited
with an error whereby the START/STOP variables are unavailable.
This behaviour has changed during 'ipcalc' refactoring and now leads to a
problem when starting 'dnsmasq' if the 'ipaddr' is inside this range. To
restore the old behaviour, only a warning is issued as before and the
required variables for the 'dnsmasq' are still set.
Fixes: 854739b32c7f (base-files: ipcalc.sh: Rewrite in pure shell)
Signed-off-by: Florian Eckert <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18641
Signed-off-by: Hauke Mehrtens <[email protected]>
Florian Eckert [Tue, 29 Apr 2025 13:26:36 +0000 (15:26 +0200)]
dnsmasq: fix start if dhcp-range is not correct
If the uci 'dhcp' configuration for the dhcp leases is incorrect then
the call to 'ipclac' fails. However, the problem is that the dnsmasq
configuration option 'dhcp-range' is still written for this uci section
even though the information generated by ipcalc is incorrect or not set.
Due to the incorrectly generated configuration for dnsmasq, the service
cannot start.
To prevent an incorrect configuration from being written to the configuration,
a check is now made beforehand to ensure that the required variables are
present and valid. If the configuration is incorrect, a message is emitted
to the log that this configuration section is incorrect and this uci
configuration section is omitted.
Signed-off-by: Florian Eckert <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18641
Signed-off-by: Hauke Mehrtens <[email protected]>
Sean Khan [Wed, 28 May 2025 08:48:14 +0000 (04:48 -0400)]
wifi-scripts: add missing 'network' property to wifi-iface schema
The ucode-based wifi interface validation is based on `hostapd.conf`
specific options, which means it's missing the OpenWrt-specific
'network' property.
This causes schema validation warnings like:
```
daemon.notice netifd: radio1 (1340): wifi-scripts: network is not present in the schema
```
The description is taken from the OpenWrt wiki:
https://openwrt.org/docs/guide-user/network/wifi/basic#common_options1
Signed-off-by: Sean Khan <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18946
Signed-off-by: Robert Marko <[email protected]>
Jonas Jelonek [Wed, 28 May 2025 11:36:31 +0000 (11:36 +0000)]
generic: power: backport v6.15 patch to fix build with GCC15
Backports an upstream fix ([1]) for a build regression of
'drivers/power/supply' with GCC15 -Wunterminated-string-initialization.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=
77f5bb150132bbbcd6bc37ffdc80c9e140e373a4
Signed-off-by: Jonas Jelonek <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18950
Signed-off-by: Hauke Mehrtens <[email protected]>
Jonas Jelonek [Wed, 28 May 2025 11:33:03 +0000 (11:33 +0000)]
generic: net: add pending wireguard patch to fix build with GCC15
This patch adds __nonstring annotation to address GCC15 with
-Wunterminated-string-initialization.
It is accepted in wireguard-linux in [1] and pending for v6.16
in [2].
[1] https://git.zx2c4.com/wireguard-linux/commit/?h=devel&id=
71e5da46e78c1cd24e2feed251a2845327447ad8
[2] https://patch.msgid.link/
20250521212707.
1767879[email protected]
Signed-off-by: Jonas Jelonek <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18950
Signed-off-by: Hauke Mehrtens <[email protected]>
Shiji Yang [Wed, 28 May 2025 11:06:00 +0000 (19:06 +0800)]
mediatek: mt7629: add the missing symbol CONFIG_LEDS_SMARTRG_LED
This symbol was lost when porting to the 6.12 kernel.
Fixes: 16b5a77716f6 ("mediatek: mt7629: update config-6.12")
Signed-off-by: Shiji Yang <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18947
Signed-off-by: Hauke Mehrtens <[email protected]>
Shiji Yang [Wed, 28 May 2025 11:06:00 +0000 (19:06 +0800)]
kernel: reorder kernel symbol configs
Sort kernel configuration files alphabetically. Also resolve the
"CONFIG_ARM_PAN" conflict introduced in commit
057a0a075edc ("generic: Fix up the v6.12 config for ARM"). Based on
the original PR comment[1], this symbol should be disabled by default.
[1] https://github.com/openwrt/openwrt/pull/18900#discussion_r2106253528
Signed-off-by: Shiji Yang <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18947
Signed-off-by: Hauke Mehrtens <[email protected]>
Kyle Hendry [Mon, 5 May 2025 00:22:22 +0000 (17:22 -0700)]
sunxi: add support for Beelink X2
Specifications:
- SoC: Allwinner H3 Quad Cortex-A7 1.2GHz
- Flash: 8GB eMMC
- RAM: 1GB DDR3
- Ethernet: 1x100M
- Wifi: RTL8189FTV or AP6181
- 1x USB-A Host
- 1x USB-A Host/Device
- 2x Button
- 2x LED
- HDMI, SPDIF, IR
Install by following standard SD card flashing instructions.
Image can also be flashed to eMMC.
Signed-off-by: Kyle Hendry <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18732
Signed-off-by: Hauke Mehrtens <[email protected]>
Tony Ambardar [Sun, 29 Dec 2024 09:39:03 +0000 (01:39 -0800)]
malta: 6.12: enable kernel for testing
All four subtargets build successfully and run under QEMU.
Signed-off-by: Tony Ambardar <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18712
Signed-off-by: Hauke Mehrtens <[email protected]>
Tony Ambardar [Thu, 22 May 2025 22:37:20 +0000 (15:37 -0700)]
malta: 6.12: update config after kernel refresh
Drop obsolete symbols GCC_ASM_GOTO_OUTPUT_WORKAROUND and HW_CONSOLE, and
PREEMPT_NONE_BUILD which is now set in top-level generic config.
Signed-off-by: Tony Ambardar <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18712
Signed-off-by: Hauke Mehrtens <[email protected]>
Tony Ambardar [Mon, 30 Dec 2024 01:12:54 +0000 (17:12 -0800)]
kernel/malta: Restore kernel files for v6.6
This is an automatically generated commit which aids following Kernel patch
history, as git will see the move and copy as a rename thus defeating the
purpose.
For the original discussion see:
https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html
Signed-off-by: Tony Ambardar <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18712
Signed-off-by: Hauke Mehrtens <[email protected]>
Tony Ambardar [Mon, 30 Dec 2024 01:12:53 +0000 (17:12 -0800)]
kernel/malta: Create kernel files for v6.12 (from v6.6)
This is an automatically generated commit.
When doing `git bisect`, consider `git bisect --skip`.
Signed-off-by: Tony Ambardar <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18712
Signed-off-by: Hauke Mehrtens <[email protected]>
Tony Ambardar [Wed, 15 Jan 2025 00:35:38 +0000 (16:35 -0800)]
kselftests-bpf: add support for kernel 6.12
Support new libpcap dependency and drop an old kernel version dependency.
Also improve formatting and avoid using unneeded deferred make variables.
Signed-off-by: Tony Ambardar <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18712
Signed-off-by: Hauke Mehrtens <[email protected]>
Tony Ambardar [Mon, 27 Jan 2025 14:20:36 +0000 (06:20 -0800)]
package/zram: fix up Kconfig behaviour for kernel 6.12
The initial 6.12 merge leaves package/zram menuconfig behaviour confusing.
Selecting "kmod-zram" opens a submenu of the available algorithms to build
and the actual algo to use. However, when "lzo-rle" is shown as the default
used, it still remains missing from the available list. Only enabling a
_different_ compression algo to build will also reveal "lzo-rle" as
available.
Update the Kconfig to show "lzo-rle" as available if used/referenced.
Fixes: 4708057e27 ("package/zram: update for kernel 6.12")
Signed-off-by: Tony Ambardar <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18712
Signed-off-by: Hauke Mehrtens <[email protected]>
Álvaro Fernández Rojas [Thu, 29 May 2025 11:50:19 +0000 (13:50 +0200)]
bmips: drop 6.6 support
Drop configs and patches for Linux 6.6.
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Álvaro Fernández Rojas [Thu, 29 May 2025 11:49:13 +0000 (13:49 +0200)]
bmips: use kernel 6.12 by default
Switch to Linux kernel version 6.12.
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Linus Walleij [Thu, 29 May 2025 06:55:16 +0000 (08:55 +0200)]
gemini: Add missing PHY packages
These packages were dropped off in reverted packaging, bring
them all back.
Link: https://github.com/openwrt/openwrt/pull/18952
Signed-off-by: Linus Walleij <[email protected]>
Álvaro Fernández Rojas [Thu, 8 May 2025 15:51:25 +0000 (17:51 +0200)]
bmips: enable 6.12 kernel testing
bmips target now supports 6.12 kernel as testing.
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Álvaro Fernández Rojas [Thu, 8 May 2025 15:49:39 +0000 (17:49 +0200)]
bmips: update files for kernel 6.12
- Update subtarget configs for kernel 6.12.
- Refresh patches for kernel 6.12.
- Drop 210-revert-macronix-nand-block-protection.patch since brcmnand no longer
implements low level ops.
- Adapt bcm63268 gpio switches for 6.12 numbering.
- Add b53 pending patches from Jonas Gorski to fix system hangs.
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Álvaro Fernández Rojas [Thu, 8 May 2025 15:25:29 +0000 (17:25 +0200)]
bmips: restore kernel files for v6.6
This is an automatically generated commit which aids following kernel patch
history, as git will see the move and copy as a rename thus defeating the
purpose.
For the original discussion see:
https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Álvaro Fernández Rojas [Thu, 8 May 2025 15:24:11 +0000 (17:24 +0200)]
bmips: create kernel files for v6.12 (from v6.6)
This is an automatically generated commit.
When doing `git bisect`, consider `git bisect --skip`.
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Felix Fietkau [Thu, 29 May 2025 11:28:03 +0000 (13:28 +0200)]
umdns: update to Git HEAD (2025-05-29)
263a0cb87b50 udebug: use proper libudebug API
ca9b8765aea3 dns: rework packet API
ea40cfdf7eb0 cache: send multiple queries in a single packet
d62813727e53 cache: add explicit lookup for host addresses
0ce73d80dc0c dns: add cache/queue for outgoing queries
083be33749b1 cache: improve service refresh behavior
55d0c1bc1ac5 interface: ask for unicast responses by default
ce508467a533 service: add support for setting service specific hostname
632953a1582d interface: when interface properties change, reinitialise
695ac3708aa0 ubus: fix ubus announcements txt fields
cecbe1c0caae Make mdns responder case-insensitive.
2b28094d31ca dns: add support for reverse address mapping queries
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Wed, 28 May 2025 15:01:48 +0000 (17:01 +0200)]
umdns: fix udebug with jail
Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau [Wed, 28 May 2025 14:55:58 +0000 (16:55 +0200)]
procd: update to Git HEAD (2025-05-28)
37847fee4fe7 instance: convert jail feature flags to bitmap
58b6c3313e07 jail: add flag for passing the udebug socket
a3d6f1f59ff7 jail: add /dev/shm unconditionally
Signed-off-by: Felix Fietkau <[email protected]>
Agustin Lorenzo [Tue, 22 Apr 2025 20:28:51 +0000 (22:28 +0200)]
hostapd: revert "ACS: Validate 6 GHz AP criteria before ACS"
By OpenWrt's design, hostapd runs in a single global instance for all radios supported by the device, rather than one instance per radio like hostapd usually does.
Signed-off-by: Agustin Lorenzo <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18426
Signed-off-by: Robert Marko <[email protected]>
Agustin Lorenzo [Sun, 6 Apr 2025 19:44:21 +0000 (21:44 +0200)]
hostapd: update to version 2025-05-23
Manually refreshed:
301-mesh-noscan.patch
601-ucode_support.patch
770-radius_server.patch
Automatically rebased all other patches.
Signed-off-by: Agustin Lorenzo <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18426
Signed-off-by: Robert Marko <[email protected]>
Álvaro Fernández Rojas [Thu, 29 May 2025 06:13:00 +0000 (08:13 +0200)]
generic: 6.12: backport upstream v6.16 b53 patch
e39d14a760c03 net: dsa: b53: implement setting ageing time
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Álvaro Fernández Rojas [Thu, 29 May 2025 06:04:15 +0000 (08:04 +0200)]
uml: move config and patches to target dir
Commit
f025af128002 ("uml: restore 6.6 config+patches") accidentally restored
uml config and patches on the root directory instead of the proper directory.
Fixes: f025af128002 ("uml: restore 6.6 config+patches")
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Álvaro Fernández Rojas [Wed, 28 May 2025 19:46:40 +0000 (21:46 +0200)]
generic: 6.12: backport b53 upstream patches
The support_eee patch is needed in order to prevent system hangs on bmips
devices.
c4f873c2b65c8 net: dsa: b53: mdio: add support for BCM53101
c86692fc2cb77 net: dsa: b53/bcm_sf2: implement .support_eee() method
f12b363887c70 net: dsa: use ethtool string helpers
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Álvaro Fernández Rojas [Wed, 28 May 2025 19:43:51 +0000 (21:43 +0200)]
generic: 6.12: backport dsa support_eee patches
These patches are needed for b53 implementation of b53_support_eee, which
prevent system hangs on bmips devices.
99379f587278c net: dsa: provide implementation of .support_eee()
9723a77318b7c net: dsa: add hook to determine whether EEE is supported
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Zoltan HERPAI [Sat, 3 May 2025 19:58:45 +0000 (19:58 +0000)]
sunxi: add 6.12 as testing kernel
Runtime-tested on:
- Linksprite pcDuino (cortexa8 / sun5i)
- Olimex A20 Micro (cortexa7 / sun7i)
- BananaPi P2 Zero (cortexa7 / sun8i)
- Pine64 SoM (cortexa53 / sun50i)
- Orangepi Zero 2W (cortexa53 / sun50i)
Signed-off-by: Zoltan HERPAI <[email protected]>
Zoltan HERPAI [Tue, 6 May 2025 22:55:40 +0000 (22:55 +0000)]
sunxi: refresh config for 6.12
Refresh config for 6.12.
Signed-off-by: Zoltan HERPAI <[email protected]>
Zoltan HERPAI [Sat, 3 May 2025 19:57:40 +0000 (19:57 +0000)]
sunxi: remove upstreamed patches from 6.12
Remove upstreamed patches and refresh remaining ones for 6.12.
Signed-off-by: Zoltan HERPAI <[email protected]>
Zoltan HERPAI [Thu, 1 May 2025 13:32:14 +0000 (13:32 +0000)]
kernel/sunxi: Restore kernel files for v6.6
This is an automatically generated commit which aids following Kernel patch
history, as git will see the move and copy as a rename thus defeating the
purpose.
For the original discussion see:
https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html
Signed-off-by: Zoltan HERPAI <[email protected]>
Zoltan HERPAI [Thu, 1 May 2025 13:32:14 +0000 (13:32 +0000)]
kernel/sunxi: Create kernel files for v6.12 (from v6.6)
This is an automatically generated commit.
When doing `git bisect`, consider `git bisect --skip`.
Signed-off-by: Zoltan HERPAI <[email protected]>
Christian Lamparter [Sat, 26 Apr 2025 09:48:34 +0000 (11:48 +0200)]
uml: restore 6.6 config+patches
restore 6.6 config and patches.
Signed-off-by: Christian Lamparter <[email protected]>
Christian Lamparter [Sat, 26 Apr 2025 08:02:53 +0000 (10:02 +0200)]
uml: disable kmod-8250-serial
The driver tries to access ioports (0x2f9!!) which UML doesn't have.
This causes lots of warnings to appear on boot:
| WARNING: CPU: 0 PID: 1 at lib/logic_iomem.c:188 serial8250_config_port+0x20a/0x1260
| Invalid writeqb of 0xff at address 2f9
| Modules linked in:
| CPU: 0 UID: 0 PID: 1 Comm: swapper Tainted: G W 6.12.25 #0
| Tainted: [W]=WARN
| Stack:
| Call Trace:
| [<
60001000>] ? set_reset_devices+0x0/0x16
| [<
60452cba>] ? serial8250_config_port+0x20a/0x1260
| [<
6071e91f>] ? dump_stack_lvl+0x55/0x71
| [<
606e127c>] ? _printk+0x0/0x4f
| [<
60044bbb>] ? __warn+0x11b/0x120
| [<
6003b5d0>] ? um_set_signals+0x0/0x40
| [<
606de721>] ? warn_slowpath_fmt+0x81/0x8c
| [<
606de6a0>] ? warn_slowpath_fmt+0x0/0x8c
| [<
60452cba>] ? serial8250_config_port+0x20a/0x1260
(they are even recursive!)
Now, the situation gets more confusing. Because from what I can tell,
this was seemingly done intenionally. Upstream patches in related areas:
|commit
ddd268c42871b78c75e12a5c28207fb481138f41
|Author: Niklas Schnelle <
[email protected]>
|Date: Wed Apr 3 14:43:00 2024 +0200
|
| um: Select HAS_IOREMAP for UML_IOMEM_EMULATION
|
| In a future patch HAS_IOPORT=n will disable inb()/outb() and friends at
| compile time. UML supports these via its UML_IOMEM_EMULATION so let that
| select HAS_IOPORT and also reflect this in NO_IOPORT_MAP.
hint that there's ongoing work in this area. But unfortunately, this future
hasn't arrived yet. Once this future arrives, please nuke this patch.
Signed-off-by: Christian Lamparter <[email protected]>
Christian Lamparter [Sat, 26 Apr 2025 02:23:21 +0000 (04:23 +0200)]
uml: add 6.12 testing kernel
refresh config + patches.
This includes the following changes:
- The selected x86_64 CPU is switched to generic instead of K8.
A backported patch is included from 6.13.
000-v6.13-asm-generic-io.h-rework-split-ioread64-iowrite64-hel.patch
|fixed the following build error:
| CC lib/iomap.o
|lib/iomap.c:156:5: error: no previous prototype for 'ioread64_lo_hi' [-Werror=missing-prototypes]
| 156 | u64 ioread64_lo_hi(const void __iomem *addr)
| | ^~~~~~~~~~~~~~
| [...]
Note: 102-pseudo-random-mac.patch will likely go away with the next stable.
UML is switching to a new networking infrastructure. The previous implementation
using tuntap, daemon, socket, ethertap, vde are being replaced by "vector"
transports tap, hybrid, raw, EoGRE, Eol2tpv3, fd, vde (vector!).
Please see, to checkout what will change:
<https://docs.kernel.org/virt/uml/user_mode_linux_howto_v2.html#setting-up-uml-networking>
Signed-off-by: Christian Lamparter <[email protected]>
Christian Lamparter [Sat, 26 Apr 2025 10:05:11 +0000 (12:05 +0200)]
uml: remove left-overs from previous kernel bumps
This should have been fixed by an upstream patch in 5.12
|commit
ed102bf2afed226703eaf85a704755bdbea34583
|Author: Randy Dunlap <
[email protected]>
|Date: Thu Apr 15 10:13:52 2021 -0700
|
| um: Fix W=1 missing-include-dirs warnings
|
| Currently when using "W=1" with UML builds, there are over 700 warnings
| cc1: warning: ./arch/um/include/uapi: No such file or directory [-Wmissing-include-dirs]
|
| but arch/um/ does not have include/uapi/ at all, so add that
| subdir and put one Kbuild file into it (since git does not track
| empty subdirs).
Signed-off-by: Christian Lamparter <[email protected]>
Christian Lamparter [Sat, 26 Apr 2025 02:25:27 +0000 (04:25 +0200)]
generic: 6.12: add missing symbol
this symbol got picked up by the 6.12 UML conversion.
CONFIG_FBNIC = FaceBook/Meta Platforms Host Network Interface
it should be disabled by default in generic.
Signed-off-by: Christian Lamparter <[email protected]>
Álvaro Fernández Rojas [Wed, 28 May 2025 07:10:29 +0000 (09:10 +0200)]
generic: 6.6: backport devm_clk_get_optional_enabled_with_rate
This is needed for mac80211 v6.14.5 update.
9934a1bd45b2b clk: provide devm_clk_get_optional_enabled_with_rate()
https://github.com/torvalds/linux/commit/
9934a1bd45b2b03f6d1204a6ae2780d3b009799f
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Álvaro Fernández Rojas [Wed, 28 May 2025 07:14:19 +0000 (09:14 +0200)]
generic: backport secs_to_jiffies
This is needed for mac80211 v6.14.5 update.
b35108a51cf7b jiffies: Define secs_to_jiffies()
bb2784d9ab495 jiffies: Cast to unsigned long in secs_to_jiffies() conversion
https://github.com/torvalds/linux/commit/
b35108a51cf7bab58d7eace1267d7965978bcdb8
https://github.com/torvalds/linux/commit/
bb2784d9ab49587ba4fbff37a319fff2924db289
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Christian Marangi [Tue, 27 May 2025 16:57:06 +0000 (18:57 +0200)]
mediatek: filogic: provide custom GPT table for Arcadyan Mozart
New revision Arcadyan Mozart apply a new partition table and moved the
factory partition to a new location. This conflicts with the standard
partition layout and also make the nvmem cells to not correctly identify
the MAC address anymore.
Generate and Provide a new GPT partition table that account for the new
calibration partition.
The previous revision of the Arcadyan Mozart device is considered
pre-production devices and should not be intended for real support.
Link: https://github.com/openwrt/openwrt/pull/18874
Signed-off-by: Christian Marangi <[email protected]>