aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* util-linux: enable colrm util as packageOskari Rauta2023-07-11
| | | | | | | | | | | | | | colrm is already built, package just isn't generated. colrm can be used to remove columns from file/stdin. Use cases vary, personally I needed it because I build openwrt natively - and wolfssl configure script wants either colrm, or cut but busybox's cut isn't accepted. Built: x86_64, latest git Tested: x86_64, latest git Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
* mac80211: add fix for receiving STP frames on meshFelix Fietkau2023-07-11
| | | | | | Fix length in ethernet header Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: backport DT changes from v6.5Rafał Miłecki2023-07-11
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm53xx: drop Linksys EA6500 V2 fix for RAM from 6.1Rafał Miłecki2023-07-11
| | | | | | | | This patch is ready and easy to upstream but noone is willing to take care of it. Drop it (as requested) to simplify maintenance. Link: https://github.com/openwrt/openwrt/pull/10940#issuecomment-1318157072 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: bgmac: fix regressed support for BCM53573 SoCsRafał Miłecki2023-07-10
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* bcm47xx: fix bgmac MTU patch filenameRafał Miłecki2023-07-10
| | | | | Fixes: 4970dd027bce ("bcm47xx: revert bgmac back to the old limited max frame size") Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* uboot-mediatek: support classic uImage.FIT with internal images in imszbDaniel Golle2023-07-08
| | | | | | | | The side-effect and main motivation is to also drop the FIT structure size limit because with multiple device tree overlays it may easily grow beyond the previous 4kB limit in the future. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ath79: add support for ASUS RT-AC59U / ZenWiFi CD6Wenli Looi2023-07-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ASUS RT-AC59U / RT-AC59U v2 are wi-fi routers with a large number of alternate names, including RT-AC1200GE, RT-AC1300G PLUS, RT-AC1500UHP, RT-AC57U v2/v3, RT-AC58U v2/v3, and RT-ACRH12. ASUS ZenWiFi AC Mini(CD6) is a mesh wifi system. The unit labeled CD6R is the router, and CD6N is the node. Hardware: - SoC: QCN5502 - RAM: 128 MiB - UART: 115200 baud (labeled on boards) - Wireless: - 2.4GHz: QCN5502 on-chip 4x4 802.11b/g/n currently unsupported due to missing support for QCN550x in ath9k - 5GHz: QCA9888 pcie 5GHz 2x2 802.11a/n/ac - Flash: SPI NOR - RT-AC59U / CD6N: 16 MiB - RT-AC59U v2 / CD6R: 32 MiB - Ethernet: gigabit - RT-AC59U / RT-AC59U v2: 4x LAN 1x WAN - CD6R: 3x LAN 1x WAN - CD6N: 2x LAN - USB: - RT-AC59U / RT-AC59U v2: 1 port USB 2.0 - CD6R / CD6N: none WiFi calibration data contains valid MAC addresses. The initramfs image is uncompressed because I was unable to boot a compressed initramfs from memory (gzip or lzma). Booting a compressed image from flash works fine. Installation: To install without opening the case: - Set your computer IP address to 192.168.1.10/24 - Power up with the Reset button pressed - Release the Reset button after about 5 seconds or until you see the power LED blinking slowly - Upload OpenWRT factory image via TFTP client to 192.168.1.1 Revert to stock firmware using the same TFTP method. Signed-off-by: Wenli Looi <wlooi@ucalgary.ca>
* build: add ALT5 vendor/model/variantWenli Looi2023-07-08
| | | | | | This allows adding another device variant. Signed-off-by: Wenli Looi <wlooi@ucalgary.ca>
* scripts: use sep-char for hash nodesDavid Bauer2023-07-08
| | | | | | | | | U-Boot with enabled secure-boot will not boot images with the @-character used for hash node-names. Use the existing separation character configurable for each device. Signed-off-by: David Bauer <mail@david-bauer.net>
* mediatek: replace hack for MaxLinear 2.5G PHYDaniel Golle2023-07-08
| | | | | | Replace hack with proper patch also for Linux 5.15. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: dts: mt7988a: remove boottrap hackDaniel Golle2023-07-08
| | | | | | | The PHY driver now uses regmap created from pio syscon, we no longer need the boottrap device. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: use backported Ethernet PHY driver also for 5.15Daniel Golle2023-07-08
| | | | | | | Backport in-SoC Gigabit Ethernet PHY driver instead of carrying the driver in files-5.15. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* layerscape: base-files: remove redundant RAMFS_COPY_* additionsMathew McBride2023-07-08
| | | | | | | All the tools (e.g fw_setenv, ubiupdatevol) and config (fw_env.config) needed for sysupgrade are already included in /lib/upgrade/stage2 Signed-off-by: Mathew McBride <matt@traverse.com.au>
* mediatek: dts: mt7988a: wire-up mediatek,pio for PHY LEDsDaniel Golle2023-07-08
| | | | | | | | | | The PHY driver needs to read a register containing the values of the bootstrap pins (which happen to be the PHY LEDs) to determine the LED polarities. Allow regmap access to first pinctrl bank by adding the 'syscon' compatible, and reference the pinctrl in the MDIO bus where the PHY driver will look for it. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* lua: fix integer overflow in LNUM patchAdam Bailey2023-07-08
| | | | | | | | | | Safely detect integer overflow in try_addint() and try_subint(). Old code relied on undefined behavior, and recent versions of GCC on x86 optimized away the if-statements. This caused integer overflow in Lua code instead of falling back to floating-point numbers. Signed-off-by: Adam Bailey <aebailey@gmail.com>
* kernel: remove CRYPTO_BLAKE2S from all >=5.15Christian Svensson2023-07-08
| | | | | | | | | This option was removed from upstream kernel back in 2022. See commits: 2d16803c562ecc644803d42ba98a8e0aef9c014e (>=6.0) 3dd33a09f5dc12ccb0902923c4c784eb0f8c7554 (>=5.15.61 backport) Signed-off-by: Christian Svensson <blue@cmd.nu>
* e2fsprogs: do not symlink tune2fs to findfsMartin Schiller2023-07-08
| | | | | | | | | | | | | | commit c0611b45a998 ("e2fsprogs: symlink e2fsck to fsck.ext{2, 3, 4}, and tune2fs to findfs") introduced a symlink from tune2fs to findfs. This only works when the included private libblkid library is used, but commit 5b1660a5387b ("utils/e2fsprogs: Update to 1.43.6") disabled the usage of this private lib and enabled the shared lib support. Removing this symlink makes it possible to install tune2fs and findfs package. Signed-off-by: Martin Schiller <ms@dev.tdt.de>
* kernel: leds-ws2812b: fix build with Linux >= 5.18Daniel Golle2023-07-08
| | | | | | | | The return value of the .remove function pointer has changed from int to void with Linux 5.18. Use a precompiler macro to allow building the leds-ws2812b module with both, Linux 5.15 and Linux 6.1. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: add two missing symbols in 6.1Daniel Golle2023-07-08
| | | | | | | Two more new symbols were discovered when building mediatek targets with CONFIG_ALL_KMODS=y. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* apm821xx: fix autoloading of kmod-hw-crypto4xxRani Hod2023-07-08
| | | | | Fixes: 55fbcad20a2d (apm821xx: make crypto4xx as a standalone module) Signed-off-by: Rani Hod <rani.hod@gmail.com>
* wolfssl: update to 5.6.3Nick Hainke2023-07-07
| | | | | | | | | | | | | | | Release Notes: - https://github.com/wolfSSL/wolfssl/releases/tag/v5.6.0-stable - https://github.com/wolfSSL/wolfssl/releases/tag/v5.6.2-stable - https://github.com/wolfSSL/wolfssl/releases/tag/v5.6.3-stable Refresh patch: - 100-disable-hardening-check.patch Backport patch: - 001-fix-detection-of-cut-tool-in-configure.ac.patch Signed-off-by: Nick Hainke <vincent@systemli.org>
* kernel: bump 6.1 to 6.1.38John Audia2023-07-07
| | | | | | | | | | | | | | | Stable kernel git log: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/log/?h=v6.1.38 No patches needed to be rebased. Just updated checksum. Build system: x86_64 Build-tested: x86_64/AMD Ryzen 7 Run-tested: x86_64/AMD Ryzen 7 Signed-off-by: John Audia <therealgraysky@proton.me> [add link to stable kernel git log] Signed-off-by: Nick Hainke <vincent@systemli.org>
* kernel: bump 5.15 to 5.15.120John Audia2023-07-07
| | | | | | | | | | All patches automatically rebased. Build system: x86_64 Build-tested: ramips/tplink_archer-a6-v3, filogic/xiaomi_redmi-router-ax6000-ubootmod Run-tested: ramips/tplink_archer-a6-v3, filogic/xiaomi_redmi-router-ax6000-ubootmod Signed-off-by: John Audia <therealgraysky@proton.me>
* hostapd: update to 2023-06-22Andre Heider2023-07-07
| | | | | | | | | | | | | | Removed, merged upstream: - 170-wpa_supplicant-fix-compiling-without-IEEE8021X_EAPOL.patch Manually refreshed: - 040-mesh-allow-processing-authentication-frames-in-block.patch - 600-ubus_support.patch - 761-shared_das_port.patch Fixes: #12661 Fixes: 304423a4 ("hostapd: update to 2023-03-29") Signed-off-by: Andre Heider <a.heider@gmail.com>
* mediatek: expose testing Linux 6.1 testing kernelDaniel Golle2023-07-07
| | | | | | | Set KERNEL_TESTING_PATCHVER:=6.1 to allow building all subtargets with Linux 6.1. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: adapt kernel configuration for Linux 6.1Daniel Golle2023-07-07
| | | | | | Update kernel configuration to build Linux 6.1 for all subtargets. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: copy config-5.15 to config-6.1 for all subtargetsDaniel Golle2023-07-07
| | | | | | | To ease review, first copy all subtargets' kernel config-5.15 to the to-be-adapted config-6.1. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: adapt files and patches for Linux 6.1Daniel Golle2023-07-07
| | | | | | | | | With Linux 6.1 many of our downstream patches and out-of-tree files can be removed or at least replaced by backported upstream commits. Signed-off-by: Daniel Golle <daniel@makrotopia.org> [fix CMDLINE_OVERRIDE for arm64] Signed-off-by: Bjørn Mork <bjorn@mork.no>
* mediatek: copy patches and files for Linux 6.1Daniel Golle2023-07-07
| | | | | | | First step only copies patches-5.15 and files-5.15 to patches-6.1 and files-6.1 respectively. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: prepare old rtk switch driver for use with Linux 6.1Daniel Golle2023-07-07
| | | | | | | | | | The old RealTek RTL8367S switch driver which is used for some MT7622 devices needs to be modified to no longer free the GPIO after reset has completed. This is due to Linux 5.19 removing devm_gpio_free via commit 2b038e786f83 ("gpiolib: devres: Get rid of unused devm_gpio_free()") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* generic: 6.1: fix uImage.FIT partitions on mtdblock and ubiblockDaniel Golle2023-07-07
| | | | | | | | | | | When refreshing the hack patches for Linux 6.1 the part of the uImage.FIT partition parser patch which takes care of allowing mtdblock and ubiblock devices to have partitions has been dropped, supposedly by accident. Re-add a that part to the patch, so devices using a uImage.FIT filesystem sub-image as rootfs can work with Linux 6.1. Fixes: 19a246bb65 ("generic: 6.1: manually refresh hack patches") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: add support for tw686x frame grabbersKoen Vandeputte2023-07-07
| | | | | | | | | | | | | Adds support for Intersil/Techwell tw686x frame grabbers. By default, this module uses MEMCPY to transfer data. Let's switch to "Contiguous DMA" which is the fastest performing method available. [ 10.074349] tw6869: PCI 0000:07:00.0, IRQ 33, MMIO 0x1200000 (contig mode) [ 10.081381] tw686x 0000:07:00.0: enabling device (0140 -> 0142) Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
* kernel: add support for imx pxpKoen Vandeputte2023-07-07
| | | | | | | | | | | | | | This adds support for the i.MX Pixel Pipeline IP block which is available on some imx6 flavours [1] This allows to use hardware offloading for operations like: - Colour conversion - Scaling - Rotation [1] https://en.wikipedia.org/wiki/I.MX#i.MX_6_series Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
* kernel: add support for imx vpuKoen Vandeputte2023-07-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for the Video Processing Unit IP block which is present in certain i.MX SOC's. The vpu used in imx6 is the coda960 which supports: - h264 enc - h264 dec - jpeg enc - jpeg dec Please note that the required firmware needs to be added by yourself as it's not available currently in linux-firmware upstream. The firmware package can be found on the internet and it will decompress itself exposing all binaries after accepting the EULA. The binaries should be placed at exactly these paths: - /lib/firmware/vpu_fw_imx6d.bin - /lib/firmware/vpu_fw_imx6q.bin Following output will be printed at boottime if all is well: [ 9.769638] coda 2040000.vpu: Firmware code revision: 46076 [ 9.775277] coda 2040000.vpu: Initialized CODA960. [ 9.780082] coda 2040000.vpu: Firmware version: 3.1.1 [ 9.785312] coda 2040000.vpu: coda-jpeg-encoder registered as video0 [ 9.791859] coda 2040000.vpu: coda-jpeg-decoder registered as video1 [ 9.798375] coda 2040000.vpu: coda-video-encoder registered as video2 [ 9.805013] coda 2040000.vpu: coda-video-decoder registered as video3 gstreamer will automatically detect and use all encoders/decoders. Please note that a FILES catch-all is required for the videobuf-dma objects as some modules enabling this could require (and thus generating) only 1 of them. Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
* kernel: add support for videobuf-dmaKoen Vandeputte2023-07-07
| | | | | | | | | | | | | | | This adds support for videobuf2-dma driver. This module contains following flavors: - Contiguous - Scatter/Gather Drivers using this can enable 1 of the, or both, depending on their needs. Due to this, a FILES catch-all is required for the videobuf-dma objects as depending on requirements, only 1 of them could get generated. Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
* kernel: add support for mem2mem devicesKoen Vandeputte2023-07-07
| | | | | | | | | | This allows addition of devices which use these kernel modules. This also adds a package for handling dma within video2buf. These are only build when selected by a caller Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
* kernel: add missing symbols in 6.1Koen Vandeputte2023-07-07
| | | | | | Found these while playing with video pci media adapter support Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
* kernel: add missing symbols in 5.15Koen Vandeputte2023-07-07
| | | | | | Found these while playing with video pci media adapter support Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
* kernel-headers: install isa-rev.h on mips to fix lzma-lader on linux 6.1Jonas Gorski2023-07-06
| | | | | | | | | | | | | | | | | | | | | | | | Since kernel 5.17+ the mips asm.h includes isa-rev.h, which itself was added 4.17. Without it, lzma-loader will fail to build: make[3] -C target/linux compile make[5]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. In file included from head.S:22: .../staging_dir/toolchain-mips_mips32_gcc-12.3.0_musl/include/asm/asm.h:22:10: fatal error: asm/isa-rev.h: No such file or directory 22 | #include <asm/isa-rev.h> | ^~~~~~~~~~~~~~~ compilation terminated. make[6]: *** [Makefile:64: head.o] Error 1 make[5]: *** [Makefile:345: compile] Error 2 make[4]: *** [Makefile:24: compile] Error 2 make[3]: *** [Makefile:11: compile] Error 2 ERROR: target/linux failed to build. So add the file to the files to install. We can do that unconditionally, since the oldest supported kernel 5.15 already includes it, even it if does not need it. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* kernel: add CONFIG_LOCK_MM_AND_FIND_VMAJohn Audia2023-07-05
| | | | | | | | 6.1.37 introduces a new symbol[1] 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/arch/x86/Kconfig?id=v6.1.37&id2=v6.1.36 Signed-off-by: John Audia <therealgraysky@proton.me>
* kernel: bump 6.1 to 6.1.37John Audia2023-07-05
| | | | | | | | | | Manually rebased: generic/hack-6.1/220-arm-gc_sections.patch armsr/patches-6.1/221-armsr-disable_gc_sections_armv7.patch All other patches automatically rebased. Signed-off-by: John Audia <therealgraysky@proton.me>
* kernel: bump 6.1 to 6.1.36John Audia2023-07-05
| | | | | | | | | | | | | All patches automatically rebased. Acknowledgment to @john-tho for the changes to fs.mk to accommodate new paths introduced in https://github.com/gregkh/linux/commit/29429a1f5871dbe54ee0da81bb12db8567f15379 Build system: x86_64 Build-tested: bcm2711/RPi4B Run-tested: bcm2711/RPi4B Signed-off-by: John Audia <therealgraysky@proton.me>
* kernel: modules: add xdp-sockets-diag supportTianling Shen2023-07-05
| | | | | | Support for PF_XDP sockets monitoring interface used by the ss tool. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* build: add support to use the mold linker for packagesAndre Heider2023-07-04
| | | | | | | If CONFIG_USE_MOLD is set, all target packages will use the mold linker. Except the ones which opted-out via setting PKG_BUILD_FLAGS:=no-mold. Signed-off-by: Andre Heider <a.heider@gmail.com>
* treewide: opt-out of tree-wide mold usageAndre Heider2023-07-04
| | | | | | These use linker scripts, which mold doesn't support. Signed-off-by: Andre Heider <a.heider@gmail.com>
* toolchain: add mold as additional linkerAndre Heider2023-07-04
| | | | | | Install it as $tripple-ld.mold in order to use -fuse-ld=mold. Signed-off-by: Andre Heider <a.heider@gmail.com>
* tools: add mold, a modern linkerAndre Heider2023-07-04
| | | | | | | | | | | | mold is a faster drop-in replacement for existing Unix linkers. A single binary is able to link various targets, which is why this lives in tools/. All toolchain builds then just need to copy the linker over, hence avoiding multiple builds with the same outcome. Signed-off-by: Andre Heider <a.heider@gmail.com>
* config: add a knob to use the mold linker for packagesAndre Heider2023-07-04
| | | | | | | | | Building it requires gcc >= 10.2 or clang >= 12. Using sstrip with its -z argument can produce non-working binaries, like a segfaulting `getrandom`, so don't allow that combination. Signed-off-by: Andre Heider <a.heider@gmail.com>
* build: replace SSTRIP_ARGS with SSTRIP_DISCARD_TRAILING_ZEROESAndre Heider2023-07-04
| | | | | | | | | sstrip only has one functional arg. Make that a bool option, which can easily depend on other knobs then. This is required to be disabled for the mold linker. Signed-off-by: Andre Heider <a.heider@gmail.com>