aboutsummaryrefslogtreecommitdiff
path: root/target
Commit message (Collapse)AuthorAge
* kernel: bump 5.15 to 5.15.114John Audia2023-05-31
| | | | | | | | | | All patches automatically rebased. Build system: x86_64 Build-tested: bcm2711/RPi4B, ramips/tplink_archer-a6-v3, filogic/xiaomi_redmi-router-ax6000-ubootmod Run-tested: bcm2711/RPi4B, ramips/tplink_archer-a6-v3, filogic/xiaomi_redmi-router-ax6000-ubootmod Signed-off-by: John Audia <therealgraysky@proton.me>
* bmips: enable testing kernel version with 6.1 versionÁlvaro Fernández Rojas2023-05-30
| | | | | | Enable testing kernel version with 6.1 kernel version. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: 6.1: refresh config and add missing symbolsÁlvaro Fernández Rojas2023-05-30
| | | | | | Refresh config for kernel 6.1 and add missing symbols. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: 6.1: refresh kernel patchesÁlvaro Fernández Rojas2023-05-30
| | | | | | Refresh kernel patches for version 6.1. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: 6.1: copy patches, config from 5.15Álvaro Fernández Rojas2023-05-30
| | | | | | Copy patches and config from 5.15 kernel version. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: enet: add compatibility with kernel 6.1Álvaro Fernández Rojas2023-05-30
| | | | | | Make bmips ethernet drivers compatible with 6.1 kernel. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: 6.1: add missing Kconfig symbolsÁlvaro Fernández Rojas2023-05-30
| | | | | | Add missing symbol found during refreshing bmips Kconfigs. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* generic: import patch fixing workqueue compilation with gcc-13Nick Hainke2023-05-30
| | | | | | | | | | | | | | | | | | | | | | | | Already applied in wq/for-6.5 [0]. Fixes errors in the form of: kernel/workqueue.c: In function 'get_work_pwq': kernel/workqueue.c:705:24: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 705 | return (void *)(data & WORK_STRUCT_WQ_DATA_MASK); | ^ kernel/workqueue.c: In function 'get_work_pool': kernel/workqueue.c:733:25: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 733 | return ((struct pool_workqueue *) | ^ kernel/workqueue.c: In function 'get_work_pool_id': kernel/workqueue.c:755:25: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast] 755 | return ((struct pool_workqueue *) | ^ cc1: all warnings being treated as errors [0] - https://lore.kernel.org/all/ZGmEmkcrfh7QdkIz@slm.duckdns.org/ Fixes: #12687 ("mt7621: kernel 5.15 compile failure with GCC 13") Signed-off-by: Nick Hainke <vincent@systemli.org>
* kernel: include MT7988 Ethernet support in Linux 6.1Daniel Golle2023-05-30
| | | | | | | Import pending patches adding Ethernet support for MT7988 which are already present in pending-5.15 also to pending-6.1. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: backport MT7988 DSA support for Linux 6.1Daniel Golle2023-05-30
| | | | | | | Patches adding DSA support for MT7988 have been backported to Linux 5.15 but not to Linux 6.1. Import backports also to Linux 6.1. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: refresh patches for Linux 6.1Daniel Golle2023-05-30
| | | | | | | | Some backported patches generated with git-format-patch were not refreshed. Use 'make target/linux/refresh' to align them with OpenWrt's patch style. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* apm821xx: make crypto4xx as a standalone moduleChristian Lamparter2023-05-30
| | | | | | | Make the crypto4xx crypto accelerator support as a standalone module. This saves 90kb on a gzipped kernel. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* apm821xx: make ata-dwc as a standalone moduleChristian Lamparter2023-05-30
| | | | | | | | In order to cut down on the Netgear WNDR4700, the ata driver can be outsourced. This helps other apm821xx devices too to save up on kernel size (~200 kb). Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* apm821xx: add 6.1 testing kernelChristian Lamparter2023-05-30
| | | | refreshed kernel config, otherwise same as 5.15.
* apm821xx: copy over patches from 5.15Christian Lamparter2023-05-30
| | | | | | | dropped tc654 patch as it is upstream. refreshed the rest. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* kernel: 6.1: fix swconfig not workingChristian Lamparter2023-05-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On 6.1 swconfig is not showing up and there's a splat: | ------------[ cut here ]------------ | WARNING: CPU: 0 PID: 1 at genl_register_family+0xb4/0x81c | Modules linked in: | CPU: 0 PID: 1 Comm: swapper Not tainted 6.1.29 #0 | Hardware name: Netgear WNDR4700/WNDR4720 Series APM821XX [...] | NIP: c0599370 LR: c0599344 CTR: c08c9950 | REGS: c0c21cb0 TRAP: 0700 Not tainted (6.1.29) | MSR: 00029000 <CE,EE,ME> CR: 48000888 XER: 00000000 | | GPR00: c0002678 c0c21da0 c0c2cd80 [...] | NIP [c0599370] genl_register_family+0xb4/0x81c | LR [c0599344] genl_register_family+0x88/0x81c | Call Trace: | [c0c21d80] [c0c21df4] 0xc0c21df4 (unreliable) | [c0c21e10] [c08c9988] swconfig_init+0x38/0x64 | [c0c21e30] [c0002678] do_one_initcall+0x50/0x260 This is due to it failing to register the netlink family since changes to upstream linux in patch. | commit 9c5d03d362519f36cd551aec596388f895c93d2d |Author: Jakub Kicinski <kuba@kernel.org> |Date: Wed Aug 24 17:18:30 2022 -0700 | | genetlink: start to validate reserved header byte this is fixed by adding the proper value to the introduced "resv_start_op" parameter. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* apm821xx: mx60: drop nand-is-boot-mediumChristian Lamparter2023-05-30
| | | | | | | | it was reported that this flag caused the mx60 not to boot anymore. Fixes: f095822699cc ("apm821xx: convert legacy nand partition layou") Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* rockchip: enable testing kernel version with 6.1 versionTianling Shen2023-05-29
| | | | | | Enable testing kernel version with 6.1 kernel version. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rockchip: 6.1: refresh config and add missing symbolsTianling Shen2023-05-29
| | | | | | Refresh config for kernel 6.1 and add missing symbols Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rockchip: 6.1: refresh kernel patchesTianling Shen2023-05-29
| | | | | | Refresh kernel patches for version 6.1. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rockchip: 6.1: copy patches, config from 5.15Tianling Shen2023-05-29
| | | | | | Copy patches and config from 5.15 kernel version. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* kernel: 6.1: add missing Kconfig symbolsTianling Shen2023-05-29
| | | | | | Add missing symbol found during refreshing rockchip Kconfigs. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* ipq40xx: e2600ac-c1 remove KERNEL_SIZE张 鹏2023-05-29
| | | | | | | | | Currently, e2600ac-c1 cannot be built as the kernel is larger than the defined KERNEL_SIZE, however, there is no bootloader limit for the kernel size so remove KERNEL_SIZE completely. Signed-off-by: 张 鹏 <sd20@qxwlan.com> [ improve commit title, fix merge conflict ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq40xx: add e2600ac c2 to dsa张 鹏2023-05-29
| | | | | | | | Convert E2600ac c2 to DSA and enable it. Signed-off-by: 张 鹏 <sd20@qxwlan.com> [ rename port to more generic name ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* ipq40xx: add e2600ac c1 to dsa张 鹏2023-05-29
| | | | | | | | Convert E2600ac c1 to DSA and enable it. Signed-off-by: 张 鹏 <sd20@qxwlan.com> [ rename port to more generic name ] Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* base-files: x86 fix 01_leds Syntax errorStan Grishin2023-05-28
| | | | | | | | | | | Cezary Jackiewicz reported: | Syntax error in line /etc/board.d/01_leds#L22 - missing "\" Fixes: c191c2d46f00 ("x86: base-files add support for Sophos 135r3/135r3w") Reported-by: Cezary Jackiewicz <cezary@eko.one.pl> Signed-off-by: Stan Grishin <stangri@melmac.ca> (buffed up commit message) Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* layerscape: kernel: enable MC userspace supportPawel Dembicki2023-05-28
| | | | | | | | | | | | | | | | | | | | Management Complex (MC) userspace support is required for userspace helpers working with DPAA2 objects exported by the Management Complex BUS. Without it, there is the error: ``` root@OpenWrt:/# ls-addni dpmac.1 error: Did not find a device file Restool wrapper scripts only support the latest major MC version that currently is MC10.x. Use with caution. error: Did not find a device file ``` This patch fixes it. Suggested-by: Alexandra Alth <alexandra@alth.de> Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* uml: add Kernel 6.1 support via testingChristian Lamparter2023-05-28
| | | | | | | | | Add the latest default Kernel for testing. There is no uml_watchdog userspace daemon available, hence CONFIG_UML_WATCHDOG is disabled. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* ipq807x: enable selecting 6.1 as testing kernelRobert Marko2023-05-28
| | | | | | Allow selecting 6.1 as the testing kernel on ipq807x. Signed-off-by: Robert Marko <robimarko@gmail.com>
* ipq807x: 6.1: fix remoteproc bootingRobert Marko2023-05-28
| | | | | | | | | | | | | In 6.1 booting the remoteprocessor that is actually running the WLAN unfortunatelly broke, so after a long time bisecting we managed to track it down to commit ("soc: qcom: mdt_loader: Always invoke PAS mem_setup"). Luckily adding back the relocation check and not making an SCM call qcom_scm_pas_mem_setup() restored the functionality. Ansuel has sent the patch upstream. Signed-off-by: Robert Marko <robimarko@gmail.com>
* ipq807x: 6.1: refresh kernel configRobert Marko2023-05-28
| | | | | | Refresh kernel config by running kernel_menuconfig. Signed-off-by: Robert Marko <robimarko@gmail.com>
* ipq807x: 6.1: refresh patchesRobert Marko2023-05-28
| | | | | | | Manually refresh tsens, PCI and CPR patches to apply and compile. Then run automatic refresh on rest of the patches. Signed-off-by: Robert Marko <robimarko@gmail.com>
* ipq807x: drop upstreamed patchesRobert Marko2023-05-28
| | | | | | Drop all of the patches that have been already been included in kernel 6.1. Signed-off-by: Robert Marko <robimarko@gmail.com>
* ipq807x: 6.1: copy patches and config from 5.15Robert Marko2023-05-28
| | | | | | | Copy patches and config from kernel 5.15 to start preparing kernel 6.1 support. Signed-off-by: Robert Marko <robimarko@gmail.com>
* ipq807x: mark merged patches as backportsRobert Marko2023-05-28
| | | | | | | These 3 patches have been merged upstream, so mark them as backports along with the kernel version they have been merged into. Signed-off-by: Robert Marko <robimarko@gmail.com>
* sifiveu: add new target for SiFive U-based boardsZoltan HERPAI2023-05-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | RISC-V is a new CPU architecture aimed to be fully free and open. This target will add support for it, based on 5.15. Supports running on: - HiFive Unleashed - FU540, first generation - HiFive Unmatched - FU740, current latest generation, PCIe SD-card images are generated, where the partitions are required to have specific type codes. As it is commonplace nowadays, OpenSBI is used as the first stage, with U-boot following as the proper bootloader. Specifications: HiFive Unleashed: - CPU: SiFive FU540 quad-core RISC-V (U54, RV64IMAFDC or RV64GC) - Memory: 8Gb - Ethernet: 1x 10/100/1000 - Console: via microUSB HiFive Unmatched: - CPU: SiFive FU740 quad-core RISC-V (U74, RV64IMAFDCB or RV64GCB) - Memory: 16Gb - Ethernet: 1x 10/100/1000 - USB: 4x USB 3.2 - PCIe: - 1x PCIe Gen3 x8 - 1x M.2 key M (PCIe x4) - 1x M.2 Key E (PCIe x1 / USB2.0) - Console: via microUSB Installation: Standard SD-card installation via dd-ing the generated image to an SD-card of at least 256Mb. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* generic: groundwork for RISC-VZoltan HERPAI2023-05-28
| | | | | | Add build infrastructure for RISC-V. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* armvirt: 6.1: enable kernel for testingTony Ambardar2023-05-28
| | | | | | Build and run-tested on QEMU/armvirt32 and QEMU/armvirt64. Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* armvirt: 6.1: update kernel configsTony Ambardar2023-05-28
| | | | | | | | | | | | | | | | | | | | The following new common symbols are defined: CONFIG_ARCH_FORCE_MAX_ORDER=11 # CONFIG_NET_9P_FD is not set Removed symbols for armvirt/32 include: CONFIG_ARM_CRYPTO=y New symbols for armvirt/64 include: CONFIG_ARM64_SME=y CONFIG_CRYPTO_POLYVAL_ARM64_CE=y # CONFIG_CRYPTO_SM4_ARM64_CE_BLK is not set # CONFIG_CRYPTO_SM4_ARM64_NEON_BLK is not set Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* armvirt: 6.1: copy config from kernel 5.15Tony Ambardar2023-05-28
| | | | | | Copy config files for kernel 5.15 to kernel 6.1. Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* malta: 6.1: enable kernel for testingTony Ambardar2023-05-28
| | | | | | Build and run-tested on QEMU/malta-be32 and QEMU/malta-le64. Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* malta: 6.1: update kernel configTony Ambardar2023-05-28
| | | | | | | | | | The following new symbols are defined: CONFIG_ARCH_FORCE_MAX_ORDER=11 CONFIG_CLOCKSOURCE_WATCHDOG_MAX_SKEW_US=100 CONFIG_ZBOOT_LOAD_ADDRESS=0x0 Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* malta: 6.1: copy config from kernel 5.15Tony Ambardar2023-05-28
| | | | | | Copy config files for kernel 5.15 to kernel 6.1. Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* kernel: 6.1: add missing config symbolsTony Ambardar2023-05-28
| | | | | | Add generic config symbols found updating the malta and armvirt targets. Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* mediatek: sync MT7988 USXGMII with SDK driverDaniel Golle2023-05-27
| | | | | | | | | The USXGMII driver in SDK was heavily refactored, some bugs have been fixed and it has switched to use phylink_pcs. Follow up with changes in SDK driver and sync our on-top-of-mainline driver with the SDK driver. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: follow-up with renamed Build/bl2 and Build/bl31-ubootDaniel Golle2023-05-27
| | | | | | | | | Use renamed build step names for all boards which were not handled by commit c620409d58 ("mediatek: filogic: add uboot build for mt7981") and now breaking the build. Fixes: c620409d58 ("mediatek: filogic: add uboot build for mt7981") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: filogic: add Qihoo 360T7 supportChukun Pan2023-05-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hardware specification: SoC: MediaTek MT7981B 2x A53 Flash: ESMT F50L1G41LB 128MB RAM: MT5CC128M16JR-EK 256MB Ethernet: 4x 10/100/1000 Mbps Switch: MediaTek MT7531AE WiFi: MediaTek MT7976C Button: Reset, WPS Power: DC 12V 1A Flash instructions: 1. Attach UART, boot the stock firmware until the message about failsafe mode appears. 2. Enter failsafe mode by pressing "f" and "Enter" 3. Type "mount_root", then run "fw_setenv bootmenu_delay 3" 4. Back up all mtd partitions before flashing. 5. Reboot, U-Boot now presents a menu. 6. Connect to your PC via the Gigabit port of the router, set a static ip on the ethernet interface of your PC. (ip 192.168.1.254, gateway 192.168.1.1) 7. Select "Upgrade ATF BL2", then use this file: openwrt-mediatek-filogic-qihoo_360t7-preloader.bin 8. Select "Upgrade ATF FIP", then use this file: openwrt-mediatek-filogic-qihoo_360t7-bl31-uboot.fip 9. Download the initramfs image, and type "reset", waiting for tftp recovery to complete. a. After openwrt boots up, perform sysupgrade. Note: 1. Since NMBM is disabled, we must back up all partitions. 2. Flash instructions is based on commit 28df7f7. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* mediatek: filogic: add uboot build for mt7981Chukun Pan2023-05-27
| | | | | | Rename previous uboot build to mt7986-*. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* mediatek: mt7981: add reserved memory to support pstoreAlexander Couzens2023-05-27
| | | | | | | | Add reserved memory for pstore/ramoops to device tree used by Linux as well as U-Boot. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: cleanly backport and add fix for I2C driverDaniel Golle2023-05-27
| | | | | | | | | Pick accepted patches from upstream Linux tree instead of having to maintain our slightly different downstream patches. Import pending patch fixing I2C on MT7981 by making sure all clocks are enabled before accessing I2C registers. Signed-off-by: Daniel Golle <daniel@makrotopia.org>