aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* tools: mtd-utils: Update to version 2.1.4Hauke Mehrtens2022-08-133-12/+17
| | | | | | | | | Update to most recent version of mtd-utils and sync with version from package folder. Use a https download server instead of ftp. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* tools: elfutils: Update to version 0.187Hauke Mehrtens2022-08-131-2/+2
| | | | | | | Update to most recent version of elfutils and sync with version from package folder. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* tools: e2fsprogs: Update to version 1.46.5Hauke Mehrtens2022-08-132-3/+3
| | | | | | | Update to most recent version of e2fsprogs and sync with version from package folder. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* arm-trusted-firmware-mediatek: skip bad blocks on SPI-NAND (SNFI)Daniel Golle2022-08-121-0/+40
| | | | | | | | | Add patch to skip bad blocks when reading from SPI-NAND. This is needed in case erase block(s) early in the flash inside the FIP area are bad and hence need to be skipped in order to be able to boot on such damaged chips. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* fstools: add uci fstab section to conffiles for package block-mountFlorian Eckert2022-08-121-0/+4
| | | | | | | | | The command 'opkg search /etc/config/fstab' does not return a package name for this config file. In order to know to which package this config file belongs to, a 'conffiles' entry was made for this file to package 'block-mount'. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* mkimage: fix validation of legacy images with custom magicDaniel Golle2022-08-121-0/+9
| | | | | | | | | | All images generated by mkimage are now always validated. This change broke our downstream support for setting a custom value for IH_MAGIC (mkimage -M ...). Make sure also plain legacy kernel images with custom value set for IH_MAGIC validate correctly. Fixes: fa9895ee5b ("tools: mkimage: update to U-Boot release 2022.07") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: kmod-input-gpio-keys-polled depends on kmod-input-coreDaniel Golle2022-08-121-1/+1
| | | | | | | | | | | | | While kmod-input-core was previously indirectly selected by kmod-input-polldev, this is now only the case on Linux 5.10. Select kmod-input-core as dependency independently of the kernel version to fix build error: Package kmod-input-gpio-keys-polled is missing dependencies for the following libraries: input-core.ko Fixes: 54878fbbdd ("kernel: kmod-input-polldev: Depend on kernel 5.10") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: bump 5.10 to 5.10.136John Audia2022-08-122-3/+3
| | | | | | All patches automatically rebased. Signed-off-by: John Audia <therealgraysky@proton.me>
* kernel: Backport upstream flowtable patches from 5.15Hauke Mehrtens2022-08-129-8/+446
| | | | | | | | | | | | | | | | | | This backports some patches from kernel 5.15 to fix issues with flowtable offloading in kernel 5.10. OpenWrt backports most of the patches related to flowtable offloading from kernel 5.15 already, but we are missing some of the extra fixes. This fixes some connection tracking problems when a flow gets removed from the offload and added to the normal SW path again. The patch 614-v5.18-netfilter-flowtable-fix-TCP-flow-teardown.patch was extended manually with the nf_conntrack_tcp_established() function. All changes are already included in kernel 5.15. Fixes: #8776 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: bump 5.15 to 5.15.60John Audia2022-08-112-3/+3
| | | | | | | | | | All patches automatically rebased. Build system: x86_64 Build-tested: bcm2711/RPi4B, mt7622/RT3200 Run-tested: bcm2711/RPi4B, mt7622/RT3200 Signed-off-by: John Audia <therealgraysky@proton.me>
* tools: mkimage: update to U-Boot release 2022.07Daniel Golle2022-08-114-34/+23
| | | | | | | | | | | | Removed patch 090-macos-arm64-builing-fix.patch as an equivalent solution was applied upstream: 3b142045e8 Support building on macOS/arm64 To not add new host dependencies (libuuid, gnuTLS) don't build the anyway unused mkeficapsule tool which would otherwise now be built by default. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* uboot-mediatek: backport pinctrl fix to avoid error messageDaniel Golle2022-08-114-8/+49
| | | | | | | Import a3ba6adb70 arm: dts: mt7622: remove default pinctrl of uart0 and apply also to locally added boards. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* uboot-mediatek: mt7621: use silent stage1 by defaultDaniel Golle2022-08-111-1/+15
| | | | | | | Use faster and silent MT7621 stage1 blob by default unless CONFIG_DEBUG is selected. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* base-files: wifi: add random MAC support for wifi-ifaceManas Sambhus2022-08-112-3/+6
| | | | | | | | | Add support for randomly generating a MAC address for a wifi-iface instance by setting `macaddr` to `random` When set to `random`, a new locally administered unicast MAC address is generated and assigned to the iface everytime it is (re-)configured Signed-off-by: Manas Sambhus <manas.sambhus+github@gmail.com>
* pkg-config: always use correct path for pkg-config.realLeonardo Mörlein2022-08-111-1/+1
| | | | | | | | | | | | | | | | | | Before this commit, it was assumed that pkg-config.real is in the PATH. While this was fine for the normal build workflow, this led to some issues if make TOPDIR="$(pwd)" -C "$pkgdir" compile was called manually. The command failed with Makefile:15: *** No libnl-tiny development libraries found!. Stop. make[1]: Leaving directory since pkg-config of the host system was used. After the commit, the package is built sucessfully. Signed-off-by: Leonardo Mörlein <me@irrelefant.net>
* kernel: kmod-phy-smsc: Add new PHYHauke Mehrtens2022-08-102-1/+17
| | | | | | | This adds the SMSC PHY which is needed by the kmod-usb-net-smsc95xx driver. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-phy-ax88796b: Add new PHYHauke Mehrtens2022-08-102-1/+18
| | | | | | | This adds the AX88796B PHY which is needed by the kmod-usb-net-asix driver. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-input-polldev: Depend on kernel 5.10Hauke Mehrtens2022-08-101-2/+2
| | | | | | | The input-polldev.ko kernel module was removed from kernel 5.11. The normal input implementation now supports polling. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-iio-sps30: Add I2C driverHauke Mehrtens2022-08-101-3/+7
| | | | | | | | The sps30.ko driver was split into a main sps30.ko driver and a sps30_i2c.ko driver for the I2C interface with kernel 5.14. Add the sps30_i2c.ko module to the package too. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-isdn4linux: Remove packageHauke Mehrtens2022-08-101-32/+0
| | | | | | | The isdn4linux drivers and subsystem was removed in kernel 5.3, remove the kernel package also from OpenWrt. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-mdio-gpio: kmod-switch-rtl8366-smi: Add kmod-of-mdio dependency ↵Hauke Mehrtens2022-08-101-2/+2
| | | | | | | | for malta These two modules also need a depend to kmod-of-mdio on malta. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kenrel: kmod-rtc-pt7c4338: Remove packageHauke Mehrtens2022-08-101-16/+0
| | | | | | | | | The rtc-pt7c4338.ko was never upstream under this name, the driver was removed from OpenWrt some years ago, remove the kmod-rtc-pt7c4338 package too. Fixes: 74d00a8c3849 ("kernel: split patches folder up into backport, pending and hack folders") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-wwan: Add packageHauke Mehrtens2022-08-102-6/+23
| | | | | | | | | | | This adds the kmod-wwan package. This provides the generic wwan driver core which is needed for some existing packages. Currently the drivers/net/wwan/wwan.ko driver is compiled into the kernel when one of the wwan module is activated, better build it as a kernel module. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-ipt-ulog: Remove packageHauke Mehrtens2022-08-103-38/+0
| | | | | | | The ulog iptables target was removed with kernel 3.17, remove the kernel and also the iptables package in OpenWrt too. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-nft-nat6: Remove packageHauke Mehrtens2022-08-105-23/+1
| | | | | | | | | | | The nft NAT packages for IPv4 and IPv6 were merged into the common packages with kernel 5.1. The kmod-nft-nat6 package was empty in our build, remove it. Multiple kernel configuration options were also removed, remove them from our generic kernel configuration too. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-w1-slave-ds2760: Remove packageHauke Mehrtens2022-08-101-17/+0
| | | | | | | | | | The w1_ds2760.ko driver was merged into the ds2760_battery.ko driver. The driver was removed and this package was never build any more. This happened with kernel 4.19. Remove this unused package. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-net-rtl8192su: Remove packageHauke Mehrtens2022-08-102-32/+0
| | | | | | | | | | | | The R8712U driver depends on cfg80211. cfg80211 is provided by mac80211 backports, we can not build any in kernel drivers which depend on cfg80211 which is an out of tree module in OpenWrt. The cfg80211 dependency was added with kernel 5.9. We could add rtl8192su to backports and build it from there. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Activate CONFIG_GPIOLIB in generic configurationHauke Mehrtens2022-08-1077-77/+2
| | | | | | | | All targets expect the malta target already activate the CONFIG_GPIOLIB option. Move it to generic kernel configuration and also activate it for malta. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Activate CONFIG_INPUT_MISC on all targetsHauke Mehrtens2022-08-107-7/+0
| | | | | | | | | CONFIG_INPUT_MISC does not do any changes to the kernel image, it only shows some extra kernel configuration options. Activate it on all targets. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-mdio-devres: Add kmod-of-mdio dependency for maltaHauke Mehrtens2022-08-101-1/+1
| | | | | | | The malta target does not compile CONFIG_OF_MDIO into the kernel. On malta the kmod-mdio-devres package depends on kmod-of-mdio. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-fs-fscache: Add cachefiles.koHauke Mehrtens2022-08-101-4/+6
| | | | | | | | | The CONFIG_CACHEFILES configuration option makes the kernel build cachefiles.ko, also package it. Build CONFIG_CACHEFILES as module and do not try to build it into the kernel. This did not work because it depended on CONFIG_FSCACHE which was already build as module. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-nls-cp932: Add nls_euc-jp.ko tooHauke Mehrtens2022-08-101-2/+4
| | | | | | | The CONFIG_NLS_CODEPAGE_932 Config option builds the nls_cp932.ko and the nls_euc-jp.ko kernel module, package both of them. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-usb-dwc2-pci: Add new packageHauke Mehrtens2022-08-101-3/+20
| | | | | | | | | | | | Add dwc2_pci kernel module into own kernel package. The dwc2_pci.ko kernel module was always build when kmod-usb-dwc2 was selected, but it was not packaged. Add the missing kmod-usb-phy-nop dependency to the kmod-usb-dwc2-pci package too. The CONFIG_USB_DWC2_PLATFORM option is already gone for some time. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-switch-ar8xxx: Add kmod-mdio-devres dependencyHauke Mehrtens2022-08-101-1/+1
| | | | | | | The ar8xxx.ko kernel module uses the devm_mdiobus_alloc() function provided by kmod-mdio-devres, add the missing dependency. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-crypto-authenc: Add authencesn.koHauke Mehrtens2022-08-101-2/+4
| | | | | | | The kernel configuration option CONFIG_CRYPTO_AUTHENC builds authenc.ko and authencesn.ko, pack both kernel modules. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* CI: kernel: Build all kernel modulesHauke Mehrtens2022-08-101-0/+3
| | | | | | | | Activate building all kernel modules. This builds all kernel modules from the core packages and the feeds. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* CI: kernel: Checkout feeds from githubHauke Mehrtens2022-08-101-0/+24
| | | | | | | | | | | | | | Instead of cloning the feeds from the default location at git.openwrt.org use the github action to clone them directly from github. We saw some error messages when cloning from git.openwrt.org, probably related to some rate limiting applied. Cloning from github within a github action should work more stable. The "./scripts/feeds update -a" script will use the already checked out feed repositories and not clone them again from git.openwrt.org, but it will also not change the branch name. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* CI: kernel: Show used OpenWrt configurationHauke Mehrtens2022-08-101-0/+5
| | | | | | | | Show the configuration used to build OpenWrt before starting the build. This should make it easier for people to reproduce problems when it fails. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* CI: kernel: Use downloads.cdn.openwrt.orgHauke Mehrtens2022-08-101-2/+2
| | | | | | | Use downloads.cdn.openwrt.org to download the toolchain. This should reduce the load on the servers. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* CI: kernel: Trigger workflow for more directoriesHauke Mehrtens2022-08-101-0/+2
| | | | | | Trigger the kernel build workflow also for more directories. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: properly condition EM919x patchKoen Vandeputte2022-08-091-4/+23
| | | | | | | | Properly format and refresh patch Fixes: d03977faf4 ("kernel: backport support for Sierra Wireless EM919x modems") Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* nftables: fix parsing date expressionsJo-Philipp Wich2022-08-092-1/+50
| | | | | | | | Musl libc does not support the non-POSIX "%F" format for strptime() so replace all occurrences of it with an equivalent "%Y-%m-%d" format. Fixes: #10419 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* Revert "nftables: fix parsing date expressions"Jo-Philipp Wich2022-08-093-50/+4
| | | | | | | | This reverts commit eada8925776aafa3ec47d66fb89bf7eae730edf7. The commit contained unrelated target changes. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* zlib: backport null dereference fixPetr Štetiar2022-08-091-0/+29
| | | | | | | | | | | | The curl developers found test case that crashed in their testing when using zlib patched against CVE-2022-37434, same patch we've backported in commit 7df6795d4c25 ("zlib: backport fix for heap-based buffer over-read (CVE-2022-37434)"). So we need to backport following patch in order to fix issue introduced in that previous CVE-2022-37434 fix. References: https://github.com/curl/curl/issues/9271 Fixes: 7df6795d4c25 ("zlib: backport fix for heap-based buffer over-read (CVE-2022-37434)") Signed-off-by: Petr Štetiar <ynezz@true.cz>
* nftables: fix parsing date expressionsJo-Philipp Wich2022-08-093-4/+50
| | | | | | | | Musl libc does not support the non-POSIX "%F" format for strptime() so replace all occurrences of it with an equivalent "%Y-%m-%d" format. Fixes: #10419 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* jansson: revert ABI version bumpJo-Philipp Wich2022-08-091-3/+3
| | | | | | | | | | | The soversion of the shipped libjansson.so library didn't change, so the ABI version change is unwarranted and leads to opkg file clashes. Also stop shipping an unversioned library symlink while we're at it as it only needed at compile/link time and leading to file level clashes between packages on future ABI bumps. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: add missing 5.15 symbolsKoen Vandeputte2022-08-081-0/+6
| | | | | | Found while testing various platforms Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: backport support for Sierra Wireless EM919x modemsKoen Vandeputte2022-08-081-0/+61
| | | | | | | Adds support for Sierra Wireless EM919x modem (X55 5G) Backported from kernel 5.16 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: fix missing mhi control devicesKoen Vandeputte2022-08-081-4/+6
| | | | | | | | | | | | | | Both of these packages depend on CONFIG_WWAN in the kernel. Also fix the missing "wwan" subfolder in the path. This fixes the missing devices in /dev after booting an MHI capable modem. Fixes: 2519190fec ("kernel: package mhi wwan ctrl driver") Fixes: 6af46796fa ("kernel: package mhi mbim driver") Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* mac80211: backport upstream fix for unitialized lock usageKoen Vandeputte2022-08-081-0/+46
| | | | | | | | | | | | | | | Backports upstream fix from 5.19 lockdep complains use of uninitialized spinlock at ieee80211_do_stop() [1], for commit f856373e2f31ffd3 ("wifi: mac80211: do not wake queues on a vif that is being stopped") guards clear_bit() using fq.lock even before fq_init() from ieee80211_txq_setup_flows() initializes this spinlock. According to discussion [2], Toke was not happy with expanding usage of fq.lock. Since __ieee80211_wake_txqs() is called under RCU read lock, we can instead use synchronize_rcu() for flushing ieee80211_wake_txqs(). Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>