aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* mediatek: make GL-MT2500 image work with U-Boot recoveryDavid Bauer2023-12-03
| | | | | | | | | | | | | | | | | | | | | Append metadata in the special GL.iNet format. This also enables use of the web-based U-Boot recovery. U-Boot-Recovery =============== The GL-MT2500 provides web-based U-Boot recovery. For this, hold the reset button pressed for 5 seconds when attaching power to the device. The LED will blink 5 times. Release the reset button. The OpenWrt sysupgrade image can be installed by navigating to http://192.168.1.1 in a web-browser. The device does not work as a DHCP server, so manual IP configuration is required. Signed-off-by: David Bauer <mail@david-bauer.net>
* mediatek: remove kernel build-directives for GL-MT2500David Bauer2023-12-03
| | | | | | | The build-directives for the GL-MT2500 are not required, as the default ones produce working images. Signed-off-by: David Bauer <mail@david-bauer.net>
* mediatek: add missing eMMC packages for GL-MT2500David Bauer2023-12-03
| | | | Signed-off-by: David Bauer <mail@david-bauer.net>
* mpc85xx: fix some dtc warningsRosen Penev2023-12-02
| | | | | | Mostly missing/wrong addresses. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* kernel: backport fixes for realtek r8152Marty Jones2023-12-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes issues with RTL8156 2.5G USB adapters - # ethtool eth1 Settings for eth1: Supported ports: [ ] Supported link modes: Not reported Supported pause frame use: No Supports auto-negotiation: No Supported FEC modes: Not reported Advertised link modes: Not reported Advertised pause frame use: No Advertised auto-negotiation: No Advertised FEC modes: Not reported Speed: 2500Mb/s Duplex: Half Port: Twisted Pair PHYAD: 0 Transceiver: internal Auto-negotiation: off MDI-X: Unknown Current message level: 0x00000007 (7) drv probe link Link detected: yes - # - r8152: break the loop when the budget is exhausted - r8152: Block future register access if register access fails - r8152: Rename RTL8152_UNPLUG to RTL8152_INACCESSIBLE - r8152: add vendor/device ID pair for D-Link DUB-E250 - r8152: try to use a normal budget - r8152: set bp in bulk - r8152: adjust generic_ocp_write function - r8152: fix the autosuspend doesn't work - r8152: Add __GFP_NOWARN to big allocations - r8152: reduce the control transfer of rtl8152_get_version() - r8152: remove rtl_vendor_mode function - r8152: avoid to change cfg for all devices - r8152: add USB device driver for config selection - r8152: use napi_gro_frags - cdc_ether: no need to blacklist any r8152 devices - cdc_ether: add u-blox 0x1313 composition Build system: x86_64 Build-tested: bcm2711, rockchip, x86/64 Run-tested: bcm2711/RPi4B, rockchip/nanopi r2s, x86/64 Signed-off-by: Marty Jones <mj8263788@gmail.com>
* mediatek: filogic: Update bootcount init script permissionsChen Minqiang2023-12-02
| | | | | | | | Change permissions of the bootcount init script from old mode 100644 to new mode 100755 to ensure its executability. Fixes: 6cc14bf66aa9 ("filogic: support Telenor branded ZyXEL EX5700") Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
* ipq40xx: update ASUS RT-AC58U leds DTS nodesChristian Lamparter2023-12-02
| | | | | | | | | | | | - use color, function, function-enumerator properties. - removes the label properties from LED nodes. - add panic-indicator to the blue power/status LED. Note: yes this brings the combined LAN/"switch" LED sort of back, though I fully admit, it's a bit jank. Do you know a better option? then please tell/make a PR! Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* ipq40xx: enable CONFIG_LED_TRIGGER_PHY for AC42UChristian Lamparter2023-12-02
| | | | | | | The AC42U already had PHY Triggers in the DTS. We are probably going to use them at some point. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* base-files: support parse DT LED color and functionShiji Yang2023-12-02
| | | | | | | | | The 'label' property in led node has been deprecated and we'd better to avoid using it. This patch allows us to extract DT OF LED name from the newly introduced LED properties "color", "function" and "function-enumerator". Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* generic: add more DT LED color and function definitionsShiji Yang2023-12-02
| | | | | | | Openwrt supports hundreds of devices. These newly added LED colors and functions can help developers better describe LED indicators. Signed-off-by: Shiji Yang <yangshiji66@qq.com>
* qoriq: pad rootfs with zerosRussell Senior2023-12-02
| | | | | | | | | | | | | Presently, sysupgrade -n does *not* reset the overlayfs, retaining unwanted filesystem contents. Adding PADDING=1 in front of gen_image_generic.sh in image/Makefile ensures that the overlayfs is recreated on firstboot. Fixes: 080a769b4da8 ("qoriq: new target") Signed-off-by: Russell Senior <russell@personaltelco.net> [add Fixes tag, rewrite commit subject and message to respect line length] Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* qoriq: set compat_version in board.dRussell Senior2023-12-02
| | | | | | | | | | | | | | | | | | | | | Currently, sysupgrade without the -n option complains: # sysupgrade -v tmp/openwrt-qoriq-generic-watchguard_firebox-m300-squashfs-sysupgrade.img.gz upgrade: The device is supported, but the config is incompatible to the new image (1.0->1.1). Please upgrade without keeping config (sysupgrade -n). upgrade: Kernel switched to FIT uImage. Update U-Boot environment. upgrade: Reading partition table from bootdisk... upgrade: Extract boot sector from the image upgrade: Reading partition table from image... Image check failed. So, add the missing 05_compat-version to /etc/board.d/ to allow sysupgrade to save config without using -f. Fixes: c4b499bc03ab ("qoriq: use FIT uImage for Firebox M300 kernel") Signed-off-by: Russell Senior <russell@personaltelco.net> [drop invalid copyright header, add SPDX license header, shorten commit subject, add fixes tag] Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* x86: Add kmod-dwmac-intelHauke Mehrtens2023-12-02
| | | | | | | This adds the Intel Ethernet driver for the Intel Quark/EHL/TGL chips. Fixes: #13994 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* armsr: Move kmod-stmmac-core to common placeHauke Mehrtens2023-12-02
| | | | | | | Move the kmod-stmmac-core package to the common place to share it with x86 later. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* mwlwifi: update to version 10.4.10-20231129Stefan Kalscheuer2023-12-02
| | | | | | | | Remove upstreamed patches: * replace usage of the deprecated "pci-dma-compat.h" API (6c03b27) * remove uaccess and get_fs calls from PCIe for Kenel >= 5.18 (1d0d08c) Signed-off-by: Stefan Kalscheuer <stefan@stklcode.de>
* bpftool: Update to v7.3.0Tony Ambardar2023-11-30
| | | | | | | | Update to the latest upstream release to include recent improvements and bugfixes. Also refresh local patches. Link: https://github.com/libbpf/bpftool/releases/tag/v7.3.0 Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* libbpf: Update to v1.3.0Tony Ambardar2023-11-30
| | | | | | | | Update to the latest upstream release to include recent improvements and bugfixes. Also refresh local patches. Link: https://github.com/libbpf/libbpf/releases/tag/v1.3.0 Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
* hostapd: use new udebug ubus api to make debug rings configurableFelix Fietkau2023-11-30
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ucode: update to Git HEAD (2023-11-30)Felix Fietkau2023-11-30
| | | | | | 96f74b5be829 ubus: make ubus_context first in uc_ubus_connection_t Signed-off-by: Felix Fietkau <nbd@nbd.name>
* udebug: add more entries for the default configFelix Fietkau2023-11-30
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* procd: update to Git HEAD (2023-11-28)Felix Fietkau2023-11-30
| | | | | | | d852f877920b service: Fix retriggering of init.d-scripts. 7e6c6efd6fbc udebug: add support for logging via udebug Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ubox: update to Git HEAD (2023-11-30)Felix Fietkau2023-11-30
| | | | | | | cc34fb7b922f logd: add support for subscribing to the log object c08709cceb55 logd: add udebug support Signed-off-by: Felix Fietkau <nbd@nbd.name>
* libubox: update to Git HEAD (2023-11-30)Felix Fietkau2023-11-30
| | | | | | | | 325fea5c57cf udebug: add functions for manipulating entry length e84c000c4756 udebug: add inline helper function to test if a buffer is allocated 40acbe34632b udebug: wait for response after buffer add/remove Signed-off-by: Felix Fietkau <nbd@nbd.name>
* udebug: update to Git HEAD (2023-11-30)Felix Fietkau2023-11-30
| | | | | | | | | | d49aadabb7a1 lib: fix dealing with udebugd restarts 9ec5fbb6aaad ubus: report ring size and data size via ubus api 86b4396baa44 ring: add debug messages for ring alloc errors e02306af7c50 lib: add helper function for applying ring config b613879cb049 client: send confirmation messages for ring add/remove Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mediatek: add support for Confiabits MT7981Luis Mita2023-11-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Confiabits MT7981 is a Wi-Fi 6 router based on MediaTek MT7981. Specification: - SoC: MediaTek MT7981B - CPU: 2x 1.3 GHz Cortex-A53 - Flash: 128 MiB SPI NAND - RAM: 256 MiB - WLAN: 2.4 GHz, 5 GHz (MediaTek MT7976CN, 802.11ax) - Ethernet: 4x 10/100/1000 Mbps MT7531AE (3xLAN, 1xWAN) - USB 2.0 port - Buttons: 1 Reset button, 1 Mesh button. - LEDs: 7x light-blue, 2x warm-white - Serial console: internal 4-pin header, 115200 8n1 - Power: 12 VDC, 1.5 A MAC addresses in stock firmware and in this commit: +---------+-------------------+-----------+ | | MAC | Algorithm | +---------+-------------------+-----------+ | WAN | 00:0c:43:xx:xx:e1 | label+1 | | LAN | 00:0c:43:xx:xx:e0 | label | | WLAN 2g | 00:0c:43:xx:xx:e0 | label | | WLAN 5g | 02:0c:43:xx:xx:e0 | | +---------+-------------------+-----------+ The label MAC was found in 'Factory', 0x4 Installation: The stock firmware is OpenWrt-based. If you can reach LuCI or SSH, just use the sysupgrade image with the 'Keep settings' option turned off. Signed-off-by: Luis Mita <luis@luismita.com>
* target: Make TARGET_SERIAL independent of GRUB configurationHauke Mehrtens2023-11-29
| | | | | | | | | | | | | GRUB_SERIAL is also used for the default serial on the target and not only in grub. When no grub was build it was not available and the build fails. Rename GRUB_SERIAL to TARGET_SERIAL and make it always available on x86 and armsr targets. Fixes: #14063 Fixes: b10768476f9d ("x86,armsr: interpolate GRUB_SERIAL into /etc/inittab") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: bump 5.15 to 5.15.140John Audia2023-11-29
| | | | | | | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.140 Removed upstreamed: mvebu/patches-5.15/106-Revert-i2c-pxa-move-to-generic-GPIO-recovery.patch[1] All other patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.140&id=06d320ca170b4e59bb261e2ce3ffe84e9154d42b Build system: x86_64 Build-tested: ramips/tplink_archer-a6-v3 Run-tested: ramips/tplink_archer-a6-v3 Signed-off-by: John Audia <therealgraysky@proton.me>
* kernel: bump 6.1 to 6.1.64John Audia2023-11-29
| | | | | | | | | | | | | | | | | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.64 Removed upstreamed: ixp4xx/patches-6.1/0001-mtd-cfi_cmdset_0001-Byte-swap-OTP-info.patch[1] mvebu/patches-6.1/106-Revert-i2c-pxa-move-to-generic-GPIO-recovery.patch[2] qualcommax/patches-6.1/0026-v6.7-clk-qcom-ipq8074-drop-the-CLK_SET_RATE_PARENT-flag-f.patch[3] Manually rebased: bcm27xx/patches-6.1/950-0111-MMC-added-alternative-MMC-driver.patch All other patches automatically rebased. 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.64&id=3b93096d29c5b9ca2af94be4ee9949c1767acf17 2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.64&id=b3fd9db79e30d5eb5f76ef1f5b7e4f444af574ea 3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.64&id=877080a3490102da26b8d969588159b2385f739e Build system: x86/64 Build-tested: x86/64/AMD Cezanne Run-tested: x86/64/AMD Cezanne Signed-off-by: John Audia <therealgraysky@proton.me>
* mediatek: add kmod-usb3 to default package set of the ZBT-Z8102AXDaniel Golle2023-11-29
| | | | | | | Include XHCI USB drivers on the ZBT-Z8102AX router, the drivers are required to be able to use the USB-connected M.2 slots for 4G/5G modems. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* libubox: update to Git HEAD (2023-11-28)Felix Fietkau2023-11-28
| | | | | | | | b77f2a4ce903 uloop: fix build using C++ compilers 260ad5bd1566 udebug: add ulog support e80dc00ee90c link librt if needed for shm_open Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ubus: update to Git HEAD (2023-11-28)Felix Fietkau2023-11-28
| | | | | | | 2b39a27d8bcc libubus: fix reconnect with auto subscribe f84eb5998c6e libubus: fix initial subscribe with autosubscribe Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ubox: add acl file for logdFelix Fietkau2023-11-28
| | | | | | Fixes ubus reconnect, since the process user id changes to 'logd' Signed-off-by: Felix Fietkau <nbd@nbd.name>
* udebug: move ubus dependency to libudebugFelix Fietkau2023-11-27
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* udebug: update to Git HEAD (2023-11-27)Felix Fietkau2023-11-27
| | | | | | | | | | a2301fa3b0c6 README: add wireshark info cfd83ccc1e4e server: properly handle unclaimed file descriptors cb71f64de0ec lib: remove leftover debug code a92101631c0d lib: fix avl tree lookup d4b99820afd0 lib: move library code to libubox, add ubus config handling code Signed-off-by: Felix Fietkau <nbd@nbd.name>
* libubox: update to Git HEAD (2023-11-27)Felix Fietkau2023-11-27
| | | | | | | | | | | 82fa6480de7a uloop: add support for interval timers 13d9b04fb09d uloop: add support for user defined signal handlers f7d156911311 uloop: properly initialize signal handler mask 8a5a4319a85c uloop: fix typo in signal handling rework b3fa3d92e3eb uloop: reset flags after __uloop_fd_delete call d4c3066e7c5e udebug: add udebug library code Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mediatek: copy config for Acer Predator W6David Bauer2023-11-27
| | | | | | Config was previously not copied on sysupgrade. Signed-off-by: David Bauer <mail@david-bauer.net>
* mediatek: add support for GL.iNet GL-MT2500David Bauer2023-11-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Hardware -------- SoC: MediaTek MT7981BA RAM: 1GB DDR4 (NANYA NT5AD512M16C4-JR) MMC: 8GB eMMC (Samsung 8GTF4R) ETH: 1000Base-T LAN (ePHY) 2500Base-T WAN (MaxLinear GPY211C) BTN: 1x Reset Button LED: System (blue/white) VPN (white) USB: 1x USB-A (USB 3.0) UART: 115200 8N1 - Pinout on board next to LAN port Don't connect 3.3V! Known Issues ------------ U-Boot vendor recovery does not seem to accept any images, neither GL.iNet images nor OpenWrt images. Recovery requires serial access! Installation ------------ Upload the OpenWrt sysupgrade image to the Gl.iNet Web-UI. Make sure to not retain existing settings. Signed-off-by: David Bauer <mail@david-bauer.net>
* rockchip: require image metadataDavid Bauer2023-11-27
| | | | | | | | | All devices in the rockchip target have appended image-metadata. Enforce the presence of this metadata to avoid flashing incomplete images. This is the de-facto standard for almost all OpenWrt targets. Signed-off-by: David Bauer <mail@david-bauer.net>
* ath79: fortinet-fap-221-b: convert to nvmem-layoutLech Perczak2023-11-27
| | | | | | | | | | | | | Now that MAC address parser supports the hex format (without delimiters), use the canonical MAC address stored in U-boot partition. Get rid of the userspace adjustments which are no longer necessary. While at that, move the mac-base to the common part, as it is again exactly the same in both models. And convert ART partition too - keep that one separate, as calibration data length differs between the models. Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
* ath79: fortinet-fap-220-b: convert to nvmem-layoutLech Perczak2023-11-27
| | | | | | | | | Now that MAC address parser supports the hex format (without delimiters), use the canonical MAC address stored in U-boot partition. Get rid of the "mac-address-increment" binding. While at that, convert ART partition too. Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
* ath79: fortinet-fap-220-b: fix WLAN MAC addressesLech Perczak2023-11-27
| | | | | | | | Addresses were swapped compared to the factory firmware. In addition to that, one of them was shifted by -1. Fix that by setting wlan0 MAC offset to 9, and wlan1 MAC offset to 2. Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
* ustream-ssl: update to Git HEAD (2023-11-26)Hauke Mehrtens2023-11-26
| | | | | | | 91666a3 ustream-mbedtls: Add compatibility with Mbed TLS 3.0.0 263b9a9 cmake: Fail if undefined symbols are used Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* x86 64: Add new device Cordoba Edge PlatformXiaojun Liu2023-11-26
| | | | | | | | | | | | Add new device Cordoba Edge Platform hardware specifications: CPU - Intel Atom C3000 Ethernet - 2 10Gbps ixgbe SPF+ 2 1Gbps ixgbe RJ45/SPF 4 2.5Gbps igc RJ45 WiFi - mt7915e LED - 3 multicolor(red|blue|green) LEDs Signed-off-by: Xiaojun Liu <xiaojun.liu@silicom.co.il>
* dnsmasq: mark global ubus context as closed after forkSven Eckelmann2023-11-26
| | | | | | | | | | | | | | If the dnsmasq process forks to handle TCP connections, it closes the ubus context. But instead of changing the daemon wide pointer to NULL, only the local variable was adjusted - and this portion of the code was even dropped (dead store) by some optimizing compilers. It makes more sense to change the daemon->ubus pointer because various functions are already checking it for NULL. It is also the behavior which ubus_destroy() implements. Fixes: d8b33dad0bb7 ("dnsmasq: add support for monitoring and modifying dns lookup results via ubus") Signed-off-by: Sven Eckelmann <sven@narfation.org>
* rockchip: add NanoPi R5C supportTianling Shen2023-11-26
| | | | | | | | | | | | | | | | | | | | | Hardware -------- RockChip RK3568 ARM64 (4 cores) 1GB or 4GB LPDDR4X RAM 2x 2500 Base-T 4 LEDs (LAN / WAN / WIFI / POWER) 1 Button (Reset) 8GB or 32GB eMMC on-board Micro-SD Slot M.2 Slot 2x USB 3.0 Port Installation ------------ Uncompress the OpenWrt sysupgrade and write it to a micro SD card or internal eMMC using dd. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* uboot-rockchip: add NanoPi R5C supportTianling Shen2023-11-26
| | | | | | Add support for the FriendlyARM NanoPi R5C. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rockchip: add NanoPi R5S supportTianling Shen2023-11-26
| | | | | | | | | | | | | | | | | | | | | | Hardware -------- RockChip RK3568 ARM64 (4 cores) 2GB or 4GB LPDDR4X RAM 1x 1000 Base-T 2x 2500 Base-T 4 LEDs (LAN1 / LAN2 / WAN / POWER) 8GB eMMC on-board Micro-SD Slot M.2 Slot 2x USB 3.0 Port Installation ------------ Uncompress the OpenWrt sysupgrade and write it to a micro SD card or internal eMMC using dd. Tested-by: Packet Please <pktpls@systemli.org> Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* uboot-rockchip: add NanoPi R5S supportTianling Shen2023-11-26
| | | | | | | Add support for the FriendlyARM NanoPi R5S support. Tested-by: Packet Please <pktpls@systemli.org> Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rockchip: armv8: broaden boardnameTianling Shen2023-11-26
| | | | | | Now we have rk356x support :-) Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
* rockchip: enable drivers for rk356xTianling Shen2023-11-26
| | | | | | | Enable all necessary drivers for the rk356x SoCs, including PHY, SCMI, SPI etc. Also backport 2 upstream patches for sdhci fixes. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>