openwrt/staging/robimarko.git
3 years agohostapd: make the snooping interface (for proxyarp) configurable
Felix Fietkau [Tue, 27 Jul 2021 18:28:58 +0000 (20:28 +0200)]
hostapd: make the snooping interface (for proxyarp) configurable

Use the VLAN interface instead of the bridge, to ensure that hostapd receives
untagged DHCP packets

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agonetifd: update to the latest version
Felix Fietkau [Mon, 26 Jul 2021 18:42:48 +0000 (20:42 +0200)]
netifd: update to the latest version

440eb0647708 bridge: fix regression in bringing up bridge ports

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agomediatek: Fix Fidelix-FM35X1GA patch
Hauke Mehrtens [Sun, 25 Jul 2021 14:11:29 +0000 (16:11 +0200)]
mediatek: Fix Fidelix-FM35X1GA patch

This patch did not apply cleanly any more after support for the XTX
flash was added to the generic patches.

Fixes: 92012dd8677a ("kernel: Add support for XTX XT26G02A SPI NAND")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 years agoprocd: update to git HEAD
Hauke Mehrtens [Sun, 25 Jul 2021 12:51:22 +0000 (14:51 +0200)]
procd: update to git HEAD

 f26233e watchdog: Add an info message if the watchdog reset the system

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 years agoarm-trusted-firmware-mvebu: switch to CZ.NIC's Secure Firmware
Andre Heider [Tue, 8 Jun 2021 03:42:51 +0000 (05:42 +0200)]
arm-trusted-firmware-mvebu: switch to CZ.NIC's Secure Firmware

CZ.NIC as part of Turris project released free and open source WTMI
application firmware wtmi_app.bin for all Armada 3720 devices.

This firmware includes additional features like access to Hardware
Random Number Generator of Armada 3720 SoC which original Marvell's
fuse.bin image does not have.

Add a patch which allows to pass the commit id, so the firmware is able
to identify itself, see a04bffeb.
Add a patch to disable linking with gold, since the ARM toolchain
doesn't ship gold.
Cherry-pick the 3 post-release fixes.

Signed-off-by: Andre Heider <a.heider@gmail.com>
3 years agoarm-trusted-firmware-mvebu: update CM3 toolchain to v10.2
Andre Heider [Tue, 8 Jun 2021 06:31:39 +0000 (08:31 +0200)]
arm-trusted-firmware-mvebu: update CM3 toolchain to v10.2

Linaro stopped shipping binary toolchains quite some time ago, switch over to
the ARM builds.

Signed-off-by: Andre Heider <a.heider@gmail.com>
3 years agoarm-trusted-firmware-mvebu: update mv-ddr-marvell to current master
Andre Heider [Tue, 8 Jun 2021 02:20:54 +0000 (04:20 +0200)]
arm-trusted-firmware-mvebu: update mv-ddr-marvell to current master

02e23db fix compilation errors popped up by GCC-10
7c35173 Merge pull request #29 from pali/sync-a38x-uboot
bb734f5 mv_ddr: a38x: Use SOC_REGS_PHY_BASE for INTER_REGS_BASE
ee1ea84 mv_ddr: a38x: Fix ddr3 compilation
70f3e2e mv_ddr: Fix comment typo
dd960b4 mv_ddr: ddr3: Allow boards to specify CK_DELAY parameter
a87f4f7 mv_ddr: ddr3: only use active chip-selects when tuning ODT
3defcec mv_ddr: a38x: Add support for setting timing in hws_topology_map

Signed-off-by: Andre Heider <a.heider@gmail.com>
3 years agoarm-trusted-firmware-mvebu: update a3700-tools to current master
Andre Heider [Tue, 8 Jun 2021 02:20:26 +0000 (04:20 +0200)]
arm-trusted-firmware-mvebu: update a3700-tools to current master

2efdb10 wtmi: Fix calculation of UART divider
4247e39 fix: twin die ddr porting guide
8ad7992 sys_init: Add missing newlines in debug mode
4ddea19 avs: Validate VDD value from OTP
c444aeb avs: Fix description for avs value 0x2e
1915b78 tim: Optimize code generated by gettimver.sh and print newline
21f566d tim: Print mv_ddr version and configuration on UART
840b70b tim: Use variable $DDRFILE where possible
c10e6ae tim: Fix waiting for UART TX ready
7bf95cf wtmi: Wait 3ms for the TX on UART to be empty prior resetting TX FIFO
63e8433 wtmi: Add "dirty" suffix to git commit and rebuild sys_init.bin binary when VERSION changes
e949b58 wtmi: During setup clock phase print CPU and DDR speed
10376b5 wtmi: Flush output on UART after the '\n' character
509c647 Makefile: Check that specified DDR_TOPOLOGY option is valid

Signed-off-by: Andre Heider <a.heider@gmail.com>
3 years agoarm-trusted-firmware-mvebu: update to v2.5
Andre Heider [Tue, 8 Jun 2021 02:19:59 +0000 (04:19 +0200)]
arm-trusted-firmware-mvebu: update to v2.5

Revert to using the checked in `tbb_linux` image tool binary since building
it drags in the rather big Crypto++ project.

Cherry-pick the post-release UART fixes.

Switch to AUTORELEASE while at it.

Signed-off-by: Andre Heider <a.heider@gmail.com>
3 years agoarm-trusted-firmware-mvebu: remove unpacked sources upon clean
Andre Heider [Tue, 8 Jun 2021 02:19:16 +0000 (04:19 +0200)]
arm-trusted-firmware-mvebu: remove unpacked sources upon clean

These are all unpacked in the Build/Prepare step, clean up accordingly.

Signed-off-by: Andre Heider <a.heider@gmail.com>
3 years agouboot-mvebu: update to v2021.07
Andre Heider [Tue, 8 Jun 2021 01:53:00 +0000 (03:53 +0200)]
uboot-mvebu: update to v2021.07

Refresh the patches.
Switch to AUTORELEASE while at it.

