- Aug 29, 2021
-
-
Adrian Schmutzler authored
BLOCKSIZE = 64k is set in Device/Default, i.e. global default on the target. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
Rafał Miłecki authored
This includes: 1. BCM5301X changes from 5.14 and queued 5.15 stuff 2. NSP changes from 5.11 - 5.15 for kernel 5.10 Signed-off-by:
Rafał Miłecki <rafal@milecki.pl>
-
Rui Salvaterra authored
CONFIG_RCU_{NEED_SEGCBLIST,STALL_COMMON} are set basically everywhere. Move them to the generic kconfigs. And resort the generic kconfigs while at it. Signed-off-by:
Rui Salvaterra <rsalvaterra@gmail.com>
-
Rui Salvaterra authored
Based on the existing documentation [1][2], I dare anyone to demonstrate that we need to fine-tune these RCU parameters. The (performance) breakage potential for doing so is immense, so let's just please put down this loaded footgun. Disable CONFIG_RCU_EXPERT and its dependent symbols. Additionally, remove the CONFIG_RCU_EXPERT symbol from the target kconfigs which contain it. [1] https://www.kernel.org/doc/Documentation/RCU/Design/Data-Structures/Data-Structures.html [2] https://lwn.net/Articles/777214/ Signed-off-by:
Rui Salvaterra <rsalvaterra@gmail.com>
-
Ansuel Smith authored
There is a longlasting warn about unused defined try_to_force_load. Fix this by including this function only when actually used. Signed-off-by:
Ansuel Smith <ansuelsmth@gmail.com>
-
John Audia authored
Manually rebased: bcm27xx/patches-5.4/950-1031-net-lan78xx-Ack-pending-PHY-ints-when-resetting.patch Removed upstreamed: mvebu/patches-5.4/100-cpufreq-armada-37xx-forbid-cpufreq-for-1.2-GHz-variant.patch All other patches automatically rebased. Build system: x86_64 Build-tested: ipq806x/R7800 Run-tested: ipq806x/R7800 No dmesg regressions, everything functional Signed-off-by:
John Audia <graysky@archlinux.us>
-
John Audia authored
Manually rebased: bcm27xx/patches-5.10/950-1031-net-lan78xx-Ack-pending-PHY-ints-when-resetting.patch Removed upstreamed: mvebu/patches-5.10/101-cpufreq-armada-37xx-forbid-cpufreq-for-1.2-GHz-variant.patch All other patches automatically rebased. Build system: x86_64 Build-tested: bcm2711/RPi4B Run-tested: bcm2711/RPi4B No dmesg regressions, everything functional Signed-off-by:
John Audia <graysky@archlinux.us>
-
- Aug 28, 2021
-
-
Sebastian Schaper authored
Change `DAP-2965` to `DAP-2695` for device selection in menuconfig. Fixes: cd09f266 ("ath79: add support for D-Link DAP-2695-A1") Signed-off-by:
Sebastian Schaper <openwrt@sebastianschaper.net> [add Fixes] Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
- Aug 27, 2021
-
-
David Bauer authored
The TP-Link TL-MR3020 v3 only has a single MAC address assigned for ethernet LAN as well as WiFi. This MAC address is also printed on the casing. Signed-off-by:
David Bauer <mail@david-bauer.net>
-
David Bauer authored
The GigaDevices GD25Q64B found on the TL-MR3020 v3 supports the fast read instruction. Add the required DT property in order to enable usage of this property. Signed-off-by:
David Bauer <mail@david-bauer.net>
-
David Bauer authored
The GigaDevices GD25Q64B supports higher SPI clocks than 10 MHz. While 100 MHz do not work reliably, 50 MHz works without issues. Signed-off-by:
David Bauer <mail@david-bauer.net>
-
David Bauer authored
The modec{1,2} keys are actually switches. Add the respective DTS properties to avoid accidental activation of failsafe mode. Signed-off-by:
David Bauer <mail@david-bauer.net>
-
David Bauer authored
The hostapd.sh script already has support for configuring proxy-ARP, however no built variant has support for it enabled. Enable proxy-ARP support for hostapd-full builds in order to allow users to actually use this feature. Signed-off-by:
David Bauer <mail@david-bauer.net>
-
David Bauer authored
The disable_dgaf config fiels is only available in case Hostapd is compiled with Hotspot 2.0 support, however Proxy-ARP does not depend on Hotspot 2.0. Only add the code related to this config field when Hotspot 2.0 is enabled to fix compilation with the aformentioned preconditions. Signed-off-by:
David Bauer <mail@david-bauer.net>
-
David Bauer authored
Signed-off-by:
David Bauer <mail@david-bauer.net>
-
Daniel Golle authored
The uImage.FIT partition uses page mapping without properly handling paging errors. This can lead to Kernel Oops in case of read errors while trying to parse uImage.FIT partitions. Signed-off-by:
Daniel Golle <daniel@makrotopia.org>
-
Chuanhong Guo authored
this change was missing during the spi-nand driver replacement, causing build failure. Signed-off-by:
Chuanhong Guo <gch981213@gmail.com>
-
Chuanhong Guo authored
These options doesn't show up unless some kernel packages are selected, so they are not covered by kernel_menuconfig. Manually add them so that a build with all kmods can pass without user interaction. Signed-off-by:
Chuanhong Guo <gch981213@gmail.com>
-
Chuanhong Guo authored
Signed-off-by:
Chuanhong Guo <gch981213@gmail.com>
-
Chuanhong Guo authored
there's no driver level remapping of oob data in the new spi-nand driver and bmt oob signature starts at 0x0 of the dumped oob data. change the default value to 0 for the new spi-nand driver. Signed-off-by:
Chuanhong Guo <gch981213@gmail.com>
-
Chuanhong Guo authored
mtd->size will be overrided by BMT which makes all mtd requests made by bmt fail in request size checking. this commit changes the driver to check against actual chip size in chip info as a workaround. Signed-off-by:
Chuanhong Guo <gch981213@gmail.com>
-
Chuanhong Guo authored
Signed-off-by:
Chuanhong Guo <gch981213@gmail.com>
-
Chuanhong Guo authored
Signed-off-by:
Chuanhong Guo <gch981213@gmail.com>
-
Chuanhong Guo authored
we now have a standalone mtd driver and the old spi-mem driver along with the hack in spi-nand core can be removed. Signed-off-by:
Chuanhong Guo <gch981213@gmail.com>
-
Weijie Gao authored
This patch enables new spi-nand driver for mt7622 and mt7629. Signed-off-by:
Weijie Gao <hackpascal@gmail.com> Signed-off-by:
Chuanhong Guo <gch981213@gmail.com>
-
Weijie Gao authored
This patch adds a new spi-nand driver which implements the SNFI of mt7622 and mt7629. Unlike the existing snfi driver which makes use of the spi-mem framework and the spi-nand framework with modified ecc support, this driver is implemented directly on the mtd framework with other components untouched, and provides better performance, and behaves exactly the same as the nand framework. Signed-off-by:
Weijie Gao <hackpascal@gmail.com>
-
- Aug 26, 2021
-
-
Eneas U de Queiroz authored
This version fixes two vulnerabilities: - SM2 Decryption Buffer Overflow (CVE-2021-3711) Severity: High - Read buffer overruns processing ASN.1 strings (CVE-2021-3712) Severity: Medium Signed-off-by:
Eneas U de Queiroz <cotequeiroz@gmail.com>
-
Christian Lamparter authored
this is no longer necessary as the AR71XX target was superseded by ath79. Signed-off-by:
Christian Lamparter <chunkeey@gmail.com>
-
Christian Lamparter authored
This was old code from the AR71XXs target days that doesn't get compiled and used anymore. Bringing up AR92xx and earlier chips from their OWL-Emulator state is currently done by the upstream ath9k-pci-owl-loader module. (see the kmod-owl-loader package). Signed-off-by:
Christian Lamparter <chunkeey@gmail.com>
-
Christian Lamparter authored
OpenWrt's special gpio-button-hotplug driver is still using exclusively the legacy GPIO Subsystem gpio_ API. While it still does work fine for most devices, upstream linux is starting to convert platform support like that of the APU2/3/4 to the new GPIOD LOOKUP tables that are not supported by it. Hence, this patch replaces the gpio_ calls present in gpio-button-hotplug with gpiod_ equivalent wherever it's possible. This allows the driver to use the gpiod lookup tables and still have a fallback for legacy platform data code that just sets button->gpio set to the real button/switch GPIO. As a bonus: the active_low logic is now being handled by the linux's gpio subsystem too. Another issue that was address is the of_handle leak in the dt parser error path. Tested with legacy platform data: x86_64: APU2, MX-100 Tested on OF: ATH79; MR18, APM821xx: Netgear WNDR4700, RAMIPS: WL-330N3G LANTIQ: AVM FritzBox 7360v1 Reported-by:
Chris Blake <chrisrblake93@gmail.com> Tested-by:
Chris Blake <chrisrblake93@gmail.com> Reviewed-by:
Linus Walleij <linus.walleij@linaro.org> Signed-off-by:
Christian Lamparter <chunkeey@gmail.com>
-
Jan-Niklas Burfeind authored
The Onion Omega is a hardware development platform with built-in WiFi. https://onioniot.github.io/wiki/ Specifications: - QCA9331 @ 400 MHz (MIPS 24Kc Big-Endian Processor) - 64MB of DDR2 RAM running at 400 MHz - 16MB of on-board flash storage - Support for USB 2.0 - Support for Ethernet at 100 Mbps - 802.11b/g/n WiFi at 150 Mbps - 18 digital GPIOs - A single Serial UART - Support for SPI - Support for I2S Flash instructions: The device is running OpenWrt upon release using the ar71xx target. Both a sysupgrade and uploading the factory image using u-boots web-UI do work fine. Depending on the ssh client, it might be necessary to enable outdated KeyExchange methods e.g. in the clients ssh-config: Host 192.168.1.1 KexAlgorithms +diffie-hellman-group1-sha1 The stock credentials are: root onioneer For u-boots web-UI manually configure `192.168.1.2/24` on your computer, connect to `192.168.1.1`. MAC addresses as verified by OEM firmware: 2G phy0 label LAN eth0 label - 1 LAN is only available in combination with an optional expansion dock. Based on vendor acked commit: commit 5cd49bb0 ("ar71xx: add support for Onion Omega") Partly reverts: commit fc553c7e ("ath79: drop unused/incomplete dts") Signed-off-by:
Jan-Niklas Burfeind <git@aiyionpri.me>
-
Felix Fietkau authored
This integrates with netifd in order to provide STP/RSTP protocol support in user space. It defaults to using RSTP for bridges with stp enabled. This daemon has no config files, it uses the configuration passed from netifd via ubus Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
- Aug 25, 2021
-
-
Daniel Golle authored
50e6b20 libfstools: handle open() return value properly in F2FS check e1b6811 blockd: include missing libubox/utils.h Signed-off-by:
Daniel Golle <daniel@makrotopia.org>
-
Álvaro Fernández Rojas authored
This patch has been accepted for linux v5.14. Signed-off-by:
Álvaro Fernández Rojas <noltari@gmail.com>
-
- Aug 24, 2021
-
-
David Yang authored
Give users more control by exposing ephy leds. Signed-off-by:
David Yang <mmyangfl@gmail.com> [remove execute bit on 01_leds, add status for gpio2] Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
David Yang authored
Generally u-boot should keep read-only to avoid mis-overwriting and bricking the device, but u-boot-env could be safely modified with u-boot setenv tool. Signed-off-by:
David Yang <mmyangfl@gmail.com>
-
David Yang authored
The flash is Winbond 25Q128. As it has large rom, better to increase flash frequency to 70MHz according to the flash spec and enable fast-read. Signed-off-by:
David Yang <mmyangfl@gmail.com>
-
Giovanni Cascione authored
This patch adds support for D-Link DAP-1325-A1 (Range Extender Wi-Fi N300) Specifications: - SoC: 580Mhz MT7628NN - RAM: 64MB, DDR2 SDRAM - Storage: 8MB, SPI (W25Q64JVSSIQ) - Ethernet: 1x 10/100 LAN port - WIFI: 2.4 GHz 802.11bgn - LED: Status (2x to provide 3 colors), Wi-Fi Signal Strength (4x) - Buttons: Reset, WPS - UART: Serial console (57600, 8n1) Row of 4 holes near LAN port, starting from square hole: 3.3V, TX,RX,GND - FCC ID: fccid.io/KA2AP1325A1/ Installation: Failsafe UI Firmware can be uploaded with Failsafe UI web page: - turn device off - press and hold reset button - turn device on - keep holding reset until red wifi strength led turns on (ab. 10sec) - connect to device through LAN port PC must be configured with static ip (192.168.0.x) - connect to 192.168.0.50 - select image to be flashed and upload. Device will reboot after successful update Serial port/TFTP server - Connect through serial connectors on PCB (e.g. with teraterm) - Set up a TFTP server, and connect through LAN with static IP - Put image file in the root of the server - Boot the device and select '2' at U-Boot startup - Set device IP, server IP and image file name - Start upload and flash Signed-off-by:
Giovanni Cascione <ing.cascione@gmail.com> [fix whitespaces in DTS, convert to nvmem, add mtd-eeprom] Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
Romain Mahoux authored
Specifications: - SoC: QCA9558 - DRAM: 128MB DDR2 - Flash: 16MB SPI-NOR - Wireless: on-board abgn 2×2 2.4GHz radio - Ethernet: 2x 10/100/1000 Mbps (1x 802.11af PoE) - miniPCIe slot Flash instruction: - From u-boot tftpboot 0x80500000 openwrt-ath79-generic-compex_wpj558-16m-squashfs-sysupgrade.bin erase 0x9f030000 +$filesize cp.b $fileaddr 0x9f030000 $filesize boot - From cpximg loader The cpximg loader can be started either by holding the reset button during power up. Once it's running, a TFTP-server under 192.168.1.1 will accept the image appropriate for the board revision that is etched on the board. For example, if the board is labelled '6A07': tftp -v -m binary 192.168.1.1 -c put openwrt-ath79-generic-compex_wpj558-16m-squashfs-cpximg-6a07.bin Signed-off-by:
Romain Mahoux <romain@mahoux.fr> [convert to nvmem, remove redundant lan_mac in 02_network] Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
Chukun Pan authored
The problem has been fixed in f47cb405 ("ipq806x: fix pci broken on bootm command"), now the pcie part can be written in the usual way. Signed-off-by:
Chukun Pan <amadeus@jmu.edu.cn> Reviewed-by:
Ansuel Smith <ansuelsmth@gmail.com>
-