Yousong Zhou [Fri, 4 May 2018 08:47:28 +0000 (16:47 +0800)]
flock: enable alternatives support
Fixes FS#1510
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Yousong Zhou [Fri, 4 May 2018 08:43:12 +0000 (16:43 +0800)]
busybox: order alternatives in alphabetical order
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Kevin Darbyshire-Bryant [Sun, 6 May 2018 18:13:24 +0000 (18:13 +0000)]
cake: bump to
20180504 bake
The sender domain has a DMARC Reject/Quarantine policy which disallows
sending mailing list messages using the original "From" header.
To mitigate this problem, the original message has been wrapped
automatically by the mailing list software.
Cake is bearing fruits of kernel upstreaming efforts.
diffserv-llt dropped. DSCP mapping paper died and no one using it.
ack-filter re-written & simplified
tc userspace & cake kmod netlink interface usage changed in non
backwards compatible way, thus this once requires tc & cake to be
in-step. Change due to upstream requirements.
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Kevin Darbyshire-Bryant [Sun, 6 May 2018 18:12:48 +0000 (18:12 +0000)]
iproute2: import latest cake
The sender domain has a DMARC Reject/Quarantine policy which disallows
sending mailing list messages using the original "From" header.
To mitigate this problem, the original message has been wrapped
automatically by the mailing list software.
Bearing fruits of the latest upstreaming efforts on cake.
Changes: diffserv-llt dropped. The paper describing this DSCP
allocation has gone stale and doesn't appear used.
The userspace to kernel netlink messages for cake have been reworked in
a backwards incompatible way, so tc & cake must be bumped together this
once.
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Kevin Darbyshire-Bryant [Sun, 6 May 2018 14:20:01 +0000 (14:20 +0000)]
iproute2: backport json_print-fix-hidden-64-bit-type-promotion
The sender domain has a DMARC Reject/Quarantine policy which disallows
sending mailing list messages using the original "From" header.
To mitigate this problem, the original message has been wrapped
automatically by the mailing list software.
print_uint() will silently promote its variable type to uint64_t, but there
is nothing that ensures that the format string specifier passed along with
it fits (and the function name suggest to pass "%u").
Fix this by changing print_uint() to use a native 'unsigned int' type, and
introduce a separate print_u64() function for printing 64-bit values. All
call sites that were actually printing 64-bit values using print_uint() are
converted to use print_u64() instead.
Since print_int() was already using native int types, just add a
print_s64() to match, but don't convert any call sites.
Fixes wonkyness in some stats from some qdiscs under tc
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
John Crispin [Sun, 6 May 2018 08:20:11 +0000 (10:20 +0200)]
ath79: add new OF only target for QCA MIPS silicon
This target aims to replace ar71xx mid-term. The big part that is still
missing is making the MMIO/AHB wifi work using OF. NAND and mikrotik
subtargets will follow.
Signed-off-by: John Crispin <john@phrozen.org>
John Crispin [Sun, 6 May 2018 08:15:48 +0000 (10:15 +0200)]
kernel: add OF support to rtl8355 driver
Signed-off-by: John Crispin <john@phrozen.org>
Rafał Miłecki [Mon, 7 May 2018 05:48:39 +0000 (07:48 +0200)]
bcm53xx: switch to the new/alternative SPI controller driver
This switches bcm53xx from spi-bcm53xx to the spi-bcm-qspi driver. The
later one was developed by Broadcom and is more advanced one. It
supports more modes, setting a speed, setting bits per word and uses
IRQs instead of polling.
This increases kernel size from
1808120 B to the
1811160 B (by 3040 B).
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Yousong Zhou [Mon, 7 May 2018 03:50:45 +0000 (11:50 +0800)]
toolchain: gccgo: fix building gccgo compiler
Fixes FS#1498. "gccgo -static" can fail for missing linker flag
-lgcc_eh caused by patch 850-use_shared_libgcc.patch
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Philip Prindeville [Tue, 10 Apr 2018 22:57:06 +0000 (16:57 -0600)]
env: only use color diffs on terminals
When sending script/env diff's output to a file or pipeline, you
don't want escape characters for ANSI color sequences fouling the
byte stream.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Jianhui Zhao [Mon, 16 Apr 2018 14:32:50 +0000 (22:32 +0800)]
krnel: The dm9000 module does not need to depend on pci
Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
Christian Schoenebeck [Fri, 20 Apr 2018 17:53:09 +0000 (19:53 +0200)]
ca-certificates: Update to Version
20180409
ca-certificates: Update to Version
20180409
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
Chuanhong Guo [Fri, 20 Apr 2018 16:24:04 +0000 (00:24 +0800)]
kernel: Remove AutoLoad for legacy usb gadget modules
These modules usually require some special arguments to customize the
emulated device and they should be loaded manually by users.
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
John Crispin [Sat, 5 May 2018 06:25:18 +0000 (08:25 +0200)]
ramips: disable spi full duplex on mt7621
Signed-off-by: John Crispin <john@phrozen.org>
Daniel Engberg [Tue, 1 May 2018 19:52:48 +0000 (21:52 +0200)]
tools/cmake: Update to 3.11.1
Update cmake to 3.11.1
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Daniel Engberg [Tue, 1 May 2018 10:45:54 +0000 (12:45 +0200)]
tools/xz: Update to 5.2.4
Update to 5.2.4
Remove FreeBSD fix as it's not needed
Disable docs
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Daniel Engberg [Tue, 1 May 2018 10:54:28 +0000 (12:54 +0200)]
tools/mm-macros: Update to 0.9.12
Update mm-macros to 0.9.12
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Daniel Engberg [Tue, 1 May 2018 11:00:13 +0000 (13:00 +0200)]
tools/sed: Update to 4.5
Update sed to 4.5
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Linus Walleij [Wed, 2 May 2018 16:39:35 +0000 (18:39 +0200)]
gemini: Add ethernet to DNS-313 and Wiliboard
This adds an interrim patch for v4.14 based on an
upstream commit to get ethernet working on D-Link DNS-313
(probably also on the Wiliboards)
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Roman Yeryomin [Fri, 4 May 2018 15:18:51 +0000 (18:18 +0300)]
gemini: fix hard disk boot on D-Link devices
Since the D-Link devices boot from hard disk we need to
add the following changes to Gemini:
- Supply a bootarg in the device tree so we can boot from
the right partition (/dev/sda4 on DNS-313)
- Disable forced command line in config so the kernel picks
up the right bootargs from the device tree
- Enable EXT4 in the config as this is used for rootfs else
we get nowhere, we cannot load this as a module because,
well, it is supposed to be loaded from the root partition
(chicken and egg problem).
- Enable jbd2 and mbcache (needed by ext4)
Also clean out the premature attempts to dynamically
modify the command line in the Image makefile: we should
pass this with the device tree bootargs instead, it works
much better.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Roman Yeryomin [Tue, 1 May 2018 18:33:17 +0000 (21:33 +0300)]
gemini: add rtl8366rb to dir-685 board
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Roman Yeryomin [Tue, 1 May 2018 18:23:56 +0000 (21:23 +0300)]
gemini: cleanup kernel config
Disable video and input drivers - they are needed only for one
board and can be enabled via modules if/when UI will be available.
Use LED drivers from packages.
Cleanup other things unnecessarily overriding defaults.
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Roman Yeryomin [Sun, 29 Apr 2018 16:13:31 +0000 (19:13 +0300)]
gemini: remove 4.4 support
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Roman Yeryomin [Sun, 29 Apr 2018 16:07:05 +0000 (19:07 +0300)]
gemini: switch to 4.14
This introduces Device/ infrastructure and images
for all boards available upstream.
Changes from Linus submitted version:
- fix Raidsonic image generation
- remove redundant (old) image generation
- remove redundant header tool for dns313 board
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Linus Walleij [Wed, 4 Apr 2018 20:15:29 +0000 (22:15 +0200)]
firmware-utils: add DNS-313 image header tool
This tool is used to create headers on images for the
D-Link DNS-313 in gemini target.
Will be used after switching gemini to 4.14 kernel.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Roman Yeryomin [Sun, 29 Apr 2018 14:38:07 +0000 (17:38 +0300)]
gemini: add 4.14 support
This adds the patches to get fairly complete Gemini support
using kernel v4.14. It is mainly a backport of patches from
kernel v4.16 with omissions of things like graphics that require
substantial changes and will be better handled once we move
to the v4.16 kernel proper.
On top of this are some WIP patches for USB support.
Tested on Raidsonic NAS4220B and D-link DNS-313.
ChangeLog v4->v5:
- Fix ethernet single gmac usecase
- Fix USB reset (patch from Hans)
- Fix Raidsonic ethernet skew delay
- Fix kernel config (bridge, squashfs, jffs2, usb)
- Disable second usb port on Raidsonic board until fotg210_hcd is fixed
ChangeLog v3->v4:
- Make sure to use tabs rather than spaces in base-files.
- Use the dns313 image tool from the firmware-utils.
- Break out the addition of the v4.14 patches and the removal
of the v4.4 patches to separate (big) patches.
ChangeLog v2->v3:
- Update the kernel config as indicated by Hauke Martens:
- Regenerate again after rebasing using kernel_oldconfig
dropping a few optimization settings that are now generic
- Drop CFG80211 stuff (module)
- Drop CIFS stuff (module)
- Drop MAC80211 (module)
- Drop wireless drivers (module)
- Enabled OverlayFS
- Added proper DNS-313 boot image generation with the special
file header tool.
- Disable CMA in the kernel
- Enable LZMA compression of the kernel
- Consequently name the nas4220b images nas4220b
- Update preinit MAC detection script to handle also DNS-313
- Add board.d/03_hdparm to set the disk to spin down after
1 minute by default, if we have the hdparm tool installed
ChangeLog v1->v2:
- Processed config through kernel_oldconfig
- Processed patches through make target/linux/{clean,refresh} V=99
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Roman Yeryomin [Sun, 29 Apr 2018 14:31:42 +0000 (17:31 +0300)]
gemini: rename files directory (preparation for 4.14)
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Sandeep Sheriker Mallikarjun [Fri, 4 May 2018 17:27:52 +0000 (10:27 -0700)]
at91: refreshing kernel configurations.
refreshing kernel configurations for sama5 and legacy subtarget.
Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
Sandeep Sheriker Mallikarjun [Fri, 4 May 2018 17:27:51 +0000 (10:27 -0700)]
at91: Add SAMA5D2 PTC EK board
Add target device as at91-sama5d2_ptc_ek in SAMA5D2 subtarget and
build images for SAMA5D2 PTC Ek board.
Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
Sandeep Sheriker Mallikarjun [Fri, 4 May 2018 17:27:50 +0000 (10:27 -0700)]
at91: reorganize at91 subtargets
reorganizing at91 subtargets based on sama5 soc features and this fix
below problems.
1. able to set neon flags to sama5d2 & sama5d4 subtargets.
2. fix the make clean which removes all the subtargets in bin folder.
3. able to configure kernel specific to subtarget.
4. able to set vfpu4 flags to samad3 subtargets.
Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
Sandeep Sheriker Mallikarjun [Fri, 4 May 2018 17:27:49 +0000 (10:27 -0700)]
uboot-at91: fix DTC command not found.
fixed DTC command not found error while compling uboot-at91. The fix
is to set DTC PATH in uboot-at91 MAKE command.
Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
Sandeep Sheriker Mallikarjun [Fri, 4 May 2018 17:27:48 +0000 (10:27 -0700)]
at91: sdcard image with ext4 rootfs
creating sdcard image with ext4 rootfs only and ignoring creating
other filesystem in sdcard image.
Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
Sandeep Sheriker Mallikarjun [Fri, 4 May 2018 17:27:47 +0000 (10:27 -0700)]
at91: Add SAMA5D27 SOM1 EK board
Add support for SAMA5D27 SOM1 with target device as at91-sama5d27_som1_ek
in SAMA5 subtarget and build images for SAMA5D27 SOM1 Ek board.
Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
Sandeep Sheriker Mallikarjun [Fri, 4 May 2018 17:27:45 +0000 (10:27 -0700)]
uboot-at91: fetch uboot src from u-boot-at91 github
fetching uboot src from linux4sam/u-boot-at91 github for all at91
target.
Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
Sandeep Sheriker Mallikarjun [Fri, 4 May 2018 17:27:44 +0000 (10:27 -0700)]
at91: fix sdcard create image
copying at91bootstrap and uboot binaries to sdcard image is done
based on device name instead of dts name and this avoids creating
multiple u-boot and at91bootstrap binaries.
Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
Sandeep Sheriker Mallikarjun [Fri, 4 May 2018 17:27:43 +0000 (10:27 -0700)]
at91bootstrap:update to v3.8.10
updating to new version v3.8.10 and copying at91bootstrap.bin to bin folder.
Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
Felix Fietkau [Thu, 3 May 2018 10:38:20 +0000 (12:38 +0200)]
hostapd: fix a mesh mode crash with CONFIG_TAXONOMY enabled
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Mon, 30 Apr 2018 12:03:28 +0000 (14:03 +0200)]
kernel: add missing in6_dev_put_clear call to an ipv6 network patch
Fixes "unregister_netdevice: waiting for lo to become free. Usage count = 1" messages
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Rosy Song [Wed, 2 May 2018 02:48:36 +0000 (10:48 +0800)]
samba36: add hotplug support
Add hotplug handle script for storage devices,
this will add corresponding option in the
/etc/config/samba file automatically.
Signed-off-by: Rosy Song <rosysong@rosinson.com>
Rosen Penev [Tue, 1 May 2018 21:13:56 +0000 (14:13 -0700)]
libusb: Add SourceForge mirror.
SourceForge is still getting updated so might as well have it here.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Hans Dedecker [Tue, 1 May 2018 20:00:25 +0000 (22:00 +0200)]
iproute2: update to 4.16
Update to latest version of iproute2, refresh patches.
See https://lkml.org/lkml/2018/4/2/349 for a full overview of the
changes in 4.16.
Build and tested on AR7xxx against musl
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Rosen Penev [Tue, 1 May 2018 19:59:05 +0000 (12:59 -0700)]
uboot-envtools: Change download to git.
Currently, the build system uses an openwrt mirror which does not currently
work and FTP can be unreliable under several circumstances. This change
implicitly allows using all the mirrors to download.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Daniel Golle [Sat, 28 Apr 2018 18:55:51 +0000 (20:55 +0200)]
wolfssl: fix options and add support for wpa_supplicant features
Some options' default values have been changed upstream, others were
accidentally inverted (CONFIG_WOLFSSL_HAS_DES3). Also add options
needed to build hostapd/wpa_supplicant against wolfssl.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Rosen Penev [Mon, 30 Apr 2018 20:15:54 +0000 (13:15 -0700)]
sysctl: Protect hard/symlinks by default.
There is no usecase for not protecting symlinks that I know of in OpenWrt.
Not even on desktop systems where you have multiple users with a shell.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
John Crispin [Tue, 1 May 2018 09:11:16 +0000 (11:11 +0200)]
ustream-ssl: update to latest git HEAD
527e700 ustream-ssl: Remove RC4 from ciphersuite in server mode.
39a6ce2 ustream-ssl: Enable ECDHE with OpenSSL.
45ac930 remove polarssl support
Signed-off-by: John Crispin <john@phrozen.org>
John Crispin [Mon, 30 Apr 2018 13:18:57 +0000 (15:18 +0200)]
iptables: fix per object LDFLAGS for aggragate object builds
Without this patch the extra LDFLAGS of objects were selected based on the
name of the extension being built, which breaks for aggregate so builds.
Signed-off-by: John Crispin <john@phrozen.org>
Rosen Penev [Tue, 20 Feb 2018 20:43:01 +0000 (12:43 -0800)]
download.pl: Change OpenWrt mirrors to HTTPS.
These have supported HTTPS for quite a while. I have not seen any obvious breakage.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Rosen Penev [Tue, 20 Feb 2018 20:43:00 +0000 (12:43 -0800)]
download.pl: Change SourceForge address to HTTPS.
SourceForge has supported HTTPS for its downloads for a long time now.
I have not been able to see any failures resulting from this change.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Felix Fietkau [Mon, 30 Apr 2018 08:09:48 +0000 (10:09 +0200)]
mtd-utils: add back macOS compatibility code that was dropped during the update
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Rosen Penev [Fri, 30 Mar 2018 22:18:02 +0000 (15:18 -0700)]
kernel: Restrict dmesg output to root.
In typical OpenWrt setups, there are no other users that have a shell spawned for them by default.
This can be overriden by the kernel.dmesg_output syssctl.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Hauke Mehrtens [Fri, 30 Mar 2018 14:57:52 +0000 (16:57 +0200)]
libnl: Disable debug support
This dereses the size of the libnl pakcage a little bit
old:
857 bin/packages/mips_24kc/base/libnl_3.4.0-1_mips_24kc.ipk
41195 bin/packages/mips_24kc/base/libnl-core_3.4.0-1_mips_24kc.ipk
7818 bin/packages/mips_24kc/base/libnl-genl_3.4.0-1_mips_24kc.ipk
24322 bin/packages/mips_24kc/base/libnl-nf_3.4.0-1_mips_24kc.ipk
136075 bin/packages/mips_24kc/base/libnl-route_3.4.0-1_mips_24kc.ipk\ 2
new:
852 bin/packages/mips_24kc/base/libnl_3.4.0-1_mips_24kc.ipk
35020 bin/packages/mips_24kc/base/libnl-core_3.4.0-1_mips_24kc.ipk
7615 bin/packages/mips_24kc/base/libnl-genl_3.4.0-1_mips_24kc.ipk
24114 bin/packages/mips_24kc/base/libnl-nf_3.4.0-1_mips_24kc.ipk
131134 bin/packages/mips_24kc/base/libnl-route_3.4.0-1_mips_24kc.ipk
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Sandeep Sheriker Mallikarjun [Mon, 2 Apr 2018 16:34:10 +0000 (09:34 -0700)]
at91: sama5: remove neon and VFPv4 support
sama5d2 & samad4 have neon feature and sama5d3 does not have neon
feature due to which sama5d3 boot fails with error message Kernel
panic - not syncing: Attempted to kill init! exitcode=0x00000004.
removing neon & VFPv4 support to fix this
Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
Sandeep Sheriker Mallikarjun [Mon, 2 Apr 2018 16:34:07 +0000 (09:34 -0700)]
at91: fix build error for wb50n.
when external kernel is selected from menuconfig, device wb50n is not
avaliable and build fails. As a fix adding checks for external kernel.
Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>
Rosen Penev [Sat, 28 Apr 2018 05:13:46 +0000 (22:13 -0700)]
libusb: Update to 1.0.22
Switched download from SourceForge to GitHub. It seems the author migrated to that.
Also fixed the website URL as the SourceForge link is dead.
Compile tested on ar71xx and mvebu. Small size decrease on ar71xx: 30444 vs. 30099 bytes.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Simon Paterson [Sun, 29 Apr 2018 23:05:42 +0000 (11:05 +1200)]
ar71xx: Add userspace support for Mikrotik rb-2011iLS
Kernel support already present.
Patch adds userspace for the 'iLS' suffix model of the RB2011 family.
Enables correct initial switch settings, sysupgrade, etc.
https://mikrotik.com/product/RB2011iLS-IN
Signed-off-by: Simon Paterson <simon.paterson.nz@gmail.com>
Koen Vandeputte [Thu, 26 Apr 2018 16:20:36 +0000 (18:20 +0200)]
kernel: bump 4.14 to 4.14.37
Refreshed all patches
Compile-tested on: cns3xxx, imx6, octeon, ramips/mt7621, x86/64
Runtime-tested on: cns3xxx, imx6, octeon, ramips/mt7621, x86/64
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Tested-by: Stijn Segers <foss@volatilesystems.org>
[add extra tested targets to commit msg]
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
Hans Dedecker [Sun, 29 Apr 2018 21:07:39 +0000 (23:07 +0200)]
odhcp6c: update to latest git HEAD
5316d7f ra: always trigger update in case of RA parameter change
327f73d dhcpv6: fix strncpy bounds
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Daniel Engberg [Mon, 16 Apr 2018 23:15:30 +0000 (01:15 +0200)]
toolchain/binutils: Use xz tarballs where possible
Switch to xz for 2.29.1 and 2.30
These tarballs are about 10Mbyte smaller than bz2.
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Johann Neuhauser [Fri, 27 Apr 2018 07:08:07 +0000 (09:08 +0200)]
glibc: switch from git to https
This is needed for working behind a http proxy.
Signed-off-by: Johann Neuhauser <jneuhauser@dh-electronics.de>
Hauke Mehrtens [Sun, 29 Apr 2018 08:12:14 +0000 (10:12 +0200)]
uboot-mvebu: Fix build with libressl 2.7.2
When libressl was linked the libpthread was missing, add it in addition.
Fixes: 2c192b69163f ("tools/libressl: update to version 2.7.2")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 28 Apr 2018 22:40:40 +0000 (00:40 +0200)]
uboot-mxs: Fix build with libressl 2.7.2
When libressl was linked the libpthread was missing, add it in addition.
Also make the mxsimage tool to use the OpenSSL 1.1 API for the recent
libressl version.
Fixes: 2c192b69163f ("tools/libressl: update to version 2.7.2")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 28 Apr 2018 22:39:38 +0000 (00:39 +0200)]
uboot-zynq: Fix build with libressl 2.7.2
When libressl was linked the libpthread was missing, add it in addition.
Fixes: 2c192b69163f ("tools/libressl: update to version 2.7.2")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 28 Apr 2018 16:20:20 +0000 (18:20 +0200)]
tools/make-ext4fs: Fix build on MacOSX
MacOSX does not support "-Wl,-Bstatic" so do not force the static
linking.
We only copy the static libz library into the staging libraries
directories, the linker will anyway only find the static version and
link against that on all systems.
Fixes: 8dcd941d8b9 ("tools/zlib: move zlib build to tools")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Sat, 14 Apr 2018 21:33:41 +0000 (23:33 +0200)]
tools/libressl: update to version 2.7.2
Libressl version 2.7.0 and later implement more of the OpenSSL 1.1 API
and this needs some modifications of the code using it.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Hauke Mehrtens [Fri, 30 Mar 2018 13:32:07 +0000 (15:32 +0200)]
mtd-utils: activate --gc-sections
This reduces the size of the binary a bit:
old:
37556 bin/targets/lantiq/xrx200/packages/nand-utils_2.0.1-1_mips_24kc.ipk
81697 bin/targets/lantiq/xrx200/packages/ubi-utils_2.0.1-1_mips_24kc.ipk
new:
27450 bin/targets/lantiq/xrx200/packages/nand-utils_2.0.1-1_mips_24kc.ipk
71796 bin/targets/lantiq/xrx200/packages/ubi-utils_2.0.1-1_mips_24kc.ipk
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Syrone Wong [Sat, 24 Mar 2018 00:25:43 +0000 (08:25 +0800)]
mtd-utils: update to 2.0.2
010-fix-rpmatch.patch is upstream, removed from our patchset
The file structure is changed, modify patch accordingly
use CONFIGURE_ARGS to disable tests, xattr and lzo
Compile and run tested on mvebu and x86_64
Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Hauke Mehrtens [Sun, 15 Apr 2018 17:25:17 +0000 (19:25 +0200)]
tools/mtd-utils: update to version 2.0.2
This version now uses autotools to configure the build system. They are
also using the newly added zlib package.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Hauke Mehrtens [Sun, 15 Apr 2018 11:01:16 +0000 (13:01 +0200)]
tools/mtd-utils: Mark some lzma functions as static
These functions are not declared in any header file and only used in
same compile unit, mark them as static to remove one gcc warning and
make it easier for the compiler to optimize them out.
This also fixes some style problems to make this patch match the version
in the packages folder.
This is copied from this commit to the mtd-utils we pack into the image:
56d0dd56e9c6efa79 ("mtd-utils: Mark some lzma functions as static")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Hauke Mehrtens [Sun, 15 Apr 2018 17:24:02 +0000 (19:24 +0200)]
tools/zlib: move zlib build to tools
This allows us to link the other tools against our libz and we do not
need the system zlib any more.
Only the static linked library is copied to the staging directory so we
have a statically linked library on all systems and not only on Linux.
This also adds the new dependencies of the packages which are depending
on zlib.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Hans Dedecker [Fri, 27 Apr 2018 19:34:34 +0000 (21:34 +0200)]
netifd: update to latest git HEAD (Coverity fixes)
56ceced interface-ip: remove superfluous iface check in interface_ip_set_enabled()
4f4a8c0 system-linux: fix strncpy bounds
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Mathias Kresin [Thu, 26 Apr 2018 20:25:11 +0000 (22:25 +0200)]
arm64: enable harden branch predictor
Enable the harden branch predictor for arm64 as it is recommend.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Thu, 26 Apr 2018 19:16:12 +0000 (21:16 +0200)]
kernel: add missing config symbols
The harden branch predictor was backported for arm64 with 4.9.92-96.
Fixes: 9aa196e0f260 ("kernel: bump 4.9 to bump 4.9.96")
Signed-off-by: Mathias Kresin <dev@kresin.me>
Felix Fietkau [Wed, 25 Apr 2018 09:52:20 +0000 (11:52 +0200)]
build: add support for git submodules with CONFIG_SRC_TREE_OVERRIDE
Also work around an issue where git would store the modified workdir in
the submodule git config files
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Wed, 25 Apr 2018 09:31:48 +0000 (11:31 +0200)]
scripts/feeds: add support for git feeds with submodules
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Mon, 9 Apr 2018 07:56:04 +0000 (09:56 +0200)]
brcm47xx: remove linux 4.4 support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Mon, 9 Apr 2018 07:55:48 +0000 (09:55 +0200)]
brcm63xx: remove linux 4.4 support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau [Mon, 9 Apr 2018 07:50:23 +0000 (09:50 +0200)]
bcm53xx: drop linux 4.4 and 4.9 support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Christo Nedev [Thu, 26 Apr 2018 16:10:15 +0000 (16:10 +0000)]
brcm2708: Add support for raspberry pi 3 b+.
Signed-off-by: Christo Nedev <christo.nedev@me.com>
Rosen Penev [Fri, 27 Apr 2018 00:11:42 +0000 (17:11 -0700)]
kernel: Fix data corruption on some mips devices.
This is mainly a bug fix for multi-core MIPS systems where L1 caches besides the primary do not get flushed.
The most obvious problem is data corruption on SATA and USB devices where read requests are typically larger than the cacheline size.
This may also fix ar71xx systems that suffer from similar data corruption but I have not tested if it does.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Kevin Darbyshire-Bryant [Sun, 22 Apr 2018 09:19:40 +0000 (09:19 +0000)]
iftop: bump to latest
The sender domain has a DMARC Reject/Quarantine policy which disallows
sending mailing list messages using the original "From" header.
To mitigate this problem, the original message has been wrapped
automatically by the mailing list software.
Choose first running interface, rather than first "up" interface (Redhat #
1403025)
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Matthias Schiffer [Thu, 26 Apr 2018 18:04:48 +0000 (20:04 +0200)]
ar71xx: Ubiquiti Airmax M: add relocate-kernel to invalidate cache
Some Ubiquiti U-boot versions, in particular the "U-Boot 1.1.4.2-s956
(Jun 10 2015 - 10:54:50)" found with AirOS 5.6, do not correctly flush the
caches for the whole kernel address range after decompressing the kernel
image, leading to hard to debug boot failures, depending on kernel version
and configuration.
As a workaround, prepend the relocate-kernels loader, which will invalidate
the caches after moving the kernel to the correct load address.
Reported-by: Andreas Ziegler <dev@andreas-ziegler.de>
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Jo-Philipp Wich [Thu, 26 Apr 2018 14:04:37 +0000 (16:04 +0200)]
scripts: bundle-libraries: fix build on OS X (FS#1493)
This allegedly fixes compilation of the library bundler preload library on
Apple OS X. The resulting executables have not been runtime tested due to a
lack of suitable test hardware.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Daniel Engberg [Tue, 17 Apr 2018 20:23:11 +0000 (22:23 +0200)]
toolchain/binutils: Remove old patches
Remove patches for arc-2016.09
Commit https://github.com/openwrt/openwrt/commit/
8647f4f018e4dee663b65948d75105fae7bb3cdc
made these patches obsolete
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Hans Dedecker [Thu, 26 Apr 2018 08:33:31 +0000 (10:33 +0200)]
toolchain/binutils: completely remove 2.28 support
Commit
15e963915963cda515311531b182b9e0c52f35a0 removed support for
binutils version 2.28 but did not remove it as selectable item
from Binutils Version; let's remove this leftover as well.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Koen Vandeputte [Tue, 24 Apr 2018 14:59:36 +0000 (16:59 +0200)]
kernel: bump 4.14 to 4.14.36
Refreshed all patches.
Compile-tested on: cns3xxx, imx6
Runtime-tested on: cns3xxx, imx6
Fixes for CVEs:
CVE-2018-1108
CVE-2018-1092
CVE-2018-1094
CVE-2018-1095
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Tested-by: Stijn Segers <foss@volatilesystems.org>
Kevin Darbyshire-Bryant [Tue, 24 Apr 2018 12:19:43 +0000 (12:19 +0000)]
kernel: bump 4.9 to 4.9.96
Refresh patches, following required reworking:
ar71xx/patches-4.9/930-chipidea-pullup.patch
layerscape/patches-4.9/302-dts-support-layercape.patch
sunxi/patches-4.9/0052-stmmac-form-4-12.patch
Fixes for CVEs:
CVE-2018-1108
CVE-2018-1092
Tested on: ar71xx Archer C7 v2
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Tested-by: Arjen de Korte <build+openwrt@de-korte.org>
Damir Samardzic [Tue, 24 Apr 2018 06:25:21 +0000 (08:25 +0200)]
uboot-envtools: add support for ESPRESSObin and MACCHIATObin
Added for convenience. These boards can be used as dev boards running
various operating systems from different media, and this simplifies work
with U-Boot environment.
Signed-off-by: Damir Samardzic <damir.samardzic@sartura.hr>
Damir Samardzic [Mon, 23 Apr 2018 08:11:04 +0000 (10:11 +0200)]
mvebu: cortexa72: enable Marvell 10G PHY by default
This one enables 10 GbE ports on MACCHIATObin.
Signed-off-by: Damir Samardzic <damir.samardzic@sartura.hr>
Mathias Kresin [Tue, 24 Apr 2018 18:18:48 +0000 (20:18 +0200)]
ramips: fix mt7628 eval board pinmux
There is no pinmux group "jtag" for mt7628 and the pinmux driver fails
to load due to the use of the not existing group.
Fixes: FS#1515
Signed-off-by: Mathias Kresin <dev@kresin.me>
Mathias Kresin [Mon, 23 Apr 2018 17:36:02 +0000 (19:36 +0200)]
ramips: create image for mt7628 evb board
The image for the EVB board got lost with the merge of the mt7628 and
mt7688 subtargets.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Alex Maclean [Mon, 23 Apr 2018 17:36:54 +0000 (18:36 +0100)]
firmware-utils: tplink-safeloader: increase RE350 kernel size
4.14 increased kernel size, so grow the kernel partition by 128K to compensate.
Fixes FS#1479.
Signed-off-by: Alex Maclean <monkeh@monkeh.net>
Tobias Wolf [Sun, 22 Apr 2018 17:34:57 +0000 (19:34 +0200)]
ramips: use patch-dtb for
F5D8235 V1
The old DTB method (OWRTDTB) is not recognized by the boot process
anymore with 4.9/4.14.
This patch reuses KERNEL_DTB to get a valid DTB applied to the kernel
image.
Signed-off-by: Tobias Wolf <github-NTEO@vplace.de>
Giuseppe Lippolis [Fri, 20 Apr 2018 17:00:33 +0000 (19:00 +0200)]
kernel: fix usb interface on 3G dwm-158 modem
The current option driver binds to the usb interface 2,3,4,5.
But the interface 4 and 5 doesn't answer to the AT commands.
On the new openwrt configuration the wwan script select the 5th
interface as control interface, failing to establish the
3G connection.
Backport the fix for the problem.
Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
Sven Eckelmann [Wed, 9 Aug 2017 11:52:07 +0000 (13:52 +0200)]
ipq40xx: add support for OpenMesh A62
* QCA IPQ4019
* 256 MB of RAM
* 32 MB of SPI NOR flash (s25fl256s1)
- 2x 15 MB available; but one of the 15 MB regions is the recovery image
* 2T2R 2.4 GHz
- QCA4019 hw1.0 (SoC)
- requires special BDF in QCA4019/hw1.0/board-2.bin with
bus=ahb,bmi-chip-id=0,bmi-board-id=20,variant=OM-A62
* 2T2R 5 GHz (channel 36-64)
- QCA9888 hw2.0 (PCI)
- requires special BDF in QCA9888/hw2.0/board-2.bin
bus=pci,bmi-chip-id=0,bmi-board-id=16,variant=OM-A62
* 2T2R 5 GHz (channel 100-165)
- QCA4019 hw1.0 (SoC)
- requires special BDF in QCA4019/hw1.0/board-2.bin with
bus=ahb,bmi-chip-id=0,bmi-board-id=21,variant=OM-A62
* multi-color LED (controlled via red/green/blue GPIOs)
* 1x button (reset; kmod-input-gpio-keys compatible)
* external watchdog
- triggered GPIO
* 1x USB (xHCI)
* TTL pins are on board (arrow points to VCC, then follows: GND, TX, RX)
* 2x gigabit ethernet
- phy@mdio3:
+ Label: Ethernet 1
+ gmac0 (ethaddr) in original firmware
+ 802.3at POE+
- phy@mdio4:
+ Label: Ethernet 2
+ gmac1 (eth1addr) in original firmware
+ 18-24V passive POE (mode B)
* powered only via POE
The tool ap51-flash (https://github.com/ap51-flash/ap51-flash) should be
used to transfer the factory image to the u-boot when the device boots up.
The initramfs image can be started using
setenv bootargs 'loglevel=8 earlycon=msm_serial_dm,0x78af000 console=ttyMSM0,115200 mtdparts=spi0.0:256k(0:SBL1),128k(0:MIBIB),384k(0:QSEE),64k(0:CDT),64k(0:DDRPARAMS),64k(0:APPSBLENV),512k(0:APPSBL),64k(0:ART),64k(0:custom),64k(0:KEYS),15552k(inactive),15552k(inactive2)'
tftpboot 0x84000000 openwrt-ipq40xx-openmesh_a62-initramfs-fit-uImage.itb
set fdt_high 0x85000000
bootm 0x84000000
Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
Sven Eckelmann [Mon, 16 Apr 2018 11:51:15 +0000 (13:51 +0200)]
ipq40xx: fix gpio-hog related boot issues
The pinctrl initialization fails with the MSM pinctrl code and gpio-hogs
because either the gpio ranges are not yet initialized (missing gpio-range
in DT) or that the msm driver unconditionally tries to re-initializes the
ranges (gpio-range in DT).
To allow gpio-hogs and similar early-boot gpio code, the gpio-ranges must
be in the device tree and the pinctrl-msm code must check whether the range
was already initialized by the DT.
Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
[drop changes to unrelated dtsi files, refresh patches]
Signed-off-by: Mathias Kresin <dev@kresin.me>
Sven Eckelmann [Thu, 19 Apr 2018 07:12:22 +0000 (09:12 +0200)]
ipq-wifi: drop custom board-2.bins
The BDFs for all boards were upstreamed to the ath10k-firmware
repository and are now part of ath10k-firmware 2018-04-19.
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: Sven Eckelmann <sven.eckelmann@openmesh.com>
Sven Eckelmann [Thu, 19 Apr 2018 07:12:22 +0000 (09:12 +0200)]
ipq40xx: use upstream board-2.bin
The BDFs for all boards were upstreamed to the ath10k-firmware
repository and are now part of ath10k-firmware 2018-04-19.
Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
Sven Eckelmann [Thu, 19 Apr 2018 06:59:48 +0000 (08:59 +0200)]
firmware: ath10k-firmware: update to 2018-04-19
* introduces the BDFs in /lib/firmware/ath10k/QCA4019/hw1.0/board-2.bin
for:
- 8devices Jalapeno
- Asus RT-AC58U
- AVM FRITZ!Box 4040
- GL.iNet GL-B1300
- Meraki MR33
- Netgear EX6100v2
- Netgear EX6150v2
- OpenMesh A62
* introduces the BDFs in /lib/firmware/ath10k/QCA9888/hw2.0/board-2.bin
- OpenMesh A62
* adds new firmware for QCA6174 hw3.0
- firmware-6.bin_RM.4.4.1.c1-00038-QCARMSWP-1
- firmware-6.bin_RM.4.4.1.c1-00041-QCARMSWP-1
* various undocumented BDF updates to:
- QCA4019 hw1.0:
+ bus=ahb,bmi-chip-id=0,bmi-board-id=16
+ bus=ahb,bmi-chip-id=0,bmi-board-id=17
+ bus=ahb,bmi-chip-id=0,bmi-board-id=19
+ bus=ahb,bmi-chip-id=0,bmi-board-id=20
+ bus=ahb,bmi-chip-id=0,bmi-board-id=21
+ bus=ahb,bmi-chip-id=0,bmi-board-id=29
+ bus=ahb,bmi-chip-id=0,bmi-board-id=30
- QCA9888 hw2.0:
+ bus=pci,bmi-chip-id=0,bmi-board-id=16
+ bus=pci,bmi-chip-id=0,bmi-board-id=17
+ bus=pci,bmi-chip-id=0,bmi-board-id=18
+ bus=pci,bmi-chip-id=0,bmi-board-id=23
+ bus=pci,bmi-chip-id=0,bmi-board-id=24
+ bus=pci,bmi-chip-id=0,bmi-board-id=25
- QCA9984 hw1.0:
+ bus=pci,bmi-chip-id=0,bmi-board-id=1
+ bus=pci,bmi-chip-id=0,bmi-board-id=3
+ bus=pci,bmi-chip-id=0,bmi-board-id=5
+ bus=pci,bmi-chip-id=0,bmi-board-id=6
+ bus=pci,bmi-chip-id=0,bmi-board-id=7
+ bus=pci,bmi-chip-id=0,bmi-board-id=8
Signed-off-by: Sven Eckelmann <sven.eckelmann@openmesh.com>
Hans Dedecker [Mon, 23 Apr 2018 19:39:16 +0000 (21:39 +0200)]
odhcpd: update to latest git HEAD
4136529 dhcpv6-ia: keep tentative assignments alive for a short time
200cc8f dhcpv6-ia: make assignment lookup more strict
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Rafał Miłecki [Mon, 23 Apr 2018 11:33:09 +0000 (13:33 +0200)]
brcm47xx: backport upstream patches for Netgear WNR1000 V3
This includes fix for reading NVRAM content.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>