aboutsummaryrefslogtreecommitdiff
path: root/target/linux
Commit message (Collapse)AuthorAge
* mpc85xx: kernel: 6.6: refresh patchesPawel Dembicki2024-03-24
| | | | | | | | | | Manualy refreshed: 101-powerpc-85xx-hiveap-330-support.patch 105-powerpc-85xx-panda-support.patch Rest done by 'make target/linux/refresh' Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* kernel/mpc85xx: Restore kernel files for v6.1Pawel Dembicki2024-03-24
| | | | | | | | | | This is an automatically generated commit which aids following Kernel patch history, as git will see the move and copy as a rename thus defeating the purpose. See: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html for the original discussion. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* kernel/mpc85xx: Create kernel files for v6.6 (from v6.1)Pawel Dembicki2024-03-24
| | | | | | | | This is an automatically generated commit. During a `git bisect` session, `git bisect --skip` is recommended. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* mpc85xx: refresh kernel configPawel Dembicki2024-03-24
| | | | | | Done by 'make kernel_oldconfig'. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* kernel: generic: add missing symbolPawel Dembicki2024-03-24
| | | | | | Found durring 'make kernel_oldconfig'. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* mpc85xx: remove 5.15 supportPawel Dembicki2024-03-24
| | | | | | Kernel is switched to 6.1. Lets remove 5.15 support. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* mpc85xx: switch to 6.1 kernelPawel Dembicki2024-03-24
| | | | | | We need to prepare for 6.6. Switch to 6.1 for wider testing. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* mpc85xx: copy missing patch from 5.15 to 6.1Pawel Dembicki2024-03-24
| | | | | | | | | patch 150-arch-powerpc-simpleboot-prevent-overwrite-of-CPU1-sp.patch was missed durring copy from 5.15 to 6.1. This patch restore it. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* imx: kernel: add imx8mp PCI supportTim Harvey2024-03-24
| | | | | | IMX8MP PCI support requires a few patches backported from Linux 6.2. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* imx: add Gateworks Venice supportTim Harvey2024-03-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for Gateworks Venice imx8m family of boards: - required kernel modules for on-board devices - image generation - initial network config - sysupgrade support The resulting compressed disk image (bin/targets/imx/cortexa53/openwrt-imx-cortexa53-gateworks_venice-squashfs-img.gz) can be installed on a Gateworks venice board via U-Boot: u-boot=> tftpboot $loadaddr openwrt-imx-cortexa53-gateworks_venice-squashfs-img.gz && \ gzwrite mmc $dev $loadaddr $filesize WARNING: this will overwrite any boot firmware on the eMMC user hardware partition which if being used will brick your board requiring JTAG to re-program boot firmware and recover The compressed disk image contains the partition table and filesystems only and that it is expected that boot firmware is installed properly on the eMMC boot0 hardware partition. The easiest way to ensure this is to use the Gateworks JTAG adapter/process to install the latest boot firmware as follows from a Linux host: wget http://dev.gateworks.com/jtag/jtag_usbv4 chmod +x jtag_usbv4 wget http://dev.gateworks.com/venice/images/firmware-venice-imx8mm.bin sudo ./jtag_usbv4 -p firmware-venice-imx8mm.bin Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* imx: add imx8m supportTim Harvey2024-03-24
| | | | | | | | | | | | | | | | | | | | Add imx8m support: - add a cortexa53 subtarget to imx - move ARCH and KERNELNAME to subtargets - account for kernel modules that are not used for cortexa53 No device-specific targets or firmware images are created yet but all imx8m* dtbs will be built. enabling CONFIG_TARGET_ROOTFS_INITRAMFS results in openwrt-imx-cortexa53-imx8m-initramfs-kernel.bin which has been successfully booted on an imx8mm-evk using the following: u-boot=> tftpboot $fdt_addr_r image-imx8mm-evk.dtb && \ tftpboot $kernel_addr_r openwrt-imx-cortexa53-imx8m-initramfs-kernel.bin && \ booti $kernel_addr_r - $fdt_addr_r Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* ath79: register ttyATH1 as OpenWrt console for ELECOM WAB-I1750-PSINAGAKI Hiroshi2024-03-24
| | | | | | | Add a hotplug script and add ttyATH1 on ELECOM WAB-I1750-PS to /etc/inittab while booting for using that console as an OpenWrt console. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
* ath79: register all ttys as Linux console for ELECOM WAB-I1750-PSINAGAKI Hiroshi2024-03-24
| | | | | | | | | Register ttyS0 and ttyATH1 as Linux console on ELECOM WAB-I1750-PS. ttyS0 provides "SERVICE" port and internal pin header for debugging and recoverying by maker, ttyATH1 provides "SERIAL" port for configuration by users. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
* kirkwood: resize kernel partition for kirkwood devicesPawel Dembicki2024-03-24
| | | | | | | | | | | | | | | | | | | | | The 6.1 kernel has caused another increase in kernel size, and now it's more than 3MB: WARNING: Image file iom_ix4-200d-uImage is too big: 3170394 > 3145728 WARNING: Image file iom_ix2-200-uImage is too big: 3171494 > 3145728 WARNING: Image file linksys_e4200-v2-uImage is too big: 3171879 > 3145728 WARNING: Image file linksys_ea4500-uImage is too big: 3171871 > 3145728 WARNING: Image file linksys_ea3500-uImage is too big: 3171651 > 3145728 This causes problems for 5 devices: - Iomega StorCenter ix2/ix4 - Linksys EA3500/EA4200/EA4500 They have enough resources for proper operation with 6.1, but all of them had a 3MB kernel size limit. Let's keep them alive and resize kernel partitions to 4MB. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* kirkwood: remove 5.15 kernel supportPawel Dembicki2024-03-24
| | | | | | Kernel was switched to 6.1. Lets drop 5.15 support. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* kirkwood: switch kernel version to 6.1Pawel Dembicki2024-03-24
| | | | | | | 6.1 testing version was introduced some time ago. Kernel size issues are resolved now. Time to bump kernel version. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* kirkwood: Add missing package dependencyPawel Dembicki2024-03-24
| | | | | | | | | | | | When build images with the 6.1 kernel for all devices and all kmods, there is one dependancy error: pkg_hash_check_unresolved: cannot find dependency kmod-thermal for kmod-hwmon-gpiofan This commit fix that issue. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* kirkwood: 6.1: backport Marvell 88E6171 init fix patchPawel Dembicki2024-03-24
| | | | | | | | | | | | | | | After commit de5c9bf40c45 ("net: phylink: require supported_interfaces to be filled") Marvell 88e6171 switches fail to be probed: [ 1.263852] mv88e6085 f1072004.mdio-bus-mii:10: switch 0x1710 detected: Marvell 88E6171, revision 2 [ 2.177654] mv88e6085 f1072004.mdio-bus-mii:10: OF node /ocp@f1000000/mdio-bus@72004/switch@10/ports/port@5 of CPU port 5 lacks the required "phy-mode" property [ 2.194230] mv88e6085 f1072004.mdio-bus-mii:10: phylink: error: empty supported_interfaces [ 2.202554] error creating PHYLINK: -22 [ 2.214109] mv88e6085: probe of f1072004.mdio-bus-mii:10 failed with error -22 Upstream handled it. Lets backport patch. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* kirkwood: Add missing phy-mode and fixed linksPawel Dembicki2024-03-24
| | | | | | | | | | | | | | | Copied from original Andrew's Lunn commit message: The DSA framework has got more picky about always having a phy-mode for the CPU port. The Kirkwood Ethernet is an RGMII port. Set the switch to impose the RGMII delays. Additionally, the cpu label has never actually been used in the binding, so remove it. This commit backport change from upstream and fix downstream EA3500 dts. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* ramips: add support for TP-Link RE205 v3Steffen Loley2024-03-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TP-Link RE205 v3 is a wireless range extender with Ethernet and 2.4G and 5G WiFi with external antennas. It's based on MediaTek MT7628AN+MT7610EN like the RE200 v3/v4 but with external antennas. Specifications -------------- - MediaTek MT7628AN (580 Mhz) - 64 MB of RAM - 8 MB of FLASH - 2T2R 2.4 GHz and 1T1R 5 GHz - 1x 10/100 Mbps Ethernet - 5x LED (GPIO-controlled), 2x button - UART connection holes on PCB (57600 8n1) There are 2.4G and 5G LEDs in blue which are controlled separately. Installation ------------ Installation is identical to RE200 v3 devices as described at https://openwrt.org/toh/tp-link/re200#installation Web Interface ------------- It is possible to upgrade to OpenWrt via the web interface. Simply flash the -factory.bin from OEM. In contrast to a stock firmware, this will not overwrite U-Boot. Recovery -------- U-Boot seems to be locked on newer versions, if not it can be accessed over the UART as described in the link above. Signed-off-by: Steffen Loley <slo-src@web.de>
* uml: restore 6.1 config + patchesChristian Lamparter2024-03-23
| | | | | | keep the main 6.1 files around until they too will be deleted. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* uml: add 6.6 testing kernel config + patchesChristian Lamparter2024-03-23
| | | | | | apart from refreshes to both config and patches, nothing has changed. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* uml: remove 5.15 config + patchesChristian Lamparter2024-03-23
| | | | | | no longer in use as we migrate to 6.6 shortly. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* uml: promote to 6.1 kernelChristian Lamparter2024-03-23
| | | | | | | there have been no reports of any problems with 6.1. let's make it the default kernel. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* apm821xx: WNDR4700: fix fan-controlChristian Lamparter2024-03-23
| | | | | | | | | | | | | This service was unfunctional due to not having its executable bit set. Furthermore, sysupgrade complains about the file being present in images. Also, the tc654 driver doesn't provide pwm1_enable sysfs file, instead its now called pwm1_mode. Please note that the fan was always spinning. It should now turn off, when there's enough the thermal headroom. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* treewide: disable spectre mitigation on unaffected Arm64 targetsQingfang Deng2024-03-23
| | | | | | | Cortex-A53 is not vulnerable to any Spectre variants. Ref: https://developer.arm.com/Arm%20Security%20Center/Speculative%20Processor%20Vulnerability Signed-off-by: Qingfang Deng <dqfext@gmail.com>
* treewide: disable spectre mitigation on unaffected Arm32 targetsQingfang Deng2024-03-23
| | | | | | | Cortex-A5 and Cortex-A7 are not vulnerable to any Spectre variants. Ref: https://developer.arm.com/Arm%20Security%20Center/Speculative%20Processor%20Vulnerability Signed-off-by: Qingfang Deng <dqfext@gmail.com>
* realtek: support common GPIOs on D-Link DGS-1210-16Richard Kunze2024-03-23
| | | | | | | | | | D-Link DGS-1210-16 hangs when rebooting and has no support for the reset button. Fix both by enabling the same GPIOs for reboot and the reset button as already used for D-Link DGS-1210-20 and D-Link DGS-1210-28. Signed-off-by: Richard Kunze <kunze@tivano.de>
* kernel: fix iptables offload build without nftablesQingfang Deng2024-03-23
| | | | | | | | | | When rebasing patches on top of 6.1, a change that removed NF_TABLES from NF_FLOW_TABLE's dependency was dropped accidentally, and iptables flow offload module can only be built when nftables is selected. Restore the change to fix it. Fixes: 19a246bb6503 ("generic: 6.1: manually refresh hack patches") Signed-off-by: Qingfang Deng <dqfext@gmail.com>
* kernel: support RISC-V PMUQingfang Deng2024-03-23
| | | | | | Add RISC-V PMU config symbols and enable them for riscv64. Signed-off-by: Qingfang Deng <dqfext@gmail.com>
* rockchip: add Radxa E25 board supportMarius Durbaca2024-03-23
| | | | | | | | | | | | | | | | | | | | | | Radxa E25 is a network application carrier board for the Radxa CM3 Industrial (CM3I) SoM, which is based on the Rockchip RK3568 SoC. It has the following features: - MicroSD card socket, on board eMMC flash - 2x 2.5GbE Realtek RTL8125B Ethernet transceiver - 1x USB Type-C port (Power and Serial console) - 1x USB 3.0 OTG port - mini PCIe socket (USB or PCIe) - ngff PCIe socket (USB or SATA) - 1x User LED and 16x RGB LEDs - 26-pin expansion header Installation: Uncompress the OpenWrt sysupgrade and write it to a micro SD card or internal eMMC using dd. Signed-off-by: Marius Durbaca <mariusd84@gmail.com>
* qualcommax: add 6.6 as testing kernelRobert Marko2024-03-22
| | | | | | Provide kernel 6.6 as the testing kernel for qualcommax. Signed-off-by: Robert Marko <robimarko@gmail.com>
* qualcommax: ipq807x: add WLAN device path migrationRobert Marko2024-03-22
| | | | | | | | | | | | | | | | | | Kernel 6.6 has changed the path of WLAN devices as the soc node was updated to include an adress as well because according to spec it needed one: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/arch/arm64/boot/dts/qcom/ipq8074.dtsi?h=v6.6.21&id=da6aa1111a17db11367817ddc10c5a6c188cdc44 So, this will break existing configuration as device path was changed for example: "platform/soc/c000000.wifi" to "platform/soc@0/c000000.wifi" "platform/soc/c000000.wifi+1" to "platform/soc@0/c000000.wifi+1" PCIe attached devices also have their path changed, so lets add a script that will migrate the paths based on the detected running kernel version so returning to kernel 6.1 will work as well. Co-developed-by: Sean Khan <datapronix@protonmail.com> Signed-off-by: Robert Marko <robimarko@gmail.com>
* qualcommax: 6.6: fix SCM header include path for WCSSRobert Marko2024-03-22
| | | | | | | SCM header was moved to <linux/firmware/qcom/qcom_scm.h> so adjust the WCSS patch accordingly. Signed-off-by: Robert Marko <robimarko@gmail.com>
* qualcommax: 6.6: refresh configRobert Marko2024-03-22
| | | | | | Refresh 6.6 qualcommax kernel config via kernel_menuconfig. Signed-off-by: Robert Marko <robimarko@gmail.com>
* qualcommax: 6.6: make patches applyRobert Marko2024-03-22
| | | | | | | Drop backported patches already included in 6.6 and refresh the rest to apply. Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel/qualcommax: Restore kernel files for v6.1Robert Marko2024-03-22
| | | | | | | | | | This is an automatically generated commit which aids following Kernel patch history, as git will see the move and copy as a rename thus defeating the purpose. See: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html for the original discussion. Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel/qualcommax: Create kernel files for v6.6 (from v6.1)Robert Marko2024-03-22
| | | | | | | | This is an automatically generated commit. When doing `git bisect`, consider `git bisect --skip`. Signed-off-by: Robert Marko <robimarko@gmail.com>
* mediatek: mt7629: 6.6: disable LEDS_SMARTRG_LED by defaultRobert Marko2024-03-22
| | | | | | | | | | | When building MT7629 with ALL_KMODS then we get prompted for LEDS_SMARTRG_LED and this will break CI and in future buildbot compilation. It depends on I2C so the symbol is hidden until ALL_KMODS is used and I2C support is available, so disable the LEDS_SMARTRG_LED symbol in 6.6 config intentionally as is done in the 6.1 mt7629 config. Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: config: 6.6: add missing ARM64 SM4 CE symbolsRobert Marko2024-03-22
| | | | | | | | | Disable CONFIG_CRYPTO_SM4_ARM64_CE_CCM and CONFIG_CRYPTO_SM4_ARM64_CE_GCM in the generic config like we do with similar CE symbols. This avoids the need to disable them in individual targets. Signed-off-by: Robert Marko <robimarko@gmail.com>
* mvebu: puzzle-m90x: optimize thermal zoneDaniel Golle2024-03-21
| | | | | | | | | | | | | | | * have more defined PWM steps similar to the vendor's shell script doing the same thing * replace PWM values with experiencal values provided by forum users * increase hyteresis to prevent changing fan speed every second (just because it's annoying to listen to) * add 'hot' trip point at 75 deg. to warn users that shutdown is imminent Tested on Puzzle M902 only for now, PWM values for Puzzle M901 might be slightly different but should quite certainly also be rised. Suggested-by: Martin Gierschner <martin_gierschner@gmx.de> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: mt7622: add a second u-boot for redmi-ax6sChuanhong Guo2024-03-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The vendor u-boot knows nothing about UBI, and we used to have a fixed-size kernel partition for vendor u-boot and UBI for rootfs. However, that fixed partition becomes too small eventually, and expanding it requires complicated procedure. This commit changed the flash layout and added a second u-boot where the kernel supposed to be. Now the vendor u-boot chainloads our mainline u-boot, and our u-boot reads kernel+rootfs from UBI, verifies it, and boot into OpenWrt. There are two possible ways to convert from the old fw: Flash the factory image using mtd (provided by @rany2): mount -o remount,ro / mount -o remount,ro /overlay cd /tmp dd if=factory.bin bs=1M count=4 | mtd write - kernel dd if=factory.bin bs=1M skip=4 | mtd -r write - ubi Or, flash the 2nd u-boot via mtd and upload the firmware to the 2nd u-boot using tftp: 1. prepare a tftp server at 192.168.1.254 to serve the sysupgrade image: openwrt-mediatek-mt7622-xiaomi_redmi-router-ax6s-squashfs-sysupgrade.itb 2. upload the ubi-loader.itb to OpenWrt /tmp, and flash it to the old kernel partition: mtd -r write openwrt-mediatek-mt7622-xiaomi_redmi-router-ax6s-ubi-loader.itb 3. The router should reboot and flash the sysupgrade image via TFTP. Procedure for flashing from vendor firmware shouldn't change. Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
* ramips: mt7621: disable Edgerouter X image generationRobert Marko2024-03-20
| | | | | | | | | | With kernel 6.1 image size is too large for Edgerouter X current size limit and is causing the buildbots to fail building so images for other devices are not updated as well. So, disable building Edgerouter X images until a workaround is found. Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: bump 6.1 to 6.1.82John Audia2024-03-19
| | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.82 All patches automatically rebased. Build system: x86/64 Build-tested: x86/64/AMD Cezanne, ramips/tplink_archer-a6-v3 Run-tested: x86/64/AMD Cezanne, ramips/tplink_archer-a6-v3 Signed-off-by: John Audia <therealgraysky@proton.me>
* kernel: config: add symbol introduced with 6.1.82John Audia2024-03-19
| | | | | | | | Add CONFIG_MITIGATION_RFDS=y to the default config[1] 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/diff/arch/x86/Kconfig?id=v6.1.82&id2=v6.1.81 Signed-off-by: John Audia <therealgraysky@proton.me>
* generic: kernel: fix libata ledtrig support in 6.6Pawel Dembicki2024-03-18
| | | | | | | | | | Upstream commit e298d8a38b23 [0] changed method how to blink delays are pased to function. Downstream commit must follow it. [0] https://lore.kernel.org/r/20230510162234.291439-2-hdegoede@redhat.com Reported-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* qualcommax: ipq807x: Fix MAC addresses usage for RAX120v2Paweł Owoc2024-03-18
| | | | | | | | | | | | | | Currently, 6 MAC addresses are read from the "boarddata1" partition and set for network interfaces in sequence. This partition only contains 3 MAC addresses: 1. lan mac 2. wan mac 3. wlan5g mac As result only lan2, lan3 and lan4 have correct (OUI) MAC addresses. lan1, lan5 and wan interfaces get MAC addresses with incorrect OUI from random data on "boarddata1" partition. This commit fix this and use first MAC for lan and second MAC for wan interfaces. Signed-off-by: Paweł Owoc <frut3k7@gmail.com>
* qualcommax: ipq60xx: set PHY mode to psgmii for port 5Chukun Pan2024-03-18
| | | | | | | | The port 5 of most ipq60xx devices is connected to qca8075, a few are connected to qca8081. So assume that the default connection is qca8075 and set the phy mode to psgmii. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* qualcommax: set phy-mode to sgmii for QCA8081Chukun Pan2024-03-18
| | | | | | | The dp5 node uses psgmii by default, corrected the phy-mode to sgmii for the qca8081 phy. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* qualcommax: dts: cleanup whitespaceChukun Pan2024-03-18
| | | | | | | Replace blanks with tabs, remove extra blank lines. Also add new lines as appropriate. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>