- Jan 27, 2022
-
-
Tiago Gaspar authored
nf-nathelper-extra and nf-conntrack-netlink had iptables related dependencies, yet, when looking for the respective kernel symbols and checking it's dependencies it was confirmed that iptables wasn't required and that these were either it's own moodule or tool independent (nftables or iptables). Correct these and make sure no unneeded extras are pulled in. Signed-off-by:
Tiago Gaspar <tiagogaspar8@gmail.com>
-
David Bauer authored
The NanoPi R4S leaves the SD card in 1.8V signalling when rebooting while U-Boot requires the card to be in 3.3V mode. Remove UHS support from the SD controller so the card remains in 3.3V mode. This reduces transfer speeds but ensures a reboot whether from userspace or following a kernel panic is always working. Signed-off-by:
David Bauer <mail@david-bauer.net>
-
- Jan 26, 2022
-
-
Paul Spooren authored
By adding this file a badge should appear in the GitHub web interface to motivate people donate money to the OpenWrt project. Signed-off-by:
Paul Spooren <mail@aparcar.org>
-
- Jan 25, 2022
-
-
Daniel Golle authored
The legacy image for the UniElec U7623-02 until now included kmod-ata-ahci-mtk. The MT7623 chip doesn't have that IP and that board uses a PCIe-connected AHCI controller for the SATA port and mSATA-pins of the mPCIe socket. Hence include kmod-ata-ahci instead. Signed-off-by:
Daniel Golle <daniel@makrotopia.org>
-
- Jan 24, 2022
-
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
Add similar code to what is done on packages Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
This allows targets to be put into target/linux/feeds Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Felix Fietkau authored
On recent macOS, /usr/bin/python3 is a wrapper that finds the right python executable It checks argv[0] to determine if python2 or python3 should be called. Always execute it as python3 to ensure it calls the right version Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Robert Marko authored
Since 5.10 is now default, no point in keeping 5.4 around. Signed-off-by:
Robert Marko <robert.marko@sartura.hr>
-
- Jan 23, 2022
-
-
Daniel Golle authored
Tested on BananaPi R2 (SD, eMMC), BananaPi R64 (SD, eMMC, SPI-NAND) and UniElec U7623-02 (eMMC). Signed-off-by:
Daniel Golle <daniel@makrotopia.org>
-
Daniel Golle authored
For devboards without a MAC address assigned from factory, store the random MAC in U-Boot env on first boot to make it persistent. Signed-off-by:
Daniel Golle <daniel@makrotopia.org>
-
Daniel Golle authored
Add U-Boot env settings to allow accessing the environment using fw_printenv and fw_setenv tools on the UniElec U7623 board. Signed-off-by:
Daniel Golle <daniel@makrotopia.org>
-
Daniel Golle authored
Users of older OpenWrt versions need sysupgrade using the *emmc.img.gz file once which will upgrade U-Boot and switch to the new image layout. Users of the vendor firmware need to first flash the legacy image to then sunsequently carry out a full-flash upgrade. Alternatively the board can also be flashed using MediaTek's proprietary SP Flash Tool. Configuration as well as persistent MAC address will be lost once at this point and you will have to redo (or restore) all configuration manually. To restore the previous persistent MAC address users may set it manually using fw_setenv ethaddr 00:11:22:33:44:55 For future upgrades once running OpenWrt past this commit, the usual *sysupgrade.itb file can be used. Signed-off-by:
Daniel Golle <daniel@makrotopia.org>
-
Daniel Golle authored
Brings bootmenu and production/recovery dual-boot scheme like on the BPi-R2, BPi-R64, E8450 and UniFi 6 LR. Signed-off-by:
Daniel Golle <daniel@makrotopia.org>
-
Daniel Golle authored
* Use serial0 instead of serial2 for the only serial port * Add LED aliases * Add ethernet0 alias to inherit ethaddr from U-Boot env Signed-off-by:
Daniel Golle <daniel@makrotopia.org>
-
Daniel Golle authored
Use 'rootfs-part' feature instead of referencing the TARGET_uml in Config-images.in. Signed-off-by:
Daniel Golle <daniel@makrotopia.org>
-
Daniel Golle authored
Use 'rootfs-part' feature instead of referencing the TARGET_sunxi in Config-images.in. Signed-off-by:
Daniel Golle <daniel@makrotopia.org>
-
Daniel Golle authored
Use 'rootfs-part' feature instead of referencing the TARGET_omap in Config-images.in. Signed-off-by:
Daniel Golle <daniel@makrotopia.org>
-
Daniel Golle authored
Enable 'rootfs-part' feature to make the size of the partition of the production image configurable instead of hard-coding it. Signed-off-by:
Daniel Golle <daniel@makrotopia.org>
-
Hans Dedecker authored
ed71876 iprule: add support for uidrange Signed-off-by:
Hans Dedecker <dedeckeh@gmail.com>
-
- Jan 22, 2022
-
-
Jo-Philipp Wich authored
The ucode VM always passes 64bit integer values to sprintf implementation while the `%d` format expects 32bit integers on 32bit platforms, leading to incorrect formatting results. Temporarily solve the issue by casting the numeric argument to int until a more thorough fix arrives with the next update. Fixes: FS#4234 Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
Victorien Molle authored
The GL.iNet GL-XE300 is a 4G LTE Wireless router, based on QCA9531 SoC. Specifications: - SoC: QCA9531 (650MHz) - RAM: DDR2 128M - Flash: SPI NOR 16M + SPI NAND 128M - WiFi: 2.4GHz with 2 antennas - Ethernet: - 1x LAN (10/100M) - 1x WAN (10/100M) - LTE: - USB: 1x USB 2.0 port - UART: - 3.3V, TX, RX, GND / 115200 8N1 MAC addresses as verified by OEM firmware: use address source LAN *:c5 art 0x0 (label) WAN *:c6 label + 1 WLAN *:c7 art 0x1002 Installation via U-Boot rescue: 1. Press and hold reset and power buttons simultaneously 2. Wait for the LAN led to blink 5 times 3. Release reset and power buttons 4. The rescue page is accessible via http://192.168.1.1 5. Select the OpenWrt factory image and start upgrade 6. Wait for the router to flash new firmware and reboot Revert to stock firmware: i. Download the stock firmware from GL.Inet website ii. Use the same method explained above to flash the stock firmware Signed-off-by:
Victorien Molle <victorien.molle@wifirst.fr> [update commit message] Signed-off-by:
David Bauer <mail@david-bauer.net>
-
Rodrigo Araujo authored
When Joowin WR758AC V1 and V2 devices were added, they should have been added with the primary manufacturer name which is COMFAST, since Joowin is just an alternate vendor name on some coutries or stores. Fix this by changing the the vendor name on the respective files and set Joowin as ALT0 variants while ensuring compatibility for early users. Also adjust the model names to better follow the naming rules. As a side effect, fix mt76x8 network script which was left incorrectly unsorted on the case block conditions. Fixes: 766733e1 ("ramips: add support for Joowin WR758AC V1 and V2") Signed-off-by:
Rodrigo Araujo <araujo.rm@gmail.com>
-
David Bauer authored
Currently the WAN MAC address is read from a different offset contrary to all other addresses. There's conflicting information whether offset 0x28 on the factory partition contains the valid WAN mac for all devices while 0x4 seems to be uniform. Read the WAN mac from this location and calculate it. Signed-off-by:
David Bauer <mail@david-bauer.net>
-
David Bauer authored
The current MAC address assignment is still incorrect. Use the same MAC address as seen on the stock firmware for both wireless interfaces. The 5GHz MAC address OUI is +2 in the first EUI octet. We currently don't do this in OpenWrt. Ignore this offset for now. With the current assignment, recurring MAC addresses between radios is already taken care of. Signed-off-by:
David Bauer <mail@david-bauer.net>
-
- Jan 21, 2022
-
-
Hauke Mehrtens authored
This adds the taskset application from util Linux. It is already built, but not packaged yet. Signed-off-by:
Hauke Mehrtens <hmehrtens@maxlinear.com>
-
Hauke Mehrtens authored
This removes -static compile option. The -static option tells GCC to link this statically with the libc, which we do not want in OpenWrt. We want to link everything dynamically to the libc. This fixes a compile problem with glibc. Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
David Woodhouse authored
This board has 512MiB of RAM like the R7800, and the VDSL modem is attached to the second PCIe port. Signed-off-by:
David Woodhouse <dwmw2@infradead.org>
-
- Jan 19, 2022
-
-
Matthew Hagan authored
Add the nohostroute option as available for gre and wg tunnels to allow the user to prevent explicit creation of a route to the peer address. Signed-off-by:
Matthew Hagan <mnhagan88@gmail.com>
-
Denis Kalashnikov authored
On MikroTik RB91x board series a reset key shares SoC gpio line #15 with NAND ALE and NAND IO7. So we need a custom gpio driver to manage this non-trivial connection schema. Also rb91x-nand needs to have an ability to disable a polling of the key while it works with NAND. While we've been integrating rb91x-key into a firmware, we've figured out that: * In the gpio-latch driver we need to add a "cansleep" suffix to several gpiolib calls, * When gpio-latch and rb91x-nand fail to get a gpio and an error is -EPROBE_DEFER, they shouldn't report about this, since this actually is not an error and occurs when the gpio-latch probe function is called before the rb91x-key probe. We fix these related things here too. Signed-off-by:
Denis Kalashnikov <denis281089@gmail.com> Reviewed-by:
Sergey Ryazanov <ryazanov.s.a@gmail.com> Tested-by:
Koen Vandeputte <koen.vandeputte@ncentric.com>
-
Paul Spooren authored
Tested by multiple users and since all targets need to be on Kernel 5.10 to be part of the next release, add changes. Signed-off-by:
Paul Spooren <mail@aparcar.org>
-
Paul Spooren authored
This commit replaces firewall aka firewall3 with its nftables based successor firewall4. Signed-off-by:
Paul Spooren <mail@aparcar.org>
-
- Jan 18, 2022
-
-
Klaus Kudielka authored
Fix syntax error in the case statement Fixes: 9149ed4f ("mvebu: cortexa9: Add support for Ctera C200-V2") Signed-off-by:
Klaus Kudielka <klaus.kudielka@gmail.com>
-
- Jan 17, 2022
-
-
Sungbo Eo authored
Assign LED numbers properly by adding function-enumerator property in DTS. While at it, remove default trigger of LAN LEDs as it will be handled in 01_leds anyway. Fixes: 51b9aef5 ("ipq40xx: add support for ASUS RT-ACRH17/RT-AC42U") Signed-off-by:
Sungbo Eo <mans0n@gorani.run>
-
Sungbo Eo authored
It is not included in DEVICE_VARS anyways. Signed-off-by:
Sungbo Eo <mans0n@gorani.run>
-
Ansuel Smith authored
Ubuntu started to flag which as deprecated and it seems which is not really standard and may vary across Distro. Drop the use of which and use the standard 'command -v' for this simple task. Which is still present in the prereq if some package/script still use which. A utility script called command_all.sh is implemented that will just mimic the output of which -a. Signed-off-by:
Ansuel Smith <ansuelsmth@gmail.com>
-
- Jan 16, 2022
-
-
Sergey V. Lobanov authored
Added HOST_CXXFLAGS to specify CXXFLAGS during host-compile (e.g. to specify c++ standard: HOST_CXXFLAGS += -std=c++11) Signed-off-by:
Sergey V. Lobanov <sergey@lobanov.in>
-
Hauke Mehrtens authored
d885b49 tplink-safeloader: support Archer C6v3.0 (BR) Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
Hauke Mehrtens authored
868fd88 ustream-openssl: wolfSSL: Add compatibility for wolfssl >= 5.0 Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
Alexey Smirnov authored
According to TI docs (Processor SDK Linux Getting Started Guide) the Random Number Generator hardware is found on OMAP16xx, OMAP2/3/4/5, AM33xx/AM43xx boards. It already defined in device tree files. Let's enable it. Some tests: root@RTS1_OI:~# rngtest -c 1000 </dev/hwrng rngtest 6.10 Copyright (c) 2004 by Henrique de Moraes Holschuh This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. rngtest: starting FIPS tests... rngtest: bits received from input: 20000032 rngtest: FIPS 140-2 successes: 999 rngtest: FIPS 140-2 failures: 1 rngtest: FIPS 140-2(2001-10-10) Monobit: 0 rngtest: FIPS 140-2(2001-10-10) Poker: 0 rngtest: FIPS 140-2(2001-10-10) Runs: 1 rngtest: FIPS 140-2(2001-10-10) Long run: 0 rngtest: FIPS 140-2(2001-10-10) Continuous run: 0 rngtest: input channel speed: (min=198.710; avg=1265.501; max=2976.417)Kibits/s rngtest: FIPS tests speed: (min=1.780; avg=37.085; max=39.736)Mibits/s rngtest: Program run time: 15961329 microseconds Signed-off-by:
Alexey Smirnov <s.alexey@gmail.com>
-