Signed-off-by: Andre Heider <a.heider@gmail.com>
3 years agouboot-envtools: mvebu: update uci defaults for Turris Omnia
Marek Behún [Thu, 15 Jul 2021 18:48:33 +0000 (20:48 +0200)]
uboot-envtools: mvebu: update uci defaults for Turris Omnia

From version 2021.09 U-Boot will fixup Turris Omnia's DTB before
booting, separating U-Boot's environment into separate MTD partition
"u-boot-env" [1].

Check if "u-boot-env" MTD partition exists and set the uci defaults
accordingly.

[1] https://lists.denx.de/pipermail/u-boot/2021-July/455017.html

Signed-off-by: Marek Behún <marek.behun@nic.cz>
3 years agomvebu: limit mvneta tx queue workaround to 32 bit SoC
Tomasz Maciej Nowak [Mon, 12 Jul 2021 16:16:30 +0000 (18:16 +0200)]
mvebu: limit mvneta tx queue workaround to 32 bit SoC

This patch has been carried since introduction throughout every kernel
major bump and no one has tested if the later kernels improved the
situation. The Armada 3720 SoC can only process GbE interrupts on Core 0
and this is already limited in all stable kernels, so ditch this
workaround for 64 bit SoCs.

Ref: https://git.kernel.org/torvalds/c/cf9bf871280d

Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
3 years agolayerscape: armv8_64b: enable Microsemi phy driver for FRWY-LS1046A
Martin Schiller [Wed, 21 Jul 2021 08:22:39 +0000 (10:22 +0200)]
layerscape: armv8_64b: enable Microsemi phy driver for FRWY-LS1046A

Enable the Microsemi phy driver to support the VSC8514 QSGMII phy on the
FRWY-LS1046A board.

Otherwise, the "Generic PHY" driver is used.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
3 years agolayerscape: fix config restore for FRWY-LS1046A
Martin Schiller [Tue, 20 Jul 2021 07:47:59 +0000 (09:47 +0200)]
layerscape: fix config restore for FRWY-LS1046A

commit 2c2d77bd3bd4 ("layerscape: add FRWY-LS1046A board support")
missed to add an entry to the 79_move_config preinit script.

Therefore, the config transfer on sysupgrade wass broken for this device.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
3 years agoRevert "realtek: Fix failsafe mode"
Thomas Nixon [Sat, 26 Jun 2021 12:05:16 +0000 (13:05 +0100)]
Revert "realtek: Fix failsafe mode"

This reverts commit b7ee0786b56d1088c195fe7c1cdb1ad7d20c9245.

With the previous commit "realtek: remove rtl83xx vlan 1 special cases"
this is no longer required.

Signed-off-by: Thomas Nixon <tom@tomn.co.uk>
3 years agorealtek: remove rtl83xx vlan 1 special cases
Thomas Nixon [Sat, 26 Jun 2021 12:50:12 +0000 (12:50 +0000)]
realtek: remove rtl83xx vlan 1 special cases

On reset, the PVID of all ports is set to 1; if this is reset to 0,
the special cases for VLAN 1 are no longer required.

port_vlan_add is called with vid=0 when the DSA port interfaces are
enabled with no VLAN; previously the VLAN was not configured in this
case, relying on VLAN 1 being present, but with the PVID set to 0,
configuring VLAN 0 as normal works as expected.

Signed-off-by: Thomas Nixon <tom@tomn.co.uk>
3 years agolinux-firmware: add 2G and 5G precal binaries for QCA99X0
Damien Mascord [Tue, 13 Jul 2021 01:07:36 +0000 (11:07 +1000)]
linux-firmware: add 2G and 5G precal binaries for QCA99X0

Some devices (such as Extreme Networks WS-AP3959i-ROW) do not contain
precal binaries in ART, and the precal in the cards eeprom causes
firmware load errors.

These firmware files were previously in linux-firmware,
so these are adding them back and renaming to be cleaner.

Signed-off-by: Damien Mascord <tusker@tusker.org>
3 years agoelfutils: fix building with GCC 11
Rui Salvaterra [Sun, 18 Jul 2021 23:56:46 +0000 (00:56 +0100)]
elfutils: fix building with GCC 11

Add a patch to fix building with GCC 11, which triggers new warnings by
enabling -Warray-parameter by default.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
3 years agotoolchain/binutils: add binutils 2.37
Rui Salvaterra [Mon, 19 Jul 2021 11:09:38 +0000 (12:09 +0100)]
toolchain/binutils: add binutils 2.37

Tested on ath79/generic, without issues.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
3 years agokernel/generic: sort the 5.10 kconfig symbols
Rui Salvaterra [Sun, 18 Jul 2021 23:48:55 +0000 (00:48 +0100)]
kernel/generic: sort the 5.10 kconfig symbols

Sort the kernel configuration using scripts/kconfig.pl.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
3 years agokernel/generic: add a missing symbol to the 5.10 kconfig
Rui Salvaterra [Sun, 18 Jul 2021 23:48:54 +0000 (00:48 +0100)]
kernel/generic: add a missing symbol to the 5.10 kconfig

Add CONFIG_HAVE_ARM_ARCH_TIMER (disabled). A make kernel_oldconfig on cortexa9
will otherwise prompt for its selection. The 5.4 configuration already contains
the same symbol.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
3 years agokernel: bump 5.4 to 5.4.134
John Audia [Tue, 20 Jul 2021 16:23:02 +0000 (12:23 -0400)]
kernel: bump 5.4 to 5.4.134

All patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800

Signed-off-by: John Audia <graysky@archlinux.us>
3 years agokernel: bump 5.4 to 5.4.133
John Audia [Mon, 19 Jul 2021 09:17:10 +0000 (05:17 -0400)]
kernel: bump 5.4 to 5.4.133

Manually rebased:
  pending-5.4/690-net-add-support-for-threaded-NAPI-polling.patch

