- Oct 15, 2019
-
-
Koen Vandeputte authored
Refreshed all patches. Remove upstreamed (superseded): - 950-0726-can-mcp251x-Allow-more-time-after-a-reset.patch Compile-tested on: brcm2708, cns3xxx Runtime-tested on: cns3xxx Signed-off-by:
Koen Vandeputte <koen.vandeputte@ncentric.com>
-
Koen Vandeputte authored
Refreshed all patches. Altered patches: - 820-sec-support-layerscape.patch Compile-tested on: cns3xxx, layerscape Runtime-tested on: cns3xxx Signed-off-by:
Koen Vandeputte <koen.vandeputte@ncentric.com>
-
Koen Vandeputte authored
1.1.24 release notes new features: - GLOB_TILDE extension to glob - non-stub catgets localization API, using netbsd binary catalog format - posix_spawn file actions for [f]chdir (extension, pending future standard) - secure_getenv function (extension) - copy_file_range syscall wrapper (Linux extension) - header-level support for new linux features in 5.2 performance: - new fast path for lrint (generic C version) on 32-bit archs major internal changes: - functions involving time are overhauled to be time64-ready in 32-bit archs - x32 uses the new time64 code paths to replace nasty hacks in syscall glue compatibility & conformance: - support for powerpc[64] unaligned relocation types - powerpc[64] and sh sys/user.h no longer clash with kernel asm/ptrace.h - select no longer modifies timeout on failure (or at all) - mips64 stat results are no longer limited to 32-bit time range - optreset (BSD extension) now has a public declaration - support for clang inconsistencies in wchar_t type vs some 32-bit archs - mips r6 syscall asm no longer has invalid lo/hi register clobbers - vestigial asm declarations of __tls_get_new are removed (broke some tooling) - riscv64 mcontext_t mismatch glibc's member naming is corrected bugs fixed: - glob failed to match broken symlinks consistently - invalid use of interposed calloc to allocate initial TLS - various dlsym symbol resolution logic errors - semctl with SEM_STAT_ANY didn't work - pthread_create with explicit scheduling was subject to priority inversion - pthread_create failure path had data race for thread count - timer_create with SIGEV_THREAD notification had data race getting timer id - wide printf family failed to support l modifier for float formats arch-specific bugs fixed: - x87 floating point stack imbalance in math asm (i386-only CVE-2019-14697) - x32 clock_adjtime, getrusage, wait3, wait4 produced junk (struct mismatches) - lseek broken on x32 and mipsn32 with large file offsets - riscv64 atomics weren't compiler barriers - riscv64 atomics had broken asm constraints (missing earlyclobber flag) - arm clone() was broken when compiled as thumb if start function returned - mipsr6 setjmp/longjmp did not preserve fpu register state correctly Refreshed all patches. Removed upstreamed. Signed-off-by:
Koen Vandeputte <koen.vandeputte@ncentric.com>
-
Jo-Philipp Wich authored
a29b7d4 nl80211: align path to phy mapping logic with mac80211.sh Signed-off-by:
Jo-Philipp Wich <jo@mein.io>
-
- Oct 14, 2019
-
-
Hans Dedecker authored
9a4531a ndp: fix endian issue Signed-off-by:
Hans Dedecker <dedeckeh@gmail.com>
-
Adrian Schmutzler authored
This unifies MAC address patch functions and moves them to a common script. While those were implemented differently for different targets, they all seem to do the same. The number of different variants is significantly reduced by this patch. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
- Oct 13, 2019
-
-
Adrian Schmutzler authored
This moves the almost identical calibration data extraction functions present multiple times in several targets to a single library file /lib/functions/caldata.sh. Functions are renamed with more generic names to merge different variants that only differ in their names. Most of the targets used find_mtd_chardev, while some used find_mtd_part inside the extraction code. To merge them, the more abundant version with find_mtd_chardev is used in the common code. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de> [rebase on latest master; add mpc85xx] Signed-off-by:
David Bauer <mail@david-bauer.net>
-
Adrian Schmutzler authored
The xor() function is defined in each of the caldata extraction scripts for several targets. Move it to functions.sh to reduce duplicate code. Signed-off-by:
Adrian Schmutzler <freifunk@adrianschmutzler.de>
-
Roger Pueyo Centelles authored
This patch adds support for the COMFAST CF-E313AC, an outdoor wireless CPE with two Ethernet ports and a 802.11ac radio. Specifications: - QCA9531 SoC - 650/400/216 MHz (CPU/DDR/AHB) - 1x 10/100 Mbps WAN Ethernet, 48V PoE-in - 1x 10/100 Mbps LAN Ethernet, pass-through 48V PoE-out - 1x manual pass-through PoE switch - 64 MB RAM (DDR2) - 16 MB FLASH - QCA9886 2T2R 5 GHz 802.11ac, 23 dBm - 12 dBi built-in antenna - POWER/LAN/WAN/WLAN green LEDs - 4x RSSI LEDs (2x red, 2x green) - UART (115200 8N1) Flashing instructions: The original firmware is based on OpenWrt so a sysupgrade image can be installed via the stock web GUI. Settings from the original firmware will be saved and restored on the new one, so a factory reset will be needed. To do so, once the new firmware is flashed, enter into failsafe mode by pressing the reset button several times during the boot process, while the WAN LED flashes, until it starts flashing faster. Once in failsafe mode, perform a factory reset as usual. Alternatively, the U-boot bootloader contains a recovery HTTP server to upload the firmware. Push the reset button while powering the device on and keep it pressed for >10 seconds. The device's LEDs will blink several times and the recovery page will be at http://192.168.1.1; use it to upload the sysupgrade image. Note: Four MAC addresses are stored in the "art" partition (read-only): - 0x0000: 40:A5:EF:AA:AA:A0 - 0x0006: 40:A5:EF:AA:AA:A2 - 0x1002: 40:A5:EF:AA:AA:A1 - 0x5006: 40:A5:EF:AA.AA:A3 (inside the 5 GHz calibration data) The stock firmware assigns MAC addresses to physical and virtual interfaces in a very particular way: - eth0 corresponds to the physical Ethernet port labeled as WAN - eth1 corresponds to the physical Ethernet port labeled as LAN - eth0 belongs to the bridge interface br-wan - eth1 belongs to the bridge interface br-lan - eth0 is assigned the MAC from 0x0 (*:A0) - eth1 is assigned the MAC from 0x1002 (*:A1) - br-wan is forced to use the MAC from 0x1002 (*:A1) - br-lan is forced to use the MAC from 0x0 (*:A0) - radio0 uses the calibration data from 0x5000 (which contains a valid MAC address, *:A3). However, it is overwritten by the one at 0x6 (*:A2) This commit preserves the LAN/WAN roles of the physical Ethernet ports (as labeled on the router) and the MAC addresses they expose by default (i.e., *:A0 on LAN, *:A1 on WAN), but swaps the position of the eth0/eth1 compared to the stock firmware: - eth0 corresponds to the physical Ethernet port labeled as LAN - eth1 corresponds to the physical Ethernet port labeled as WAN - eth0 belongs to the bridge interface br-lan - eth1 is the interface at @wan - eth0 is assigned the MAC from 0x0 (*:A0) - eth1 is assigned the MAC from 0x1002 (*:A1) - br-lan inherits the MAC from eth0 (*:A0) - @wan inherits the MAC from eth1 (*:A1) - radio0's MAC is overwritten to the one at 0x6 This way, eth0/eth1's positions differ from the stock firmware, but the weird MAC ressignations in br-lan/br-wan are avoided while the external behaviour of the router is maintained. Additionally, WAN port is connected to the PHY gmac, allowing to monitor the link status (e.g., to restart DHCP negotiation when plugging a cable). Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Roger Pueyo Centelles authored
The Phicomm KE 2P is identical to the already supported Phicomm K2P, renamed for the European market. Use the ALT0 buildroot tags to show both devices. Signed-off-by:
Roger Pueyo Centelles <roger.pueyo@guifi.net>
-
Stijn Tintel authored
This driver supports the Bosch Sensortec BME680 gas, humidity, pressure and temperature sensor. Tested I2C and SPI modes on a Raspberry Pi Zero W. Signed-off-by:
Stijn Tintel <stijn@linux-ipv6.be>
-
- Oct 12, 2019
-
-
Ali MJ Al-Nasrawy authored
It is informative especially when using multiple device pairs. Signed-off-by:
Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
-
Ali MJ Al-Nasrawy authored
Upon writing to "remove" file, debugfs_remove_recursive() blocks while holding rtnl_lock. This is because debugfs' file_ops callbacks are executed in debugfs_use_file_*() context which prevents file removal. Fix this by only flagging the device for removal and then do the cleanup in file_ops.release callback which is executed out of that context. Signed-off-by:
Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
-
Ali MJ Al-Nasrawy authored
Since v3.11, netdevice notification data are of type "struct netdev_notifier_info". Handle it as such! This should fix a critical bug in which devices are unable get released because trelay does not release resources in response to UNREGISTER event spamming the log with something like: unregister_netdevice: waiting for eth0.1 to become free. Usage count = 1 Signed-off-by:
Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
-
Ruixi Zhou authored
crypto-arc4 move into a module with commit c3a78955, fs-nfs-common-rpcsec compile error without arc4 support. Ref: https://github.com/openwrt/packages/issues/9912 Fixes: c3a78955 ("kernel: move crypto-arc4 into a module") Signed-off-by:
Ruixi Zhou <zhouruixi@gmail.com>
-
Val Kulkov authored
"coreutil-date" package from the packages feed replaces the Busybox date applet by symlinking /usr/bin/gnu-date to /bin/date. This prevents the system init script from setting kernel timezone because the GNU date utility does not provide such functionality: root@OpenWrt:~# date -k date: invalid option -- 'k' Try 'date --help' for more information. A specific reference to the Busybox date applet prevents alternative date utilities from breaking the system init script. Signed-off-by:
Val Kulkov <val.kulkov@gmail.com>
-
Eneas U de Queiroz authored
WolfSSL is always built with AES-GCM support now. Signed-off-by:
Eneas U de Queiroz <cotequeiroz@gmail.com>
-
Rosen Penev authored
The first allows usage of several functions in the std namespace, which broke compilation of gddrescue specifically with uClibc-ng and uClibc++. The second allows usage of long long with normal C++11, which is part of the standard. Before, std=gnu++11 needed to be passsed to work around it. As a result of the second patch, the pedantic patch can safely be removed. Both patches are upstream backports. Added -std=c++11 to CFLAGS to guarentee proper inclusion of long long. Added another patch that fixes a typo with the long long support. Sent to upstream. Fixed up license information according to SPDX. Small cleanups for consistency. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
Martin Schiller authored
This makes it possible to configure the link attributes (aneg, duplex, speed) of each switch ports. Signed-off-by:
Martin Schiller <ms@dev.tdt.de>
-
Scott Roberts authored
These patches backport support for the ARMADA 3700 COMPHY driver. Also backported is the mvneta driver. This will allow switching the SGMII speed using SMC calls. To support this you must update the firmware using Marvells 18.12 version (this has now been upstreamed). The mvneta driver allows 2500basex and 2500baset. Signed-off-by:
Scott Roberts <ttocsr@gmail.com>
-
Eubert Bao authored
The default sizes render Device/linksys_audi mage un-flashable. Restore the pagesize, subpagesize, and blocksize for linksys_audi from https://github.com/openwrt/archive . Signed-off-by:
Eubert Bao <bunnier@gmail.com>
-
Moritz Warning authored
DEVICE_TITLE is split up into DEVICE_VENDOR, DEVICE_MODEL and DEVICE_VARIANT Signed-off-by:
Moritz Warning <moritzwarning@web.de>
-
Sungbo Eo authored
Fixes: 4b3d17b7 ("kernel: add kmod-fb-sys-ram") Fixes: b774acb4 ("package/modules: add missing gspca video drivers for 2.6.32 (patch from #6595)") Signed-off-by:
Sungbo Eo <mans0n@gorani.run>
-
Sungbo Eo authored
.c files do not need to be executable. 644 is enough. Signed-off-by:
Sungbo Eo <mans0n@gorani.run>
-
Sungbo Eo authored
.c files do not need to be executable. 644 is enough. Signed-off-by:
Sungbo Eo <mans0n@gorani.run>
-
Sungbo Eo authored
kernel config and dts files do not need to be executable. 644 is enough. Signed-off-by:
Sungbo Eo <mans0n@gorani.run>
-
DENG Qingfang authored
Fixed CVEs: CVE-2017-16808 CVE-2018-10103 CVE-2018-10105 CVE-2018-14461 CVE-2018-14462 CVE-2018-14463 CVE-2018-14464 CVE-2018-14465 CVE-2018-14466 CVE-2018-14467 CVE-2018-14468 CVE-2018-14469 CVE-2018-14470 CVE-2018-14879 CVE-2018-14880 CVE-2018-14881 CVE-2018-14882 CVE-2018-16227 CVE-2018-16228 CVE-2018-16229 CVE-2018-16230 CVE-2018-16300 CVE-2018-16301 CVE-2018-16451 CVE-2018-16452 CVE-2019-15166 CVE-2019-15167 Signed-off-by:
DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
-
DENG Qingfang authored
Fixed CVEs: CVE-2018-16301 CVE-2019-15161 CVE-2019-15162 CVE-2019-15163 CVE-2019-15164 CVE-2019-15165 Signed-off-by:
DENG Qingfang <dengqf6@mail2.sysu.edu.cn>
-
Hauke Mehrtens authored
This refreshes the kernel 4.19 configuration, it looks like this was not done initially. When did a compile with the default settings I had to select some kernel configuration options. Fixes: 98684d99 ("mvebu: add kernel 4.19 support") Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
Hauke Mehrtens authored
The kernel 4.19 configuration contains the GCC version used, set it to 8.3.0 as this is now our default compiler. Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
Hauke Mehrtens authored
Add missing dependencies to i2c-core and regmap-spi. These get activated when these modules are build in this driver, which is the case when we build all modules. This fixes the build on some targets. This was found by the buildbot. Fixes: 34e2526f ("kernel: add kmod-rtc-pcf2127") Signed-off-by:
Hauke Mehrtens <hauke@hauke-m.de>
-
- Oct 11, 2019
-
-
Moritz Warning authored
DEVICE_TITLE is split up into DEVICE_VENDOR, DEVICE_MODEL and DEVICE_VARIANT Signed-off-by:
Moritz Warning <moritzwarning@web.de>
-
Moritz Warning authored
DEVICE_TITLE is split up into DEVICE_VENDOR, DEVICE_MODEL and DEVICE_VARIANT Signed-off-by:
Moritz Warning <moritzwarning@web.de>
-
Petr Štetiar authored
Current hash doesn't match with the content of the source tarball. Fixes: a92f74ba ("libnl-tiny: move source code into separate Git repository") Reported-by:
Rosen Penev <rosenp@gmail.com> Signed-off-by:
Petr Štetiar <ynezz@true.cz>
-
Felix Fietkau authored
The hidden symbol GCC_USE_IREMAP was breaking it, move it to Config.version instead Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
- Oct 10, 2019
-
-
Felix Fietkau authored
71c2ef0420b5 mt76: fix aggregation stop issue 5b02a078d4a7 mt76: add missing locking around ampdu action 7d8764d320cf mt76: avoid enabling interrupt if NAPI poll is still pending d94cc81d3980 mt76: drop rcu read lock in mt76_rx_aggr_stop c11a4ad06d9d mt76: mt76x0: eeprom: add support for MAC address from OF 01642d8bed33 mt76: mt76x02: fix use-after-free in tx status code handling airtime 391e1488f885 mt76: add sanity check for a-mpdu rx wcid index d3a589586d1b mt76: fix a-mpdu boundary detection issue for airtime reporting Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
Hans Dedecker authored
0d004db Revert "pppd: Include time.h before using time_t" e400854 pppdump: Eliminate printf format warning by using %zd 7f2f0de pppd: Refactor setjmp/longjmp with pipe pair in event wait loop 4e71317 make: Avoid using host include for cross-compiling 3202f89 pppoe: Remove the use of cdefs d8e8d7a pppd: Remove unused rcsid variables 486f854 pppd: Fix GLIBC version test for non-glibc toolchains b6cd558 pppd: Include time.h before using time_t ef8ec11 radius: Fix compiler warning f6330ec magic: Remove K&R style of arguments 347904e Add Submitting-patches.md Remove patches 130-no_cdefs_h.patch, 131-missing_prototype_macro.patch, 132-fix_linux_includes.patch as fixed upstream Refresh patches Signed-off-by:
Hans Dedecker <dedeckeh@gmail.com>
-
Felix Fietkau authored
Signed-off-by:
Felix Fietkau <nbd@nbd.name>
-
- Oct 09, 2019
-
-
Stefan Lippers-Hollmann authored
In non-ETSI regulatory domains scan is blocked when operating channel is a DFS channel. For ETSI, however, once DFS channel is marked as available after the CAC, this channel will remain available (for some time) even after leaving this channel. Therefore a scan can be done without any impact on the availability of the DFS channel as no new CAC is required after the scan. Enable scan in mac80211 in these cases. Signed-off-by:
Aaron Komisar <aaron.komisar@tandemg.com> Link: https://lore.kernel.org/r/1570024728-17284-1-git-send-email-aaron.komisar@tandemg.com Signed-off-by:
Johannes Berg <johannes.berg@intel.com> Signed-off-by:
Stefan Lippers-Hollmann <s.l-h@gmx.de>
-
Klaus Kudielka authored
The factory uboot of the Turris Omnia boots with "root=b301", and we instruct new users to sysupgrade from there (e.g. method 1, step 7). Currently, this will fail with "Unable to determine upgrade device". Add a new case to export_bootdevice, which parses the hex argument. Fixes commit 2e5a0b81 ("mvebu: sysupgrade: sdcard: keep user added ...") Signed-off-by:
Klaus Kudielka <klaus.kudielka@gmail.com>
-