aboutsummaryrefslogtreecommitdiff
path: root/package
Commit message (Collapse)AuthorAge
...
* base-files: Ignore exit code of uci.sh inclusionPaul Spooren2024-06-07
| | | | | | | | When running unit tests this causes trouble since `/lib/config/uci.sh` isn't available in those cases. Instead exit with a clean status fo the unit test framework don't wrongly interpret things as an error. Signed-off-by: Paul Spooren <mail@aparcar.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>
* mac80211: backport an upstream patch needed by mt76 for AES_GMAC key supportFelix Fietkau2024-06-07
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* apk: bump to 2024-05-23Paul Spooren2024-06-06
| | | | | | | | containing fixes around tar and internal checksums. Signed-off-by: Paul Spooren <mail@aparcar.org> Link: https://github.com/openwrt/openwrt/pull/15646 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
* kernel: modules: video: adapt imx modules for 6.6Tim Harvey2024-06-06
| | | | | | | the ipuv3 based video kernel modules moved into the ipuv3 directory for 6.6. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* kernel: modules: video: fix imx-ldbTim Harvey2024-06-06
| | | | | | | | | | | Commit ae8bf1a26e15 ("imx: add imx8m support") configured the drm-imx-ldb kmod for imx_cortexa9 and imx_cortexa7 however it is only applicable to imx_cortexa9 (imx6). Fix this so that we can avoid a missing module config for cortexa7 when moving to the 6.6 kernel. Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* mdadm: update to 4.3Rosen Penev2024-06-06
| | | | | | | Backport three patches, add one for GCC14, and add Alpine time_t patch for musl. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* Revert "hostapd: add support for authenticating with multiple PSKs via ubus ↵Felix Fietkau2024-06-06
| | | | | | | | | helper" This reverts commit c67d5189a405b2dca015f47f31c55ba38a0d61eb. Revert until reported issues have been resolved Signed-off-by: Felix Fietkau <nbd@nbd.name>
* 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>
* hostapd: add support for authenticating with multiple PSKs via ubus helperFelix Fietkau2024-06-06
| | | | | | Also supports assigning a VLAN ID based on the PSK Signed-off-by: Felix Fietkau <nbd@nbd.name>
* uboot-mediatek: snfi: FM35Q1GA is x4-onlyDaniel Golle2024-06-05
| | | | | | | Dont allow x2 read and cache read operations on FM35Q1GA as they seem to be unstable. Also the Linux drivers does not allow x2 ops. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* arm-trusted-firmware-mediatek: import patchset for Fidelix flash on SNFIDaniel Golle2024-06-05
| | | | | | | | | | | Import pending patches to set pinconf settings for SPI-NAND pins on MT7622 identical to what the old proprietary preloader did. Should further increase the reliability of some SNFI-attached SPI-NAND flash chips. Link: https://github.com/mtk-openwrt/arm-trusted-firmware/pull/7 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* arm-trusted-firmware-mediatek: update to MediaTek-patched v2.10.0Daniel Golle2024-06-05
| | | | | | | Update ARM TrustedFirmware-A to the most recent release of MediaTek downstream patched version released 2024-01-17. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mtd: enable trx feature on ramipsINAGAKI Hiroshi2024-06-05
| | | | | | | Enable trx feature of mtd command to fixup trx length and crc32 while booting for some Buffalo devices. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
* yafut: sync version between tools/ and package/ directoriesMichał Kępień2024-06-05
| | | | | | | | | Use the same Yafut code revision for both updating devices with NAND flash and preparing firmware images for devices with NOR flash. Signed-off-by: Michał Kępień <openwrt@kempniu.pl> Link: https://github.com/openwrt/openwrt/pull/13453 Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: modules: Break out a submenu for RTCsLinus Walleij2024-06-04
| | | | | | | | There are too many RTC drivers in other.mk, they deserve their own menu and .mk-file, so let's break them out to a separate entity. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
* package/utils/secilc: drop PKG_CPE_IDFabrice Fontaine2024-06-02
| | | | | | | | | | | cpe:/a:selinuxproject:secilc is not a correct CPE ID for secilc: https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3:a:selinuxproject:secilc Fixes: 9ee7c1ec60e23f25f5d275c6439ce93aec914e1c (secilc: adds new package) Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Link: https://github.com/openwrt/openwrt/pull/15298 Signed-off-by: Robert Marko <robimarko@gmail.com>
* uboot-tegra: Set UBOOT_USE_INTREE_DTCHauke Mehrtens2024-06-02
| | | | | | | | | U-Boot 2024.04 for tegra needs swig installed on the host, this dependency is only checked if UBOOT_USE_INTREE_DTC is set. add the missing definition. Fixes: 6832faf3407e ("uboot-tegra: bump version to 2024.04") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: Split kmod-video-dma into two kmodsHauke Mehrtens2024-06-02
| | | | | | | | | | | | Split the kmod-video-dma into kmod-video-dma-sg and kmod-video-dma-contig. The old one contained two kmods, but sometimes only one of them is build which caused problems. The configuration options are not manually selectable in the kernel and hidden in OpenWrt. Currently this causes build failures on some targets. Fixes: 4d7cbe0a5590 ("kernel: video-dma: explicitly state packaged modules") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kirkwood: add D-Link DNS-320L supportZoltan HERPAI2024-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dual-slot NAS based on Marvell Kirkwood. Specifications: - Marvell 88F6702 @1GHz - 256Mb RAM - 128Mb NAND - 1x GbE LAN (Marvell 88E1318R) - 1x USB 2.0 - 2x SATA - Weltrend WT69P3 ("supervisor" MCU chip) - Serial on J2 (115200,8n1) - Newer bootROM so kwboot-ing via serial is possible Notes: - The Weltrend MCU is controlled by the package added in utils/dns320l-mcu. - The original MAC address is stored in the "mini firmware" image's first 17 bytes. - Compared to the original MTD layout, the uImage+rootfs are now stored in a common ubi partition. 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-dns320l/u-boot.kwb /dev/ttyUSB0 -p" - Connect to the serial console with minicom - tftp 0x0800000 u-boot-dns320l/u-boot.kwb (Please note that "PHY reset timed out" seems to be customary on kirkwood devices, the egiga0 interface works regardless.) - nand erase 0x0 100000 - nand write 0x0800000 0x0 0x100000 - reset 3. Install OpenWrt - Boot up the initramfs image - tftpboot 0x800000 openwrt-kirkwood-generic-dlink_dns320l-initramfs-uImage; bootm 0x800000 - Download the sysupgrade image and perform sysupgrade Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> Reviewed-by: Pawel Dembicki <paweldembicki@gmail.com>
* kernel: video-dma: explicitly state packaged modulesTomasz Maciej Nowak2024-05-31
| | | | | | | Because wildcard in variable stating packaged modules, the filtering for built-in kernel modules didn't work and would cause a packaging failure. Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
* ply: add dynamic tracing package using BPFTony Ambardar2024-05-31
| | | | | | | | | | | | | | | | | | ply is a light-weight dynamic tracer for Linux that leverages the kernel's BPF VM in concert with kprobes/tracepoints to attach probes to arbitrary points in the kernel. Most tracers that generate BPF bytecode are based on the LLVM-based BCC toolchain; ply on the other hand has no external dependencies outside libc, making it suitable for use on constrained embedded systems. Currently ply supports x86_64, aarch64, arm, riscv64, riscv32, powerpc, mips(el), and mips64(el) architectures. Further documentation, examples and implementation details may be found at: https://github.com/iovisor/ply. Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* packages: refresh patchesRosen Penev2024-05-31
| | | | | | CI is supposed to catch all of these. Some of these predate CI. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* kernel: Add CONFIG_FB_DEVICE to kmod-fbHauke Mehrtens2024-05-31
| | | | | | | | | | At least kmod-fb-tft depends on CONFIG_FB_DEVICE and can not be activated without it. This configuration option was added with kernel 6.6, before this featre was always activated. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* iproute2: update to 6.9.0Rui Salvaterra2024-05-31
| | | | | | | | | | | | | | | | | | | | Support for iptables action has been dropped. Remove tc-mod-iptables and related patch (175-reduce-dynamic-syms.patch). We also add the missing libbpf dependency for `ss` since iproute 8740ca9 ("ss: add support for BPF socket-local storage") now means that `ss` requires libbpf as well. Fix 170-ip_tiny.patch, as the help text didn't match all the included functions. Drop upstreamed patches 402-bpf-fix-warning-from-basename.patch and 403-bpf-include-libgen.h-for-basename.patch. All other patches automatically rebased. Co-authored-by: Rany Hany <rany_hany@riseup.net> Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com> Signed-off-by: Rany Hany <rany_hany@riseup.net>
* iproute2: fix build on GCC 14Rany Hany2024-05-31
| | | | | | | | | | | | | Upstream patches: 401-bridge-vlan.c-bridge-vlan.c-fix-build-with-gcc-14-on.patch 402-bpf-fix-warning-from-basename.patch 403-bpf-include-libgen.h-for-basename.patch The patch (400-rdma-include-libgen.h-for-basename.patch) was not submitted upstream but just adds a missing include for basename. Signed-off-by: Rany Hany <rany_hany@riseup.net>
* mbedtls: fix build on GCC 14Rany Hany2024-05-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this patch, GCC 14 incorrectly complains about the following error: In file included from /home/user/workspace/mbedtls/library/ctr_drbg.c:13: In function ‘mbedtls_xor’, inlined from ‘ctr_drbg_update_internal’ at /home/user/workspace/mbedtls/library/ctr_drbg.c:372:5: /home/user/workspace/mbedtls/library/common.h:235:17: error: array subscript 48 is outside array bounds of ‘unsigned char[48]’ [-Werror=array-bounds=] 235 | r[i] = a[i] ^ b[i]; | ~^~~ /home/user/workspace/mbedtls/library/ctr_drbg.c: In function ‘ctr_drbg_update_internal’: /home/user/workspace/mbedtls/library/ctr_drbg.c:335:19: note: at offset 48 into object ‘tmp’ of size 48 335 | unsigned char tmp[MBEDTLS_CTR_DRBG_SEEDLEN]; | ^~~ In function ‘mbedtls_xor’, inlined from ‘ctr_drbg_update_internal’ at /home/user/workspace/mbedtls/library/ctr_drbg.c:372:5: /home/user/workspace/mbedtls/library/common.h:235:24: error: array subscript 48 is outside array bounds of ‘const unsigned char[48]’ [-Werror=array-bounds=] 235 | r[i] = a[i] ^ b[i]; | ~^~~ /home/user/workspace/mbedtls/library/ctr_drbg.c: In function ‘ctr_drbg_update_internal’: /home/user/workspace/mbedtls/library/ctr_drbg.c:333:57: note: at offset 48 into object ‘data’ of size [0, 48] 333 | const unsigned char data[MBEDTLS_CTR_DRBG_SEEDLEN]) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘mbedtls_xor’, inlined from ‘ctr_drbg_update_internal’ at /home/user/workspace/mbedtls/library/ctr_drbg.c:372:5: /home/user/workspace/mbedtls/library/common.h:235:14: error: array subscript 48 is outside array bounds of ‘unsigned char[48]’ [-Werror=array-bounds=] 235 | r[i] = a[i] ^ b[i]; | ~~~~~^~~~~~~~~~~~~ /home/user/workspace/mbedtls/library/ctr_drbg.c: In function ‘ctr_drbg_update_internal’: /home/user/workspace/mbedtls/library/ctr_drbg.c:335:19: note: at offset 48 into object ‘tmp’ of size 48 335 | unsigned char tmp[MBEDTLS_CTR_DRBG_SEEDLEN]; | ^~~ This change adds a basic check to silence the warning until a solution is worked on upstream. As this check is already used by another compiler, it shouldn't cause any issues for us. Signed-off-by: Rany Hany <rany_hany@riseup.net>
* kernel: kmod-ipt-clusterip: Depend on kernel 5.15 and 6.1Hauke Mehrtens2024-05-28
| | | | | | | The kernel module was removed in kernel 6.3. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9db5d918e2c07fa09fab18bc7addf3408da0c76f Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: kmod-can-usb-esd: Fix build on kernel 6.6Hauke Mehrtens2024-05-28
| | | | | | | | The kernel module and configuration option was renamed from esd_usb2.ko to esd_usb.ko in kernel 6.0. Adapt the kernel package. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5e910bdedc84c1f196863cebdf27c1806449c27c Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* linux-firmware: Update to version 20240513Hauke Mehrtens2024-05-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This updates the following firmware files: airoha-en8811h-firmware/lib/firmware/airoha/EthMD32.DSP.bin airoha-en8811h-firmware/lib/firmware/airoha/EthMD32.dm.bin amdgpu-firmware/ (Many files) ibt-firmware/lib/firmware/intel/ibt-0040-0041.sfi ibt-firmware/lib/firmware/intel/ibt-0040-1020.sfi ibt-firmware/lib/firmware/intel/ibt-0040-1050.sfi ibt-firmware/lib/firmware/intel/ibt-0040-2120.sfi ibt-firmware/lib/firmware/intel/ibt-0040-4150.sfi ibt-firmware/lib/firmware/intel/ibt-0041-0041.sfi ibt-firmware/lib/firmware/intel/ibt-0180-0041.sfi ibt-firmware/lib/firmware/intel/ibt-0180-1050.sfi ibt-firmware/lib/firmware/intel/ibt-0180-4150.sfi ibt-firmware/lib/firmware/intel/ibt-0291-0291.ddc ibt-firmware/lib/firmware/intel/ibt-0291-0291.sfi ibt-firmware/lib/firmware/intel/ibt-1040-0041.sfi ibt-firmware/lib/firmware/intel/ibt-1040-1020.sfi ibt-firmware/lib/firmware/intel/ibt-1040-1050.sfi ibt-firmware/lib/firmware/intel/ibt-1040-2120.sfi ibt-firmware/lib/firmware/intel/ibt-1040-4150.sfi ibt-firmware/lib/firmware/intel/ibt-17-16-1.sfi ibt-firmware/lib/firmware/intel/ibt-17-2.sfi ibt-firmware/lib/firmware/intel/ibt-18-16-1.sfi ibt-firmware/lib/firmware/intel/ibt-18-2.sfi ibt-firmware/lib/firmware/intel/ibt-19-0-0.sfi ibt-firmware/lib/firmware/intel/ibt-19-0-1.sfi ibt-firmware/lib/firmware/intel/ibt-19-0-4.sfi ibt-firmware/lib/firmware/intel/ibt-19-16-4.sfi ibt-firmware/lib/firmware/intel/ibt-19-240-1.sfi ibt-firmware/lib/firmware/intel/ibt-19-240-4.sfi ibt-firmware/lib/firmware/intel/ibt-19-32-0.sfi ibt-firmware/lib/firmware/intel/ibt-19-32-1.sfi ibt-firmware/lib/firmware/intel/ibt-19-32-4.sfi ibt-firmware/lib/firmware/intel/ibt-20-0-3.sfi ibt-firmware/lib/firmware/intel/ibt-20-1-3.sfi ibt-firmware/lib/firmware/intel/ibt-20-1-4.sfi iwlwifi-firmware-ax200/lib/firmware/iwlwifi-cc-a0-77.ucode iwlwifi-firmware-ax201/lib/firmware/iwlwifi-QuZ-a0-hr-b0-77.ucode iwlwifi-firmware-ax210/lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm iwlwifi-firmware-be200/lib/firmware/iwlwifi-gl-c0-fm-c0.pnvm iwlwifi-firmware-iwl9000/lib/firmware/iwlwifi-9000-pu-b0-jf-b0-46.ucode iwlwifi-firmware-iwl9260/lib/firmware/iwlwifi-9260-th-b0-jf-b0-46.ucode mt7921bt-firmware/lib/firmware/mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin mt7922bt-firmware/lib/firmware/mediatek/BT_RAM_CODE_MT7922_1_1_hdr.bin rtl8852ce-firmware/lib/firmware/rtw89/rtw8852c_fw.bin Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* ebtables: fix compilation with GCC14Georgi Valkov2024-05-28
| | | | | | | | | | | | | | | | | | | | | Remove 100-musl_fix.patch, which is no longer needed and causes a build error with gcc-14. Fixes: useful_functions.c:63:41: error: passing argument 1 of 'ether_ntoa' from incompatible pointer type [-Wincompatible-pointer-types] 63 | printf("%s", ether_ntoa((struct ether_addr *) mac)); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | struct ether_addr * In file included from include/ebtables_u.h:28, from useful_functions.c:25: /Volumes/wrt3200/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3-d16_gcc-14.1.0_musl_eabi/include/netinet/ether.h:10:19: note: expected 'const struct ether_addr *' but argument is of type 'struct ether_addr *' 10 | char *ether_ntoa (const struct ether_addr *); | ^~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Georgi Valkov <gvalkov@gmail.com> Link: https://github.com/openwrt/openwrt/pull/15576 Signed-off-by: Robert Marko <robimarko@gmail.com>
* ath79: add support for Dell SonicPoint ACe APL26-0AETomasz Maciej Nowak2024-05-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dell/SonicWall APL26-0AE (marketed as SonicPoint ACe) is a dual band wireless access point. End of life as of 2022-07-31. Specification SoC: QualcommAtheros QCA9550 RAM: 256 MB DDR2 Flash: 32 MB SPI NOR WIFI: 2.4 GHz 3T3R integrated 5 GHz 3T3R QCA9890 oversized Mini PCIe card Ethernet: 2x 10/100/1000 Mbps QCA8334 port labeled lan1 is PoE capable (802.3at) USB: 1x 2.0 LEDs: LEDs: 6x which 5 are GPIO controlled and two of them are dual color Buttons: 2x GPIO controlled Serial: RJ-45 port, SonicWall pinout baud: 115200, parity: none, flow control: none Before flashing, be sure to have a copy of factory firmware, in case You wish to revert to original firmware. All described procedures were done in following environment: ROM Version: SonicROM (U-Boot) 8.0.0.0-11o SafeMode Firmware Version: SonicOS 8.0.0.0-14o Firmware Version: SonicOS 9.0.1.0 In case of other versions, following installation instructions might be ineffective. Installation 1. Prepare TFTP server with OpenWrt sysupgrade image and rename that image to "sp_fw.bin". 2. Connect to one of LAN ports. 3. Connect to serial port. 4. Hold the reset button (small through hole on side of the unit), power on the device and when prompted to stop autoboot, hit any key. The held button can now be released. 5. Alter U-Boot environment with following commands: setenv bootcmd bootm 0x9F110000 saveenv 6. Adjust "ipaddr" (access point, default is 192.168.1.1) and "serverip" (TFTP server, default is 192.168.1.10) addresses in U-Boot environment, then run following commands: tftp 0x80060000 sp_fw.bin erase 0x9F110000 +0x1EF0000 cp.b 0x80060000 0x9F110000 $filesize 7. After successful flashing, execute: boot 8. The access point will boot to OpenWrt. Wait few minutes, until the wrench LED will stop blinking, then it's ready for configuration. Known issues Initramfs image can't be bigger than specified kernel size, otherwise bootloader will throw LZMA decompressing error. Switching to lzma-loader should workaround that. This device has Winbond 25Q256FVFG and doesn't have reliable reset, which causes hang on reboot, thus broken-flash-reset needs to be added. This property addition causes dispaly of "scary" warning on each boot, take this warnig into consideration. Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
* kernel/modules/other/mlxreg: add new packageTil Kaiser2024-05-25
| | | | | | | | | | | This commit adds a new mlxreg package, which allows access to Mellanox programmable device register space through sysfs interface for thermal control and hardware management. It also adds required Mellanox I²C drivers and packages for the "special" MSN4800 series and SN2201 platform. Signed-off-by: Til Kaiser <mail@tk154.de>
* kernel/modules/other/mlx_wdt: add new packageTil Kaiser2024-05-25
| | | | | | | This commit adds a new driver for the hardware watchdog on Mellanox systems. Signed-off-by: Til Kaiser <mail@tk154.de>
* tfa-layerscape: Bump to lf-6.6.3-1.0.0Pawel Dembicki2024-05-25
| | | | | | | | | | This commit bumps tfa-layerscape package to version lf-6.6.3-1.0.0 Manually rebased: 001-fiptool-hostbuild-fixes.patch 004-plat-nxp-restore-ls1012afrdm-support.patch Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* uboot-layerscape: bump to lf-6.6.3-1.0.0Pawel Dembicki2024-05-25
| | | | | | | | | | | | | This commit bumps u-boot layerscape package to lf-6.6.3-1.0.0 version. Removed upstreamed: 0001-board-ls1046ardb-force-PCI-device-enumeration.patch 0002-board-ls1043ardb-force-PCI-device-enumeration.patch Manually rebased: 0900-layerscape-adjust-LS1021A-IOT-config-for-OpenWrt.patch Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* ppfe-firmware: Bump to lf-6.6.3-1.0.0Pawel Dembicki2024-05-25
| | | | | | Bump ppfe-firmware package to lf-6.6.3-1.0.0 Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* ls-rcw: Bump to lf-6.6.3-1.0.0Pawel Dembicki2024-05-25
| | | | | | Bump ls-rcw package to lf-6.6.3-1.0.0. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* ls-ddr-phy: bump to lf-6.6.3-1.0.0Pawel Dembicki2024-05-25
| | | | | | Bump ls-ddr-phy to version lf-6.6.3-1.0.0. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* fman-ucode: Bump to lf-6.6.3-1.0.0Pawel Dembicki2024-05-25
| | | | | | Bump fman-ucode to version lf-6.6.3-1.0.0. Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
* uboot-envtools: add support for ELECOM WRC-X1800GSINAGAKI Hiroshi2024-05-25
| | | | | | | Add support for ELECOM WRC-X1800GS on uboot-envtools, to update bootmenu_delay variable on sysupgrade. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
* uboot-mediatek: fix white-space in package MakefileDaniel Golle2024-05-25
| | | | | | Replace accidental spaces with tabs. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* uboot-mediatek: refresh patchesDaniel Golle2024-05-25
| | | | | | Patch 290-mt7981-add-USB-nodes.patch needs a refresh. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: filogic: add Adtran SmartRG Mount Stuart seriesDaniel Golle2024-05-24
| | | | | | | | | | | | | | | | | | | | | | | | | | Common specifications: * Mediatek MT7988A (4x Cortex-A73, up to 1.8 GHz clock speed) * 8 GiB eMMC * 2 GiB DDR4 RAM * 1x 10000M/1000M/100M + 3x 1000M/100M/10M LAN ports * MT7996 Tri-band (2.4G, 5G, 6G) 4T4R 802.11be Wi-Fi * Airoha AG3352 GPS * Renesas DA14531MOD Bluetooth * 2 buttons (Reset, Mesh/WPS) * uC-controlled RGB LED via I2C * 2x LED for each 1G port, 3x LED for each 10G port * USB 3.0 type A port * 3.3V-level 115200 baud UART console via 4-pin Dupont connector exposed at the bottom of the device * USB-C PD power input SDG-8733: 1x 10000M/1000M/100M WAN port SDG-8734: 1x USXGMII/10GBase-R/5GBase-R/2500Base-X/1000Base-X/SGMII SFP+ Both models are also available in versions including 2x FXS POTS interfaces for analog phones. Those interfaces are not supported by OpenWrt. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* linux-atm: fix build with GCC 14Rany Hany2024-05-24
| | | | | | | | | | | | | | Basic changes to make linux-atm build without any issues with GCC 14. Besides some errors caused by -Wpointer-sign, there was also an issue with socklen_t not being used for getsockopt() and accept() sometimes. I also updated the Debian patch to include the latest changes from version "1:2.5.1-5.1" in Debian Sid. This allowed me to drop "600-fix-format-errors.patch" and "700-include_sockios.patch". Signed-off-by: Rany Hany <rany_hany@riseup.net>
* usbmode: add Huawei E5785Didier 'OdyX' Raboud2024-05-23
| | | | | | | | | | | This 4G/LTE modem is a WiFi hotspot, and also works as cdc_ether modem when plugged over USB. It needs usb-modeswitching. With HuaweiNewMode, it will modeswitch from 3426:1f01 (mass-storage) to 3426:14db (cdc_ether). Signed-off-by: Didier 'OdyX' Raboud <odyx@raksha.ch> Link: https://github.com/openwrt/openwrt/pull/15497 Signed-off-by: Robert Marko <robimarko@gmail.com>
* build: generate private key for APK earlyDaniel Golle2024-05-22
| | | | | | | | | | | | Other than OPKG which only uses signed package list, APK uses individually signed packages in addition to signed package lists. Hence, in order to be able to generate package, the private key needs to be generated before compiling packages. Express that dependency and generate the private key before building any packages instead of doing so as part of the base-files package build. Fixes: d788ab376f ("build: add APK package build capabilities") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* qualcommax: ipq807x support Netgear Orbi Pro SXK80Andrew Smith2024-05-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds support for Netgear Orbi Pro SXR80 and SXS80 (collectively known as SXK80) Specifications: --------------- * CPU: Qualcomm IPQ8074A Quad core Cortex-A53 * RAM: 1024MB * Storage: SPI-NAND 512 MiB (Winbond W29N04GZ) * Ethernet: 4x 1G RJ45 ports (QCA8075) 1x 2.5G RJ45 LAN/WAN (QCA8081) * WLAN: - 2.4 GHz: Qualcomm QCN5024 4x4 - 2x 5 GHz: Qualcomm QCN5054 4x4 (second radio high channels only) * LEDs: - Power: (Green and red) - Front: (Blue, green, red and white) * Buttons: - 1x Soft reset - 1x Sync/WPS * Power: 12V DC Jack Installation instructions (Telnet): ----------------------------------- *Note, this guide assumes SXR80, for SXS80 change the firmware file name as appropriate 1. Put firmware file openwrt-qualcommax-ipq807x-netgear_sxr80-initramfs-uImage.itb in root of TFTP server available at 192.168.1.10. 2. Enable telnet by going to http://[ip of device]/debug.htm and clicking on the tickbox 'Enable telnet' 3. Telnet into the device and login using the same username and password as the web interface: 4. Run the following command: `fw_setenv bootcmd 'env default -a; saveenv; reset'` 5. Reboot the router, once the web interface is available again re-enable telnet via http://[ip of device]/debug.htm and telnet into the device. 6. Run the following command: `fw_printenv` It should look similar to the below: ``` baudrate=115200 bootargs=console=ttyMSM0,115200n8 bootcmd=mii write 0x0 0x0 0x800; sleep 1; nmrp; bootdni; boot_DNI_secureboot bootdelay=2 ipaddr=192.168.1.1 netmask=255.255.255.0 serverip=192.168.1.10 soc_version_major=2 soc_version_minor=0 ``` **If you see the message:** `Warning: Bad CRC, using default environment` **DO NOT CONTINUE, YOU WILL BRICK YOUR DEVICE** 7. Run the following command: `fw_setenv originalboot 'mii write 0x0 0x0 0x800; sleep 1; nmrp; bootdni; boot_DNI_secureboot'` (This should match what's in the bootcmd variable displayed in step 6) 8. Run the following commands: ``` fw_setenv wrttftp 'mii write 0x0 0x0 0x800; sleep 1; nmrp; if tftpboot openwrt-qualcommax-ipq807x-netgear_sxr80-initramfs-uImage.itb; then bootm; fi; bootdni; boot_DNI_secureboot' fw_setenv wrtboot 'mii write 0x0 0x0 0x800; sleep 1; nmrp; nand read 0x40000000 0x1980000 0x06d00000; bootm 0x40000000' fw_setenv bootcmd 'run wrttftp' ``` 9. Ensure SXR/S device is attached via ethernet (LAN port) to the same ethernet segment as the TFTP server. 10. Reboot the device, it should reboot into OpenWrt and be available on 192.168.1.1 11. Once OpenWrt has booted, update the bootcmd using the following command: `fw_setenv bootcmd 'run wrtboot'` 12. Flash the sysupgrade image 13. It should boot into OpenWrt References to SXK80 GPL source: https://www.downloads.netgear.com/files/GPL/SXK80-V3.2.0.108_gpl_src.tar.bz2.zip Signed-off-by: Flole Systems <flole@flole.de> Signed-off-by: Andrew Smith <gul.code@outlook.com> Link: https://github.com/openwrt/openwrt/pull/14939 Signed-off-by: Robert Marko <robimarko@gmail.com>
* kernel: qca-nss-dp: add back printing attached PHY-sRobert Marko2024-05-21
| | | | | | | | | | | | During the last update to 12.5.r2 printing of the attached PHY-s was removed, so lets bring it back as it is very helpfull for debugging OpenWrt issues without users having to modify NSS-DP to know if a PHY was attached. Refresh patches since nss_dp_main.c was edited. Link: https://github.com/openwrt/openwrt/pull/15537 Signed-off-by: Robert Marko <robimarko@gmail.com>
* uboot-mediatek: add support for OpenWrt OneJohn Crispin2024-05-21
| | | | Signed-off-by: John Crispin <john@phrozen.org>