openwrt/staging/jogo.git
7 years agoramips: use new image build code for more devices
Mathias Kresin [Mon, 21 Nov 2016 07:46:48 +0000 (08:46 +0100)]
ramips: use new image build code for more devices

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoramips: use different board names for variants
Mathias Kresin [Fri, 23 Dec 2016 08:46:48 +0000 (09:46 +0100)]
ramips: use different board names for variants

Use different names for flash size related board variants, to make sure
that only images for the actual flash size are considered as valid by
the image validation code.

Remove the flash size suffix from the string returned by
ramips_board_detect() to ensure that existing scripts relying on the
former used boardname are still working.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoramips: sort rt305x image file alphabetical
Mathias Kresin [Sun, 27 Nov 2016 09:46:20 +0000 (10:46 +0100)]
ramips: sort rt305x image file alphabetical

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoramips: use D-Link DIR-600 B1 image for B2 version
Mathias Kresin [Fri, 25 Nov 2016 12:25:29 +0000 (13:25 +0100)]
ramips: use D-Link DIR-600 B1 image for B2 version

Everything set for the B1 is identical to the values uses for the B2
version.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoramips: fix image validation errors
Mathias Kresin [Thu, 1 Dec 2016 06:37:03 +0000 (07:37 +0100)]
ramips: fix image validation errors

The name from the Device define will be used in the metadata. Due to
typos/different spelling, this name might not match the one exported in
/lib/ramips.sh.

Fix all name mismatches which were found by checking if the name used
in the metadata exists in /lib/ramips.sh.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoramips: use destinct 11AC NAS board name
Mathias Kresin [Fri, 23 Dec 2016 07:21:31 +0000 (08:21 +0100)]
ramips: use destinct 11AC NAS board name

Use a distinct board name even if the board is near to identical to
the WeVO W2914NS v2.

To make sure that a 11AC NAS image can not be installed on a
WeVO W2914NS v2, both board need to use different names.

Signed-off-by: Mathias Kresin <dev@kresin.me>
7 years agoorion: remove linux 3.18 support
Felix Fietkau [Thu, 22 Dec 2016 16:35:04 +0000 (17:35 +0100)]
orion: remove linux 3.18 support

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoorion: enable SoC drivers in the kernel config
Felix Fietkau [Thu, 22 Dec 2016 16:34:45 +0000 (17:34 +0100)]
orion: enable SoC drivers in the kernel config

Clean up packaged modules

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokirkwood: clean up profiles, move to image makefile
Felix Fietkau [Thu, 22 Dec 2016 16:26:27 +0000 (17:26 +0100)]
kirkwood: clean up profiles, move to image makefile

Adds support for per-device rootfs

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokirkwood: enable SoC drivers in the kernel config
Felix Fietkau [Thu, 22 Dec 2016 16:19:29 +0000 (17:19 +0100)]
kirkwood: enable SoC drivers in the kernel config

Clean up packaged modules

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokirkwood: clean up FEATURES
Felix Fietkau [Thu, 22 Dec 2016 16:04:12 +0000 (17:04 +0100)]
kirkwood: clean up FEATURES

Remove dt: it is implicitly enabled based on the kernel config
Remove tar.gz and jffs2_nand: Legacy build code has been removed,
NAND devices are only supported with UBI now.
Remove ubifs: deprecated, use squashfs images instead

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokirkwood: remove legacy image build code
Felix Fietkau [Thu, 22 Dec 2016 14:35:16 +0000 (15:35 +0100)]
kirkwood: remove legacy image build code

This has been mostly non-functional for a while now

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokirkwood: convert iconnect, ib62x0 and pogoplug_e02 to the new image build code
Felix Fietkau [Thu, 22 Dec 2016 14:07:38 +0000 (15:07 +0100)]
kirkwood: convert iconnect, ib62x0 and pogoplug_e02 to the new image build code

Update the correspoding u-boot configs to stop relying on
kernel-in-rootfs, which was removed a while back

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agotoolchain: remove ppl/cloog, disable graphite for gcc 4.8
Felix Fietkau [Thu, 22 Dec 2016 15:23:15 +0000 (16:23 +0100)]
toolchain: remove ppl/cloog, disable graphite for gcc 4.8

graphite is disabled by default and it's not worth carrying ppl and
cloog for supporting this feature on the old gcc 4.8, which is only used
for ARC

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokernel: Add kmod-ethoc
Florian Fainelli [Fri, 9 Dec 2016 03:31:41 +0000 (19:31 -0800)]
kernel: Add kmod-ethoc

Add the kernel module package for the Opencores.org Ethernet MAC,
depends on PHYLIB.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
7 years agoramips: fix tplink image building fix sysupgrade firmware on MR200
Henryk Heisig [Fri, 23 Dec 2016 17:04:16 +0000 (18:04 +0100)]
ramips: fix tplink image building fix sysupgrade firmware on MR200

Signed-off-by: Henryk Heisig <hyniu@o2.pl>
7 years agoramips: enablemodem: move /lib/ramips.sh to start()
Henryk Heisig [Fri, 23 Dec 2016 14:05:33 +0000 (15:05 +0100)]
ramips: enablemodem: move /lib/ramips.sh to start()