All other patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>
3 years agokernel: bump 5.10 to 5.10.52
Rui Salvaterra [Wed, 21 Jul 2021 15:49:05 +0000 (16:49 +0100)]
kernel: bump 5.10 to 5.10.52

Add the new CONFIG_BATTERY_RT5033 to the generic configuration, as reported by
Paul Blazejowski. Resort the kconfig while at it.

No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
3 years agokernel: Add support for XTX XT26G02A SPI NAND
Felix Matouschek [Fri, 2 Jul 2021 20:22:02 +0000 (22:22 +0200)]
kernel: Add support for XTX XT26G02A SPI NAND

This chip is used on Teltonika RUTX boards.

Signed-off-by: Felix Matouschek <felix@matouschek.org>
3 years agokernel: backport workaround for Realtek RTL8672 and RTL9601C chips
Vladimir Markovets [Wed, 21 Jul 2021 22:09:22 +0000 (00:09 +0200)]
kernel: backport workaround for Realtek RTL8672 and RTL9601C chips

Adds support for GPON SFP modules based on the Realtek RTL8672 and
RTL9601C chips, including but not limited to:
* V-SOL V2801F
* C-Data FD511GX-RM0
* OPTON GP801R
* BAUDCOM BD-1234-SFM
* CPGOS03-0490 v2.0
* Ubiquiti U-Fiber Instant
* EXOT EGS1

Signed-off-by: Vladimir Markovets <abam_a@yahoo.com>
3 years agokernel/generic: fix the arm gc-sections patch
Rui Salvaterra [Fri, 23 Jul 2021 12:34:49 +0000 (13:34 +0100)]
kernel/generic: fix the arm gc-sections patch

Latest binutils (2.37) exposed a long-standing bug. The kernel linking stage
would break at the SORTTAB step, due to the exception table having been
previously purged from vmlinux, as its section wasn't marked as unconditionally
kept. Fix thusly.

