aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* ubnt-ledbar: add kernel 6.1 compatTomasz Maciej Nowak2023-05-24
| | | | | | | As of ed5c2f5fd10d ("i2c: Make remove callback return void") return value of remove function is ignored. Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
* kernel: qca-ssdk: backport support for building as kernel moduleRobert Marko2023-05-23
| | | | | | | | | | | | | | Currently, SSDK is rather special in the sense that its not being built as a proper out of tree module at all but rather like a userspace application and that involves a lot of make magic which unfortunately broke with make version 4.4 and newer. Luckily QCA finally added a way to build SSDK as an out of tree module and it uses the kernel buildsystem which makes it compile with make 4.4 as well. So lets backport the support for it and switch to using it. Signed-off-by: Robert Marko <robimarko@gmail.com>
* CI: build: Add support to use container included external toolchainChristian Marangi2023-05-23
| | | | | | | Add support to use container included external toolchain and skip redownloading external sdk for each test. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* CI: push-containers: build and push container with external toolchainChristian Marangi2023-05-23
| | | | | | | Build and push container with external toolchain embedded in the container image. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* CI: build: add checks to test if toolchain container can be usedChristian Marangi2023-05-23
| | | | | | | | | | Add checks to test if toolchain container can be used. This is to handle case of new target or migration of any sort. If the toolchain container can't be found, the tools container is used instead. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* CI: build: add option to configure container to useChristian Marangi2023-05-23
| | | | | | | Add option to configure container to use for build test. By default the tools container is used if no option is provided. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* CI: build: package external toolchain after buildChristian Marangi2023-05-23
| | | | | | Package external toolchain after correct build. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ci: push-containers: trigger job on release branchingPetr Štetiar2023-05-23
| | | | | | | | Currently all 23.05 related CI jobs are failing as the containers are not available, so lets fix it by pushing those containers when the version.mk changes. Signed-off-by: Petr Štetiar <ynezz@true.cz>
* ci: tools: run the job on changes in include directory as wellPetr Štetiar2023-05-23
| | | | | | In order to prevent regressions like with #12617. Signed-off-by: Petr Štetiar <ynezz@true.cz>
* prereq: SetupHostCommand: fix wrong check resultPetr Štetiar2023-05-23
| | | | | | | | | | | | | | Tony has reported, that CI tools job is failing for him in macOS container due to prereq check failure for GNU `install` utility. Michael diagnosed it and from his traces it was clear, that the issue is caused by a wrong return value in the success check case, so lets fix it accordingly. Fixes: f75204036ccc ("prereq-build: allow host command symlinks to update") Reported-by: Tony Ambardar <itugrok@yahoo.com> Diagnosed-by: Michael Pratt <mcpratt@pm.me> Signed-off-by: Petr Štetiar <ynezz@true.cz>
* mediatek: add basic mt7988 device tree supportSam Shih2023-05-23
| | | | | | | This add basic device tree support for mediatek MT7988 SoC Signed-off-by: Sam Shih <sam.shih@mediatek.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: backport cpufreq changes to support MT7988Daniel Golle2023-05-23
| | | | | | | Backport cpufreq changes from upstream so that the MediaTek MT7988 SoC can be supported. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: filogic: add driver for Richtek RT5190A regulatorDaniel Golle2023-05-23
| | | | | | | | The Richtek RT5190A is used on the MT7988 reference board. Backport and enable the driver on the filogic subtarget, so we can support cpufreq on the MT7988 reference board. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: add driver for built-in 2.5G Ethernet PHYDaniel Golle2023-05-23
| | | | | | | | Add driver for the built-in 2.5G Ethernet PHY found in the MT7988 SoC. To function the PHY also needs firmware files which have not yet been published via linux-firmware. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: update pending SoC Ethernet PHY driverDaniel Golle2023-05-23
| | | | | | | Update driver for MediaTek's built-in Gigabit Ethernet PHYs which can be found in the MT7981 and MT7988 SoCs. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* generic: mt7530: backport support for the MT7988 built-in switchDaniel Golle2023-05-23
| | | | | | | | | | | | | | | | Backport commits adding support for the MT7988 built-in switch to the mt7530 driver. This change results in the Kconfig symbol NET_DSA_MT7530 to be extended by NET_DSA_MT7530_MDIO (everything formally covered by NET_DSA_MT7530) and NET_DSA_MT7530_MMIO (a new driver for the MMIO-connected built-in switch of the MT7988 SoC). Select NET_DSA_MT7530_MDIO for all targets previously selecting NET_DSA_MT7530, with the exception of mediatek/filogic which also selects NET_DSA_MT7530_MMIO. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* generic: add support for MediaTek NETSYS v3Daniel Golle2023-05-23
| | | | | | | In order to support Ethernet on the MT7988 SoC add support for NETSYS v3 as well as new paths and USXGMII SerDes to the mtk_eth_soc driver. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: add mt7988 pinctrl driver supportSam Shih2023-05-23
| | | | | | | This adds provisional pinctrl driver support for the MediaTek MT7988 SoC. Signed-off-by: Sam Shih <sam.shih@mediatek.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: add mt7988 clock drivers supportSam Shih2023-05-23
| | | | | | | This adds clock drivers for the MediaTek MT7988 SoC Signed-off-by: Sam Shih <sam.shih@mediatek.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: mt7981: setup all clocks needed for eMMCDaniel Golle2023-05-23
| | | | | | | Setup all necessary clocks to get MMC to work on MT7981, similar to how it is done also on MT7986. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: mt7981: usb enable 3.0 by defaultChukun Pan2023-05-23
| | | | | | | There is no reason to limit USB to 2.0 mode by default, delete this limit. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* kernel: enable (ARM|ARM64)_MODULE_PLTS in generic configTony Ambardar2023-05-23
| | | | | | | | | | | | | | | | | | | This allows loading modules with large memory requirements, recently needed while testing on armvirt/32. Past forum discussions [1] and bug reports [2] also raised this and the ipq806x target already set it in response [3]. Given this increases kernel image size by only ~1KB, is generally useful on multi-platform kernels, and enabled by default on upstream arm32 Linux, add it to the generic config. The setting has similar utility on arm64, is a requirement for KASLR, and already enabled on most OpenWrt aarch64 targets, so pull this into the top-level generic config. [1]: https://forum.openwrt.org/t/vmap-allocation-for-size-442368-failed-use-vmalloc-size-to-increase-size/34545/7 [2]: https://github.com/openwrt/openwrt/issues/8282 [3]: f81e148eb6 ("ipq806x: update 4.19 kernel config"). Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* Revert "feeds: use git-src-full to allow Git versioning"Petr Štetiar2023-05-23
| | | | | | | | | This partially reverts commit 7fae1e5677e9bb4979c8d4ac99be4de6955b13d0 as it should be no longer necessary to do a full clone since commit 48ed07bc0b94 ("treewide: replace AUTORELEASE with real PKG_RELEASE"). Suggested-by: Thibaut VARÈNE <hacks@slashdirt.org> Signed-off-by: Petr Štetiar <ynezz@true.cz>
* kernel: add disabled symbol CONFIG_CPU_LITTLE_ENDIAN on 6.1Aleksander Jan Bajkowski2023-05-23
| | | | | | | The identical change was previously added to the 5.15 kernel in the commit 9226f1e41948 ("kernel: disable CONFIG_CPU_LITTLE_ENDIAN in generic config"). Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
* kernel: sort generic configurationAleksander Jan Bajkowski2023-05-23
| | | | | | | | | | | | This was done by executing these commands: $ ./scripts/kconfig.pl '+' target/linux/generic/config-5.15 /dev/null > target/linux/generic/config-5.15-new $ mv target/linux/generic/config-5.15-new target/linux/generic/config-5.15 $ ./scripts/kconfig.pl '+' target/linux/generic/config-6.1 /dev/null > target/linux/generic/config-6.1-new $ mv target/linux/generic/config-6.1-new target/linux/generic/config-6.1 Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
* mac80211: backport merged version of A-MSDU mesh patchRobert Marko2023-05-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kernel 6.1 now has fortify_memcpy_chk() and it is causing the following warning while trying to compile backports: CC [M] /home/robimarko/Building/AX3600/ipq807x-5.15/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/backports-6.1.24/net/wireless/util.o In file included from ./include/linux/string.h:253, from /home/robimarko/Building/AX3600/ipq807x-5.15/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/backports-6.1.24/backport-include/linux/string.h:3, from ./include/linux/bitmap.h:11, from ./include/linux/cpumask.h:12, from ./include/linux/smp.h:13, from ./arch/arm64/include/asm/arch_timer.h:18, from ./arch/arm64/include/asm/timex.h:8, from ./include/linux/timex.h:67, from ./include/linux/time32.h:13, from ./include/linux/time.h:60, from /home/robimarko/Building/AX3600/ipq807x-5.15/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/backports-6.1.24/backport-include/linux/time.h:3, from ./include/linux/skbuff.h:15, from /home/robimarko/Building/AX3600/ipq807x-5.15/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/backports-6.1.24/backport-include/linux/skbuff.h:3, from ./include/linux/if_ether.h:19, from /home/robimarko/Building/AX3600/ipq807x-5.15/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/backports-6.1.24/backport-include/linux/if_ether.h:3, from ./include/linux/etherdevice.h:20, from /home/robimarko/Building/AX3600/ipq807x-5.15/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/backports-6.1.24/backport-include/linux/etherdevice.h:3, from /home/robimarko/Building/AX3600/ipq807x-5.15/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/backports-6.1.24/net/wireless/util.c:12: In function 'fortify_memcpy_chk', inlined from 'ieee80211_strip_8023_mesh_hdr' at /home/robimarko/Building/AX3600/ipq807x-5.15/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/backports-6.1.24/net/wireless/util.c:590:3: ./include/linux/fortify-string.h:404:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning] 404 | __write_overflow_field(p_size_field, size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors This issue was fixed in the final version of ("wifi: mac80211: fix receiving A-MSDU frames on mesh interfaces") that was merged upstream but we have a older version that is using: memcpy(&payload.eth.h_dest, mesh_addr, 2 * ETH_ALEN); instead of: memcpy(&payload.eth, mesh_addr, 2 * ETH_ALEN); So, lets just backport the merged version of patch to fix the issue. Signed-off-by: Robert Marko <robimarko@gmail.com>
* mediatek: mt7623: build SD card without all filesystemsDaniel Golle2023-05-22
| | | | | | | | Allow building SD card images without having both initramfs and squashfs present on the card, just like it has already been done for the mt7622 and filogic subtargets. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ipq806x: enable testing kernel version with 6.1 versionChristian Marangi2023-05-22
| | | | | | Enable testing kernel version with 6.1 kernel version. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 6.1: refresh config and add missing symbolsChristian Marangi2023-05-22
| | | | | | | | | Refresh config for kernel 6.1 and add missing symbols Then sorted using: $ ./scripts/kconfig.pl '+' target/linux/ipq806x/config-6.1 /dev/null > target/linux/ipq806x/config-6.1-new $ mv target/linux/ipq806x/config-6.1-new target/linux/ipq806x/config-6.1 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 6.1: refresh dtsChristian Marangi2023-05-22
| | | | | | | | Refresh dts for kernel 6.1 support. Changes: - nbg6817 drop amba node and reference directly sdcc1. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 6.1: refresh kernel patchesChristian Marangi2023-05-22
| | | | | | Refresh ipq806x kernel patches with make target/linux/refresh. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 6.1: manually refresh kernel patchesChristian Marangi2023-05-22
| | | | | | Refresh kernel patches for version 6.1. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 6.1: replace ZRELADDR HACK patch with new versionChristian Marangi2023-05-22
| | | | | | | | With 6.1 lots have changed and the platform for Makefile.boot got dropped. Replace the patch with a new version that is alligned to the new implementation. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 6.1: drop upstream patchChristian Marangi2023-05-22
| | | | | | Drop patch that got merged upstream. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq806x: 6.1: copy patches, files and config from 5.15Christian Marangi2023-05-22
| | | | | | Copy patches, files and config from 5.15 kernel version. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel: modules: fs: adapt for kernel 6.1Robert Marko2023-05-22
| | | | | | | | | | Adapt filesystem kmods for building under kernel 6.1: * Depend on kernel not being 5.10 rather than only 5.15 * kmod-fs-9p depends on kmod-fs-netfs from 5.17 as they started using netfs helpers * Set new KConfig options to N Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: modules: wwan: adapt for kernel 6.1Robert Marko2023-05-22
| | | | | | | | | Update the WWAN kmods for compilation under kernel 6.1: * Depend on kernel not being 5.10 rather than only 5.15 * Enable CONFIG_WWAN_DEBUGFS as its now optional from 5.17 * Add missing symbols for new WWAN drivers to generic config Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: modules: adapt for kernel 6.1Christian Marangi2023-05-22
| | | | | | Adapt kernel modules to support kernel 6.1. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: kernel: add missing symbolPawel Dembicki2023-05-22
| | | | | | | | Add missing symbol while adding layerscape support Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com> [ add commit description ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: 6.1: add missing symbolsRobert Marko2023-05-22
| | | | | | These symbols got exposed once building for ipq807x. Signed-off-by: Robert Marko <robimarko@gmail.com>
* generic: 6.1: refresh config and add missing symbolsChristian Marangi2023-05-22
| | | | | | | | | Refresh generic config for 6.1 and add missing symbols. Then sorted using: $ ./scripts/kconfig.pl '+' target/linux/generic/config-6.1 /dev/null > target/linux/generic/config-6.1-new $ mv target/linux/generic/config-6.1-new target/linux/generic/config-6.1 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel: add CONFIG_INITRAMFS_PRESERVE_MTIME config to Initramfs functionChristian Marangi2023-05-22
| | | | | | | New kernel version 6.1 introduced new INITRAMFS option. Add them to the Initramfs functions to correctly compile initramfs images. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel: use eth_random_addr instead of random_ether_addrChristian Marangi2023-05-22
| | | | | | | | | | random_ether_addr is just a reference to eth_random_addr, that was later dropped in more recent kernel version. Drop random_ether_addr and use eth_random_addr directly to fix compilation error in 6.1 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernek: use struct_group to wipe ar8216 volatile priv dataChristian Marangi2023-05-22
| | | | | | | | | Instead of reference vlan and do strange subtraction, use the handy struct_group() to create a virtual struct of the same size of the members. This permits to have a more secure memset and fix compilation warning in 6.1 where additional checks are done. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel: refresh swconfig_leds to handle new trigger lockingChristian Marangi2023-05-22
| | | | | | | Refresh swconfig_leds source to handle new trigger locking that is now a spinlock. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel: refresh IFF_NO_IP_ALIGN ifdef for kernel >= 6.1Christian Marangi2023-05-22
| | | | | | | Kernel 6.1 expanded the priv_flags to long bitmap so update and restore it to priv_flags. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: 6.1: refresh pending patchesChristian Marangi2023-05-22
| | | | | | Refresh pending patches with make target/linux/refresh. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: 6.1: refresh hack patchesChristian Marangi2023-05-22
| | | | | | Refresh hack patches with make target/linux/refresh. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: 6.1: refresh backport patchesChristian Marangi2023-05-22
| | | | | | Refresh backport patches with make target/linux/refresh. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* generic: 6.1: add pending OPP set opp improvement patchChristian Marangi2023-05-22
| | | | | | | Add pending OPP set opp improvement patch to better handle _set_opp function in clock scaling. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>