Fix build error: /etc/init.d/enablemodem: line 2: /lib/ramips.sh: No such file or directory

Signed-off-by: Henryk Heisig <hyniu@o2.pl>
7 years agogeneric: ar8216: fix invalid bounds check imported from ChromeOS (FS#347)
Jo-Philipp Wich [Fri, 23 Dec 2016 18:15:14 +0000 (19:15 +0100)]
generic: ar8216: fix invalid bounds check imported from ChromeOS (FS#347)

The priv->vlan_id member is of size AR8X16_MAX_VLANS, not AR8X16_MAX_PORTS,
so check for the proper maximum value in order to avoid capping valid VLAN IDs
to 7 (AR8X16_MAX_PORTS - 1).

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agodnsmasq: add log facility option
dibdot [Wed, 21 Dec 2016 19:53:39 +0000 (20:53 +0100)]
dnsmasq: add log facility option

add possibility to set the facility to which dnsmasq will send syslog entries, i.e. set it to '/dev/null' to mute dnsmasq output at all.

Signed-off-by: Dirk Brenken dev@brenken.org
7 years agoncurses: rename libncursesw to libncurses (more common name)
Felix Fietkau [Thu, 22 Dec 2016 20:10:41 +0000 (21:10 +0100)]
ncurses: rename libncursesw to libncurses (more common name)

provide libncursesw via PROVIDES instead

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoRevert "arm64: boot-wrapper: Add mirror"
Felix Fietkau [Thu, 22 Dec 2016 20:07:43 +0000 (21:07 +0100)]
Revert "arm64: boot-wrapper: Add mirror"

This reverts commit ef258a0a41eb31fd77ad2868b8ec97accc44fd93.
Similar to 43c09f2885b413aa44a65ddf85778e40349f2199, multiple git
mirrors are not supported

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agob43-tools: fix tarball hash
Felix Fietkau [Thu, 22 Dec 2016 15:54:00 +0000 (16:54 +0100)]
b43-tools: fix tarball hash

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agouhttpd: drop uhttpd-mod-tls, it has been useless for years
Felix Fietkau [Thu, 22 Dec 2016 15:43:07 +0000 (16:43 +0100)]
uhttpd: drop uhttpd-mod-tls, it has been useless for years

Before the rewrite, uhttpd-mod-tls used to contain a tls plugin.
Afterwards it was left in for compatibility reasons, but given how much
has changed, and that we're about to change the default SSL
implementation again, it's better to just drop this now

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agotreewide: clean up and unify PKG_VERSION for git based downloads
Felix Fietkau [Wed, 21 Dec 2016 21:25:41 +0000 (22:25 +0100)]
treewide: clean up and unify PKG_VERSION for git based downloads

Also use default defintions for PKG_SOURCE_SUBDIR, PKG_SOURCE

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoRevert "linux-firmware: Add mirrors"
Felix Fietkau [Wed, 21 Dec 2016 21:17:48 +0000 (22:17 +0100)]
Revert "linux-firmware: Add mirrors"

This reverts commit 0d4f02dfd650612aac6c11860139be03a0f54bee, which was
obviously untested. git downloads cannot handle multiple URLs at the
moment.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agobuild: add defaults for PKG_SOURCE, PKG_SOURCE_SUBDIR, PKG_VERSION
Felix Fietkau [Wed, 21 Dec 2016 15:39:56 +0000 (16:39 +0100)]
build: add defaults for PKG_SOURCE, PKG_SOURCE_SUBDIR, PKG_VERSION

This makes it easier to unify versioning of git based package downloads.
PKG_SOURCE_DATE along with an 8-character abbreviation of the git hash
is used as PKG_VERSION, PKG_RELEASE should be used like normal packages.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agomwlwifi: Update to latest source
Gabe Rodriguez [Tue, 20 Dec 2016 16:41:45 +0000 (08:41 -0800)]
mwlwifi: Update to latest source

- Source updated to fix noise level, DTS
- Added support for BB and RF

Tested working on WRT1900ACv1 (mamba) kernel 4.4.38. No regressions found.

Signed-off-by: Gabe Rodriguez <lifehacksback@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [fix mirror hash]
7 years agoath10k-firmware: update qca9984 firmware
Pavel Kubelun [Tue, 20 Dec 2016 08:39:00 +0000 (11:39 +0300)]
ath10k-firmware: update qca9984 firmware

A new firmware that is available on code-aurora repository is newer
than in Kvalo's repo.

Taking into account that firmwares that are in Kvalo's repo are considered
to be tested by internal QCA team, this one seems to be more stable
and fixes this bug:
ath10k_pci 0000:01:00.0: received unexpected tx_fetch_ind event: in
push mode

At least i havent faced it for a while in contradiction to current version.

Thus switching firmware source for qca9984 until it or a newer version
gets into Kvalo's repo.

Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
7 years agogettext-full: enforce only static lib on the host build
Alexandru Ardelean [Mon, 12 Dec 2016 12:20:58 +0000 (14:20 +0200)]
gettext-full: enforce only static lib on the host build

Sometimes I'm getting error on the host-side build:
```
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: /home/sandu/work/lede/staging_dir/host/lib/liblzma.a(liblzma_la-common.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/home/sandu/work/lede/staging_dir/host/lib/liblzma.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:2847: recipe for target 'libgettextlib.la' failed
make[9]: *** [libgettextlib.la] Error 1
make[9]: Leaving directory '/home/sandu/work/lede/build_dir/target-x86_64_musl-1.1.15/host/gettext-0.19.8.1/gettext-tools/gnulib-lib'
Makefile:2597: recipe for target 'all' failed
```

Disabling the shared-lib build, seems to fix this.

This is when building glib2 on the host-side.
glib2 is required by newer QEMU package [which is in the feeds].

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
7 years agox86/64: enable Hyper-V support in the x86_64 kernel config
Tedaz [Tue, 20 Dec 2016 08:56:33 +0000 (16:56 +0800)]
x86/64: enable Hyper-V support in the x86_64 kernel config

Enabled Hyper-V network interface card driver, display adapter driver,
storage driver, keyboard driver, mouse driver and Hyper-V utility and
EFI boot support in the kernel for subtarget x86/64.
Convert the img file to vhd by Ubuntu qemu-img, rather than by the buildroot's
built-in qemu-img.

Tested on Windows Server 2008 r2 and 2012 r2 Gen1 and Gen2 VMs.

Signed-off-by: Tedaz <tedaz99999@hotmail.com>
7 years agoath9k: Add airtime fairness scheduler
Toke Høiland-Jørgensen [Mon, 19 Dec 2016 12:59:15 +0000 (13:59 +0100)]
ath9k: Add airtime fairness scheduler

This adds a patch that introduces airtime fairness scheduling to ath9k,
which can significantly improve network efficiency in mixed-rate
environments.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoopenvpn: use conditional dependencies to avoid pulling in unused ssl libraries
Felix Fietkau [Sat, 17 Dec 2016 09:35:32 +0000 (10:35 +0100)]
openvpn: use conditional dependencies to avoid pulling in unused ssl libraries

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoopenvpn: reduce binary size using --gc-sections on linking
Felix Fietkau [Sat, 10 Dec 2016 11:39:54 +0000 (12:39 +0100)]
openvpn: reduce binary size using --gc-sections on linking

Saves around 9kb gzipped on MIPS

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoopenvpn: fix disabling DES support in mbedtls
Felix Fietkau [Sat, 10 Dec 2016 11:26:59 +0000 (12:26 +0100)]
openvpn: fix disabling DES support in mbedtls

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Magnus Kroken <mkroken@gmail.com>
7 years agoopenvpn: update to 2.4_rc2
Magnus Kroken [Sat, 10 Dec 2016 11:11:33 +0000 (12:11 +0100)]
openvpn: update to 2.4_rc2

OpenVPN 2.4 builds with mbedTLS 2.x, rename openvpn-polarssl
variant to openvpn-mbedtls.

Some feature highlights:
* Data channel cipher negotiation
* AEAD cipher support for data channel encryption (currently only
* AES-GCM)
* ECDH key exchange for control channel
* LZ4 compression support

See https://github.com/OpenVPN/openvpn/blob/master/Changes.rst
for additional change notes.

Signed-off-by: Magnus Kroken <mkroken@gmail.com>
7 years agovti: add empty install rules for vtiv4 & vtiv6
Alexandru Ardelean [Tue, 8 Nov 2016 14:28:43 +0000 (16:28 +0200)]
vti: add empty install rules for vtiv4 & vtiv6

Same as for grev4 & grev6

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
7 years agogre: add empty install rules for grev4 & grev6
Alexandru Ardelean [Tue, 8 Nov 2016 14:26:47 +0000 (16:26 +0200)]
gre: add empty install rules for grev4 & grev6

Build seems to fail with:

```
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for X:
 * grev4 *
 * opkg_install_cmd: Cannot install package X
```

After adding an empty install rule, the failure goes away.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
7 years agouqmi: add plmn set functionality for netifd proto handler
Florian Eckert [Tue, 20 Dec 2016 12:07:31 +0000 (13:07 +0100)]
uqmi: add plmn set functionality for netifd proto handler

uqmi has the possibility to allow the modem to start a regsitration
process only to this specified plmn

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
7 years agoadb: new package "Android Debug Bridge"
Henryk Heisig [Thu, 6 Oct 2016 16:11:17 +0000 (18:11 +0200)]
adb: new package "Android Debug Bridge"

Signed-off-by: Henryk Heisig <hyniu@o2.pl>
7 years agoramips: Add support to TP-Link Archer MR200
Henryk Heisig [Sat, 24 Sep 2016 19:41:43 +0000 (21:41 +0200)]
ramips: Add support to TP-Link Archer MR200

CPU: MT7620N 580MHz
Flash: 8MB
RAM: 64MB
build-in modem 3G/4G
four ethernet port 10/100Mbps

Signed-off-by: Henryk Heisig <hyniu@o2.pl>
7 years agoramips: add support for ZyXEL Keenetic Omni / Omni II
Vitaly Chekryzhev [Mon, 28 Nov 2016 18:41:51 +0000 (23:41 +0500)]
ramips: add support for ZyXEL Keenetic Omni / Omni II

Factory image can be installed via Zyxel WebUI.

Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com>
7 years agocomgt-ncm: fix typo Fix typo in ncm.sh. Resolves:
Cezary Jackiewicz [Wed, 21 Dec 2016 17:02:53 +0000 (18:02 +0100)]
comgt-ncm: fix typo Fix typo in ncm.sh. Resolves:

Wed Dec 21 09:55:54 2016 daemon.notice netifd: wan (4455): ./ncm.sh: eval: line 1: =IP: not found

Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
7 years agoar71xx: RE450: enable building of TP-Link RE450
Radek Dostál [Thu, 15 Dec 2016 19:24:37 +0000 (20:24 +0100)]
ar71xx: RE450: enable building of TP-Link RE450

Signed-off-by: Radek Dostál <rd@radekdostal.com>
7 years agoar71xx: add support for TP-Link RE450
Tal Keren [Thu, 7 Jan 2016 00:40:48 +0000 (02:40 +0200)]
ar71xx: add support for TP-Link RE450

Add full support for TP-Link RE450.
The wireless SoC is similiar to Archer C7: QCA9558 + QCA9880 (pci).
The ethernet interface is AR8035, but the mdio is connected to the gpio and
the chipset builtin mdio bus isn't used, which is unique (and weird), so the
kernel gpio mdio module is used.
The two ethernet leds are connected to the GPIO, so they are both configured,
one to indicate link status and the other to indicate data transfer.

The generation of the image was added to the image Makefile.
The return value of tplink-safeloader is not ignored anymore (to fail on error)

The result factory image is flashable from the stock web ui.

Signed-off-by: Tal Keren <kooolk@gmail.com>
[rd@radekdostal.com: ar71xx: RE450: do not build RE450 for nand]
Signed-off-by: Radek Dostál <rd@radekdostal.com>
[hyniu@o2.pl: ar71xx: RE450: Renaming LED accordance with the standard]
Signed-off-by: Henryk Heisig <hyniu@o2.pl>
[jo@mein.io: squash fixes from Radek and Henryk into original commit]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agoar71xx: sort items in 11-ath10k-caldata alphabetically
Radek Dostál [Sun, 20 Nov 2016 22:18:53 +0000 (23:18 +0100)]
ar71xx: sort items in 11-ath10k-caldata alphabetically

Requested-by: Mathias Kresin <dev@kresin.me>
Signed-off-by: Radek Dostál <rd@radekdostal.com>
7 years agofirmware-utils/tplink-safeloader: add support for TP-Link RE450
Radek Dostál [Thu, 15 Dec 2016 19:41:09 +0000 (20:41 +0100)]
firmware-utils/tplink-safeloader: add support for TP-Link RE450

Signed-off-by: Radek Dostál <rd@radekdostal.com>
[Jo-Philipp Wich: use .support_trail member]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agofirmware-utils: kernel image generator for TP-Link RE450
Tal Keren [Thu, 7 Jan 2016 00:40:47 +0000 (02:40 +0200)]
firmware-utils: kernel image generator for TP-Link RE450

The firmware image that is used in TP-Link RE450 (and some more devices from
the RE series) is tplink-safeloader.
In the kernel partition, the kernel is compressed in a regular tp-link
firmware that is just used for booting. Since it is only used for compressing
and booting, only four fields are filled in the header:
Vendor, version, kernel load address and kernel entry point.
mktplinkfw-kernel is a simpler version of mktpolinkfw that generate such
images. It also specifies the hardware id (as it is in the product info
section), so when doing a sysupgrade - the existing code will check for
hardware compatibility.

Signed-off-by: Tal Keren <kooolk@gmail.com>
[rd@radekdostal.com: add build target to .../image/tp-link.mk]
Signed-off-by: Radek Dostál <rd@radekdostal.com>
7 years agoath10k-firmware: fix missing variable renames (FS#341)
Felix Fietkau [Thu, 22 Dec 2016 13:29:37 +0000 (14:29 +0100)]
ath10k-firmware: fix missing variable renames (FS#341)

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoar71xx: remove redundant -j from TL-WR1043ND v4 kernel build command
Matthias Schiffer [Wed, 21 Dec 2016 22:29:00 +0000 (23:29 +0100)]
ar71xx: remove redundant -j from TL-WR1043ND v4 kernel build command

mktplinkfw ignores -j in combined mode, the EOF marker is added by
tplink-safeloader.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
7 years agoodhcpd: Use procd_send_signal in odhcpd-update file
Hans Dedecker [Tue, 20 Dec 2016 21:13:40 +0000 (22:13 +0100)]
odhcpd: Use procd_send_signal in odhcpd-update file

Let dnsmasq reread the leasefile by using procd_send_signal
which triggers procd to send SIGHUP kill signal by default
if signal is not specified

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
7 years agohostapd: update to version 2016-12-19
Koen Vandeputte [Tue, 20 Dec 2016 19:07:30 +0000 (20:07 +0100)]
hostapd: update to version 2016-12-19

Update to latest upstream HEAD:

- Refreshed all
- Fixes 2 regressions:
--> PeerKey: Fix STK 4-way handshake regression
--> PeerKey: Fix EAPOL-Key processing

Compile tested Full & Mini configs
Run-tested Mini config

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
7 years agoncurses: set ABI_VERSION to avoid running into rebuild issues
Felix Fietkau [Tue, 20 Dec 2016 16:06:23 +0000 (17:06 +0100)]
ncurses: set ABI_VERSION to avoid running into rebuild issues

When the version changes, this will force rebuild of packages depending
on it.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoRevert mirror hash fixes
Felix Fietkau [Tue, 20 Dec 2016 15:30:06 +0000 (16:30 +0100)]
Revert mirror hash fixes

They are based on obsolete download tarballs

Revert "usign: fix mirror hash" (4f874423fd711e58aa43110918c923016615f22b)
Revert "ubox: fix mirror hash" (9ee74b575305e8111fd3b1009ae183cf15e6d926)
Revert "opkg: fix mirror hash" (bf6f4bfad12ded13ed9afcb886751cec24426257)

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoath10k-firmware: bump qca988x version
Kevin Darbyshire-Bryant [Thu, 15 Dec 2016 10:43:08 +0000 (10:43 +0000)]
ath10k-firmware: bump qca988x version

Bump qca988x firmware to firmware-5.bin_10.2.4.70.59-2

Run tested: Archer C7 v2

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
7 years agoath10k-ct: Enable DFS when "Enable DFS support" is set for kmod-ath
Andy Strohman [Sun, 18 Dec 2016 19:06:06 +0000 (11:06 -0800)]
ath10k-ct: Enable DFS when "Enable DFS support" is set for kmod-ath

This allows users of this package to configure DFS channels.
It mimics the behaviour of the ath10k module included in
package mac80211

Signed-off-by: Andy Strohman <andrew@andrewstrohman.com>
7 years agomwlwifi: select 802.11ac support
Felix Fietkau [Mon, 19 Dec 2016 18:17:38 +0000 (19:17 +0100)]
mwlwifi: select 802.11ac support

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agomt76: select 802.11ac support
Felix Fietkau [Mon, 19 Dec 2016 18:17:25 +0000 (19:17 +0100)]
mt76: select 802.11ac support

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agoath10k-ct: ath10k-ct specifies that it supports 802.11ac mode
Alexis Green [Wed, 14 Dec 2016 04:13:22 +0000 (20:13 -0800)]
ath10k-ct: ath10k-ct specifies that it supports 802.11ac mode

Signed-off-by: Alexis Green <agreen@cococorp.com>
7 years agomac80211: ath10k specifies that it supports 802.11ac mode
Alexis Green [Wed, 14 Dec 2016 04:12:55 +0000 (20:12 -0800)]
mac80211: ath10k specifies that it supports 802.11ac mode

Signed-off-by: Alexis Green <agreen@cococorp.com>
7 years agohostapd: Add ability to specify that that wireless driver supports 802.11ac
Alexis Green [Wed, 14 Dec 2016 04:10:35 +0000 (20:10 -0800)]
hostapd: Add ability to specify that that wireless driver supports 802.11ac

Signed-off-by: Alexis Green <agreen@cococorp.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [make more generic]
7 years agokexec-tools: remove useless CONFIG_KEXEC_TOOLS_TARGET_NAME indirection
Felix Fietkau [Mon, 19 Dec 2016 18:28:33 +0000 (19:28 +0100)]
kexec-tools: remove useless CONFIG_KEXEC_TOOLS_TARGET_NAME indirection

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokexec-tools: build by default, even if CONFIG_KERNEL_KEXEC is unset
Felix Fietkau [Mon, 19 Dec 2016 18:25:31 +0000 (19:25 +0100)]
kexec-tools: build by default, even if CONFIG_KERNEL_KEXEC is unset

Helps find build issues and makes the package available on snapshot
builds

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokexec-tools: enable support for x86_64
Felix Fietkau [Mon, 19 Dec 2016 17:56:20 +0000 (18:56 +0100)]
kexec-tools: enable support for x86_64

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokexec-tools: update to 2.0.14-rc1, fix build errors
Felix Fietkau [Mon, 19 Dec 2016 17:55:45 +0000 (18:55 +0100)]
kexec-tools: update to 2.0.14-rc1, fix build errors

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agokexec-tools: fix compile error
Gilles Mazoyer [Fri, 18 Nov 2016 12:22:27 +0000 (13:22 +0100)]
kexec-tools: fix compile error

When compiling file vmcore-dmesg.c, several errors "unknown type name 'loff_t'"

Signed-off-by: Gilles Mazoyer <mazoyer.gilles@omega.ovh>
7 years agotarget/linux/x86/image: add explicit prefix to grub-mkimage command
Alexandru Ardelean [Wed, 23 Nov 2016 08:27:55 +0000 (10:27 +0200)]
target/linux/x86/image: add explicit prefix to grub-mkimage command

In the latest version of grub-mkimage, the prefix option is mandatory.
Not supplying it fails with:
```
Prefix not specified (use the -p option).
```

In grub-2.02-beta2 a DEFAULT_DIRECTORY was defined
in `include/grub/osdep/hostfile_unix.h` as:
```
 #if defined (__NetBSD__)
 /* NetBSD uses /boot for its boot block.  */
 # define DEFAULT_DIRECTORY  "/"GRUB_DIR_NAME
 #else
 # define DEFAULT_DIRECTORY  "/"GRUB_BOOT_DIR_NAME"/"GRUB_DIR_NAME
 #endif
```

Where:
* GRUB_BOOT_DIR_NAME == boot
* GRUB_DIR_NAME == grub

This was used if the -p option was omitted.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
7 years agogrub2: upgrade to 2.02-beta3 (3 years newer than previous)
Alexandru Ardelean [Mon, 21 Nov 2016 13:54:26 +0000 (15:54 +0200)]
grub2: upgrade to 2.02-beta3 (3 years newer than previous)

'100-musl-compat.patch' does not seem to be required anymore.
'210-fix_serial_rtscts.patchi' is superseeded by:
http://git.savannah.gnu.org/cgit/grub.git/commit/?id=bac5d1a64ab4191058a8fd4c05f6b3b339e249e7

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
7 years agogrub2: disable 'check-macro-version' build rule in 'po' build
Alexandru Ardelean [Mon, 21 Nov 2016 15:39:20 +0000 (17:39 +0200)]
grub2: disable 'check-macro-version' build rule in 'po' build

This seems to occur when gettext-full is built on the host-side
and the autoreconf stuff re-generates some of the build files,
except for the po/Makefile.in.in

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
7 years agogrub2: do not generate mkfonts at build time
Alexandru Ardelean [Mon, 21 Nov 2016 15:36:56 +0000 (17:36 +0200)]
grub2: do not generate mkfonts at build time

Even though these fonts may not be installed, they seem to be
generated at build time.

Seems that the configure script re-generated from configure.ac
is a bit more annoying than it has to be.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
7 years agogrub2: add PKG_FIXUP:=autoreconf
Alexandru Ardelean [Thu, 17 Nov 2016 16:25:52 +0000 (18:25 +0200)]
grub2: add PKG_FIXUP:=autoreconf

Reboot of: a0ea22ac430f91ab045431a79b2e2161e66cd56a
Reverted: 3c52cbfa53056ded95ae5a7ae27319eafd5a37e5

The host-side build of grub2 requires this sometimes.
This will re-generate the ./configure script from configure.ac.
I don't know the conditions of how this reproduces, it just
sometimes appears, and sometimes doesn't.

Build error
```
<lede-dir>/build_dir/target-x86_64_musl-1.1.15_yogi/host/grub-2.02~beta2/build-aux/missing: line 81: aclocal-1.14: command not found
WARNING: 'aclocal-1.14' is missing on your system.
         You should only need it if you modified 'acinclude.m4' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'aclocal' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
Makefile:3962: recipe for target 'aclocal.m4' failed
```

Adding PKG_FIXUP adds sanity (i.e. autoreconf is used for host & target
builds) over just using HOST_FIXUP.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
7 years agohostapd: update to version 2016-12-15
Koen Vandeputte [Wed, 14 Dec 2016 09:04:44 +0000 (10:04 +0100)]
hostapd: update to version 2016-12-15

Update to latest upstream HEAD:

- Refreshed all
- Delete patches and parts which made it upstream

Compile tested Full & Mini configs
Run-tested Mini config

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [another update, remove broken patch]
7 years agoar71xx: add support for TP-LINK WR1043ND v4
Ludwig Thomeczek [Fri, 16 Dec 2016 11:50:34 +0000 (12:50 +0100)]
ar71xx: add support for TP-LINK WR1043ND v4

Signed-off-by: Ludwig Thomeczek <ledesrc@wxorx.net>
7 years agofirmware-utils: add support for TL-WR1043ND v4 to mktplinkfw and tplink-safeloader
Matthias Schiffer [Sat, 10 Dec 2016 19:45:50 +0000 (20:45 +0100)]
firmware-utils: add support for TL-WR1043ND v4 to mktplinkfw and tplink-safeloader

The TL-WR1043ND v4 uses a kernel image with a mktplinkfw header inside the
os-image partition of a tplink-safeloader image.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
7 years agoar71xx: rename mktplinkfw-initramfs to more generic mktplinkfw-combined
Matthias Schiffer [Fri, 9 Dec 2016 12:08:51 +0000 (13:08 +0100)]
ar71xx: rename mktplinkfw-initramfs to more generic mktplinkfw-combined

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
7 years agofirmware-utils/tplink-safeloader: refactor code for further board support
Jo-Philipp Wich [Wed, 24 Aug 2016 17:42:19 +0000 (19:42 +0200)]
firmware-utils/tplink-safeloader: refactor code for further board support

In order to make it easier to add new boards in the future, refactor the code
to describe the image layouts of supported boards in a struct array and alter
the image generation routines to figure out the sysupgrade partitions
automatically.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agofirmware-utils/tplink-safeloader: make vendor data optional
Jo-Philipp Wich [Wed, 24 Aug 2016 07:30:56 +0000 (09:30 +0200)]
firmware-utils/tplink-safeloader: make vendor data optional

Restructure the code a bit to allow for omitting vendor data when generating
factory images.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
7 years agobrcm2708: unbreak the spidev build
John Crispin [Tue, 20 Dec 2016 12:47:57 +0000 (13:47 +0100)]
brcm2708: unbreak the spidev build

a generic patch made this patch fail to apply cleanly leading to aborted builds

Signed-off-by: John Crispin <john@phrozen.org>
7 years agolinux: drop deprected hifn795x patch
John Crispin [Tue, 20 Dec 2016 12:42:52 +0000 (13:42 +0100)]
linux: drop deprected hifn795x patch

this was needed years ago by the OCF

Signed-off-by: John Crispin <john@phrozen.org>
7 years agousign: fix mirror hash
John Crispin [Tue, 20 Dec 2016 12:42:38 +0000 (13:42 +0100)]
usign: fix mirror hash

Signed-off-by: John Crispin <john@phrozen.org>
7 years agoubox: fix mirror hash
John Crispin [Tue, 20 Dec 2016 12:42:31 +0000 (13:42 +0100)]
ubox: fix mirror hash

Signed-off-by: John Crispin <john@phrozen.org>
7 years agoopkg: fix mirror hash
John Crispin [Tue, 20 Dec 2016 12:42:19 +0000 (13:42 +0100)]
opkg: fix mirror hash

Signed-off-by: John Crispin <john@phrozen.org>
7 years agolibs/cyassl: re-enable the stunnel flag
Felix Fietkau [Tue, 20 Dec 2016 09:39:20 +0000 (10:39 +0100)]
libs/cyassl: re-enable the stunnel flag

This partially reverts commit 15734b023b7e04d12d258ea28bfb5e6e735f10b7.
--enable-stunnel was actually important and properly described in
commit 9b118cde898e. Removing it broke ustream-cyassl

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years agolinux: drop HSO support patch
John Crispin [Tue, 20 Dec 2016 07:00:26 +0000 (08:00 +0100)]
linux: drop HSO support patch

This patch is part of a series adding support for 0x9200 and 0x9300. The
prior was merged into the upstream kernel while the latter was not due
to lack of testers. Drop the patch as it is untested and most likely
unused.

Signed-off-by: John Crispin <john@phrozen.org>
7 years agoprocd: update procd.sh to support sending kill signal to a service
Hans Dedecker [Mon, 19 Dec 2016 22:00:21 +0000 (23:00 +0100)]
procd: update procd.sh to support sending kill signal to a service

Add procd_send_signal which allows to send an optional specified
kill signal to one specified  or all instances of a given service.
By default SIGHUP is sent if no signal is specified

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
7 years agoipq806x: EA8500 fix sysupgrade over stock firmware
Adrian Panella [Thu, 8 Dec 2016 08:41:58 +0000 (02:41 -0600)]
ipq806x: EA8500 fix sysupgrade over stock firmware

When running sysupgrade for the first time over the second partition
(that still had stock firmware) the rootfs wasn't flashed as there
wasn't enough space.
This happend because stock also uses UBI, but the volume name wasn't
recognised and wasn't deleted before flashing.

Signed-off-by: Adrian Panella <ianchi74@outlook.com>
7 years agoramips: adding registration for si3210
Giuseppe Lippolis [Mon, 19 Dec 2016 17:45:52 +0000 (18:45 +0100)]
ramips: adding registration for si3210

The si3210 is a SLIC device providing a complete analog telephone
interface and therefore frequently used in soho router.
The si3210 have a native spi interface to be controlled by the CPU
but currently there is no dedicated driver in lede.
Adding a registration for this device in spidev allow to control the
device in user space.
This way of patching is also in line with the rationale of the spidev
driver, see: http://marc.info/?t=148145791900001&r=1&w=2
The si3210 has been also added in the DWR-512 DT to properly describe
the HW.

Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
7 years agobase-files: add support for overlaying rootfs content
Rafał Miłecki [Wed, 7 Dec 2016 15:19:08 +0000 (16:19 +0100)]
base-files: add support for overlaying rootfs content

This adds support for install-overlay define. When used in package it
allows installing files to a special directory that gets copied to the
root when installing it.
It allows overwriting files provided by other packages.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
7 years agolibnl-tiny: define _GNU_SOURCE if not defined
Alexandru Ardelean [Mon, 19 Dec 2016 15:18:18 +0000 (17:18 +0200)]
libnl-tiny: define _GNU_SOURCE if not defined

If _GNU_SOURCE was added as part of a package's TARGET_CFLAGS,
then compilation would fail for that module (especially if
warnings get treated as errors).

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
7 years agokmod-sched-cake: diffserv3 & change defaults
Kevin Darbyshire-Bryant [Mon, 19 Dec 2016 09:28:43 +0000 (09:28 +0000)]
kmod-sched-cake: diffserv3 & change defaults

Follow upstream cake:

diffserv3: a simple 3 tin classifier more in line with sqm-scripts
defaults for other qdisc algorithms.

defaults: default qdisc options are now diffserv3 and triple-isolate.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
7 years agoiproute2: tc - update cake support
Kevin Darbyshire-Bryant [Mon, 19 Dec 2016 09:13:42 +0000 (09:13 +0000)]
iproute2: tc - update cake support

Update tc to track upstream cake changes:

diffserv3 - a simple 3 tin classifier

Also make diffserv3 and triple-isolate default

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
7 years agomediatek: enable support for vfpv4 and neon
Christian Lamparter [Fri, 25 Nov 2016 19:57:25 +0000 (20:57 +0100)]
mediatek: enable support for vfpv4 and neon

While researching for the armvirt target, I looked at the
existing arm platforms. It turns out that the mediatek target
with its sole MT7623N/A chip is sold as a "highly integrated
multimedia network router system-on-chip". To that end, it
lists support for the "NEON multimedia processing engine with
SIMDv2 / VFPv4 ISA support".

<http://topics.mediatek.com/en/products/connectivity/wifi/home-network/wifi-ap/mt7623na/>

So this patch enables the CPU_SUBTYPE to use this information.
This should have the nice side effect that LEDE's phase2 builders
no longer need to built a separate "cortex-a7" target, so this
should free up some resources.

Cc: John Crispin <john@phrozen.org>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
7 years agolibs/cyassl: Enable multithreading, drop stunnel
Daniel Engberg [Fri, 16 Dec 2016 11:52:24 +0000 (12:52 +0100)]
libs/cyassl: Enable multithreading, drop stunnel

More and more platforms are multicore SoCs, don't enforce singlethreading.
Drop stunnel option as stunnel code isn't available for download from upstream website.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
7 years agokernel: bump to 4.4.39
Kevin Darbyshire-Bryant [Fri, 16 Dec 2016 11:33:38 +0000 (11:33 +0000)]
kernel: bump to 4.4.39

Bump & refresh patches for all 4.4 targets.

Compile & run tested: ar71xx Archer C7 v2

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
7 years agolibs/ncurses: update to 6.0
p-wassi [Sat, 10 Dec 2016 19:23:24 +0000 (20:23 +0100)]
libs/ncurses: update to 6.0

Update libncurses to upstream release 6.0

Signed-off-by: Paul Wassi <p.wassi@gmx.at>
7 years agokernel: add support for Option Fusion+ PCMCIA card
Tomasz Maciej Nowak [Sat, 17 Dec 2016 21:04:56 +0000 (22:04 +0100)]
kernel: add support for Option Fusion+ PCMCIA card

New package kmod-pcmcia-nozomi to suppot Option Fusion+ HSDPA PCMCIA
modem.

Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
7 years agokernel: add support for PD6729 PCMCIA bridge
Tomasz Maciej Nowak [Sat, 17 Dec 2016 21:00:45 +0000 (22:00 +0100)]
kernel: add support for PD6729 PCMCIA bridge

New package kmod-pcmcia-pd6729 to support Cirrus Logic PD6729
PCI-to-PCMCIA bridge.

Signen-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
7 years agofirmware: add support for PCMCIA Aircard's
Tomasz Maciej Nowak [Sat, 17 Dec 2016 20:50:24 +0000 (21:50 +0100)]
firmware: add support for PCMCIA Aircard's

Add .cis firmware for Sierra Wireless Aircard GPRS/3G PCMCIA modems:

 - Aircard 555
 - Aircards 7xx
 - Aircards 8x0

There is a package named sierra-pcmcia in obsoleted repository for
packages at git.openwrt.org but there's no reason to reintroduce it in
current packages repo because these files are part of upstream
linux-firmware.

Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
7 years agokernel: enable CONFIG_PCMCIA_LOAD_CIS
Tomasz Maciej Nowak [Sat, 17 Dec 2016 20:43:53 +0000 (21:43 +0100)]
kernel: enable CONFIG_PCMCIA_LOAD_CIS

Allow to load .cis firmware updates from userspace. Some of PCMCIA cards
need to update Card Information Structure (CIS) to work properly.

Signen-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
7 years agokernel: declare AddDepends in pcmcia.mk
Tomasz Maciej Nowak [Sat, 17 Dec 2016 20:37:51 +0000 (21:37 +0100)]
kernel: declare AddDepends in pcmcia.mk

Stack repeated definitions to easy further additions.

Signen-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
7 years agokernel: don't load pcmcia_rsrc in kmod-pcmcia-yenta
Tomasz Maciej Nowak [Sat, 17 Dec 2016 20:30:42 +0000 (21:30 +0100)]
kernel: don't load pcmcia_rsrc in kmod-pcmcia-yenta

Kmod-pcmcia-yenta already depends on kmod-pcmcia-rsrc so there is no
need to load it second time.

Signen-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>