summaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* qualcommax: 6.6: make patches applyRobert Marko2024-03-2288-6889/+106
| | | | | | | 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-2297-0/+23959
| | | | | | | | | | 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-2297-0/+0
| | | | | | | | 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-221-0/+1
| | | | | | | | | | | 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-221-0/+2
| | | | | | | | | 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-213-12/+36
| | | | | | | | | | | | | | | * 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-214-20/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-201-0/+1
| | | | | | | | | | 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-1911-27/+27
| | | | | | | | | | | | 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-191-0/+1
| | | | | | | | 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-181-8/+6
| | | | | | | | | | 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-181-22/+10
| | | | | | | | | | | | | | 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-181-1/+1
| | | | | | | | 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-184-0/+4
| | | | | | | 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-188-19/+20
| | | | | | | Replace blanks with tabs, remove extra blank lines. Also add new lines as appropriate. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* kernel: backport some useful LED_FUNCTION_* defines for DTRafał Miłecki2024-03-176-0/+207
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: bump 6.6 to 6.6.22John Audia2024-03-171-7/+7
| | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.22 Affected Patch automatically rebased. Build system: x86/64 Build-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, flogic/glinet_gl-mt6000, ramips/tplink_archer-a6-v3 Run-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, flogic/glinet_gl-mt6000, ramips/tplink_archer-a6-v3 Signed-off-by: John Audia <therealgraysky@proton.me>
* kernel: bump 6.6 to 6.6.21John Audia2024-03-171-6/+6
| | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.21 All patches automatically rebased. Signed-off-by: John Audia <therealgraysky@proton.me>
* mvebu: enable thermal zone polling for IEI Puzzle devicesDaniel Golle2024-03-171-3/+6
| | | | | | | | | | Marvell's thermal sensors do not support interrupts, so we need to poll them. Reading temperature every second should be enough to control the fan. While at it, also make sure fan speed is reduced again if temperature goes down. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* qualcommax: ipq807x: fix LEDs on Buffalo WXR-5950AX12INAGAKI Hiroshi2024-03-171-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Buffalo WXR-5590AX12, some LEDs don't have "function" property and only "color" property is available for the newer binding of LED on Linux Kernel. 2e659930d3 ("qualcommax: drop redundant label with new LED color/function format") removes "label" property from LEDs, then, multiple "<color>:" (ex.: "white:"/"red:") will be appeared as LED names and renamed to "<color>:_<num>" ("ex.: "white:_1", "green:_2", ...) by kernel. logs: [ 5.372863] leds-gpio leds: Led white: renamed to white:_1 due to name collision [ 5.375796] leds-gpio leds: Led red: renamed to red:_1 due to name collision /sys/class/leds: root@OpenWrt:/# ls /sys/class/leds/ red: red:power white: white:power red:_1 red:wlan white:_1 white:wlan Fix this issue by adding missing "function" property to LEDs on Buffalo WXR-5950AX12. Note: there are no appropriate functions in dt-bindings/leds/common.h for some LEDs, so use the hardcoded strings for them instead. Fixes: 2e659930d3 ("qualcommax: drop redundant label with new LED color/function format") Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
* qualcommax: ipq807x: fix LEDs on QNAP QHora-301WINAGAKI Hiroshi2024-03-172-6/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On QNAP QHora-301W, all LEDs don't have "function" property and only "color" property is available for the newer binding of LED on Linux Kernel. 2e659930d3 ("qualcommax: drop redundant label with new LED color/function format") removes "label" property from LEDs, then, multiple "<color>:" (ex.: "amber:"/"green:"/"red:") will be appeared as LED names and renamed to "<color>:_<num>" ("ex.: "green:_1", "green:_2", ...) by kernel. logs: [ 4.246494] leds-gpio leds: Led green: renamed to green:_1 due to name collision [ 4.248978] leds-gpio leds: Led green: renamed to green:_2 due to name collision [ 4.256345] leds-gpio leds: Led green: renamed to green:_3 due to name collision [ 4.263770] leds-gpio leds: Led green: renamed to green:_4 due to name collision [ 4.271105] leds-gpio leds: Led amber: renamed to amber:_1 due to name collision [ 4.278487] leds-gpio leds: Led green: renamed to green:_5 due to name collision [ 4.285856] leds-gpio leds: Led amber: renamed to amber:_2 due to name collision [ 4.293257] leds-gpio leds: Led green: renamed to green:_6 due to name collision [ 4.300616] leds-gpio leds: Led amber: renamed to amber:_3 due to name collision [ 4.308002] leds-gpio leds: Led green: renamed to green:_7 due to name collision [ 4.315384] leds-gpio leds: Led amber: renamed to amber:_4 due to name collision [ 4.322760] leds-gpio leds: Led green: renamed to green:_8 due to name collision [ 4.330135] leds-gpio leds: Led amber: renamed to amber:_5 due to name collision /sys/class/leds: amber: amber:_4 green:_2 green:_6 amber:_1 green:_5 green:_3 green:_7 amber:_2 green: green:_4 green:_8 amber:_3 green:_1 green:_5 red: Fix this issue by adding missing "function" (and "function-enumerator") property to LEDs on QNAP QHora-301W. Note: there are no appropriate functions in dt-bindings/leds/common.h for some LEDs, so use the hardcoded strings for them instead. Fixes: 2e659930d3 ("qualcommax: drop redundant label with new LED color/function format") Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
* archs38: add 6.1 as testing kernelRobert Marko2024-03-171-0/+1
| | | | | | Allow selecting 6.1 as testing kernel on archs38. Signed-off-by: Robert Marko <robimarko@gmail.com>
* archs38: 6.1: refresh kernel configRobert Marko2024-03-171-6/+18
| | | | | | Refresh kernel config by running kernel_menuconfig. Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel/archs38: Restore kernel files for v5.15Robert Marko2024-03-171-0/+256
| | | | | | This is an automatically generated commit and is needed to outsmart git. Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel/archs38: Create kernel files for v6.1 (from v5.15)Robert Marko2024-03-171-0/+0
| | | | | | | | This is an automatically generated commit. During a `git bisect` session, `git bisect --skip` is needed recommended. Signed-off-by: Robert Marko <robimarko@gmail.com>
* kirkwood: add support for Netgear Stora (MS2000/2110) NASZoltan HERPAI2024-03-177-0/+303
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dual-slot NAS based on Marvell Kirkwood. Specifications: - Marvell 88F6281 @1GHz - 128Mb RAM - 256Mb NAND - 1x GbE LAN (Marvell 88E1116) - 1x USB 2.0 - 2x SATA - PCF8563 RTC - LM75 sensor - TC654 PWM fan controller - Serial on J2 (115200,8n1) - Newer bootROM so kwboot-ing via serial is possible Installation: 1. Serial console - Connect your levelshifter to the serial console on J2 (refer to the wiki page for pinout) 2. Update u-boot - Download the u-boot.kwb image for the device - Powercycle the NAS - Run "kwboot -b ./u-boot.kwb /dev/ttyUSB0 -p" - Connect to the serial console with minicom - tftp 0x0800000 netgear_stora-u-boot.kwb - nand erase 0x0 100000 - nand write 0x0800000 0x0 0x100000 - reset 3. Install OpenWrt - Boot up the initramfs image - tftpboot 0x800000 openwrt-kirkwood-netgear_stora-initramfs-uImage; bootm 0x800000 - Download the sysupgrade image and perform sysupgrade The fan is controlled in 3 stages by a script running every minute from cron, measuring the CPU temperature. Snippets taken from bodhi <mibodhi@gmail.com> Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* kernel: xt_FLOWOFFLOAD: fix use of uninitialized dir variableQingfang Deng2024-03-163-6/+6
| | | | | | | | The dir variable has been used uninitialized since the port to 5.10, and somehow this remains undetected by GCC. Fixes: b10d6044599d ("kernel: add linux 5.10 support") Signed-off-by: Qingfang Deng <qingfang.deng@siflower.com.cn>
* mediatek: mt7622: simplify 02_networkChukun Pan2024-03-161-15/+6
| | | | | | | | | Most mt7622 devices use the mt7531 switch, which have been switched to dsa driver for a long time. So use dsa as the default configuration and configure these rtl8367s devices separately. This reduces the amount of code. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn>
* mediatek: fix build failure of mt7623/mt7629 using kernel 6.6Weijie Gao2024-03-162-0/+8
| | | | | | | | | | In kernel 6.6, dts files for mediatek arm target are moved into arch/arm/boot/dts/mediatek instead of legacy path arch/arm/boot/dts. To avoid dts compile failure, change DTS_DIR to the mediatek subfolder for kernel 6.6. Signed-off-by: Weijie Gao <hackpascal@gmail.com>
* generic: 6.6: backport support for SDX75-based MHI 5G modemsDaniel Golle2024-03-154-1/+266
| | | | | | | Also backport most recent MHI modem additions to Linux 6.6. Adds support for generic SDX75-based modems. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* generic: 6.1: backport support for various MHI 5G modemsDaniel Golle2024-03-1515-1/+768
| | | | | | | | | | | | | | * Dell DW5932e * Foxconn T99W175 (HP variant) * Foxconn T99W510 * Generic SDX75-based * Quectel EM160R-GL (newer variants) * Quectel RM520 * Quectel RM520N-GL (Lenovo variant) * SC8280XP Compute Reference Design * Telit FE990 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: mt7988: add missing clock for PCIe portsDaniel Golle2024-03-152-16/+24
| | | | | | | Add missing CLK_TOP_PEXTP_Px_SEL clock for each of the 4 PCIe interfaces of the MT7988 SoC. Without that clock PCIe doesn't work reliable. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* qualcommax: ipq60xx: mango-dvk: fix QCA8081 reset timingsMantas Pucka2024-03-151-0/+2
| | | | | | | Add missing reset delay properties for QCA8081 PHY. Without delays PHY operation is unreliable. Signed-off-by: Mantas Pucka <mantas@8devices.com>
* kernel: Activate CONFIG_NET_VENDOR_DAVICOMHauke Mehrtens2024-03-142-2/+2
| | | | | | | | CONFIG_NET_VENDOR_DAVICOM is needed to activate the CONFIG_DM9000 option which builds the kmod-dm9000. This fixes the following warning: logs/package/kernel/linux/compile.txt:WARNING: kmod-dm9000 is not available in the kernel config - generating empty package Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-can: Fix build of can driversHauke Mehrtens2024-03-141-0/+1
| | | | | | | | | | | | | | | | | | | | | Many can kernel modules are now gated by the newly introduced CONFIG_CAN_NETLINK configuration option. Activate it to build the can drivers again. This was changed in this upstream Linux commit: https://git.kernel.org/linus/df6ad5dd838e0fa543ca28ca6154901fa65a9443 This should fix these warnings with kernel 6.1 and 6.6: logs/package/kernel/linux/compile.txt:WARNING: kmod-can-c-can is not available in the kernel config - generating empty package logs/package/kernel/linux/compile.txt:WARNING: kmod-can-c-can-pci is not available in the kernel config - generating empty package logs/package/kernel/linux/compile.txt:WARNING: kmod-can-c-can-platform is not available in the kernel config - generating empty package logs/package/kernel/linux/compile.txt:WARNING: kmod-can-mcp251x is not available in the kernel config - generating empty package logs/package/kernel/linux/compile.txt:WARNING: kmod-can-slcan is not available in the kernel config - generating empty package logs/package/kernel/linux/compile.txt:WARNING: kmod-can-usb-8dev is not available in the kernel config - generating empty package logs/package/kernel/linux/compile.txt:WARNING: kmod-can-usb-ems is not available in the kernel config - generating empty package logs/package/kernel/linux/compile.txt:WARNING: kmod-can-usb-kvaser is not available in the kernel config - generating empty package logs/package/kernel/linux/compile.txt:WARNING: kmod-can-usb-peak is not available in the kernel config - generating empty package Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mxs: switch default kernel to 6.1Zoltan HERPAI2024-03-142-248/+1
| | | | | | | The testing kernel has been available since Jul/2023, let's switch to it by default. Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
* ramips: 5.15: delete remaining filesNick Hainke2024-03-136-1248/+0
| | | | | | | | Remove the remaining configuration entries that were omitted in the previous commit. Fixes: 1576474f55e9 ("ramips: switch to 6.1 kernel") Signed-off-by: Nick Hainke <vincent@systemli.org>
* mediatek: Add support for GL.iNet X3000 (Spitz AX) and XE3000 (Puli AX)Jean Thomas2024-03-138-3/+351
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The GL.iNet X3000 and XE3000 are Wi-Fi 6 5G cellular routers, based on MediaTek MT7981A SoC. The XE3000 is the same device as the X3000, except for an additional battery. Specifications: - SoC: Filogic 820 MT7981A (1.3GHz) - RAM: DDR4 512M - Flash: eMMC 8G, MicroSD card slot - WiFi: 2.4GHz and 5GHz with 6 antennas - Ethernet: - 1x LAN (10/100/1000M) - 1x WAN (10/100/1000/2500M) - 5G: Quectel RM520N-GL with two nano-SIM card slots - USB: 1x USB 2.0 port - UART: - 3.3V, TX, RX, GND / 115200 8N1 MAC addresses as verified by OEM firmware: vendor OpenWrt address source WAN eth0 label factory 0x0a (label) LAN eth1 label + 1 2g phy0-ap0 label + 2 factory 0x04 5g phy1-ap0 label + 3 Installation via U-Boot rescue: 1. Press and hold reset button while booting the device 2. Wait for the Internet led to blink 5 times 3. Release reset button 4. The rescue page is accessible via http://192.168.1.1 5. Select the OpenWrt sysupgrade image and start upgrade 6. Wait for the router to flash new firmware and reboot Revert to stock firmware: 1. Download the stock firmware from GL.iNet website 2. Use the method explained above to flash the stock firmware Switch the modem network port between PCIe and USB interfaces: 1. Connect to the AT commands (/dev/ttyUSB2) port using e.g. minicom: minicom -D /dev/ttyUSB2 2. Check the current modem mode with 'AT+QCFG="data_interface"': - 0,0 indicates that the network port uses the USB interface - 1,0 indicates that the network port uses the PCIe interface 3. Switch the active interface with: - 'AT+QCFG="data_interface",0,0' to use the USB interface - 'AT+QCFG="data_interface",1,0' to use the PCIe interface 4. Reboot Signed-off-by: Jean Thomas <jean.thomas@wifirst.fr>
* mediatek: mt7981: pinctrl: add additional emmc groupsJean Thomas2024-03-132-0/+164
| | | | | | | | | | | | | Add new emmc groups in the pinctrl driver for the MediaTek MT7981 SoC: * emmc reset, with pin 15. * emmc 4-bit bus-width, with pins 16 to 19, and 24 to 25. * emmc 8-bit bus-width, with pins 16 to 25. The existing emmc_45 group is kept for legacy reasons, even if this is the union of emmc_reset and emmc_8 groups. Signed-off-by: Jean Thomas <jean.thomas@wifirst.fr>
* mediatek: mt7981: pinctrl: add additional uart groupJean Thomas2024-03-132-0/+126
| | | | | | | Add uart1_3 (pins 26, 27) group to the pinctrl driver for the MediaTek MT7981 SoC. Signed-off-by: Jean Thomas <jean.thomas@wifirst.fr>
* generic: mtk_eth_soc: fix PPE hanging issueDaniel Golle2024-03-133-0/+177
| | | | | | | | | | | | | | A patch to resolve an issue was found in MediaTek's GPL-licensed SDK: In the mtk_ppe_stop() function, the PPE scan mode is not disabled before disabling the PPE. This can potentially lead to a hang during the process of disabling the PPE. Without this patch, the PPE may experience a hang during the reboot test. Reference: https://git01.mediatek.com/plugins/gitiles/openwrt/feeds/mtk-openwrt-feeds/+/b40da332dfe763932a82f9f62a4709457a15dd6c Suggested-by: Bc-bocun Chen <bc-bocun.chen@mediatek.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* generic: 5.15: mtk_eth_soc: backport fix for hang on link upDaniel Golle2024-03-132-8/+59
| | | | | | | Backport commit faa5f17fe2 ("kernel: mtk_eth_soc: release MAC_MCR_FORCE_LINK only when MAC is up") to Linux 5.15 as well. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ath79: add missing kernel config symbolsShiji Yang2024-03-131-0/+4
| | | | | | Refresh kernel configs to add the missing symbols. Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* ath79: remove obsolete 5.15 kernel supportShiji Yang2024-03-1339-3984/+10
| | | | | | | The 5.15 kenel config file, patches and version switches will be removed in this patch. We will introduce kernel 6.6 support soon. Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* ath79: switch default kernel to 6.1Shiji Yang2024-03-131-2/+1
| | | | | | The 6.1 kernel has been tested for over half a year. Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* ramips: add support for Z-ROUTER ZR-2660Mikhail Zhilkin2024-03-126-1/+235
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds support for Z-ROUTER ZR-2660 (also known as Routerich AX1800) wireless WiFi 6 router. Specification ------------- - SoC : MediaTek MT7621AT, MIPS, 880 MHz - RAM : 256 MiB - Flash : NAND 128 MiB (AMD/Spansion S34ML01G2) - WLAN : - 2.4 GHz : MediaTek MT7905D/MT7975 (14c3:7916), b/g/n/ax, MIMO 2x2 - 5 GHz : MediaTek MT7915E (14c3:7915), a/n/ac/ax, MIMO 2x2 - Ethernet : 10/100/1000 Mbps x4 (1x WAN, 3x LAN) - USB : 1x 2.0 - UART : 3.3V, 115200n8, pins are silkscreened on the pcb - Buttons : 1x Reset - LEDs : 1x WiFi 2.4 GHz (green) 1x WiFi 5 GHz (green) 1x LAN (green) 1x WAN (green) 1x WAN no-internet (red) - Power : 12 VDC, 1 A Installation ------------ 1. Run tftp server on your PC (IP: 192.168.2.2) and put OpenWrt initramfs image (initramfs.bin) to the tftp root dir 2. Open the following link in the browser to enable telnet: http://192.168.2.1/cgi-bin/telnet_ssh 3. Connect to the router (default IP: 192.168.2.1) using telnet shell (credentials - user:admin) 4. Run the following commands in the telnet shell (this will install OpenWrt initramfs image on nand flash): cd /tmp tftp -g -r initramfs.bin 192.168.2.2 mtd write initramfs.bin firmware mtd erase firmware_backup reboot 5. Copy OpenWrt sysupgrade image (sysupgrade.bin) to the /tmp dir of the router 6. Connect to the router (IP: 192.168.1.1) using ssh shell and run sysupgrade command: sysupgrade -n /tmp/sysupgrade.bin Return to stock --------------- 1. Copy stock firmware (stock.bin) to the /tmp dir of the router using scp 2. Run following command in the router shell: cd /tmp mtd write stock.bin firmware reboot Recovery -------- Connect uart (pins are silkscreened on the pcb), interrupt boot process by pressing any key, use u-boot menu to flash stock firmware image or OpenWrt initramfs image. MAC addresses ------------- +---------+-------------------+-----------+ | | MAC | Algorithm | +---------+-------------------+-----------+ | LAN | 24:0f:5e:xx:xx:4c | label | | WAN | 24:0f:5e:xx:xx:4d | label+1 | | WLAN 2g | 24:0f:5e:xx:xx:4e | label+2 | | WLAN 5g | 24:0f:5e:xx:xx:4f | label+3 | +---------+-------------------+-----------+ The WLAN 2.4 MAC was found in 'factory', 0x4 The LAN MAC was found in 'factory', 0xfff4 The WAN MAC was found in 'factory', 0xfffa Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
* kernel: config: 6.6: disable ZSTD debug info compression by defaultRobert Marko2024-03-121-0/+1
| | | | | | | | | | | | | When kernel 6.6 is being compiled with GCC13 it will prompt for: Compressed Debug information > 1. Don't compress debug information (DEBUG_INFO_COMPRESSED_NONE) 2. Compress debugging information with zlib (DEBUG_INFO_COMPRESSED_ZLIB) 3. Compress debugging information with zstd (DEBUG_INFO_COMPRESSED_ZSTD) (NEW) This is because kernel now also has support for compressing debug info with ZSTD, so add the missing symbol and disable it by default. Signed-off-by: Robert Marko <robimarko@gmail.com>
* ramips: add support for YunCore G720Daniel Golle2024-03-124-2/+202
| | | | | | | | | | | | | | | | | | | | The YunCore G720 is a dual band 802.11ax router with 5 GbE ports. Specs: - SoC: MediaTek MT7621 - Ethernet: 5x GbE ports (built-in MT7530) - Wireless 2.4GHz / 5GHz: MediaTek MT7915E - RAM: 256MiB - ROM: 16MiB (W25Q128) - 1 Button (reset) - 8 LEDs (1x system, 2x wifi, 5x switch ports) Flash instructions: The vendor firmware is based on OpenWrt, the sysupgrade image can be flashed using the '-F' (force) option on the CLI. Make sure not to keep settings when doing so. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ramips: switch to 6.1 kernelNick Hainke2024-03-1270-13033/+2
| | | | | | | We have had the testing kernel for several weeks now. Let's switch to 6.1 to have more testers. Additionally, 6.6 is already in the pipeline. Signed-off-by: Nick Hainke <vincent@systemli.org>
* kernel: config: add missing symbol for kenrel 6.6Weijie Gao2024-03-121-0/+4
| | | | | | | | | | | | CONFIG_HID_SUPPORT: Set default value for kmod-hid CONFIG_USB_CDNS3_IMX: CONFIG_USB_CDNS3_PCI_WRAP: CONFIG_USB_CDNSP_PCI: Introduced by db0d7cf6a1 (usb: add cdns3 support) Signed-off-by: Weijie Gao <hackpascal@gmail.com>