aboutsummaryrefslogtreecommitdiff
path: root/target/linux
Commit message (Collapse)AuthorAge
...
* kernel: bump 6.6 to 6.6.33 and adjust subarchesJohn Audia2024-06-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit accomplishes three goals: 1. bump 6.6 to 6.6.33 2. kernel: modules: video: change package definition for fb for upstream changes[1] 3. kernel/multiple subtargets: add CONFIG_FB_IOMEM_FOPS=y to all subtargets which also set CONFIG_FB_CORE=y. Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.6.33 Removed upstreamed: pending-6.6/195-block-fix-and-simplify-blkdevparts-cmdline-parsing.patch[2] gemini/patches-6.6/0003-net-ethernet-cortina-Locking-fixes.patch[3] Manually rebased: ramips/patches-6.6/810-uvc-add-iPassion-iP2970-support.patch All other patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.6.y&id=c00e8fd749502c02085534c60b1edca4fc479c91 2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.33&id=99bbbd9aea059f8a206736dc601be2ae61d366fb 3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.6.33&id=8f6f82d6a205ceb3aba8d279f9ff6eeea0b1689b Build system: x86/64 Build-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Run-tested: x86/64/AMD Cezanne, flogic/xiaomi_redmi-router-ax6000-ubootmod, ramips/tplink_archer-a6-v3 Tested-by: Stijn Segers <foss@volatilesystems.org> Signed-off-by: John Audia <therealgraysky@proton.me>
* kernel: bump 6.1 to 6.1.93Zxl hhyccc2024-06-15
| | | | | | | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.93 Removed upstreamed: bcm27xx/patches-6.1/950-0081-smsx95xx-fix-crimes-against-truesize.patch reference: https://github.com/gregkh/linux/commit/517e64bcc9634bb46f8fc6421e272b8da3d7d953 Manually rebased: bcm27xx/patches-6.1/950-0712-drm-vc4-Use-phys-addresses-for-slave-DMA-config.patch All other patches automatically rebased. Build system: bcm53xx ath79 Signed-off-by: Zxl hhyccc <zxlhhy@gmail.com>
* mpc85xx: fix Enterasys WS-AP3710i eth mac-addressDavid Bauer2024-06-14
| | | | | | | | | | With the introduction of the simpleImage loader, the MAC address is not set by the bootloader anymore. Fix this by reading the MAC address from the U-Boot environment partition. Signed-off-by: David Bauer <mail@david-bauer.net>
* ath79: fix MAC address for senao loader devicesShiji Yang2024-06-14
| | | | | | | The "mac-base" nvmem-cell-cells size is 1. Fixes: b2f1c6ed52af ("ath79: qca: remove mac-address-increment") Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* ath79: switch default kernel to 6.6Shiji Yang2024-06-14
| | | | | | | We haven't received any bug reports in the past few weeks. So it's time to set kernel 6.6 as the default and remove kernel 6.1 support. Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* ath79: refresh 6.6 kernel configShiji Yang2024-06-14
| | | | | | | Add the missing kernel symbols by `make kernel_oldconfig CONFIG_TARGET={target,subtarget}`. Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* bcm47xx: Remove profiles for broadcom-wlHauke Mehrtens2024-06-14
| | | | | | | | The broadcom-wl driver was removed from OpenWrt, remove also the profiles using it. Fixes: e772b75d5d50 ("broadcom-wl: remove package") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* bcm47xx: Remove exports for braodcom-wl driverHauke Mehrtens2024-06-14
| | | | | | | | The braodcom-wl driver was removed from OpenWrt, remove the special exports it needed. Fixes: e772b75d5d50 ("broadcom-wl: remove package") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: fix wrong dts file permissionMikhail Zhilkin2024-06-14
| | | | | | | | | This file is executable: target/linux/ramips/dts/mt7621_dlink_dir-2150-a1.dts Has to be fixed. Fixes: 30e8fd73ec54 ("ramips: Add support for D-Link DIR-2150-A1") Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
* ramips: fix random LAN MAC for sercomm dxx devicesMikhail Zhilkin2024-06-14
| | | | | | | This commit fixes random lan mac for sercomm dxx devices. Fixes: 339518482578 ("ramips: mt7621: nix mac-address-increment") Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
* ramips: fix wrong eeprom data for sercomm dxx devicesMikhail Zhilkin2024-06-14
| | | | | | | | | This commit fixes wrong WiFi eeprom data: /sys/kernel/debug/ieee80211/phy0/mt76/eeprom /sys/kernel/debug/ieee80211/phy1/mt76/eeprom Fixes: fb4cea45ec55 ("ramips: convert MT7603 EEPROM to NVMEM format") Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
* ath79: fix wrong mac address for ecb1xx0Rosen Penev2024-06-14
| | | | | | | | 0db4f9785ca30f79fa1abbffb0fab5a6053f68f5 changed the variable name from athaddr to ethaddr. Restore. Fixes: 0db4f9785ca3 ("ath79: convert ath10k calibration data to NVMEM (ASCII MAC)") Signed-off-by: Rosen Penev <rosenp@gmail.com>
* qualcommax: ipq807x: fix sysupgrade for ZBT-Z800AXChukun Pan2024-06-13
| | | | | | | | | | | This router has two rootfs partitions and dualboot is used. Vendor firmware may swap the rootfs partition location, u-boot append 'ubi.mtd=rootfs' in the end of cmdline. Since we use fixed-partitions, force boot from the first rootfs partition to avoid boot failure. Signed-off-by: Chukun Pan <amadeus@jmu.edu.cn> Link: https://github.com/openwrt/openwrt/pull/15700 Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: 6.6: prevent garbage-cleanup of BPF kfuncsTony Ambardar2024-06-13
| | | | | | | | | | | | | | | | | | | | | | | | Backport an upstream Linux fix to prevent BPF kfunc functions from being removed during linker optimization when building BTF-enabled vmlinux. The telltale sign of this occurring is build log warnings (e.g. mips64el): BTFIDS vmlinux WARN: resolve_btfids: unresolved symbol bpf_verify_pkcs7_signature WARN: resolve_btfids: unresolved symbol bpf_lookup_user_key WARN: resolve_btfids: unresolved symbol bpf_lookup_system_key WARN: resolve_btfids: unresolved symbol bpf_key_put WARN: resolve_btfids: unresolved symbol bpf_iter_task_next WARN: resolve_btfids: unresolved symbol bpf_iter_css_task_new WARN: resolve_btfids: unresolved symbol bpf_get_file_xattr WARN: resolve_btfids: unresolved symbol bpf_ct_insert_entry NM System.map SORTTAB vmlinux Link: https://lore.kernel.org/bpf/ZlkoM6%2FPSxVcGM6X@kodidev-ubuntu/ Signed-off-by: Tony Ambardar <itugrok@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/15697 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* qualcommax: ipq807x: wax620 and wax630: fix wifi mac addressKristian Skramstad2024-06-13
| | | | | | | | | | | | The wifi radios on wax620 and wax630 got a random mac address on boot. So fix this by using ath11k_patch_mac and give a static mac address from label-mac-device. Tested and working on wax620 and wax630. Signed-off-by: Kristian Skramstad <kristian+github@83.no> Link: https://github.com/openwrt/openwrt/pull/15597 Signed-off-by: Robert Marko <robimarko@gmail.com>
* octeontx: drop targetRobert Marko2024-06-12
| | | | | | | | | | octeontx is currently stuck on kernel 5.15 since using 6.1 breaks booting, and unfortunately nobody has stepped up to fix this issue. Gateworks who were primary users have supported the removal. Link: https://github.com/openwrt/openwrt/pull/15686 Signed-off-by: Robert Marko <robimarko@gmail.com>
* ipq40xx: fix invalid GPIO numbers since kernel 6.6Koen Vandeputte2024-06-12
| | | | | | | | | | | | | | | | | | | | | | | The bump to kernel 6.6 increased the GPIO base from 412 to 512 on this target. We need to compensate for that in the GPIO numbers being passed to uci to fix following kernel report: [ 24.176183] export_store: invalid GPIO 423 Tested on a Wallys DR40x9 board. Please note that: Boards "rtl30vw" and "wpj428" are not being altered here. They define GPIO numbers which are even below the previous base of 412 which looks wrong. Actual testing on these boards should be conducted to validate and optionally fix GPIO numbering. Suggested-by: Robert Marko <robimarko@gmail.com> Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
* ramips: add support for 7Links WLR-1240Sebastian Schaper2024-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The WLR-1240 (ZX-5434) is an AC1200 Wave 2 outdoor repeater with omnidirectional antennas for wall or pole mounting. The device is manufactured by Todaair and meant to be used with a tuya-based app, there is no webinterface for configuration. Specifications: - MT7628AN, 8 MiB SPI NOR flash, 64 MiB RAM, 2x2 802.11n - MT7613 2x2 802.11ac Wave 2 - 802.3af PoE or 12V 1A 5.5x2.1 power supply (included) - top RGB LED ring TFTP installation: - rename sysupgrade to `firmware_auto.bin` - provide at 192.168.1.10 during boot HTTP installation: - keep reset button pressed for 5 seconds during power on (light blue LED flashes slowly, then quickly to confirm, then remains steady on) - recovery web interface is at 192.168.1.1, upload sysupgrade Opening the device - use suction cup to remove top cap within LED ring - two screws are located in holes underneath silicone sealant - two further screws are located at the bottom initramfs boot - open device, connect serial console (pins are labelled) - keep pressing `4` during second tftp attempt to enter uboot shell - run `tftpboot 82000000` to avoid memory overlap, then `bootm` Signed-off-by: Sebastian Schaper <openwrt@sebastianschaper.net>
* ramips: add support for 7Links WLR-1230Sebastian Schaper2024-06-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The WLR-1230 (ZX-5207) is an AC1200 Wave 2 outdoor repeater with sector antennas for wall or pole mounting. The device is manufactured by Todaair and meant to be used with a tuya-based app, there is no webinterface for configuration. Specifications: - MT7628AN, 8 MiB SPI NOR flash, 64 MiB RAM, 2x2 802.11n - MT7613 2x2 802.11ac Wave 2 - 802.3af PoE or 12V 1A 5.5x2.1 power supply (included) - 3 LEDs WLAN, LAN, RES; PWR LED is not software-controllable TFTP installation: - rename sysupgrade to `firmware_auto.bin` - provide at 192.168.1.10 during boot HTTP installation: - keep reset button pressed for 5 seconds during power on (LEDs flash slowly, then quickly to confirm, then remain steady on) - recovery web interface is at 192.168.1.1, upload sysupgrade Opening the device - two screws are located in the bottom left and right corners underneath the label, inner tray slides out easily initramfs boot - open device, connect serial console (pins are labelled) - keep pressing `4` during second tftp attempt to enter uboot shell - run `tftpboot 82000000` to avoid memory overlap, then `bootm` Signed-off-by: Sebastian Schaper <openwrt@sebastianschaper.net>
* mediatek: Ruijie RG-X60 Pro: Add kmod-mt7915eHauke Mehrtens2024-06-10
| | | | | | | | | Add the kmod-mt7915e wifi driver to the default packages for the Ruijie RG-X60 Pro. kmod-mt7915e has to be added recently and was not done before merging the support for Ruijie RG-X60 Pro. Fixes: 3de3c2bdfa6b ("mediatek: add support for Ruijie RG-X60 Pro") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ramips: mt76x8: sync Cudy TR1200 v1 namingLuis Mita2024-06-10
| | | | | | | | | Cudy assigns hardware versions to its devices on its website, and the Cudy TR1200 router is now Cudy TR1200 v1. OpenWrt currently uses both variants, and this commit removes inconsistencies using only the new name. Signed-off-by: Luis Mita <luis@luismita.com>
* mediatek: convert eeprom/macaddr to nvmem format for jdcloud re-cp-03Tianling Shen2024-06-10
| | | | | | | | | Switch to new nvmem binding. Also fixes a issue that the MAC address assigned to lan/wan was reversed. Tested-by: Yangyu Chen <cyy@cyyself.name> Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* mediatek: filogic: Add support for Wavlink WL-WN586X3Sijia Huang2024-06-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hardware -------- - SOC: MediaTek MT7981 - ram: 256MB DDR3 - FLASH: 16MB SPI-NOR - Ethernet: 2x1Gb Lan 1x1Gb Wan - WIFI: MediaTek MT7981 2x2 DBDC 802.11ax 2T2R (2.4/5) - LEDs: 2xLan 1x Wan 1x WIFI 1xSTATUS MAC table, same as stock firmware: LAN: 80:3F:5D:xx:xx:x1 partition "hw" at 0x44e (ASCII) WAN: 80:3F:5D:xx:xx:x2 partition "hw" at 0x460 (ASCII) 2G: 80:3F:5D:xx:xx:x3 partition "factory" at 0x4 (binary), on label 5G: 80:3F:5D:xx:xx:x3 Same as 2G Installation Method 1: ssh -------------------------- 1. Connect PC to the lan port. Set the PC IP to 192.168.10.100 if required. 2. Navigate to http://192.168.10.1/ 3. Log into the Wavlink WebGUI. Default username/password is admin/admin. 4. Use WebGUI to upgrade the firmware to WAVLINK_WN586X3-A_M86X3A_V240113_WO-GDBYFM-modified.bin downloaded from https://github.com/themaverickdm/firmware-misc/tree/main/wavlink/wl-wn586x3 Warning: All settings will be lost! 5. Wait about 5 minutes, and after flashing is completed, log into the router using (with admin123 as password): ssh root@192.168.10.1 6. scp the openwrt image file onto the router, usually under /tmp somewhere. openwrt-mediatek-filogic-wavlink_wl-wn586x3-squashfs-sysupgrade.bin 7. Flash openwrt image file like so: mtd write \ openwrt-mediatek-filogic-wavlink_wl-wn586x3-squashfs-sysupgrade.bin \ firmware Warning: Previous firmware will be overwritten! 8. Wait about 5 minutes, and after the flashing is completed, set the PC IP to 192.168.1.100 if required and log into the router like so: ssh root@192.168.1.1 Installation Method 2: u-boot ----------------------------- 1. Connect UART: TX-> 586X3 RX, RX-> 586X3 TX, GND-> 586 GND. 2. Connect PC to the wan (not lan!) port. 3. Setup the tftp server on PC, set IP to 192.168.10.100, 4. Power on the device. Select '2' to upgrade firmware in Uboot. 5. Input the image name and start to upgrade. Uboot console log: CPU: MediaTek MT7981 Model: mt7981-rfb DRAM: 256 MiB Core: 34 devices, 13 uclasses, devicetree: embed Loading Environment from nowhere... OK In: serial@11002000 Out: serial@11002000 Err: serial@11002000 Net: Warning: ethernet@15100000 (eth0) using random MAC address - 02:47:fb:b2:53:2d eth0: ethernet@15100000 UBOOT WN586X3A gpio: pin 9 (gpio 9) value is 0 gpio: pin 10 (gpio 10) value is 0 gpio: pin 5 (gpio 5) value is 0 gpio: pin 12 (gpio 12) value is 0 gpio: pin 13 (gpio 13) value is 0 *** U-Boot Boot Menu *** 1. Startup system (Default) 2. Upgrade firmware 3. Upgrade ATF BL2 4. Upgrade ATF FIP 5. Upgrade single image 6. Load image 0. U-Boot console Co-authored-by: R Maru <deviantmaru@gmail.com> Signed-off-by: R Maru <deviantmaru@gmail.com> Signed-off-by: Sijia Huang <engineer31@win-star.com>
* ath79: 8dev: remove wmac userspace handlingRosen Penev2024-06-09
| | | | | | | | Before the nvmem rework, this was already handled in dts with mtd-cal-data instead of qca,no-eeprom. No need to duplicate. Also, the 800 size value seems nonsensical. 440 is the standard. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* ath79: mtd-cal-data removalsRosen Penev2024-06-09
| | | | | | Replacement can be done with nvmem. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* ath79: convert pcs,cap324 calibration to nvmemRosen Penev2024-06-09
| | | | | | | | | | Userspace handling is deprecated. Also fix a bug with userspace handling where the wrong calibration data was being used for the PCI card. The dts was correct but userspace was not. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* ath79: cd-e380ac-v2: remove duplicate eth0Rosen Penev2024-06-09
| | | | | | | It seems in the transition to nvmem, eth0 was specified twice and was already converted to use nvmem. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* ath79: remove unused dts labelsRosen Penev2024-06-09
| | | | | | These are not referenced. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* ath79: fix dtc address warningsRosen Penev2024-06-09
| | | | | | These should match reg values. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* kernel: trim outdated kernel config symbolsShiji Yang2024-06-09
| | | | | | | | | | These symbols have already been removed from the upstream Linux source code. They are automatically compared and removed by a kernel config scanning script[1]. [1] https://github.com/openwrt/openwrt/pull/15324 Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* lantiq: Refresh patches and configuration for linux 6.6Martin Schiller2024-06-08
| | | | | | | Make all the patches apply. This also refreshes some of the kernel configurations. Signed-off-by: Martin Schiller <ms@dev.tdt.de>
* lantiq: set Linux 6.6 as testing kernelMartin Schiller2024-06-08
| | | | | | Add KERNEL_TESTING_PATCHVER for Linux 6.6. Signed-off-by: Martin Schiller <ms@dev.tdt.de>
* kernel/lantiq: Restore kernel files for v6.1Martin Schiller2024-06-08
| | | | | | | | | | | 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. For the original discussion see: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html Signed-off-by: Martin Schiller <ms@dev.tdt.de>
* kernel/lantiq: Create kernel files for v6.6 (from v6.1)Martin Schiller2024-06-08
| | | | | | | | This is an automatically generated commit. When doing `git bisect`, consider `git bisect --skip`. Signed-off-by: Martin Schiller <ms@dev.tdt.de>
* mpc85xx: only build zImage on required targetsDavid Bauer2024-06-08
| | | | | | | | | | | Make the OF-compatible zImage per-board selectable. This allows the image to only be built with the wrapper if the target actually uses it. This fixes build-failures for the mpc85xx-p2020 subtarget. Fixes: 557c094f0579 ("mpc85xx: only build zImage on required targets") Signed-off-by: David Bauer <mail@david-bauer.net>
* kernel: rtl8367b: remove unnecessary cpu_port settingMieczyslaw Nalewaj2024-06-08
| | | | | | | | | Set the appropriate cpu_port value based on the use of realtek,extif0 to extif2 instead of the additional cpu_port parameter. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/15033 Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: rtl8367: set the correct cpu_port valueMieczyslaw Nalewaj2024-06-08
| | | | | | | | Set the appropriate cpu_port value based on the use of realtek,extif0 or realtek,extif1 parameter. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/15033 Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: bump 6.1 to 6.1.92Zxl hhyccc2024-06-08
| | | | | | | | | | | | | | | | | https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.92 Removed upstreamed: bcm27xx/patches-6.1/950-0270-net-bcmgenet-Reset-RBUF-on-first-open.patch generic/backport-6.1/600-v6.9-03-net-gro-add-flush-check-in-udp_gro_receive_segment.patch generic/pending-6.1/681-net-bridge-fix-multicast-to-unicast-with-fraglist-GS.patch generic/pending-6.1/682-net-core-reject-skb_copy-_expand-for-fraglist-GSO-sk.patch generic/pending-6.1/684-net-bridge-fix-corrupted-ethernet-header-on-multicas.patch generic/pending-6.1/778-net-l2tp-drop-flow-hash-on-forward.patch imx/patches-6.1/002-6.2-phy-freescale-imx8m-pcie-Refine-i.MX8MM-PCIe-PHY-dri.patch All other patches automatically rebased. Signed-off-by: Zxl hhyccc <zxlhhy@gmail.com>
* ipq40xx: fix broken image generation for EX6150v2David Bauer2024-06-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | All NETGEAR EX6150v2 validate the rootfs for which OpenWrt places a fakeheader at the position, where the bootloader expects it. Some EX6150v2 bootloaders do however make a broken assumption about where the rootfs starts. This is due to them calculating the rootfs start not based upon the kernel-length but the string-offset of the FIT-image. We have to be compatible with both this broken as well as the valid calculation. So we do relocate the FDT string section to a block-boundary and enlarge the FIT image to end at this boundary + BLOCKSIZE / 2. This way, both the broken as well as correct calculations do expect the rootfs-header at the same position. It is worth noting, that this is a rare edge-case in which only happens if the image-length as well as the start of the string-section are not placed in the same erase-block. This is an edge-case which happens very rarely (thus it was not spotted prior). Affected: - U-Boot 2012.07 (Jun 16 2016 - 11:59:37) Signed-off-by: David Bauer <mail@david-bauer.net> (cherry picked from commit 8f9546f7b0a14f3afa813e39ed45c968ece24464)
* kirkwood: Add Marvell RTC to two devicesLinus Walleij2024-06-07
| | | | | | | | | The recently added D-Link DNS-320L and the Zyxel NSA310S is missing an RTC module so let's give them the default Marvell RTC at least. Reviewed-by: Robert Marko <robimarko@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* mediatek: fix wps button for nokia ea0326gmpTianling Shen2024-06-07
| | | | | | | | | The gpio is actually low active, fix it. Fixes: 40e7fab9e4a2 ("mediatek: add Nokia EA0326GMP support") Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> Link: https://github.com/openwrt/openwrt/pull/15651 Signed-off-by: Robert Marko <robimarko@gmail.com>
* imx: 6.6: update kernel configTim Harvey2024-06-06
| | | | | | added some missing configs needed when building 6.6 with all kmods Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* imx: 6.6: refresh kernel patchesTim Harvey2024-06-06
| | | | | | refresh 6.6 kernel patches via 'make target/linux/refresh' Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* imx: add 6.6 kernel as testingTim Harvey2024-06-06
| | | | | | allow to test 6.6 kernel for imx Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* imx: fix cortexa9/cortexa7 image builds due to dts moveTim Harvey2024-06-06
| | | | | | | The IMX device-tree's for arm moved from arch/arm/boot/dts to arch/arm/boot/dts/nxp/imx. Use that if using the 6.6 kernel. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* imx: copy config from 6.1 to 6.6Tim Harvey2024-06-06
| | | | | | Copy the 6.1 config to 6.6 Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* imx: copy patches from 6.1 to 6.6Tim Harvey2024-06-06
| | | | | | | | copy 6.1 patches to 6.6 and fixup: - removed patches already upstream - adapted pathnames of dts patches for new kernel Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* generic: 6.6: refresh patchesDaniel Golle2024-06-06
| | | | | | | Patch 733-01-net-ethernet-mtk_eth_soc-use-napi_build_skb.patch needs a refresh as line numbers no longer match. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: filogic: move nand-only devices out of bootdev detectionTianling Shen2024-06-06
| | | | | | | | | | | | For the first-time installation (mostly migrates from vendor firmware) the ubiblock is not ready, but bootdev detection relies on it. This means users must create ubiblock manually otherwise the sysupgrade will not work. Now a unique case is added for nand devices which use new fit format, let's move to it. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* mediatek: add Nokia EA0326GMP supportTianling Shen2024-06-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hardware specification: SoC: MediaTek MT7981B 2x A53 Flash: 128 MB SPI-NAND RAM: 256MB Ethernet: 4x 10/100/1000 Mbps Switch: MediaTek MT7531AE WiFi: MediaTek MT7976C Button: Reset, WPS/Mesh Power: DC 12V 1A Gain SSH access: 1. Login into web interface, and download the configuration. 2. Download the configration utilities: https://firmware.download.immortalwrt.eu.org/cnsztl/mediatek/filogic/openwrt-mediatek-mt7981-nokia-ea0326gmp-config-utils.tar.gz These binaries are extraced from the factory firmware, which are dynamically linked with aarch64 musl 1.1.24. To use them, you must run them under the same runtime environment, otherwise the binaries will not work properly! 3. Upload the configuration and utilities to a suitable environment. 4. Uncompress the utilities, move them to '/bin' and give them executable permisison: tar -zxf openwrt-mediatek-mt7981-nokia-ea0326gmp-config-utils.tar.gz mv mkconfig seama /bin chmod +x /bin/mkconfig chmod +x /bin/seama 5. Decrypt and uncompress the configuration: Enter fakeroot if you are not login as root. mkconfig -a de-enca -m EA0326GMP_3FE79221BAAA -i EA0326GMP_3FE79221BAAA-xxxxxxxx-backup.tar.gz -o backup.tar.gz tar -zxf backup.tar.gz 6. Edit 'etc/config/dropbear', set 'enable' to '1'. 7. Edit 'etc/passwd', remove root password: 'root::1:0:99999:7:::'. 8. Repack the configuration: tar -zcf backup.tar.gz etc/ mkconfig -a enca -m EA0326GMP_3FE79221BAAA -i backup.tar.gz -o EA0326GMP_3FE79221BAAA-xxxxxxxx-backup.tar.gz 9. Upload new configuration via web interface, now you can SSH to EA0326GMP. A minimum configuration which enabled SSH access is also provided to simplify the process: https://firmware.download.immortalwrt.eu.org/cnsztl/mediatek/filogic/openwrt-mediatek-mt7981-nokia-ea0326gmp-enable-ssh.tar.gz Flash instructions: 1. SSH to EA0326GMP, backup everything, especially 'Factory' part. 2. Write new BL2: mtd write openwrt-mediatek-filogic-nokia_ea0326gmp-preloader.bin BL2 3. Write new FIP: mtd write openwrt-mediatek-filogic-nokia_ea0326gmp-bl31-uboot.fip FIP 4. Set static IP on your PC: IP 192.168.1.254/24, GW 192.168.1.1 5. Serve OpenWrt initramfs image using TFTP server. 6. Cut off the power and re-engage, wait for TFTP recovery to complete. 7. After OpenWrt has booted, perform sysupgrade. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>