aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* kernel: deprecate support for the generic "linux,part-probe" DT bindingRafał Miłecki2018-11-093-8/+19
| | | | | | | | | | | It has been rejected upstream and instead a nice/more generic solution has been implemented. It's possible now to describe partitions format using "compatible" DT string. No OpenWrt target uses "linux,part-probe" anymore, leave it only in case some forks need it. It will be dropped with support for new kernels. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* tools: firmware-utils: mksercommfw build on DarwinKevin Darbyshire-Bryant2018-11-091-2/+21
| | | | | | | | | asm/byteorder.h & hence __cpu_to_be32() doesn't exist on Darwin Shamelessly copy some byte swap functions from oseama.c Acked-by: Koen Vandeputte <koen.vandeputte@ncentric.com> Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
* ramips: use separated mtd patch reverting write_page() removalRafał Miłecki2018-11-092-29/+68
| | | | | | | This helps understanding mtd changes needed to get downstream NAND driver working. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* popt: Add main site back to PKG_SOURCE_URLDaniel Engberg2018-11-091-1/+4
| | | | | | | Main site is back up after weeks of downtime. Add it back as last resort Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* bcm53xx: update pinctrl driverRafał Miłecki2018-11-092-0/+39
| | | | | | It's upstream now with a one trivial fix. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* procd: update to latest git HEADHans Dedecker2018-11-081-4/+4
| | | | | | 20192e4 watchdog: improve seting watchdog timeout and frequency Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* oxnas: remove superseded sysupgrade image checkDaniel Golle2018-11-081-10/+1
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: kd20: correct memory size to 256MBDaniel Golle2018-11-081-2/+2
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* ramips: fix netgear r6120 factory image generationKoen Vandeputte2018-11-082-171/+319
| | | | | | | | | | | | | | | | | | | | | | | as indicated in commit c5bf408ed6bd "(ramips: fix image generation for mt76x8") more rework was needed to fix the other issues. Building on another machine, but using the same arch, showed the application failing again for different reasons. Fix this by completely rewriting the application, fixing following found issues: - buffer overflows, resulting in stack corruption - flaws in memory requirement calculations (too small, too large) - memory leaks - missing bounds checking on string handling - non-reproducable images, by using unitilized memory in checksum calculation - missing error handling, resulting in succes on specific image errors - endianness errors when building on BE machines - various minor build warnings - documentation did not match the code actions (header item locations) - allowing input to be decimal, hex or octal now Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* script: ipkg-build: honour $SOURCE_DATE_EPOCHJo-Philipp Wich2018-11-081-1/+5
| | | | | | | | | | | When the SOURCE_DATE_EPOCH environment variable is set, use it to override the timestamps of .ipk archive contents. This ensures that .ipk archives built in environments without SCM metadata (mainly the SDK) are reproducible between different runs. Ref: https://github.com/openwrt/packages/issues/6954 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* iproute2: update to 4.19.0Hans Dedecker2018-11-085-1671/+9
| | | | | | | | Update to the latest version of iproute2; see https://lwn.net/Articles/769354/ for a full overview of the changes in 4.19. Remove 190-add-cake-to-tc patch as CAKE qdisc is now supported in 4.19.0 Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* mt76: update to the latest version, fix a typoFelix Fietkau2018-11-081-3/+3
| | | | | | 29d9532 mt7603: fix faulty variable initialization in last commit Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to the latest versionFelix Fietkau2018-11-071-3/+3
| | | | | | 417cf49 mt7603: improve recovery from MCU hang Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mac80211: brcmfmac: backport the last accepted 4.21 changesRafał Miłecki2018-11-072-0/+117
| | | | | | It's a typo fix & patch that helps debugging possible WARN-ings. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mac80211: brcmfmac: backport NVRAM loading improvementsRafał Miłecki2018-11-078-8/+611
| | | | | | This adds support for storing board specific NVRAM files as firmware. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mac80211: brcmfmac: backport firmware loading cleanupRafał Miłecki2018-11-073-12/+244
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mac80211: brcmfmac: backport the latest 4.20 changesRafał Miłecki2018-11-074-0/+244
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mac80211: brcmfmac: rename 4.20 backport patchesRafał Miłecki2018-11-074-0/+0
| | | | | | Include kernel version to help tracking changes. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* mt76: update to the latest versionFelix Fietkau2018-11-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 172f081 mt76x0: do not overwrite other MT_BBP(AGC, 8) fields 2ae2046 mt76x0: phy: use mt76_poll_msec in mt76x0_phy_temp_sensor add66a0 mt76x0: init: use mt76x02_mac_shared_key_setup in mt76x0_init_hardware 1f24db9 mt76x2: move wcid_tx_rate conf at bootstrap 097b2bd mt76x0: init: use mt76x02_mac_wcid_setup for wcid configuration d0eb03e mt76x2u: init: remove not useful configuration c7aa8f4 mt76x2u: init: use common routines for wcid/key initialization bd568d9 mt76: move mt76x02_eeprom_copy in mt76x02-lib module 57b441d mt76x0: phy: introduce tssi calibration support a78802c mt76x0: phy: use tssi reported value to configure tx power if available 94ad030 mt76: remove mcu_msg_alloc 15cb426 mt76: remove wait argument from mt76x02_mcu_function_select cd76a83 mt76: remove wait argument from mt76x02_mcu_set_radio_state 9b97e0f mt76x02: run calibration after scanning 663b197 mt76x02: assure we update gain after scan eb53745 mt76x0: dfs: fix IBI_R11 configuration on non-radar channels ef06c30 mt76: avoid queue/status spinlocks while passing tx status to mac80211 5195257 mt7603: fix maximum rx frame size 01815e9 mt7603: use mutex from struct mt76_dev 3c8e8a7 mt7603: use irq_lock/irqmask from struct mt76_dev 8b7f50d mt76: add size check for additional rx fragments 87bad3a mt7603: stop MAC on watchdog reset c34baab mt7603: add missing unlock in case changing the channel fails ac6fc78 mt7603: add debugfs file to trigger watchdog resets d9b5324 mt7603: add SPDX license identifiers 498d716 mt7603: fix checkpatch issues a1afefd mt7603: fix handling of fixed rate packets 5ee0523 mt7603: fix tx status rate reporting for fixed-rate packets Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: add missing DTS frequency limit for the 5 GHz radio on Archer C20iFelix Fietkau2018-11-061-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* valgrind: bump to 4.14.0Koen Vandeputte2018-11-061-2/+2
| | | | | | | | Release notes can be found here: http://www.valgrind.org/docs/manual/dist.news.html Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* ramips: fix image generation for mt76x8Koen Vandeputte2018-11-061-1/+1
| | | | | | | | | | | | | | | | | | | | | Buildbot fails to generate images for targets also generating a Sercomm binary with following error: Opening file: /mnt/ramdisk/koen/firmware/builds/owrt_mt76x8/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-ramips-mt76x8-netgear_r6120-squashfs-factory.img.rootfs.zip Filesize: 3648606 . mksercommfw: malloc.c:2427: sysmalloc: Assertion `(old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)' failed. Makefile:287: recipe for target '/mnt/ramdisk/koen/firmware/builds/owrt_mt76x8/build_dir/target-mipsel_24kc_musl/linux-ramips_mt76x8/tmp/openwrt-ramips-mt76x8-netgear_r6120-squashfs-factory.img' failed Debugging using valgrind shows stack corruption due to a buffer overflow. The author of the generator assumes the filename ends with "root", while it should be "rootfs". Fix this by accounting for the 2 missing characters which solves the build issues. More work is required to cleanup this source, which will be done later on. Reported-by: Hannu Nyman <hannu.nyman@iki.fi> Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* imx6: fix DMA transaction errorsKoen Vandeputte2018-11-063-23/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Following errors were seen in the past on imx6 when using serial: [ 22.617622] imx-uart 2020000.serial: DMA transaction error. [ 22.623228] imx-uart 2020000.serial: DMA transaction error. [ 22.628826] imx-uart 2020000.serial: DMA transaction error. [ 22.648951] imx-uart 2020000.serial: DMA transaction error. [ 22.654558] imx-uart 2020000.serial: DMA transaction error. [ 22.660156] imx-uart 2020000.serial: DMA transaction error. Which is the reason why DMA for the serial ports got disabled in commits: efb362cd93b0 ("imx6: disable dma on uart") 3b4241071dd4 ("imx6: disable UART dma") As indicated on mailinglist discussion, the cause seems to be the usage of very old SDMA firmware which is present in the soc: [ 0.624302] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2 [ 0.624318] imx-sdma 20ec000.sdma: Falling back to user helper [ 64.531607] imx-sdma 20ec000.sdma: external firmware not found, using ROM firmware This patch adds the new firmware binary. (2196 bytes) It is required to embed the binary into the kernel image, as it gets loaded very early in the boot process where the rootfs is not available yet: [ 0.622966] imx-sdma 20ec000.sdma: loaded firmware 3.3 Extended testing shows that the DMA errors are not seen anymore when using this newer firmware version. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* ath9k: fix dynack in IBSS modeKoen Vandeputte2018-11-065-0/+309
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, dynack was only tested upstream using AP/STA mode. Testing it on IBSS, showed that late-ack detection was broken. This is caused due to dynack using Association Request/Response frames for late-ack detection, which IBSS does not use. Also allowing Authentication frames here solves this. A second issue also got fixed, which was also seen AP/STA mode: When a station was added, the estimated value would be exponentially averaged using 0 as a starting point. This means that on larger distances, the ack timeout was still not high enough before synchronizing would run out of late-ack's for estimation. Fix this by using the initial estimated value as a baseline and only start averaging in the following estimation rounds. Test setup: - 2x identical devices: RB912UAG-5HPnD + 19dB sector - IBSS - 2x2 802.11an (ar9340), HT20, long GI - RSSI's -70 / -71 - Real distance: 23910 meter Results (60s iperf runs): Fixed coverage class 54 (up to 24300m): * 21.5 Mbits/sec Dynack: * 28.9 Mbits/sec Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* ar71xx: disable some tiny targets with kernel 4.14Koen Vandeputte2018-11-051-2/+0
| | | | | | | | | | | | | | | | | | | | | The bump to kernel 4.14 caused a massive increase in kernel size. For most targets, switching them to dynamic partitioning allowed to cope with this. On some targets, the kernel partition is located behind the rootfs, which disallows switching to dynamic partitioning as the boot location would be altered, requiring a u-boot change. Also within the tiny section, which disables kernel symbols etc to decrease the image size, the partition size is still too small. Disable these targets for now, fixing image generation: - Buffalo BHR-4GRV2 - Zbtlink ZBT-WE1526 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* kernel: bump 4.14 to 4.14.79Koen Vandeputte2018-11-0540-70/+70
| | | | | | | | | Refreshed all patches. Compile-tested on: ar71xx, cns3xxx, imx6, x86_64 Runtime-tested on: ar71xx, cns3xxx, imx6, x86_64 Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* glibc: update to latest 2.27 commit (BZ#23709,BZ#23822)Hans Dedecker2018-11-051-2/+2
| | | | | | | | d8eee5ef55 x86: Fix Haswell CPU string flags (BZ#23709) 5cd5309d91 i64: fix missing exp2f, log2f and powf symbols in libm.a [BZ #23822] 1759ea197b conform: XFAIL siginfo_t si_band test on sparc64 Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* tools/bison: update to version 3.2Hannu Nyman2018-11-051-2/+2
| | | | | | Update bison to version 3.2 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* ipq40xx: fix NBG6617 LED mappingDavid Bauer2018-11-051-3/+3
| | | | | | | | The NBG6617's LEDs are wrongly identified in the 01_leds boardinit script (board instead of boardname), resulting in referencing non-existent LEDs in UCI. Signed-off-by: David Bauer <mail@david-bauer.net>
* oxnas: add console=ttyS0,115200 argument to bootargsDaniel Golle2018-11-045-4/+15
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: enable image metadata by setting SUPPORTED_DEVICESDaniel Golle2018-11-041-0/+5
| | | | | | | For each board, set the legacy name as well as the new based on the compatible-string from devicetree. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: remove stray kernel config symbolsDaniel Golle2018-11-041-10/+0
| | | | | | CONFIG_CRYPTO_* shouldn't be set by the target Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* oxnas: switch to generic board detectDaniel Golle2018-11-045-85/+33
| | | | | | | remove /lib/oxnas.sh platform-specific board-detection and use generic which is based on device-tree compatible node instead. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* iperf: allow non-ipv6 buildsAlexander Couzens2018-11-032-1/+27
| | | | | | | | Add configure argument --disable-ipv6 when ipv6 is deselected. Add fix-non-ipv6-builds.patch as long there is no new upstream release. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* ramips: fix leds on GL.iNet GL-MT300N-V2Martin Weinelt2018-11-022-1/+2
| | | | | | | The WAN LED now shows the link state. It's color is green, not blue. Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
* curl: noop commit to refer CVEs fixed in 7.62.0Hans Dedecker2018-11-021-1/+0
| | | | | | | | | | | | | When bumping Curl to 7.62.0 in commit 278e4eba09 I did not include the fixed CVEs in the commit message; this commit fixes this. The following CVEs were fixed in 7.62.0 : CVE-2018-16839 CVE-2018-16840 CVE-2018-16842 Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* ipq-wifi: drop custom board-2.binsChristian Lamparter2018-11-014-5/+2
| | | | | | | | | | | | | The BDFs for all boards were upstreamed to the ath10k-firmware repository and linux-firmware.git. We switched to the upstream board-2.bin, hence the files can be removed here. Keep the ipq-wifi package in case new boards are added. It might take some time till board-2.bins send upstream are merged. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* ipq40xx: nbg6617: switch to upstream boardfile variantChristian Lamparter2018-11-011-0/+2
| | | | | | | The NBG6617's boardfile was merged and this device can now switch to the upstream ath10k board-2.bin. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* ath10k-firmware: update board-2.bin for community firmwaresChristian Lamparter2018-11-011-3/+3
| | | | | | | | This patch updates the board-2.bin for the default IPQ4019, QCA9984 and QCA9888 ath10k-firmware-xyz-ct and -ct-htt firmwares. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* ipq40xx: rt-ac58u: replace ubi auto load hackChristian Lamparter2018-11-012-29/+4
| | | | | | | | | | | | This patch replaces the custom autoload quirk of the RT-AC58U with a bootargs-append overwrite. The vendor's u-boot doesn't leave the bootargs / cmdline alone, so the it can't be overwritten in any other way right now... And of course, this will be a lot of fun to deal with once the device switches to the new spi-nand subsystem. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* kernel: Remove dependencies on old kernelsRosen Penev2018-11-016-8/+8
| | | | | | Kernels 4.1 and 4.4 are not part of the tree anymore. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* tools/patch: Add fedora patch for crashing git style patchesRosen Penev2018-11-012-1/+54
| | | | | | | | https://lists.gnu.org/archive/html/bug-patch/2018-10/msg00000.html I assume a CVE number will be assigned soon. Signed-off-by: Rosen Penev <rosenp@gmail.com>
* libconfig: Fix tarball filename (and URL)Daniel Engberg2018-11-011-3/+3
| | | | | | v$(PKG_VERSION).tar.gz is a bad idea and will clash for obvious reasons. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* scripts: update config.guess and config.subHauke Mehrtens2018-11-012-1624/+1649
| | | | | | | | | | | | This updates these two files to commit 2fa97a8a0ed3 ("config.guess (amd64:CYGWIN*:*:*, x86_64:CYGWIN*:*:*): Set master") which is the current master of https://git.savannah.gnu.org/gitweb/?p=config.git;a=summary This contains updates for multiple architectures and will unbreak the build on the x32 ABI. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* build: fix libressl build on x32 (amd64ilp32) hostThorsten Glaser2018-11-011-0/+4
| | | | | | disable use of assembly code since x32 gets misdetected as amd64 Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
* uboot-mxs: bump to v2018.09Michael Heimpold2018-11-014-130/+72
| | | | | | | Also update the U-Boot BSP patch for I2SE Duckbill devices and remove upstreamed patch for LibreSSL support. Signed-off-by: Michael Heimpold <mhei@heimpold.de>
* tools/ccache: update to 3.5Hannu Nyman2018-11-012-3/+3
| | | | | | Update ccache to 3.5 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* mwlwifi: update to version 10.3.8.0-20181029Kabuli Chana2018-11-011-3/+3
| | | | | | compile / test target mvebu / mamba Signed-off-by: Kabuli Chana <newtownBuild@gmail.com>
* kernel: add kmod-usb-serial-mos7840Thomas Fuzeau2018-11-011-0/+15
| | | | | | Enable build of kernel module for mos7840 usb-serial devices. Signed-off-by: Thomas Fuzeau <tfuzeau@loocla.com>
* curl: bump to 7.62.0Hans Dedecker2018-10-312-3/+3
| | | | | | Refresh patches, for changes in version 7.62.0 see https://curl.haxx.se/changes.html#7_62_0 Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>