aboutsummaryrefslogtreecommitdiffstats
path: root/package
Commit message (Collapse)AuthorAgeFilesLines
* umdnsd: update to latest git HEADKevin Darbyshire-Bryant2020-06-081-3/+3
| | | | | | | | d13290b Fix advertised IPv6 addresses Don't just serve link-local addresses via mdns, offer all. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* hostapd: silence rmStijn Tintel2020-06-081-2/+2
| | | | | | | | | | | | When bringing up wifi the first time after boot, these warnings appear: netifd: radio0 (1370): rm: can't remove '/var/run/hostapd-wlan0.psk': No such file or directory netifd: radio0 (1370): rm: can't remove '/var/run/hostapd-wlan0.vlan': No such file or directory Silence them by adding the "-f" option to rm. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: John Crispin <john@phrozen.org>
* bcm27xx-gpu-fw: bump to most recent good versionStijn Tintel2020-06-071-14/+14
| | | | | | | | This updates to the last firmware version before the switch to building from the common firmware branch, which introduces various issues. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: Álvaro Fernández Rojas <noltari@gmail.com>
* Revert "bcm27xx-gpu-fw: update to latest version"Stijn Tintel2020-06-071-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 9e467a764b4e30a04dd0431ea277f6acd26babe0. The Raspberry Pi firmware recently switched to building from the common firmware branch. This introduces changes in the core clock handling, causing various issues. E.g. enable_uart=1 no longer fixes the core clock frequency to 250MHz. When the disable-bt DT overlay is not loaded, the core clock frequency is increased to 400MHz. As a result, the UART baud rate is no longer correct, and this causes garbled serial console, or communication problems with HATs that use the UART. As a workaround, the core clock could be fixed to 250MHz by adding 'core_freq=250' in /boot/config.txt, but as there appear to be other issues than just the UART being broken, the safer bet is to revert the firmware for now. Upstream bug: https://github.com/raspberrypi/firmware/issues/1376 Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: Álvaro Fernández Rojas <noltari@gmail.com>
* netifd: update to latest git HEADHans Dedecker2020-06-061-3/+3
| | | | | | 51e9fb8 system-linux: improve handling of device rename Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* kernel: Add kmod-sch-cake-virtual intermediate packageToke Høiland-Jørgensen2020-06-061-3/+15
| | | | | | | | | | | | As reported in https://github.com/openwrt/packages/issues/12072, the imagebuilder fails due to a dependency resolution error when the userspace packages are built using a target that has a different kernel version than that which is being run. To resolve this, add a virtual kernel package with the conditional dependency currently used in sqm-scripts. The idea is to move the sqm-scripts dependency to this virtual package, which hopefully should be consistent with the actual kernel module being built. Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
* nghttp2: bump to 1.41.0Hans Dedecker2020-06-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8f7b008b Update bash_completion 83086ba9 Update manual pages c3b46625 Merge pull request from GHSA-q5wr-xfw9-q7xr 3eecc2ca Bump version number to v1.41.0, LT revision to 34:0:20 881c060d Update AUTHORS f8da73bd Earlier check for settings flood 336a98fe Implement max settings option ef415836 Revert "Add missing connection error handling" 979e6c53 Merge pull request #1459 from nghttp2/proxyprotov2 b7d16101 Add missing connection error handling cd53bd81 Merge pull request #1460 from gportay/patch-1 e5625b8c Fix doc c663349f integration: Add PROXY protocol v2 tests 854e9fe3 nghttpx: Always call init_forwarded_for c60ea227 Update doc 49cd8e6e nghttpx: Add PROXY-protocol v2 support 3b17a659 Merge pull request #1453 from Leo-Neat/master 600fcdf5 Merge pull request #1455 from xjtian/long_serials 4922bb41 static_cast size parameter in StringRef constructor to size_t aad86975 Fix get_x509_serial for long serial numbers dc7a7df6 Adding CIFuzz b3f85e2d Merge pull request #1444 from nghttp2/fix-recv-window-flow-control-issue ffb49c6c Merge pull request #1435 from geoffhill/master 2ec58551 Fix receiving stream data stall 459df42b Merge pull request #1442 from nghttp2/upgrade-llhttp a4c1fed5 Bump llhttp to 2.0.4 866eadb5 Enable session_create_idle_stream test, fix errors 5e13274b Fix typo e0d7f7de h2load: Allow port in --connect-to df575f96 h2load: add --connect-to option 1fff7379 clang-format-9 b40c6c86 Merge pull request #1418 from vszakats/patch-1 9bc2c75e lib/CMakeLists.txt: Make hard-coded static lib suffix optional 2d5f7659 Bump up version number to 1.41.0-DEV Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* mvebu: rename Linksys devices based on their common namesPaul Spooren2020-06-051-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Linksys devices in mvebu target feature a mixed naming, where parts are based on the official product name (device node, image; e.g. WRT3200ACM) and parts are based on the internal code name (DTS file name, compatible, LED labels; e.g. rango). This inconsistent naming has been perceived as quite confusing. A recent attempt by Paul Spooren to harmonize this naming in kernel has been declined there. However, for us it still makes sense to apply at least a part of these changes locally. Primarily, this patch changes the compatible in DTS and thus the board name used in various scripts to have them in line with the device, model and image names. Due to the recent switch from swconfig to DSA, this allows us to drop SUPPORTED_DEVICES and thus prevent seamless upgrade between these incompatible setups. However, this does not include the LED label rename from Paul's initial patch: I don't think it's worth keeping the enormous diff locally for this case, as we can implement this much easier in 01_leds if we have to live with the inconsistency anyway. Signed-off-by: Paul Spooren <mail@aparcar.org> [rebase, extend to all devices, drop DT LED changes] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* kernel: fix portability issue with perf on linux 5.4Felix Fietkau2020-06-041-0/+3
| | | | | | | Remove dependencies on core kernel headers in host tools used to build perf, which break on any non-linux system Signed-off-by: Felix Fietkau <nbd@nbd.name>
* hostapd: add support for wifi-station and wifi-vlan sectionsJohn Crispin2020-06-042-1/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for 2 new uci sections. config wifi-vlan # iface is optional. if it is not defined the vlan will apply # to all interfaces option iface default_radio0 option name guest option vid 100 option network guest config wifi-station # iface is optional. if it is not defined the station will apply # to all interfaces option iface default_radio0 # mac is optional. if it is not defined it will be a catch all # for any sta using this key option mac '00:11:22:33:44:55' # vid is optional. if it is not defined, the sta will be part of # the primary iface. option vid 100 option key testtest With this patch applied it is possible to use multiple PSKs on a single BSS. Signed-off-by: John Crispin <john@phrozen.org>
* netifd: update to latest HEADJohn Crispin2020-06-041-4/+4
| | | | | | | | | db275e1 interface-ip: fix build on non-linux systems 3392046 system-dummy: fix missing return a56b457 netifd: wireless: add support for tracking wifi-station sections 4ce33ce netifd: wireless: add support for tracking wifi-vlan sections Signed-off-by: John Crispin <john@phrozen.org>
* iwinfo: update to version 2020-06-03Petr Štetiar2020-06-031-3/+3
| | | | | | | | 2faa20e5e9d1 iwinfo: add device id for Mikrotik R11e-5HacD miniPCIe card d577a9d38a3b iwinfo: add device id for Marvell 88W8997 SDIO wifi card f6b7d16d2ffa iwinfo: add device id for Atheros AR9287 PCIe wifi card Signed-off-by: Petr Štetiar <ynezz@true.cz>
* kernel: iio: add drivers for st_lsm6dsx IMU MEMS sensorsTim Harvey2020-06-031-0/+48
| | | | | | | | Add kmod for the ST LSM6DSX IMU driver. Signed-off-by: Tim Harvey <tharvey@gateworks.com> [fixed missing regmap module dependencies] Signed-off-by: Petr Štetiar <ynezz@true.cz>
* kernel: iio: fix st_accel_{i2c, spi} driverTim Harvey2020-06-031-21/+25
| | | | | | | Add missing kernel module and rename driver Fixes: 2d8f4c4fbd46 ("kernel: iio: add st-accel driver modules") Signed-off-by: Tim Harvey <tharvey@gateworks.com>
* wolfssl: use -fomit-frame-pointer to fix asm errorEneas U de Queiroz2020-06-031-2/+2
| | | | | | | | | | | 32-bit x86 fail to compile fast-math feature when compiled with frame pointer, which uses a register used in a couple of inline asm functions. Previous versions of wolfssl had this by default. Keeping an extra register available may increase performance, so it's being restored for all architectures. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
* exfat-utils: move into packages feedRosen Penev2020-06-031-69/+0
| | | | | | | | | | This will be moved to packages: https://github.com/openwrt/packages/pull/12378 Signed-off-by: Rosen Penev <rosenp@gmail.com> [commit subject facelift] Signed-off-by: Petr Štetiar <ynezz@true.cz>
* xfsprogs: move into packages feedRosen Penev2020-06-036-210/+0
| | | | | | | | | Does not seem to be needed here. This will be imported into packages. Ref: https://github.com/openwrt/packages/pull/12256 Signed-off-by: Rosen Penev <rosenp@gmail.com> [subject facelift, PR ref] Signed-off-by: Petr Štetiar <ynezz@true.cz>
* libconfig: move into packages feedRosen Penev2020-06-031-60/+0
| | | | | | | | | No package in base uses libconfig. Everything is in the packages feed. Ref: https://github.com/openwrt/packages/pull/12255 Signed-off-by: Rosen Penev <rosenp@gmail.com> [subject facelift, PR ref] Signed-off-by: Petr Štetiar <ynezz@true.cz>
* kernel: add gpio-it87Florian Eckert2020-06-031-0/+18
| | | | | | | | | | | | | | | Since commit 910df3f06cc902ca2cb0ca8e963e9354c930df1a we have build in on all X86/64 platforms the gpio-it87 driver. Since this change I am getting the following error message on boot. > kern.err kernel: [ 1.009416] gpio_it87: no device I do not have this device on my system. To prevent the nonsensical message and the loading of the module I have added this as a package, so that it can be installed later or during image building. Signed-off-by: Florian Eckert <fe@dev.tdt.de> Reviewed-by: Philip Prindeville <philipp@redfish-solutions.com>
* base-files: prevent issues w/ overlay on powerloss after sysupgradeSergey Ryazanov2020-06-032-1/+3
| | | | | | | | | | | | | | | | Due to filesystem write caching the old configuration data could stay out of flash for a long time during a first boot after the sysupgrade. Power loss during this period could damage the overlay data and even make device inaccessable via the network. Fix this by syncing data to a flash as soon as the previous configuration will be unpacked after the sysupgrade. Also sync the FS state after the sysupgrade.tgz archive removing to prevent duplicative extraction of a previous configuration. Tested with AMD Geode based board. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
* dnsmasq: add /etc/dnsmasq.d/ to conffilesSven Roederer2020-06-031-1/+2
| | | | | | This directory can hold configuration-snippets which should also included in the backup. Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
* uboot-mxs: bump to v2020.04Michael Heimpold2020-06-032-34/+36
| | | | | | Also update the U-Boot BSP patch for I2SE Duckbill devices. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* base-files: fix LED IDE triggerThomas Albers2020-06-031-1/+1
| | | | | | | | | | This changes the ide-disk LED trigger to the generic disk-activity as ide-disk trigger was removed in upstream commit eb25cb9956cc ("leds: convert IDE trigger to common disk trigger"). Signed-off-by: Thomas Albers <thomas.gameiro@googlemail.com> [split into separate commit, commit description facelift] Signed-off-by: Petr Štetiar <ynezz@true.cz>
* uhttpd: fix script timeoutDaniel Golle2020-06-031-3/+3
| | | | | | 939c281 proc: do not cancel script killing after writing headers Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ppp: update to version 2.4.8.git-2020-05-25Hans Dedecker2020-05-3111-170/+20
| | | | | | | | | | | | | | ddd57c2 pppd: Add lcp-echo-adaptive option c319558 pppd: Handle SIGINT and SIGTERM during interrupted syscalls (#148) 0bc11fb Added missing options to manual pages. (#149) b1fcf16 Merge branch 'monotonic-time' of https://github.com/themiron/ppp c78e312 pppd: linux: use monotonic time if possible Remove patch 121-debian_adaptive_lcp_echo as patch is upstream accepted Remove patch 206-compensate_time_change.patch as timewrap issues are solved by a patch making use of monotonic time Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* mt76: update to the latest version (adds 7663e, 7663u, 7915 drivers)Felix Fietkau2020-05-311-10/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7aabfd0c9282 mt7615: add CONFIG_MT76_LEDS to cflags 10a5b7630a37 mt76: mt7615: fix getting maximum tx power from eeprom 8688ed70c987 mt76: mt7615: use module parameter option for offload firmware preference 04798aab1257 net: mt7603: remove duplicate error message 9636177117d8 mt76: mt7615: fix ssid configuration in mt7615_mcu_hw_scan d4ba139d8b8b mt76: mt7615: introduce mt7615_check_offload_capability routine 2cc0d54b65a1 mt76: mt7615: do not mark sched_scan disabled in mt7615_scan_work 5b73be962388 mt76: mt7615: add passive mode for hw scan 96e429e18174 mt76: mt7615: free pci_vector if mt7615_pci_probe fails 8fddbf6390ac mt76: mt7615: introduce support for hardware beacon filter f2c760177bdd mt76: mt7615: introduce mt7615_mcu_set_hif_suspend mcu command db454605106f mt76: mt7615: add WoW support 20b87321c39f mt76: mt7663u: introduce suspend/resume to mt7663u 20db7e73c586 mt76: mt7615: introduce PM support 523716bba561 mt76: mt7615: add gtk rekey offload support 50d377a825cc mt76: mt7615: introduce beacon_loss mcu event 4ef1957cea35 mt76: mt7663: read tx streams from eeprom f25a43cc53e7 mt76: mt7615: check return value of mt7615_eeprom_get_power_index 0a9f71652927 mt76: mt7615: fix ibss mode for mt7663 83f2ba3101b4 mt76: mt7663: fix target power parsing 3e6968593b61 mt76: mt7615: fix delta tx power for mt7663 c1d3ad194ae4 mt76: mt7663: introduce WoW with net detect support 891136ab99da mt76: mt7663: add support to sched scan with randomise addr 82e4d3ebe967 mt76: mt7615: scan all channels if not specified 690b84821cd3 mt76: avoid rx reorder buffer overflow f0117d3107b4 mt76: add support for HE RX rate reporting cc68782bab1a mt76: add Rx stats support for radiotap 3ec47f2fba61 mt76: adjust wcid size to support new 802.11ax generation 0a9f4173dd07 mt76: add HE phy modes and hardware queue c6b002bcdfa6 mt76: add mac80211 driver for MT7915 PCIe-based chipsets b96af5039581 mt76: mt7915: enable Rx HE rate reporting 230054096155 mt76: mt7915: implement HE per-rate tx power support c8f4b6cf1add mt76: mt7915: register per-phy HE capabilities for each interface de1e8af96e19 mt76: mt7915: add HE bss_conf support for interfaces 135a5085932b mt76: mt7915: add HE capabilities support for peers 3b5d908dae2f mt76: mt7915: add Rx radiotap header support 158253e2c11e mt76: mt7915: add .sta_add_debugfs support 7f40e8c2b98d mt76: mt7915: add .sta_statistics support a5368e5cad11 mt76: mt7915: set peer Tx fixed rate through debugfs 4f79c516be5c mt76: mt7915: add tsf related callbacks 509fceb43235 mt76: mt7915: enable firmware module debug support 56405976fc7b mt76: set runtime stream caps by mt76_phy 6bbf1a35c0da linux-firmware: add rebb firmware for mt7663 d7a10094c4e5 mt7663: add client offload firmware 9200732e8534 mt76: mt7663u: copy key pointer in mt7663u_mac_write_txwi 3aa810bde810 mt76: mt7663u: add missing register definitions e236ea5be344 mt76: mt7615: usb: cancel ps work stopping the vif 1d0903de2131 mt76: mt7915: introduce mt7915_get_he_phy_cap 095c72c81c74 mt76: mt7915: add Tx beamformer support 5f9e7664cd26 mt76: mt7915: add Tx beamformee support ac505404c385 mt76: mt7915: add TxBF capabilities 6656bebd39cd mt76: mt7915: add debugfs to track TxBF status 9590db025475 mt76: mt7915: allocate proper size for tlv tags 26eb1ed65987 mt76: mt7915: fix possible deadlock in mt7915_stop f85c1f3fc189 firmware: add mt7915 firmware 9b07251b00b0 mt76: mt7615: fix typo defining ps work 060e375a9244 mt76: fix per-driver wcid range checks after wcid array size bump 7270b56389a9 mt76: mt7615: do not report scan_complete twice to mac80211 8c9e4847d01e mt76: mt7615: reduce hw scan timeout 8bd88a1b1880 mt76: enable p2p support 1ea444d0e8e5 mt76: mt7615: configure bss info adding the interface fa81da5bb4e9 mt76: mt7615: introduce remain_on_channel support 44f2262c0289 mt76: mt76x02: remove check in mt76x02_mcu_msg_send 7005aa891440 mt76: mt7915: add spatial reuse support 1e3dc5b76649 mt76: mt7915: fix some sparse warnings 01b784174cd5 mt76: mt7915: fix sparse warnings: incorrect type initializer 40b7b5354a16 mt76: mt7615: fix NULL pointer deref in mt7615_register_ext_phy 6d731d188d31 mt76: mt7915: fix decoded radiotap HE flags b74d5b1c14cf mt76: mt7915: fix some sparse warnings 6679d35be5cc mt76: mt7615: switch to per-vif power_save support 01e870b44769 mt76: mt7915: fix a handful of spelling mistakes 7b2d16655904 mt76: mt7663: fix the usage WoW with net detect support ed3a244fb647 mt76: mt7915: Fix build error 5396a61cec99 mt76: mt7615: fix hw_scan with ssid_type for specified SSID only 466a5b4d041d mt76: mt7915: fix possible NULL pointer dereference in mt7915_register_ext_phy 984a172609c0 mt76: fix wcid allocation issues 6e02acddcb1a mt76: mt7615: add support for MT7611N 4e6f4e432d0d mt76: only iterate over initialized rx queues 9ad940fee593 mt76: mt7615: Use kmemdup in mt7615_queue_key_update() 85c516081338 mt76: mt7915: remove set but not used variable 'msta' Signed-off-by: Felix Fietkau <nbd@nbd.name>
* dropbear: add ed25519 and chacha20-poly1305Vladislav Grishenko2020-05-305-3/+3613
| | | | | | | | | | | | - add Ed25519 support (backport): * DROPBEAR_ED25519 option for ssh-ed25519, * disabled by default - add Chacha20-Poly1305 support (backport): * DROPBEAR_CHACHA20POLY1305 for chacha20-poly1305@openssh.com, * enabled by default - update feature costs in binary size Signed-off-by: Vladislav Grishenko <themiron@mail.ru>
* mac80211: fix wifi teardownJohn Crispin2020-05-301-4/+6
| | | | | | reverts part of the recent wifi reconf patch. Signed-off-by: John Crispin <john@phrozen.org>
* mac80211: rt2x00: backport patch enabling MFPDaniel Golle2020-05-301-0/+44
| | | | | | | | | | | | From: Rui Salvaterra <rsalvaterra@gmail.com> Date: Mon, 25 May 2020 14:49:07 +0100 Subject: [PATCH] rt2800: enable MFP support unconditionally This gives us WPA3 support out of the box without having to manually disable hardware crypto. The driver will fall back to software crypto if the connection requires management frame protection. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ugps: nmea: make sure date is validDaniel Golle2020-05-291-3/+3
| | | | | | | | | | | GPS time without date was previously used to set system date: Tue Oct 10 11:48:21 2000 user.info kernel: [ 108.786639] ugps: system time differs from GPS time by more than 5 seconds. Using 2000-10-10T10:48:21 UTC as the new time Tue Oct 10 11:49:27 2000 user.info kernel: [ 174.794699] ugps: system time differs from GPS time by more than 5 seconds. Using 2020-05-26T10:49:27 UTC as the new time Fix this by ignoring incomplete dates and wait for complete time information before adjusting system date/time. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* qos-scripts: fix interface resolvingJo-Philipp Wich2020-05-292-8/+14
| | | | | | | | Also ensure that the error message is actually printed to stderr and that the rule generation is aborted if an interface cannot be resolved. Ref: https://github.com/openwrt/luci/issues/3975 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* bcm27xx-userland: update to latest versionÁlvaro Fernández Rojas2020-05-282-2/+79
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* procd: update to git HEADDaniel Golle2020-05-281-3/+3
| | | | | | | b84a329 jail: use sane termios settings for console pts b9b39e2 jail: handle containers seperately Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* hostapd: Add disable_vht when using NOHT/HT* modesEnrique Rodríguez Valencia2020-05-281-1/+2
| | | | | | disable_vht parameter needs to be set when using wpa_supplicant NOHT/HT* modes. Signed-off-by: Enrique Rodríguez Valencia <enrique.rodriguez@galgus.net>
* mac80211: Fix setting radio htmode when using mesh modeEnrique Rodríguez Valencia2020-05-281-0/+1
| | | | | | | When configuring the radio in legacy mode from luci, the htmode is not set correctly to NOHT, causing the radio in mesh mode to be set to HT40. Signed-off-by: Enrique Rodríguez Valencia <enrique.rodriguez@galgus.net>
* broadcom-wl: don't inherit lock descriptor in nas processJo-Philipp Wich2020-05-282-2/+5
| | | | | | | | | | | Add a local hack to prevent the Broadcom WPA authenticator process from inheriting the lock descriptor 1000 used to prevent concurrent executions of the init script. Without this fix, repeated invocations of /etc/init.d/network, e.g. for obtaining the enabled state, would hang forever. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* bcm27xx-userland: update to latest version with 64 bit supportÁlvaro Fernández Rojas2020-05-281-2/+2
| | | | | | | | Support for 64 bits has been remove on latest master of raspberry/firmware. Update to latest commit with 64 bit support since we don't support installing 32 bit packages on 64 bit targets. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* packages/utils: fbtest fix MakefileThibaut VARÈNE2020-05-281-1/+1
| | | | | | | | | The clean target tries to remove what looks like a bogus 'rbcfg', probably carried over copy-pasta. Remove the name of the generated executable ('fbtest') instead. Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org> Fixes: 8099f4e0d3af ("fbtest utility ")
* package/base-files: caldata: work around dd's limitationThibaut VARÈNE2020-05-282-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tl;dr: dd will silently truncate the output if reading from special files (e.g. sysfs attributes) with a too large bs parameter. This problem was exposed on some RouterBOARD ipq40xx devices which use a caldata payload which is larger than PAGE_SIZE, contrary to all other currently supported RouterBOARD devices: the caldata would fail to properly load with the current scripts. Background: dd doesn't seem to correctly handle read() results that return less than requested data. sysfs attributes have a kernel exchange buffer which is at most PAGE_SIZE big, so only 1 page can be read() at a time. In this case, if bs is larger than PAGE_SIZE, dd will silently truncate blocks to PAGE_SIZE. With the current scripts using bs=<size> count=1, the data is truncated to PAGE_SIZE as soon as the requested <size> exceeds this value. This commit works around this problem by using `cat` in the caldata routines that can read from a file (routines that read from mtd devices are untouched). cat correctly handles partial read requests. The output is then piped to dd with the same parameters as before, to ensure that the resulting file remains exactly the same. This is a simple workaround, the downside is that it uses a pipe and one more executable, and therefore has a larger memory footprint and is slower. This is deemed acceptable considering these routines are only used at boot time. Tested-by: Robert Marko <robimarko@gmail.com> Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
* packages/boot: remove rbcfgThibaut VARÈNE2020-05-286-1349/+0
| | | | | | | The new sysfs soft_config driver makes buggy rbcfg obsolete and entirely replaces it. Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
* cypress-firmware: add PROVIDES sectionsÁlvaro Fernández Rojas2020-05-281-0/+4
| | | | | | Some firmwares are already provided by linux-firmware. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bcm27xx-gpu-fw: update to latest versionÁlvaro Fernández Rojas2020-05-281-15/+15
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* rpcd: update to latest Git HEADJo-Philipp Wich2020-05-261-4/+4
| | | | | | | 078bb57 uci: reset uci_ptr flags when merging options during section add 3df62bc session: deny access if password login is disabled Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* uboot-envtools: ath79: add Netgear WNDR4300SWStijn Segers2020-05-261-1/+2
| | | | | | Add Netgear WNDR4300SW to the list of supported boards. Signed-off-by: Stijn Segers <foss@volatilesystems.org>
* libubox: update to the latest versionFelix Fietkau2020-05-261-3/+3
| | | | | | | | | | 86818eaa976b blob: make blob_parse_untrusted more permissive cf2e8eb485ab tests: add fuzzer seed file for crash in blob_len c2fc622b771f blobmsg: fix length in blobmsg_check_array 639c29d19717 blobmsg: simplify and fix name length checks in blobmsg_check_name 66195aee5042 blobmsg: fix missing length checks Signed-off-by: Felix Fietkau <nbd@nbd.name>
* libubox: update to the latest masterRafał Miłecki2020-05-241-3/+3
| | | | | | | | | | 5e75160 blobmsg: fix attrs iteration in the blobmsg_check_array_len() eeddf22 tests: runqueue: try to fix race on GitLab CI 89fb613 libubox: runqueue: fix use-after-free bug 1db3e7d libubox: runqueue fix comment in header 7c4ef0d tests: list: add test case for list_empty iterator Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ucert: update to latest git HEADMatthias Schiffer2020-05-241-3/+3
| | | | | | | | | | | | | | | | | | | | 00b921d80ac0 Do not print line number in debug messages 96c42c5ed320 Fix length checks in cert_load() fe06b4b836b3 usign-exec: improve usign -F output handling 19f9e1917e1b usign-exec: return code fixes 077feb5b5824 usign-exec: close writing end of pipe early in parent process 7ec4bb764e1e usign-exec: remove redundant return statements 5a738e549d31 usign-exec: change usign_f_* fingerprint argument to char[17] 112488bbbccc usign-exec: do not close stdin and stderr before exec 38dcb1a6f121 usign-exec: fix exec error handling a9be4fb17df2 usign-exec: simplify usign execv calls 854d93e2326a Introduce read_file() helper, improve error reporting afc86f352bf7 Fix return code of write_file() fdff10852326 stdout/stderr improvements dddb2aa8124d ci: fix unit test failures by enabling full ucert build 5f206bcfe5c2 ci: enable unit testing Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* usign: update to latest git HEADMatthias Schiffer2020-05-231-3/+3
| | | | | | f1f65026a941 Always pad fingerprints to 16 characters Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* hostapd: add WEP as queryable build featureDavid Bauer2020-05-221-0/+4
| | | | | | | | | | | Commit 472fd98c5b12 ("hostapd: disable support for Wired Equivalent Privacy by default") made support for WEP optional. Expose the WEP support to LuCi or other userspace tools using the existing interface. This way they are able to remove WEP from the available ciphers if hostapd is built without WEP support. Signed-off-by: David Bauer <mail@david-bauer.net>
* mac80211: Fix build on mpc85xx targetHauke Mehrtens2020-05-212-1/+32
| | | | | | | | | | | | | | | | | | | | | | | | | This fixes the following compile error seen on the mpc85xx target: CC [M] /linux-mpc85xx_p2020/backports-5.7-rc3-1/drivers/net/wireless/intersil/orinoco/main.o In file included from /builder/shared-workdir/build/staging_dir/toolchain-powerpc_8540_gcc-8.4.0_musl/include/stddef.h:17, from /linux-mpc85xx_p2020/backports-5.7-rc3-1/include/uapi/linux/wireless.h:77, from /linux-mpc85xx_p2020/backports-5.7-rc3-1/include/linux/wireless.h:13, from /linux-mpc85xx_p2020/backports-5.7-rc3-1/drivers/net/wireless/intersil/orinoco/main.c:89: /builder/shared-workdir/build/staging_dir/toolchain-powerpc_8540_gcc-8.4.0_musl/include/bits/alltypes.h:106:15: error: conflicting types for 'ptrdiff_t' typedef _Addr ptrdiff_t; ^~~~~~~~~ In file included from /linux-mpc85xx_p2020/backports-5.7-rc3-1/backport-include/linux/types.h:4, from ./include/linux/list.h:5, from /linux-mpc85xx_p2020/backports-5.7-rc3-1/backport-include/linux/list.h:3, from ./include/linux/module.h:9, from /linux-mpc85xx_p2020/backports-5.7-rc3-1/backport-include/linux/module.h:3, from /linux-mpc85xx_p2020/backports-5.7-rc3-1/drivers/net/wireless/intersil/orinoco/main.c:79: ./include/linux/types.h:65:28: note: previous declaration of 'ptrdiff_t' was here typedef __kernel_ptrdiff_t ptrdiff_t; ^~~~~~~~~ scripts/Makefile.build:265: recipe for target '/linux-mpc85xx_p2020/backports-5.7-rc3-1/drivers/net/wireless/intersil/orinoco/main.o' failed Fixes: 289c6324259e ("mac80211: Update to version 5.7-rc3-1") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>