Additionally, the "#define ARM_MMU_DISCARD(x) KEEP(x)" change is bogus. It
would only apply to !CONFIG_MMU devices (which we don't support in OpenWrt), and
it would even break the build if referenced. Drop it.

While at it, rename the patch in order to make it obvious that it's
arm-specific.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
[Add same changes for kernel 5.4 too]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 years agonetifd: update to the latest version
Felix Fietkau [Sun, 25 Jul 2021 04:26:20 +0000 (06:26 +0200)]
netifd: update to the latest version

85f01c44a950 bridge: check bridge port vlan membership on link-up events
17e453bd68b4 wireless: add back regular virtual interfaces on hotplug-add events as well

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agoprocd: update to git HEAD
Daniel Golle [Sat, 24 Jul 2021 23:56:08 +0000 (00:56 +0100)]
procd: update to git HEAD

 772292e uxc: don't restart containers when mount shows up
 3a9d910 uxc: resolve volume UUIDs by name of UCI fstab section

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agomediatek: mt7623: import patch to fix spi
Nick Hainke [Sat, 24 Jul 2021 10:55:20 +0000 (12:55 +0200)]
mediatek: mt7623: import patch to fix spi

The patch fixes the fifo rx mode for the mt7623. It is already accepted
upstream for Linux Kernel 5.15.

To test the spi we can change the dts file to

&spi0 {
pinctrl-names = "default";
pinctrl-0 = <&spi0_pins_a>;
status = "okay";
spidev: spidev@0 {
compatible = "linux,spidev";
spi-max-frequency = <1000000>;
reg = <0>;
};
};

Afterwards we should see a spidev device under /dev/.
To test it we can further use spidev-test.

Signed-off-by: Nick Hainke <vincent@systemli.org>
3 years agofstools: update to git HEAD (again)
Daniel Golle [Sat, 24 Jul 2021 00:13:00 +0000 (01:13 +0100)]
fstools: update to git HEAD (again)

 a846c6b blockd: fix length of timeout int passed to ioctl
 1d681ca block: support umount device basename

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agofstools: update to git HEAD
Daniel Golle [Fri, 23 Jul 2021 23:00:22 +0000 (00:00 +0100)]
fstools: update to git HEAD

59f7c11 blockd: create mountpoint parent folder if needed
9cc96af Revert "block: resolve /dev/mapper/* name for /dev/dm-0 when hotplugging"
06334ac Revert "blockd: detect mountpoint of /dev/mapper/*"
9ab3551 block: use /dev/dm-* instead of /dev/mapper/*
5114595 block: allow remove hotplug event to arrive at blockd

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agogeneric: fix mediatek and dsa not detecting mac-addr from nvmem
Ansuel Smith [Fri, 23 Jul 2021 10:43:35 +0000 (12:43 +0200)]
generic: fix mediatek and dsa not detecting mac-addr from nvmem

Nvmem require the device node to be registered with the of_platform.
Register the device node so that nvmem can correctly find the dev and
correctly load the mac-addr stored in the nvmem cell declared in the dts.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
3 years agokernel: add missing symbol to kmod-qlcnic
Stijn Tintel [Thu, 22 Jul 2021 13:37:12 +0000 (16:37 +0300)]
kernel: add missing symbol to kmod-qlcnic

When the kmod-qlcnic package is built on targets that have
CONFIG_PCI_IOV enabled, the CONFIG_QLCNIC_SRIOV symbol is exposed.
Enable this symbol in the kmod package to fix its build.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
3 years agoramips: mt7621: remove bring up DSA master init script
DENG Qingfang [Wed, 23 Jun 2021 15:37:25 +0000 (23:37 +0800)]
ramips: mt7621: remove bring up DSA master init script

With commit 2e17c710954b, there is no need to bring up DSA master port
manually.

Signed-off-by: DENG Qingfang <dqfext@gmail.com>
3 years agoath79: kernel: Add missing quote to drivers/mfd/Kconfig
Paul Blazejowski [Wed, 21 Jul 2021 22:28:20 +0000 (18:28 -0400)]
ath79: kernel: Add missing quote to drivers/mfd/Kconfig

A missing quote in target/linux/ath79/patches-5.x/920-mikrotik-rb4xx.patch
produces:

...
scripts/kconfig/conf  --syncconfig Kconfig
drivers/mfd/Kconfig:2016:warning: multi-line strings not supported
...

This patch adds missing closing quote, fixing the above warning.

Signed-off-by: Paul Blazejowski <paulb@blazebox.homeip.net>
3 years agogeneric: add mac-address property for NVMEM mac addresses
David Bauer [Tue, 20 Jul 2021 20:00:10 +0000 (22:00 +0200)]
generic: add mac-address property for NVMEM mac addresses

Traversing the device-tree by referencing a network device to determine
a devices labe-mac does not work with the generic nvmem implementation,
as the userspace expects the MAC-address to be available as a
device-tree property.

The legacy mtd-mac-address implementation did create such a node. Do the
same when using the nvmem implementation to allow reading the MAC
address.

Fixes commit d284e6ef0f06 ("treewide: convert mtd-mac-address-increment*
to generic implementation")

Signed-off-by: David Bauer <mail@david-bauer.net>
3 years agomediatek: mt7623: yet another legacy image variable restored
Daniel Golle [Wed, 21 Jul 2021 15:18:58 +0000 (16:18 +0100)]
mediatek: mt7623: yet another legacy image variable restored

Restore BOOTFS_BLOCKS variable until U7623 gets brushed, so things
hopefully build now.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agomediatek: mt7623: allow build without ext4 rootfs
Daniel Golle [Wed, 21 Jul 2021 14:32:00 +0000 (15:32 +0100)]
mediatek: mt7623: allow build without ext4 rootfs

The image generation code for the U7623 board expects ext4 filesystem
to be selected in menuconfig and CONFIG_TARGET_ROOTFS_PARTSIZE to be
defined. Now that ext4 isn't enabled any more, the variable was missing
and broke the build.
Set the default (104) instead of using the config variable to fix that.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agoramips: fix missing NVMEM subsystem
David Bauer [Wed, 21 Jul 2021 08:28:50 +0000 (10:28 +0200)]
ramips: fix missing NVMEM subsystem

MAC address retrieval was switched to more generic upstream (5.13) NVMEM
based solution in commit 06bb4a5018cd ("ramips: convert mtd-mac-address
to nvmem implementation") , but NVMEM subsystem wasn't enabled in the
kernel, so fix it now.

References: https://github.com/openwrt/openwrt/pull/4041#issuecomment-883322801
Fixes: 06bb4a5018cd ("ramips: convert mtd-mac-address to nvmem implementation")
Signed-off-by: David Bauer <mail@david-bauer.net>
Signed-off-by: Petr Štetiar <ynezz@true.cz> [commit message]
3 years agobmips: fix missing NVMEM subsystem
Petr Štetiar [Wed, 21 Jul 2021 08:28:50 +0000 (10:28 +0200)]
bmips: fix missing NVMEM subsystem

MAC address retrieval was switched to more generic upstream (5.13) NVMEM
based solution in commit 32adbfc789f6 ("bmips: convert mtd-mac-address
to nvmem implementation"), but NVMEM subsystem wasn't enabled in the
kernel, so fix it now.

References: https://github.com/openwrt/openwrt/pull/4041#issuecomment-883322801
Fixes: 32adbfc789f6 ("bmips: convert mtd-mac-address to nvmem implementation")
Signed-off-by: Petr Štetiar <ynezz@true.cz>
3 years agomediatek: mt7623: add back needed build steps for U7623 board
Daniel Golle [Wed, 21 Jul 2021 09:26:44 +0000 (10:26 +0100)]
mediatek: mt7623: add back needed build steps for U7623 board

When reworking the BPi-R2 the mtk-mmc-img build step was removed
despite it was still needed to build the image for the UniElec U7623
board. Add it back for now until U7623 gets its facelift.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agomediatek: remove ext4 images from mt7623 build
Daniel Golle [Tue, 20 Jul 2021 17:43:56 +0000 (18:43 +0100)]
mediatek: remove ext4 images from mt7623 build

A full read-write rootfs cannot work inside uImage.FIT as the hash
will obviously change once writing to it. Disable generating ext4
rootfs images.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agolinux/rockchip: update the USB 3.0 controller node patch
Rui Salvaterra [Tue, 20 Jul 2021 15:24:50 +0000 (16:24 +0100)]
linux/rockchip: update the USB 3.0 controller node patch

This has been added in Linux 5.10.51 [1], but it's broken/incomplete. Update our
patch and refresh the remaining patches.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.10.51&id=421aff50af5e4cdc56b3ac8d6b670e09697bc8ac

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
3 years agomediatek: fix typo in kernel mt7623/config-5.10
Daniel Golle [Tue, 20 Jul 2021 16:02:49 +0000 (17:02 +0100)]
mediatek: fix typo in kernel mt7623/config-5.10

Fix typo reported by github user @mans0n.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agomediatek: drop kmod-mmc
Daniel Golle [Tue, 20 Jul 2021 16:00:11 +0000 (17:00 +0100)]
mediatek: drop kmod-mmc

Support for MMC is built-into the kernel anyway, no need to select the
(empty/stub) kmod package.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agouboot-mediatek: fix board name of Bananapi BPi-R2
Daniel Golle [Tue, 20 Jul 2021 15:58:50 +0000 (16:58 +0100)]
uboot-mediatek: fix board name of Bananapi BPi-R2

As the board name was changed to be identical to the device tree
compatible string (just like for other boards), also reflect that
change for U-Boot.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agomediatek: rework Bananapi BPi-R2
Daniel Golle [Sat, 10 Jul 2021 15:35:47 +0000 (16:35 +0100)]
mediatek: rework Bananapi BPi-R2

 * introduce recovery (=initramfs) vs. production dual boot scheme
 * make use of uImage.FIT (instead of FAT partition)
 * generate images using build steps (instead of external scripts)
 * simplify sysupgrade and config restore (thanks to uImage.FIT)
 * make sure mmc devices are ordered persistently (set DT aliases)

This commit breaks sysupgrade from existing installations, you will
have to re-install using the sdcard.img.gz image.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agouboot-envtools: add configuration for Bananapi BPi-R2
Daniel Golle [Mon, 12 Jul 2021 15:49:12 +0000 (16:49 +0100)]
uboot-envtools: add configuration for Bananapi BPi-R2

Add fw_env configuration for the BPi-R2 which is a mediatek/mt7623
devboard which can be booted from SD Card or eMMC.
Auto detect the boot device and add environment accordingly.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agouboot-envtools: move mediatek to mediatek_mt7622
Daniel Golle [Mon, 12 Jul 2021 15:47:11 +0000 (16:47 +0100)]
uboot-envtools: move mediatek to mediatek_mt7622

All mediatek boards having fw_env accessible through uboot-envtools
belong to be mt7622 subtarget. Move the file, as subtarget-specific
files are supported for a while now.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agouboot-mediatek: rework support for the BPi-R2
Daniel Golle [Mon, 12 Jul 2021 15:52:21 +0000 (16:52 +0100)]
uboot-mediatek: rework support for the BPi-R2

 * use built-in default environment instead of file in bootfs
 * get rid of bootfs alltogether and use uImage.FIT
 * auto-detect boot device like original script did
 * add support for factory button

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agokernel: make uImage.FIT partition parser work on MBR partitions
Daniel Golle [Mon, 12 Jul 2021 15:54:45 +0000 (16:54 +0100)]
kernel: make uImage.FIT partition parser work on MBR partitions

Introduce new partition type 0x2e representing uImage.FIT and trigger
FIT partition parser on partitions having that type.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agomediatek: mt7623: import patch to fix flow offloading
Daniel Golle [Mon, 12 Jul 2021 17:15:19 +0000 (18:15 +0100)]
mediatek: mt7623: import patch to fix flow offloading

Hardware flow offloading was reported to work when setting the right
version identifier. Import a patch from Frank Wunderlich doing that.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agomediatek: mt7623: build with Linux 5.10
Daniel Golle [Mon, 12 Jul 2021 17:13:37 +0000 (18:13 +0100)]
mediatek: mt7623: build with Linux 5.10

Update Kernel config and set Linux 5.10 for mediatek/mt7623.
(patches have already been updated to 5.10 when mt7622 was bumped)
Tested on Bananapi BPi-R2.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agokernel: bump 5.10 to 5.10.51
Rui Salvaterra [Mon, 19 Jul 2021 08:59:05 +0000 (09:59 +0100)]
kernel: bump 5.10 to 5.10.51

No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
3 years agox86: include kmod-fs-vfat by default in generic images
Daniel Golle [Wed, 30 Jun 2021 01:18:42 +0000 (02:18 +0100)]
x86: include kmod-fs-vfat by default in generic images

As x86/64 and x86/generic may be using UEFI, mounting the FAT-32 /boot
is necessary in order not to loose configuration files accross
sysupgrades. Include kmod-fs-vfat by default to make sure /boot can
always be mounted.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agoath10k: fix compilation error with CONFIG_OF not available
Ansuel Smith [Mon, 19 Jul 2021 15:58:00 +0000 (17:58 +0200)]
ath10k: fix compilation error with CONFIG_OF not available

of_platform_device_create require CONFIG_OF selected.
Add an ifdef and register to the of platform only if of is available.

Fixes: 985954ccbd11 ("kernel: add ath10k support for of_get_mac_address")
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
3 years agobmips: convert mtd-mac-address to nvmem implementation
Ansuel Smith [Sun, 18 Jul 2021 17:37:39 +0000 (19:37 +0200)]
bmips: convert mtd-mac-address to nvmem implementation

Define nvmem-cells and convert mtd-mac-address to nvmem implementation.
The conversion is done with an automated script.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
3 years agoipq40xx: convert mtd-mac-address to nvmem implementation
Ansuel Smith [Fri, 2 Apr 2021 21:53:52 +0000 (23:53 +0200)]
ipq40xx: convert mtd-mac-address to nvmem implementation

Define nvmem-cells and convert mtd-mac-address to nvmem implementation.
The conversion is done with an automated script.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
3 years agomediatek: convert mtd-mac-address to nvmem implementation
Ansuel Smith [Fri, 2 Apr 2021 21:53:02 +0000 (23:53 +0200)]
mediatek: convert mtd-mac-address to nvmem implementation

Define nvmem-cells and convert mtd-mac-address to nvmem implementation.
The conversion is done with an automated script.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
3 years agompc85xx: convert mtd-mac-address to nvmem implementation
Ansuel Smith [Fri, 2 Apr 2021 21:52:21 +0000 (23:52 +0200)]
mpc85xx: convert mtd-mac-address to nvmem implementation

Define nvmem-cells and convert mtd-mac-address to nvmem implementation.
The conversion is done with an automated script.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
3 years agoocteon: convert mtd-mac-address to nvmem implementation
Ansuel Smith [Fri, 2 Apr 2021 21:51:11 +0000 (23:51 +0200)]
octeon: convert mtd-mac-address to nvmem implementation

Define nvmem-cells and convert mtd-mac-address to nvmem implementation.
The conversion is done with an automated script.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
3 years agoramips: convert mtd-mac-address to nvmem implementation
Ansuel Smith [Fri, 2 Apr 2021 21:50:02 +0000 (23:50 +0200)]
ramips: convert mtd-mac-address to nvmem implementation

Define nvmem-cells and convert mtd-mac-address to nvmem implementation.
The conversion is done with an automated script.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
3 years agoath79: convert mtd-mac-address to nvmem implementation
Ansuel Smith [Fri, 2 Apr 2021 21:47:31 +0000 (23:47 +0200)]
ath79: convert mtd-mac-address to nvmem implementation

Define nvmem-cells and convert mtd-mac-address to nvmem implementation.
The conversion is done with an automated script.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
3 years agomvebu: convert mtd-mac-address to nvmem implementation
Ansuel Smith [Fri, 2 Apr 2021 21:45:20 +0000 (23:45 +0200)]
mvebu: convert mtd-mac-address to nvmem implementation

Define nvmem-cells and convert mtd-mac-address to nvmem implementation.
The conversion is done with an automated script.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
3 years agolantiq: convert mtd-mac-address to nvmem implementation
Ansuel Smith [Fri, 2 Apr 2021 21:40:10 +0000 (23:40 +0200)]
lantiq: convert mtd-mac-address to nvmem implementation

Define nvmem-cells and convert mtd-mac-address to nvmem implementation.
The conversion is done with an automated script.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
3 years agoipq806x: convert mtd-mac-address to nvmem implementation
Ansuel Smith [Fri, 2 Apr 2021 21:38:11 +0000 (23:38 +0200)]
ipq806x: convert mtd-mac-address to nvmem implementation

Define nvmem-cells and convert mtd-mac-address to nvmem implementation.
The conversion is done with an automated script.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
3 years agotreewide: convert mtd-mac-address-increment* to generic implementation
Ansuel Smith [Mon, 12 Jul 2021 19:42:41 +0000 (21:42 +0200)]
treewide: convert mtd-mac-address-increment* to generic implementation

Rework patch 681-NET-add-mtd-mac-address-support to implement
only the function to read the mac-address from mtd.
Generalize mtd-mac-address-increment function so it can be applied
to any source of of_get_mac_address.
Rename any mtd-mac-address-increment to mac-address-increment.
Rename any mtd-mac-address-increment-byte to mac-address-increment-byte.

This should make simplify the conversion of target to nvmem implementation.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
3 years agokernel: add ath10k support for of_get_mac_address
Ansuel Smith [Fri, 2 Apr 2021 22:31:08 +0000 (00:31 +0200)]
kernel: add ath10k support for of_get_mac_address

ath10k doesn't currently support the standard function to get mac-address from the dts.
Add this for both ath10k and ath10k-ct

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
3 years agodnsmasq: add /tmp/hosts/ to jail_mount
Nick Hainke [Sun, 18 Jul 2021 13:32:44 +0000 (15:32 +0200)]
dnsmasq: add /tmp/hosts/ to jail_mount

Programs like the olsr-name-plugin write hostname files to "/tmp/hosts/".
If you don't add this to the jail_mount, dnsmasq can't read it anymore.

Signed-off-by: Nick Hainke <vincent@systemli.org>
3 years agoscripts/mkits.sh: Fix the hash algorithm paramter
Yonghyu Ban [Tue, 6 Jul 2021 07:13:59 +0000 (16:13 +0900)]
scripts/mkits.sh: Fix the hash algorithm paramter

The mkits.sh script help message states hash algorithm can be
specified using the -H command-line option, but it does not work
currently due to a bug in the script.

This patch fixes this problem by changing the option from -S to
-H and specify getopts parameter after it

Signed-off-by: Yonghyu Ban <yonghyu@empo.im>
3 years agoprocd: update to git HEAD
Daniel Golle [Sun, 18 Jul 2021 18:09:50 +0000 (19:09 +0100)]
procd: update to git HEAD

 9bd1b7f jail: refactor directory handling for rootfs and overlaydir

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agoodhcpd: fix invalid DHCPv6 ADVERTSIE with small configured leasetime (FS#3935)
Hans Dedecker [Sun, 18 Jul 2021 17:27:57 +0000 (19:27 +0200)]
odhcpd: fix invalid DHCPv6 ADVERTSIE with small configured leasetime (FS#3935)

bc9d317 dhcpv6-ia: fix invalid preferred lifetime

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
3 years agox86: kernel: set NR_CPUS to 512
Edgar Su [Mon, 12 Jul 2021 13:22:48 +0000 (21:22 +0800)]
x86: kernel: set NR_CPUS to 512

NR_CPUS limits the number of CPUs supported to 8. This makes total sense
on hardware-restircted platforms, but not on x86_64, where CPUs with
more than 8 cores can be easily acquired and with less physical limitaions.

see also: https://forum.openwrt.org/t/x86-64-8-cpu-limitation-on-vanilla-release/100946

Signed-off-by: Edgar Su <sjs333@outlook.com>
3 years agoprocd: update to git HEAD
Daniel Golle [Sat, 17 Jul 2021 18:43:25 +0000 (19:43 +0100)]
procd: update to git HEAD

 0545905 jail: make use of realpath() for rootfs and overlaydir

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agogeneric: add missing symbol
David Bauer [Sat, 17 Jul 2021 20:32:26 +0000 (22:32 +0200)]
generic: add missing symbol

When compiling with all modules enabled, Kconfig complains about
CONFIG_I2C_DESIGNWARE_SLAVE being unset. Disable this symbol by default.

Fixes commit e9c9b5ec72e4 ("kernel: package Synopsys Designware PCI to I2C controller")

Signed-off-by: David Bauer <mail@david-bauer.net>
3 years agoipq40xx: fix FRITZRepeater 1200 RGMII delay
David Bauer [Sat, 17 Jul 2021 18:04:29 +0000 (20:04 +0200)]
ipq40xx: fix FRITZRepeater 1200 RGMII delay

When the AVM FRITZ!Repeater 1200 was introduced on Kernel 4.19, the
at803x PHY driver incorrectly set up the delays, not disabling delays
set by the bootloader.

The PHY was always operating with RX as well as TX delays enabled, but
with kernel 5.4 and later, the required TX delay is disabled, breaking
ethernet operation.

Correct the PHY mode, so the driver enables both delays.

Signed-off-by: David Bauer <mail@david-bauer.net>
3 years agotoolchain: add gcc 11 version
Ansuel Smith [Mon, 5 Jul 2021 23:21:46 +0000 (01:21 +0200)]
toolchain: add gcc 11 version

Add gcc 11 version. Same patches of gcc 10.

Build tested on: ipq806x ipq807x
Run tested on: ipq806x ipq807x

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
[refresh patches]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
3 years agokernel: bump 5.10 to 5.10.50
Rui Salvaterra [Wed, 14 Jul 2021 16:42:28 +0000 (17:42 +0100)]
kernel: bump 5.10 to 5.10.50

No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
3 years agokernel: bump 5.10 to 5.10.49
Rui Salvaterra [Sun, 11 Jul 2021 19:03:08 +0000 (20:03 +0100)]
kernel: bump 5.10 to 5.10.49

No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
3 years agokernel: bump 5.10 to 5.10.48
Rui Salvaterra [Wed, 7 Jul 2021 14:36:06 +0000 (15:36 +0100)]
kernel: bump 5.10 to 5.10.48

No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
3 years agokernel: bump 5.10 to 5.10.47
Rui Salvaterra [Wed, 30 Jun 2021 14:24:18 +0000 (15:24 +0100)]
kernel: bump 5.10 to 5.10.47

No deleted or manually refreshed patches.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
3 years agokernel: bump 5.4 to 5.4.132
John Audia [Wed, 14 Jul 2021 22:20:29 +0000 (18:20 -0400)]
kernel: bump 5.4 to 5.4.132

Manually rebased:
  layerscape/patches-5.4/805-display-0002-drm-rockchip-prepare-common-code-for-cdns-and-rk-dpi.patch

All other patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>
3 years agokernel: bump 5.4 to 5.4.131
John Audia [Sun, 11 Jul 2021 16:53:05 +0000 (12:53 -0400)]
kernel: bump 5.4 to 5.4.131

All patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>
3 years agokernel: bump 5.4 to 5.4.130
John Audia [Thu, 8 Jul 2021 12:33:56 +0000 (08:33 -0400)]
kernel: bump 5.4 to 5.4.130

All patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>
3 years agokernel: bump 5.4 to 5.4.129
John Audia [Wed, 30 Jun 2021 20:57:44 +0000 (16:57 -0400)]
kernel: bump 5.4 to 5.4.129

All patches automatically rebased.

Build system: x86_64
Build-tested: ipq806x/R7800
Run-tested: ipq806x/R7800

No dmesg regressions, everything functional

Signed-off-by: John Audia <graysky@archlinux.us>
3 years agomt76: update to the latest version
Felix Fietkau [Thu, 15 Jul 2021 19:35:33 +0000 (21:35 +0200)]
mt76: update to the latest version

bbebea7d6dc6 Revert "mt76: fix mt76_rates for the multiple devices"

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agoprocd: update to git HEAD
Daniel Golle [Thu, 15 Jul 2021 17:17:15 +0000 (18:17 +0100)]
procd: update to git HEAD

 0ee73b2 uxc: implement support for rootfs overlay in containers
 b0a8ea1 jail: do not hack /etc/resolv.conf on container rootfs
 92aba53 jail: increase max additional env records to 64
 15997e6 jail: allow rootfs to be a symbolic link
 0114c6f jail: open() extroot folder before mounting
 ed96eda uxc: check for required blockd mounts

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agofstools: update to git HEAD
Daniel Golle [Thu, 15 Jul 2021 01:22:47 +0000 (02:22 +0100)]
fstools: update to git HEAD

 3386b6b blockd: fix trigger name
 cdc9939 blockd: move to its own POSIX process group

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agohostapd: add "force" parameter for channel switch
Felix Fietkau [Thu, 15 Jul 2021 08:45:26 +0000 (10:45 +0200)]
hostapd: add "force" parameter for channel switch

This will restart the interface in case the CSA fails and can be used to
force the device on a DFS channel (including full CAC)

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agomt76: update to the latest version
Felix Fietkau [Wed, 14 Jul 2021 16:08:21 +0000 (18:08 +0200)]
mt76: update to the latest version

624c681ef0c6 mt76: mt7921: enable VHT BFee capability
a27dfcb63ccf mt76: connac: fix UC entry is being overwritten
6b691e62470e mt76: connac: add mt76_connac_power_save_sched in mt76_connac_pm_unref
b14365bea586 mt76: mt7921: wake the device before dumping power table
82af16bddfc0 mt76: mt7921: make mt7921_set_channel static
b24598b1c1a9 mt76: connac: add mt76_connac_mcu_get_nic_capability utility routine
5954e3381ff9 mt76: testmode: move chip-specific stats dump before common stats
fd5b612f9aa4 mt76: mt7915: fix rx fcs error count in testmode
d9d26a294f7b mt76: connac: fix the maximum interval schedule scan can support
ed39c882f388 mt76: reduce rx buffer size to 2048
60f3d3adbba6 mt76: move mt76_get_next_pkt_id in mt76.h
67ed4d902c84 mt76: connac: check band caps in mt76_connac_mcu_set_rate_txpower
23c6ec49c000 mt76: make mt76_update_survey() per phy
5ca602fb9455 mt76: mt7915: introduce mt7915_mcu_set_txbf()
c13df42282e9 mt76: mt7915: improve MU stability
dee7dcddcaa0 mt76: use SPDX header file comment style
6fbd47153b3d mt76: mt7915: fix IEEE80211_HE_PHY_CAP7_MAX_NC for station mode
1b97dd1762ca mt76: mt7921: fix sta_state incorrect implementation
1b89053b5a6f mt76: mt7921: improve code readability for mt7921_update_txs
126649816785 mt76: mt7921: limit txpower according to userlevel power
a5163ac09be2 mt76: mt7921: introduce dedicated control for deep_sleep
e47c04db4d7e mt76: mt7921: fix kernel warning when reset on vif is not sta
063d3611662c mt76: mt7921: fix the coredump is being truncated
12bf28feba7c mt76: fix iv and CCMP header insertion
949327e76ee4 mt76: disable TWT capabilities for the moment
3530254c1bc9 mt76: mt7921: enable HE BFee capability
599e35f5d9b8 mt76: sdio: do not run mt76_txq_schedule directly
3b6d30c28946 mt76: mt7663s: rely on pm reference counting
529d55a79088 mt76: mt7663s: rely on mt76_connac_pm_ref/mt76_connac_pm_unref in tx path
ef44ff116ee2 mt76: mt7663s: enable runtime-pm
3a71e71a555e mt76: mt7615: set macwork timeout according to runtime-pm
925d96e443a4 mt76: mt7921: allow chip reset during device restart
63b114d84361 mt76: mt76x0e: fix device hang during suspend/resume
7f5ea5e2fd10 mt7915: check return code of sysfs_create_link
ca64a36908b7 mt76: fix mt76_rates for the multiple devices
f517116bf14c mt76: add mt76_default_basic_rate more devices can rely on
6c70b0100513 mt76: mt7921: fix mgmt frame using unexpected bitrate
c00a9a6b52af mt76: mt7915: fix mgmt frame using unexpected bitrate
0e4089949565 mt76: mt7921: fix endianness in mt7921_mcu_tx_done_event
55f314120ef2 mt76: mt7921: avoid unnecessary spin_lock/spin_unlock in mt7921_mcu_tx_done_event
541cd3276488 mt76: mt7915: fix endianness warning in mt7915_mac_add_txs_skb
817761e87c4f mt76: mt7921: fix endianness warning in mt7921_update_txs
b8eca74bbd7b mt76: mt7615: fix endianness warning in mt7615_mac_write_txwi
5e5e07f0def3 mt76: mt7915: fix potential overflow of eeprom page index
abda4cded420 mt76: mt7915: fix info leak in mt7915_mcu_set_pre_cal()
535899f81a46 mt76: mt7915: fix calling mt76_wcid_alloc with incorrect parameter
adfa1b9a3ca0 mt76: connac: fix mt76_connac_gtk_rekey_tlv usage
2a65b105ea4a mt76: mt7921: enable aspm by default
c57158c82804 mt76: fix build error implicit enumeration conversion
41f607cab83c mt76: mt7921: fix survey-dump reporting
25b4f885a937 mt76: mt76x02: fix endianness warnings in mt76x02_mac.c
e63fadb87fe1 mt76: mt7915: report HE MU radiotap
135ef3e9827a mt76: mt7915: adapt new firmware to update BA winsize for Rx session
7118eacb7ce4 mt76: mt7921: add .set_sar_specs support
f1f6569da408 mt76: mt7915: fix an off-by-one bound check
f7da39467965 mt76 mt7915: take RCU read lock when calling ieee80211_bss_get_elem()
87af8e5c72b1 mt76: mt7915: cleanup -Wunused-but-set-variable
8e2d383fbd92 mt76: mt7915: report tx rate directly from tx status
ddce30977591 mt76: mt7915: remove mt7915_sta_stats
4ccd42029519 mt76: mt7921: introduce testmode support

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agomac80211: backport SAR power limit support
Felix Fietkau [Wed, 14 Jul 2021 15:14:35 +0000 (17:14 +0200)]
mac80211: backport SAR power limit support

Needed for an upcoming mt76 update

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agomac80211: merge a 4-addr client mode fix
Felix Fietkau [Wed, 14 Jul 2021 14:24:32 +0000 (16:24 +0200)]
mac80211: merge a 4-addr client mode fix

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agomac80211: merge the virtual time based airtime scheduler
Felix Fietkau [Tue, 6 Jul 2021 12:12:11 +0000 (14:12 +0200)]
mac80211: merge the virtual time based airtime scheduler

Improves airtime fairness, especially for devices with larger firmware buffers

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agonetifd: update to the latest version
Felix Fietkau [Wed, 14 Jul 2021 13:31:41 +0000 (15:31 +0200)]
netifd: update to the latest version

7f24a063475e vlan: fix device vlan alias handling

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agofstools: update to git HEAD
Daniel Golle [Wed, 14 Jul 2021 04:34:23 +0000 (05:34 +0100)]
fstools: update to git HEAD

 4d4dcfb blockd: detect mountpoint of /dev/mapper/*
 2f42515 block: resolve /dev/mapper/* name for /dev/dm-0 when hotplugging
 39558a1 blockd: also send ubus notification on mount hotplug

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
3 years agoglibc: update to latest 2.33 HEAD (bug 28011)
Hans Dedecker [Tue, 13 Jul 2021 19:21:33 +0000 (21:21 +0200)]
glibc: update to latest 2.33 HEAD (bug 28011)

b5711025bc x86_64: Remove unneeded static PIE check for undefined weak diagnostic
edfd11197e wordexp: handle overflow in positional parameter number (bug 28011)

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
3 years agorpcd: update to latest Git HEAD
Jo-Philipp Wich [Tue, 13 Jul 2021 18:42:26 +0000 (20:42 +0200)]
rpcd: update to latest Git HEAD

1fa3576 session: unload rpcd configuration before checking login

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
3 years agonetifd: update to the latest version
Felix Fietkau [Tue, 13 Jul 2021 05:57:26 +0000 (07:57 +0200)]
netifd: update to the latest version

f12b073c0cc3 wireless: add some comments to functions
b0d090688302 bridge: fix setting pvid for updated vlans
ff3764ce28e0 device: move hotplug handling logic from system-linux.c to device.c
16bff892f415 ubus: add a dummy mode ubus call to simulate hotplug events
7f30b02013f2 examples: make dummy wireless vif names shorter
013a1171e9b0 device: do not treat devices with non-digit characters after . as vlan devices
f037b082923a wireless: handle WDS per-sta devices
db0fa24e1c17 bridge: fix enabling hotplug-added VLANs on the bridge port
4e92ea74273f bridge: bring up pre-existing vlans on hotplug as well
1f283c654aeb bridge: fix hotplug vlan overwrite on big-endian systems

Signed-off-by: Felix Fietkau <nbd@nbd.name>