aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* bmips: add support for Comtrend AR-5381uÁlvaro Fernández Rojas2023-06-124-0/+205
| | | | | | | | | | | | | | | | | | | | | | | | | | | The Comtrend AR-5381u is a wifi fast ethernet router, 2.4 GHz single band with two internal antennas. Hardware: - SoC: Broadcom BCM6328 - CPU: single core BMIPS4350 @ 320Mhz - RAM: 64 MB DDR - Flash: 16 MB SPI NOR - Ethernet LAN: 4x 100Mbit - Wifi 2.4 GHz: miniPCI Broadcom BCM43225 802.11bgn - USB: 1x 2.0 - Buttons: 1x (reset) - LEDs: yes - UART: yes Installation via CFE web UI: 1. Power off the router. 2. Press reset button near the power switch. 3. Keep it pressed while powering up during ~20+ seconds. 4. Browse to http://192.168.1.1 and upload the firmware. 5. Wait a few minutes for it to finish. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> (cherry picked from commit bcdf861519)
* layerscape: 5.15: update source.codeaurora.org ppfe driver referenceChristian Marangi2023-06-111-1/+1
| | | | | | | | | source.codeaurora.org project has been shut down and the nxp repositories has been moved to github. Update the link reference to the new location. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> (cherry picked from commit 52d86ac6eb82b17769ce130eab5f4ba4efed06d2)
* bmips: add support for Comtrend WAP-5813nÁlvaro Fernández Rojas2023-06-115-0/+249
| | | | | | | | | | | | | | | | | | | | | | | | | | | The Comtrend WAP-5813n is a wifi gigabit router, 2.4 GHz single band with two external antennas. Hardware: - SoC: Broadcom BCM6369 - CPU: dual core BMIPS4350 @ 400Mhz - RAM: 64 MB DDR - Flash: 8 MB parallel NOR - LAN switch: Broadcom BCM53115, 5x 1Gbit - Wifi 2.4 GHz: miniPCI Broadcom BCM4322 802.11bgn - USB: 1x 2.0 (optional) - Buttons: 3x (reset) - LEDs: yes - UART: yes Installation via CFE web UI: 1. Power off the router. 2. Press reset button near the power switch. 3. Keep it pressed while powering up during ~20+ seconds. 4. Browse to http://192.168.1.1 and upload the firmware. 5. Wait a few minutes for it to finish. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> (cherry picked from commit c3b1ef2dfd)
* ramips: mt7621-dts: move wan port to gmac1 YunCore FAP-640Volodymyr Puiul2023-06-111-7/+20
| | | | | | | | move wan port to gmac1 to achieve 2Gbps CPU bandwidth between wan and lan on YunCore FAP-640 Signed-off-by: Volodymyr Puiul <volodymyr.puiul@gmail.com> (cherry picked from commit 47c2d50c0312412582fff7950b843d619400da9f)
* bmips: add support for Comtrend VR-3025unÁlvaro Fernández Rojas2023-06-114-0/+200
| | | | | | | | | | | | | | | | | | | | | | | | | | | The Comtrend VR-3025un is a wifi gigabit router, 2.4 GHz single band with two external antennas. Hardware: - SoC: Broadcom BCM6368 - CPU: dual core BMIPS4350 @ 400Mhz - RAM: 64 MB DDR - Flash: 8 MB parallel NOR - Ethernet LAN: 4x 100Mbit - Wifi 2.4 GHz: miniPCI Broadcom BCM43222 802.11bgn - USB: 1x 2.0 - Buttons: 1x (reset) - LEDs: yes - UART: yes Installation via CFE web UI: 1. Power off the router. 2. Press reset button near the antenna. 3. Keep it pressed while powering up during ~20+ seconds. 4. Browse to http://192.168.1.1 and upload the firmware. 5. Wait a few minutes for it to finish. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> (cherry picked from commit 3baa45fbd8)
* bmips: dgnd3700v1/dgnd3800b: add missing kmod-leds-gpioÁlvaro Fernández Rojas2023-06-111-2/+4
| | | | | | | Commit ed79519b8d89 missed adding kmod-leds-gpio to these devices. Fixes: ed79519b8d89 ("bmips: add support for Netgear DGND3700 v1, DGND3800B") Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: image: rename Device/bcm63xx_netgearÁlvaro Fernández Rojas2023-06-112-4/+4
| | | | | | | Every other Device definition in the target is using hyphens instead of underscores. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: dts: improve and align device tree filesÁlvaro Fernández Rojas2023-06-1112-71/+40
| | | | | | | Align all the device tree files and follow the same criteria before more devices are ported from bcm63xx and this goes out of control. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bmips: add support for Netgear EVG2000Daniel González Cabanelas2023-06-115-1/+260
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Netgear EVG2000 is a wifi gigabit router, 2.4 GHz single band with two internal antennas integrated in the main PCB. Hardware: - SoC: Broadcom BCM6369 - CPU: dual core BMIPS4350 V3.1 @400Mhz - RAM: 64 MB DDR - Flash: 16 MB parallel NOR - LAN switch: Broadcom BCM53115, 5x 1Gbit - Wifi 2.4 GHz: Broadcom BCM4322 802.11bgn - USB: 2x 2.0 - Buttons: 2x, 1 reset - LEDs: 10x - FXS: 2x - UART: yes Installation via CFE web UI: 1. Power off the router and make a temporal TX-RX shortcircuit on the serial pins. 2. Power on the router and wait 3 or more seconds 3. Remove the TX-RX shortcircuit 4. Browse to http://192.168.1.1 or http://192.168.0.1 and upload the firmware 5. Wait a few minutes for it to finish Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
* ramips: fix button definitions for Zyxel WSM20Thomas Schröder2023-06-101-2/+2
| | | | | | | | | Setting the events of the WPS and LED buttons to the best matching values based from the documentation: <https://openwrt.org/docs/guide-user/hardware/hardware.button#procd_buttons> Signed-off-by: Thomas Schröder <tschroeder_github@outlook.com> (cherry picked from commit b0120f7c8bb35088f298f00eb4a630f62fb4183f)
* ramips: fix first boot network configuration for TOZED ZLT S12 PROArınç ÜNAL2023-06-101-0/+1
| | | | | | | | | | | | The network configuration at first boot for TOZED ZLT S12 PRO lacks setting up the LAN and WAN network interfaces. Address this. The WAN port is advertised as WAN/LAN on the device and is put on LAN on stock firmware so put it on LAN here as well. Fixes: ce1f9fa625 ("ramips: add support for TOZED ZLT S12 PRO") Reported-by: Andre Cruz <me@1conan.com> Signed-off-by: Arınç ÜNAL <arinc.unal@arinc9.com> (cherry picked from commit b61253f92abb4c0d21ec7358a74438eae8d7e6b4)
* kernel: use struct group to wipe psb6970 volatile priv dataAleksander Jan Bajkowski2023-06-101-7/+9
| | | | | | | | | | | | | | | | | | | 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. Fix compilation warning: | inlined from 'psb6970_reset_switch' at drivers/net/phy/psb6970.c:275:2: | ./include/linux/fortify-string.h:314: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] | 314 | __write_overflow_field(p_size_field, size); | | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |cc1: all warnings being treated as errors Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl> (cherry picked from commit d69becd3071d560cd1c9ea655cbba26adce91f61)
* apm821xx: switch over from DTB_SIZE to DEVICE_DTC_FLAGSChristian Lamparter2023-06-103-34/+19
| | | | | | | | DEVICE_DTC_FLAGS is more flexible and can be used in place of APM821xx own DTB_SIZE. Signed-off-by: Christian Lamparter <chunkeey@gmail.com> (cherry picked from commit a5fc132aa3e43c8cc3a3beac3479b003e1a8f16a)
* bmips: add support for Netgear DGND3700 v1, DGND3800BDaniel González Cabanelas2023-06-107-0/+334
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Netgear DGND3700 v1 and DGND3800B are the same device but with different factory firmwares. It's an xDSL wifi router with a slim black shiny casing and 4 PCB internal antennas connected via UFL to a miniPCI detachable card. Hardware: - SoC: Broadcom BCM6368 - CPU: dual core BMIPS4350 V3.1 @400Mhz - RAM: 128 MB DDR - NOR Flash: 32 MB parallel (CFE and OS) - NAND flash: 128 MB (empty) - Ethernet LAN: 5x 1Gbit - Wifi 2.4 GHz: Broadcom BCM43222 802.11bgn - Wifi 5 GHz: Broadcom BCM43222 802.11abgn - USB: 2x 2.0 - Buttons: 3x, 1 reset - LEDs: 11x - UART: yes Installation via OEM web UI: 1. Open the Netgear administration web interface, by default: http://192.168.0.1 user: admin password: password 2. Look for "upgrade firmware" and proceed 3. Wait some minutes until it finishes Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
* bmips: add support for Observa VH4032NDaniel González Cabanelas2023-06-105-2/+269
| | | | | | | | | | | | | | | | | | | | | | | | The Observa VH4032N is an xDSL wifi router with a vertical white casing and two internal antennas connected via UFL. Hardware: - SoC: Broadcom BCM6368 - CPU: dual core BMIPS4350 V3.1 @400MHz - RAM: 128 MB DDR - Flash: 32 MB parallel NOR - Ethernet LAN: 4x 100Mbit - Wifi 2.4/5 GHz: onboard Broadcom BCM43222 802.11abgn - USB: 3x 2.0 - Buttons: 2x, 1 reset - LEDs: 8x, blue and red - UART: 1x Installation via OEM web UI: 1. Use the admin credentials to login via web UI 2. Go to Managament->Update firmware and select the OpenWrt CFE firmware 3. Press "Update Firmware" button and wait some minutes until it finish Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
* bmips: bump LZMA Loader addressÁlvaro Fernández Rojas2023-06-101-1/+1
| | | | | | | | This allows booting bigger ramdisk images via TFTP at the cost of breaking 32M RAM compatibility, but those devices have been unable to boot ramdisks on this target for some time anyway due to not having enough RAM. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* mediatek: use DEVICE_DTC_FLAGS and drop DTC_FLAGS where not neededDaniel Golle2023-06-091-3/+1
| | | | | | | | | | | | | The MT7986 RFB was intended to use device tree overlays and for that reason modified DTC_FLAGS. zyxel_ex5601-t0-stock later on probably copied it from there. Both boards do not actually use device tree overlays, so remove setting DTC_FLAGS from both. The BPi-R3 does use device tree overlays, use DEVICE_DTC_FLAGS to give it an extra 4kb of padding for overlays to be applied. Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit 98e6ea32a400b10b425e0efdf5a8109a0dfd48fe)
* mediatek: use DEVICE_DTC_FLAGS for BPi-R64Daniel Golle2023-06-091-0/+1
| | | | | | | | Make sure there is an extra 4kb of padding to apply device tree overlays on the BPi-R64. Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit 7b536c4ec9f1a56a92dc5d96b7579cb514341dbf)
* mediatek: set new compat version if booted on R64 and R3Daniel Golle2023-06-092-0/+20
| | | | | | | | | | | | | | | | | | If the board comes up with OpenWrt that means that the bootloader is recent enough and knows about the new device tree overlays. Using /etc/board.d/ is not enough in this case because it doesn't overwrite existing configuration which may exist (and is fine to exist) if the user updated with 'sysupgrade -F *.itb' and has kept configuration. They would still need to manually set compat_version even though the fact that the bootloader env has been updated can be implied by the fact that the system has started. Hence we can always set compat_version=1.1 for those two boards using uci-defaults. Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit 25e27c4af3f1de872aadbaada434437cba3b0a75)
* mediatek: sync MT7986 device trees with upstreamDaniel Golle2023-06-0931-1002/+994
| | | | | | | | | Sync device tree files for MT7986 boards with what landed in upstream Linux tree to easy maintainance and also allow for a smooth update to Linux 6.1. Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit 7a0ec001ff79b12beefb8f3773820bfedebbb340)
* mediatek: use updated device tree overlay mechanism for BPi-R64Daniel Golle2023-06-093-2/+19
| | | | | | | Use new device tree overlay mechanism for the BananaPi BPi-R64 board. Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit 34bb33094a5e49c727b76b20394d252f3e2ba70d)
* generic: use only first element in bootconf for uImage.FITDaniel Golle2023-06-091-7/+15
| | | | | | | | | | Now that it is possible to load several device tree overlays by appending their config names to bootconf the uImage.FIT partition parser need to discard everything after the first '#' character in bootconf when looking up the config node to be used. Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit 07bca1adaa0de71d0aefcf83bff2e1d90616cd3d)
* mediatek: convert mt7986a-zyxel-ex5601-t0-stock.dts to UNIXDaniel Golle2023-06-091-560/+560
| | | | | | | The device tree file was in DOS format (CR-LF). Convert it to UNIX style. Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit d28534545edfa29e9529f9c9cd5960889a9d4018)
* mediatek: use existing I2C clock namesDaniel Golle2023-06-092-56/+1
| | | | | | | | | PCK and MCK should really be P=PMIC and M=MEM, which means that they should effectively be CLK_PMIC and CLK_ARB. Suggested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit 0580747adab2094862c18b5e762c908dd3b43236)
* mediatek: use cpufreq fix suggested by MediaTekDaniel Golle2023-06-092-29/+53
| | | | | | | | Use suggested fix for mediatek-cpufreq, patch will also be sent upstream. Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit 7e93f520d6b12bc04391f987b63c633d3b113e26)
* kernel: backport libcap workaround for BPF selftestsTony Ambardar2023-06-093-0/+433
| | | | | | | | Recent libcap versions (>= 2.60) cause problems with BPF kselftests, so backport an upstream patch that replaces libcap and drops the dependency. Signed-off-by: Tony Ambardar <itugrok@yahoo.com> (cherry picked from commit 04981c716acab6b7a81f672f217e5c47ee42a0b6)
* rockchip: add Orange Pi R1 Plus LTS supportTianling Shen2023-06-095-4/+88
| | | | | | | | | | | | The OrangePi R1 Plus LTS is a minor variant of OrangePi R1 Plus with the on-board NIC chip changed from rtl8211e to yt8531c, and otherwise identical to OrangePi R1 Plus. Tested-by: Volkan Yetik <no3iverson@gmail.com> Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> (cherry picked from commit 32d5921b8b5508a99680ecf1626667517c2cbdb8) [Removed patches for kernel 6.1] Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rockchip: add Orange Pi R1 Plus supportTianling Shen2023-06-097-3/+505
| | | | | | | | | | | | | | | | | Orange Pi R1 Plus is a Rockchip RK3328 based SBC by Xunlong. This device is similar to the NanoPi R2S, and has a 16MB SPI NOR (mx25l12805d). The reset button is changed to directly reset the power supply, another detail is that both network ports have independent MAC addresses. Note: booting from SPI is currently unsupported, you have to install the image on a SD card. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> (cherry picked from commit ab641efe698f4412319fcbcfe6ffde64c929cd97) [Removed patches for kernel 6.1] Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* generic: drop useless binfmt patch fixing compilation warningChristian Marangi2023-06-081-94/+0
| | | | | | | | | | | | | | | | | | The compilation warning was triggered by wrongly set FRAME_WARN to 1024 even for 64bit. This was recently fix by correctly setting the FRAME_WARN to 2048 for 64bit systems. The compilation warning would still be triggered on 32bit system but the actual code is never reached as ARCH_USE_GNU_PROPERTY is only set on arm64 arch. Drop the patch as kmalloc cause perf regression as suggested by upstream maintainers. Fixes: fa79baf4a6e2 ("generic: copy backport, hack, pending patch and config from 5.15 to 6.1") Fixes: 5913ea1ba2fa ("generic: 5.15: add pending patch fixing binfmt compilation warning") Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> (cherry picked from commit 62338f41625074640a4de9e26e5e67b010fe0ebe)
* oxnas: Enable CONFIG_CRYPTO_LZ4Jitao Lu2023-06-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | Previously, CONFIG_LZ4_DECOMPRESS=y was selected by CONFIG_RD_LZ4 only. When building kernel for initramfs, CONFIG_RD_LZ4 will be unset by Kernel/SetInitramfs if the chosen compression method is not lz4, then CONFIG_LZ4_DECOMPRESS will become a *module* in the newly generated kernel config. However, the newly added module won't be built after 38c150612cc9be488527e342db92d5c74093213f, so packaging kmod-lib-lz4 fails due to missing lz4_decompress.ko. CONFIG_CRYPTO_LZ4=y makes CONFIG_LZ4_DECOMPRESS=y being selected w/o CONFIG_RD_LZ4, so that the modules of the default kernel and initramfs kernel are consistent. Fixes: #12766 Fixes: 38c150612cc ("build: revert 54070a1 (all kernels are >= 5.10)") Signed-off-by: Jitao Lu <dianlujitao@gmail.com> (cherry picked from commit cc87f6629b8a120420075cd984a4e6ece6c669df)
* ramips: enable LED button for TP-Link EC330-G5u v1Mikhail Zhilkin2023-06-081-0/+16
| | | | | | | | | | The device already has LED push button (KEY_LIGHTS_TOGGLE) and exported GPIO control "led-light". This commit adds button handler script for switching on/off all device LEDs. Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> (cherry picked from commit d955b41275eaf93b7600f8eb7d706f40302f26c2)
* x86/64: Enable IOMMU_V2 support for later CPUsPhilip Prindeville2023-06-081-1/+1
| | | | | | | Support newer IOMMU_V2 on AMD platforms, useful for DPDK and KVM. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> (cherry picked from commit 1eb02ce3254ef6f115640df8ac470574d6903588)
* kernel: Backport mvneta crash fix to 5.15Marek Behún2023-06-0812-12/+567
| | | | | | | | | | | | | | | | Backport Russell King's series [1] net: mvneta: reduce size of TSO header allocation to pending-5.15 to fix random crashes on Turris Omnia. This also backports two patches that are dependencies to this series: net: mvneta: Delete unused variable net: mvneta: fix potential double-frees in mvneta_txq_sw_deinit() [1] https://lore.kernel.org/netdev/ZCsbJ4nG+So%2Fn9qY@shell.armlinux.org.uk/ Signed-off-by: Marek Behún <kabel@kernel.org> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> (squashed) (cherry picked from commit 7b31c2e9ed4da7bfeecbd393c17c249eca870717)
* apm821xx: mx60: drop nand-is-boot-mediumChristian Lamparter2023-06-081-2/+0
| | | | | | | | 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>
* ipq40xx: convert Buffalo WTR-M2133HP to DSAYanase Yuki2023-06-083-2/+31
| | | | | | | This commit convert WTR-M2133HP to DSA setup. Signed-off-by: Yanase Yuki <dev@zpc.sakura.ne.jp> (cherry picked from commit edb3a4162c0763ecc9d5e7660700a68a25bf28e3)
* ipq806x: use new package name for NEC WG2600HP3Yanase Yuki2023-06-081-1/+1
| | | | | | | | | commit 0c45ad41e15e2255 changes ipq806x usb kmod name from usb-phy-qcom-dwc3 to phy-qcom-ipq806x-usb, so use new name. Signed-off-by: Yanase Yuki <dev@zpc.sakura.ne.jp> (cherry picked from commit 93147443502e61d0a824406bef13b0b9fe250f71)
* ramips: tplink,mr600v2: fix image generation for sysupgrade imageAndreas Böhler2023-06-081-0/+3
| | | | | | | | | | | The MR600v2 does not find its rootfs if it is neither directly after the kernel or aligned to an erase block boundary (64k). This aligns the rootfs to 0x10000 allowing the device to boot again. Based on investigation by forum user relghuar. Signed-off-by: Andreas Böhler <dev@aboehler.at> (cherry picked from commit 46b51e9e992884c81f4838440cd2967e67db3a79)
* ramips: fix lzma-loader for ASIARF boardsDaniel Danzberger2023-06-071-0/+2
| | | | | | | | This fixes a well known "LZMA ERROR 1" error, reported previously on numerous of similar devices. Signed-off-by: Daniel Danzberger <daniel@dd-wrt.com> (cherry picked from commit 29a5cb7a8b105ca6534bba63edcec48ae935c078)
* sdk: Expose CCACHE_DIR optionJeffery To2023-06-071-0/+7
| | | | | | | | As the CCACHE option is already exposed, it would be helpful to also make the ccache directory easily customizable. Signed-off-by: Jeffery To <jeffery.to@gmail.com> (cherry picked from commit 897691fdce27868aa4c0c68de8b67e8af6f209e1)
* kernel: bump 5.15 to 5.15.114John Audia2023-06-031-1/+1
| | | | | | | | | | | 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> (cherry picked from commit 223004b4d6e5d17c0ae99e15d0f4c591676b4f44)
* kernel: Set CONFIG_FRAME_WARN depending on targetHauke Mehrtens2023-06-025-5/+0
| | | | | | | | | This set the CONFIG_FRAME_WARN option depending on some target settings. It will use the default from the upstream kernel and not the hard coded value of 1024 now. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 16a20512d852f6ecebf8c57cd7fa2572a06a9d0b)
* ipq40xx: e2600ac-c1 remove KERNEL_SIZE张 鹏2023-05-311-2/+0
| | | | | | | | | | 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> (cherry picked from commit b764268acb7ed410d1d81e783f1b0ce407efda82)
* ipq40xx: add e2600ac c2 to dsa张 鹏2023-05-313-2/+44
| | | | | | | | | 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> (cherry picked from commit 0dca52cf595cedcabec5d384ddc83f1954cca46d)
* ipq40xx: add e2600ac c1 to dsa张 鹏2023-05-313-2/+36
| | | | | | | | | 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> (cherry picked from commit 7f2ecab0f4623e9b437b1a6656275695ac063fe4)
* airoha: spi-en7523: Fix compile warningHauke Mehrtens2023-05-311-1/+3
| | | | | | | | The set_spi_clock_speed() function is not used, this causes a compile warning which results in a build error with -WError. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 2d5f3b3c4ce4c6221299f2362b3029783048f649)
* x86: disable CONFIG_X86_PLATFORM_DRIVERS_HPJohn Audia2023-05-291-0/+1
| | | | | | | New config option defaulted to N for this bump. Signed-off-by: John Audia <therealgraysky@proton.me> (cherry picked from commit 3664c57e34454ce50ac7ab6de9e3983a86cde052)
* ramips: correct page read return value of the mt7621 nand driverShiji Yang2023-05-291-5/+9
| | | | | | | | | | | | | | read_page() need to return maximum number of bitflips instead of the accumulated number. Change takes from upstream mt7621 u-boot [1]. * @read_page: function to read a page according to the ECC generator * requirements; returns maximum number of bitflips * corrected in any single ECC step, -EIO hw error [1] https://lore.kernel.org/all/cover.1653015383.git.weijie.gao@mediatek.com/ Signed-off-by: Shiji Yang <yangshiji66@qq.com> (cherry picked from commit 2fbb91d73ffecc7d033e5bb0b550d664ef9e0f91)
* base-files: x86 fix 01_leds Syntax errorStan Grishin2023-05-291-1/+1
| | | | | | | | | | | | 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> (cherry picked from commit 4b8b2f4f978d6df586dd7ce4dcc3e1286b93bd48)
* layerscape: kernel: enable MC userspace supportPawel Dembicki2023-05-291-1/+1
| | | | | | | | | | | | | | | | | | | | | 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> (cherry picked from commit d04d6a82da70f6b691409972ffd4503f339105b7)
* mediatek: sync MT7988 USXGMII with SDK driverDaniel Golle2023-05-293-596/+792
| | | | | | | | | | 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> (cherry picked from commit ba58245e83714de5f47b4b0fc0369930c3661cab)