openwrt/staging/chunkeey.git
8 years agoath9k: remove intermediate queueing patch until it is fixed properly
Felix Fietkau [Sun, 24 Jul 2016 14:45:22 +0000 (16:45 +0200)]
ath9k: remove intermediate queueing patch until it is fixed properly

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoiperf3: update to version 3.1.3
Hauke Mehrtens [Sun, 24 Jul 2016 11:42:44 +0000 (13:42 +0200)]
iperf3: update to version 3.1.3

old size:
iperf3_3.0.11-1_mips_34kc_dsp.ipk       30147

new size:
iperf3_3.1.3-1_mips_34kc_dsp.ipk        33640

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years agoiperf: update to version 2.0.9
Hauke Mehrtens [Sun, 24 Jul 2016 11:42:30 +0000 (13:42 +0200)]
iperf: update to version 2.0.9

old size:
iperf_2.0.8-1_mips_34kc_dsp.ipk 27911

new size:
iperf_2.0.9-1_mips_34kc_dsp.ipk 28681

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years agocyassl: update to wolfssl version 3.9.6
Hauke Mehrtens [Sun, 24 Jul 2016 11:26:46 +0000 (13:26 +0200)]
cyassl: update to wolfssl version 3.9.6

Changelog: https://www.wolfssl.com/wolfSSL/Docs-wolfssl-changelog.html

old size:
libcyassl_3.9.0-1_mips_34kc_dsp.ipk     147552

new size:
libcyassl_3.9.6-1_mips_34kc_dsp.ipk     150087

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years agocurl: update to version 7.50.0
Hauke Mehrtens [Sun, 24 Jul 2016 11:23:02 +0000 (13:23 +0200)]
curl: update to version 7.50.0

Changelog: https://curl.haxx.se/changes.html

old sizes:
libcurl_7.49.0-1_mips_34kc_dsp.ipk      97569
curl_7.49.0-1_mips_34kc_dsp.ipk         37925

new sizes:
libcurl_7.50.0-1_mips_34kc_dsp.ipk      97578
curl_7.50.0-1_mips_34kc_dsp.ipk         38017

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years agoopenssl: re-enable NPN by default
Felix Fietkau [Sun, 24 Jul 2016 12:43:42 +0000 (14:43 +0200)]
openssl: re-enable NPN by default

Several packages rely on it

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoopenssl: add back the CAST cipher by default
Felix Fietkau [Sun, 24 Jul 2016 12:41:50 +0000 (14:41 +0200)]
openssl: add back the CAST cipher by default

At least netatalk and some ipsec packages use it

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agotools: bring back genext2fs for apm821xx
Felix Fietkau [Sat, 23 Jul 2016 17:33:28 +0000 (19:33 +0200)]
tools: bring back genext2fs for apm821xx

This reverts commit 8c68c104eaba65273280c7a4727fbb10ab10f5af.
It is used for apm821xx, which needs ext2 (not ext4) images for some
devices.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agolinux: Get rid of 000-keep_initrafs_the_default.patch
Alexey Brodkin [Fri, 22 Jul 2016 10:18:41 +0000 (13:18 +0300)]
linux: Get rid of 000-keep_initrafs_the_default.patch

With that patch in place for initramfs no additional options are
reported for "/" partition. What's really important is missing
info about sizes. Which in its turn makes opkg think that there's
no space on "/" partition to install software.

I understand that's a sort of corner-case, people rarely install
packages on ramfs but anyways why not?

Just in case that's what I see with the patch:
---------------------->8--------------------
root@lede:/# cat /proc/mounts
rootfs / rootfs rw 0 0
proc /proc proc rw,nosuid,nodev,noexec,noatime 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,noatime 0 0
tmpfs /tmp tmpfs rw,nosuid,nodev,noatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,size=512k,mode=755 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,mode=600 0 0
debugfs /sys/kernel/debug debugfs rw,noatime 0 0
---------------------->8--------------------

And without:
---------------------->8--------------------
root@lede:/# cat /proc/mounts
rootfs / rootfs rw,size=256168k,nr_inodes=32021 0 0
proc /proc proc rw,nosuid,nodev,noexec,noatime 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,noatime 0 0
tmpfs /tmp tmpfs rw,nosuid,nodev,noatime 0 0
tmpfs /dev tmpfs rw,nosuid,relatime,size=512k,mode=755 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,mode=600 0 0
debugfs /sys/kernel/debug debugfs rw,noatime 0 0
---------------------->8--------------------

Note how different is entry for rootfs.

And given there's no known rationale for that patch we're
getting rid of it.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Jonas Gorski <jonas.gorski@gmail.com>
Cc: Rafał Miłecki <zajec5@gmail.com>
Cc: John Crispin <john@phrozen.org>
Cc: Felix Fietkau <nbd@nbd.name>
8 years agoopenssl: revert the no-ripemd change, openssh needs that cipher
Felix Fietkau [Sat, 23 Jul 2016 17:03:47 +0000 (19:03 +0200)]
openssl: revert the no-ripemd change, openssh needs that cipher

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoath10k: Support installing CT firmware for QCA9984 NICs.
Ben Greear [Thu, 21 Jul 2016 23:52:42 +0000 (16:52 -0700)]
ath10k: Support installing CT firmware for QCA9984 NICs.

This firmware has been lightly tested on non LEDE system
to date, and will be undergoing further testing and development.
Allow users to easily install this on their LEDE system as
they prefer.

Signed-off-by: Ben Greear <greearb@candelatech.com>
8 years agoath10k-ct-firmware: Update to latest 9880 firmware.
Ben Greear [Thu, 21 Jul 2016 23:52:41 +0000 (16:52 -0700)]
ath10k-ct-firmware: Update to latest 9880 firmware.

Fixes some issues with AES encryption and macbooks.

Signed-off-by: Ben Greear <greearb@candelatech.com>
8 years agoath10k-ct: Update to latest ath10k-ct driver.
Ben Greear [Thu, 21 Jul 2016 23:52:40 +0000 (16:52 -0700)]
ath10k-ct: Update to latest ath10k-ct driver.

Adds support for 9984 NICs, and an upstream bugfix or two.

Signed-off-by: Ben Greear <greearb@candelatech.com>
8 years agosunxi/pcduino3: Remove selection of absent rtl8188eu
Alexey Brodkin [Fri, 22 Jul 2016 10:04:06 +0000 (13:04 +0300)]
sunxi/pcduino3: Remove selection of absent rtl8188eu

Since commit 217a64375547 "wireless: remove rtl8188eu (staging)"
there's no point in selection of the missing module.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: John Crispin <john@openwrt.org>
Cc: Zoltan Herpai <wigyori@uid0.hu>
8 years agoopenssl: add option to disable SRP support
Dirk Feytons [Fri, 10 Jun 2016 10:02:15 +0000 (12:02 +0200)]
openssl: add option to disable SRP support

Signed-off-by: Dirk Feytons <dirk.feytons@gmail.com>
8 years agoopenssl: add --gc-sections
Dirk Feytons [Thu, 2 Jun 2016 11:43:14 +0000 (13:43 +0200)]
openssl: add --gc-sections

Signed-off-by: Dirk Feytons <dirk.feytons@gmail.com>
8 years agoopenssl: remove some unneeded functionality and algorithms
Dirk Feytons [Fri, 20 May 2016 13:34:02 +0000 (15:34 +0200)]
openssl: remove some unneeded functionality and algorithms

The patch needed for this commit has been sent upstream:
https://github.com/openssl/openssl/pull/1155

Signed-off-by: Dirk Feytons <dirk.feytons@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [add back bf and srp]
8 years agoopenssl: add option to disable PSK support
Dirk Feytons [Fri, 20 May 2016 15:23:28 +0000 (17:23 +0200)]
openssl: add option to disable PSK support

Signed-off-by: Dirk Feytons <dirk.feytons@gmail.com>
8 years agoopenssl: add option for NPN support
Dirk Feytons [Fri, 20 May 2016 11:39:12 +0000 (13:39 +0200)]
openssl: add option for NPN support

NPN has been superseded by ALPN so NPN is disabled by default
The patch has been sent to OpenSSL for inclusion, see
https://github.com/openssl/openssl/pull/1100

Signed-off-by: Dirk Feytons <dirk.feytons@gmail.com>
8 years agoopenssl: add option to disable compression support
Dirk Feytons [Thu, 19 May 2016 13:59:55 +0000 (15:59 +0200)]
openssl: add option to disable compression support

By default it's disabled. After the CRIME attack it seems the use of
compression is discouraged.

Signed-off-by: Dirk Feytons <dirk.feytons@gmail.com>
8 years agoopenssl: add option to omit deprecated APIs
Dirk Feytons [Thu, 19 May 2016 11:52:45 +0000 (13:52 +0200)]
openssl: add option to omit deprecated APIs

Signed-off-by: Dirk Feytons <dirk.feytons@gmail.com>
8 years agoledtrig-usbdev: fix duplicate match detection
Felix Fietkau [Sat, 23 Jul 2016 08:29:55 +0000 (10:29 +0200)]
ledtrig-usbdev: fix duplicate match detection

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoar71xx: add ath10k firmware to profile defaults where ath10k is used
Felix Fietkau [Fri, 22 Jul 2016 13:57:49 +0000 (15:57 +0200)]
ar71xx: add ath10k firmware to profile defaults where ath10k is used

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoimage.mk: create default ubifs before calling legacy image build code
Felix Fietkau [Fri, 22 Jul 2016 11:26:37 +0000 (13:26 +0200)]
image.mk: create default ubifs before calling legacy image build code

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoapm821xx: rework image build code for MyBook Live
Felix Fietkau [Thu, 21 Jul 2016 17:36:13 +0000 (19:36 +0200)]
apm821xx: rework image build code for MyBook Live

Eliminate redundant mkfs calls, preparation for upcoming image build
core rework

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoapm821xx: add DEVICE_DTS_DIR variable, remove redundant DEVICE_VARS entry
Felix Fietkau [Fri, 22 Jul 2016 09:12:34 +0000 (11:12 +0200)]
apm821xx: add DEVICE_DTS_DIR variable, remove redundant DEVICE_VARS entry

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoapm821xx: add missing default profiles for subtargets
Felix Fietkau [Thu, 21 Jul 2016 13:09:55 +0000 (15:09 +0200)]
apm821xx: add missing default profiles for subtargets

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoapm821xx: add support for the Netgear Centria N900 WNDR4700/WNDR4720
Christian Lamparter [Wed, 20 Jul 2016 13:44:57 +0000 (15:44 +0200)]
apm821xx: add support for the Netgear Centria N900 WNDR4700/WNDR4720

This patch adds support for Netgear Centria N900 WNDR4700/WNDR4720

hardware highlights:

CPU: AMCC PowerPC APM82181 Rev. E at 1000 MHz (PLB=166, OPB=83, EBC=83 MHz)
Security support, Boot ROM Location NAND wo/ECC 2k page (8 bits)
32 kB I-Cache 32 kB D-Cache, 256 kB L2-Cache, 32 kB OnChip Memory
Board: AMCC APM82181 Evaluation Board, PCIE0/SATA1, 1*USB OTG
DRAM: 256 MB (ECC not enabled, 500 Mb/s, 32-bit, CL3)
NAND: 128 MiB (SLC, erase size: 128 KiB, page size: 2048, OOB size: 64)
ETH: Atheros AR8327N Gigabit Switch (4 x LAN, 1 x WAN)
USB: 2 x 3.0 (Renesas uPD720202K8-711-BAA-A, firmware not included)
SATA: 1 x SATA-II 3.5" Hard Drive Bay for HDDs (DesignWare SATA).
WLAN1: Atheros AR9380 5GHz 802.11an 3:3x3
WLAN2: Atheros AR9581 2.4GHz 802.11bgn 3:3x3
SDCARD: GL827L SD/MMC/MS Flash Card Reader (on internal dwc2 USB 2.0 host)
I2C: GMT G781 (i2c-0 @ 0x4d - lm90 compatible temperature sensor)
TC654    (i2c-0 @ 0x1b - Dual PWM fan Speed controller)

WARNING: The serial port needs a TTL/RS-232 v3.3 level converter!

INFO: Since this device only has a NAND chip. I opted for going with
root.squashfs in a UBI volume. There's no squashfs/jffs2 image.

This target produces three images.
  a. netgear factory image
     This image can be used to flash the Netgear WNDR4700 via the
     firmware recovery mechanism and the web admin site.

     The bootloader can be instructed to do a firmware recovery via the
     # fw_recovery
     command. It will start a tftp server and listen on 192.168.1.1
     (the ipaddr variable in u-boot) for incoming, binary tftp clients.
     The firmware recovery mechanism is also started if any of the flash
     content which contains the kernel, device-tree definitions or the
     (fake)rootfs fails to verify or load.

  b. sysupgrade.tar image for sysupgrade
     An sysupgrade will replace the entire current LEDE installation
     with a newer version. This does include the kernel and the ubi rootfs
     partition. The configuration can be carried over automatically as well
     if desired.

     simply copy the sysupgrade.tar to a the WNDR4700 running LEDE and run:

     root@lede:~# sysupgrade sysupgrade.tar

     and let it reboot.

     Note: The devicetree flash area is NOT updated. Until the devicetree
   definition is stable, this can lead to all sorts of hardware
   detection problems! So make sure, if you experience issues: try
   the fw_recovery. If you are unsure whenever this affects you:
   test if you can reproduce your issue with the initramfs method.
   As it will always have up-to-date device-tree definitions.

  c. initramfs image for TFTP (for development and testing)
     To use the initramfs method, follow the following steps:
       1) Move the "lede-apm821xx-netgear-WNDR4700-initramfs-kernel.bin"
  file to to the root directory of your TFTP server.

       2) rename it to wndr4700.bin

       3) On the WNDR4700 - Hit Enter during u-boot and insert:
  # tftp 400000 wndr4700.bin; run addtty; bootm 400000 -

     This will boot the LEDE image.

     Note: The default tftp server is 192.168.1.7, if you want to change it:
     # setenv serverip 192.168.8.7;

     Note2: The default address for the WNDR4700 is 192.168.1.1:
     # setenv ipaddr 192.168.8.8;

     Note: Connect you tftp server on the last LAN port (not the WAN)

Note: The firmware for the USB 3.0 Host chip is not included anymore.
Therefore the two USB 3.0 ports will not work without the
uPD7070x-firmware package installed.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
8 years agoapm821xx: lm90 add thermal sensor interface support for device tree
Christian Lamparter [Wed, 20 Jul 2016 13:44:56 +0000 (15:44 +0200)]
apm821xx: lm90 add thermal sensor interface support for device tree

 From 912-hwmon-lm90-expose-to-thermal-fw-via-DT.patch:
"This patch adds to lm90 temperature sensor the possibility
to expose itself as thermal zone device, registered on the
thermal framework.

The thermal zone is built only if a device tree node
describing a thermal zone for this sensor is present
inside the lm90 DT node. Otherwise, the driver behavior
will be the same."

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
8 years agoapm821xx: tc654: add driver for Microchip TC654/TC655 PWM fan controllers
Christian Lamparter [Wed, 20 Jul 2016 13:44:55 +0000 (15:44 +0200)]
apm821xx: tc654: add driver for Microchip TC654/TC655 PWM fan controllers

This patch adds a hwmon driver for the Microchip TC654 and TC655
Dual SMBus PWM Fan Speed Controllers with Fan Fault detection.

The chip is described in the DS2001734C Spec Document from Microchip.
It supports:
- Shared PWM Fan Drive for two fans
- Provides RPM
- automatic PWM controller (needs additional
  NTC/PTC Thermistors.)
- Overtemperature alarm (when using NTC/PTC
  Thermistors)

The TC654 is used by the Netgear WNDR47X0 to control its
system fan.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
8 years agoapm821xx: add support for the Western Digital MyBook Live Series
Christian Lamparter [Wed, 20 Jul 2016 13:44:54 +0000 (15:44 +0200)]
apm821xx: add support for the Western Digital MyBook Live Series

Hardware Highlights:

This patch adds support for Western Digital MyBook Live Series:
CPU: AMCC PowerPC  UNKNOWN (PVR=12c41c83) at 800 MHz (PLB=200, OPB=100, EBC=100 MHz)
     32 kB I-Cache 32 kB D-Cache, 256 kB L2-Cache, 32 kB OnChip Memory
Board: Apollo-3G - APM82181 Board, 1*SATA
DRAM:  256 MB (2x NT5TU64M16GG-AC)
FLASH: 512 kB (SST 39VF040)
Ethernet: 1xRGMII - 1 Gbit - Broadcom PHY BCM54610

WARNING: The serial port needs a TTL/RS-232 v3.3 level converter!

The MyBook Live Duo additionally features a 1x USB 2.0 host port
and can support a second hard-drive.

This target produces two images for a target.
 1. ext4 image
    The extracted/raw image can be directly installed on
    the internal HDD via "dd if=img.ext4 of=/dev/sdX".

    This can either be done in place with the stock MyBook Live
    firmware via ssh. Or by removing the HDD and writing the image
    with a different PC.

    The the compressed images are useful for sysupgrade.

 2. recovery.tar image for TFTP and Serial.

    extract the recovery.tar to a TFTP server directory.

    On the MyBook Live (Duo) serial port - Hit Enter during u-boot and insert:
    # setenv serverip 192.168.1.254; setenv ipaddr 192.168.1.1; run net_self

    Where 192.168.1.254 is your TFTP server.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
8 years agoapm821xx: sata_dwc_460ex: backport fixes and cleanups from 4.7
Christian Lamparter [Wed, 20 Jul 2016 13:44:53 +0000 (15:44 +0200)]
apm821xx: sata_dwc_460ex: backport fixes and cleanups from 4.7

This patch fixes the sata_dwc_460ex SATA driver which is used
by the SATA controllers in the MyBook Live Series and WNDR4700.

The code was backported from the upstream kernel.
It can be dropped completely on 4.7+.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
8 years agoapm821xx: dw_dmac: backport fixes and cleanups from 4.7
Christian Lamparter [Wed, 20 Jul 2016 13:44:52 +0000 (15:44 +0200)]
apm821xx: dw_dmac: backport fixes and cleanups from 4.7

This patch fixes the dw_dmac dma engine which is used
by the SATA controllers in the MyBook Live Series and WNDR4700.

The code was backported from the upstream kernel.
It can be dropped completely on 4.7+.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
8 years agoapm821xx: add support for the Cisco Meraki MR24
Chris Blake [Wed, 20 Jul 2016 13:44:51 +0000 (15:44 +0200)]
apm821xx: add support for the Cisco Meraki MR24

This patch adds support for the Cisco Meraki MR24 Access point
to the apm821xx target.

Board: MR24 - Meraki MR24 Cloud Managed Access Point
CPU: APM82181 SoC 800 MHz (PLB=200 OPB=100 EBC=100)
Flash size: 32MiB
RAM Size: 128MiB
Wireless: Atheros AR9380 5.0GHz + Atheros AR9380 2.4GHz
Ethernet ports: 1x Gigabit Atheros AR8035

WARNING: The serial port needs a TTL/RS-232 v3.3 level converter!

For flashing instructions, visit:
<https://github.com/riptidewave93/Openwrt-MR24/blob/master/README.md#flashing>

Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
8 years agoapm821xx: add support for the apm821xx device target
Chris Blake [Wed, 20 Jul 2016 13:44:50 +0000 (15:44 +0200)]
apm821xx: add support for the apm821xx device target

This adds a new target for PowerPC APM82181 and APM82161
(464-based) boards, as well as adds support for the booke-wdt
watchdog package.

Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
8 years agoppc4xx: remove booke-wdt watchdog package
Christian Lamparter [Wed, 20 Jul 2016 13:44:49 +0000 (15:44 +0200)]
ppc4xx: remove booke-wdt watchdog package

This patch gets rid of the booke watchdog kmod package.
Instead the affected boards will enable it in their
kernel configs.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
8 years agolantiq: fix image creation of P2812HNUF3 & BTHOMEHUBV3A
Mathias Kresin [Fri, 22 Jul 2016 06:59:01 +0000 (08:59 +0200)]
lantiq: fix image creation of P2812HNUF3 & BTHOMEHUBV3A

Both devices were converted to the new image build code but still using
the LegacyDevice define. Therefore an image isn't created for the
mentioned devices.

Signed-off-by: Mathias Kresin <dev@kresin.me>
8 years agolibpcap: fix dependency of install-shared-so make target
Matthias Schiffer [Thu, 21 Jul 2016 15:45:26 +0000 (17:45 +0200)]
libpcap: fix dependency of install-shared-so make target

There seems to be a situation in which a rebuild of libpcap.so is triggered
in the install step of the libpcap Makefile. libpcap.so is the wrong
target, leading to the build failure reported in [1].

Fix the dependency of install-shared-so to $(SHAREDLIB) so the build can
succeed in this case.

[1] https://dev.openwrt.org/ticket/19894

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
8 years agosamba36: avoid picking up a dependency on libunwind (fixes GH #212)
Felix Fietkau [Thu, 21 Jul 2016 15:27:27 +0000 (17:27 +0200)]
samba36: avoid picking up a dependency on libunwind (fixes GH #212)

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agohostapd: fix an error on parsing radius_das_client
Felix Fietkau [Thu, 21 Jul 2016 14:58:19 +0000 (16:58 +0200)]
hostapd: fix an error on parsing radius_das_client

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoath10k: add NAPI support
Felix Fietkau [Thu, 21 Jul 2016 14:17:08 +0000 (16:17 +0200)]
ath10k: add NAPI support

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agomac80211: add a mesh related fix
Felix Fietkau [Thu, 21 Jul 2016 14:16:49 +0000 (16:16 +0200)]
mac80211: add a mesh related fix

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agokernel: enable CONFIG_SND_PROC_FS by default (FS#54)
Felix Fietkau [Thu, 21 Jul 2016 13:29:57 +0000 (15:29 +0200)]
kernel: enable CONFIG_SND_PROC_FS by default (FS#54)

Some user space code relies on it

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agotoolchain/gcc: disable libmpx to fix build errors on x86 with gcc 6.1
Felix Fietkau [Thu, 21 Jul 2016 12:26:30 +0000 (14:26 +0200)]
toolchain/gcc: disable libmpx to fix build errors on x86 with gcc 6.1

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoar71xx: add missing profile for the nand subtarget (FS#56)
Felix Fietkau [Thu, 21 Jul 2016 11:52:01 +0000 (13:52 +0200)]
ar71xx: add missing profile for the nand subtarget (FS#56)

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoar71xx: fix WNDR4300v1 / WNDR3700v4 build (FS#56)
Felix Fietkau [Thu, 21 Jul 2016 11:52:12 +0000 (13:52 +0200)]
ar71xx: fix WNDR4300v1 / WNDR3700v4 build (FS#56)

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoar71xx: fix more image build code whitespace/tab issues
Felix Fietkau [Thu, 21 Jul 2016 11:49:01 +0000 (13:49 +0200)]
ar71xx: fix more image build code whitespace/tab issues

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoimagebuilder: strip DEVICE_ prefix from profiles (FS#55)
Felix Fietkau [Thu, 21 Jul 2016 11:41:20 +0000 (13:41 +0200)]
imagebuilder: strip DEVICE_ prefix from profiles (FS#55)

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobuild: fix image builder profile override (FS#55)
Felix Fietkau [Thu, 21 Jul 2016 11:27:12 +0000 (13:27 +0200)]
build: fix image builder profile override (FS#55)

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoar71xx: fix tab vs whitespace issue in image building code
Felix Fietkau [Thu, 21 Jul 2016 11:19:23 +0000 (13:19 +0200)]
ar71xx: fix tab vs whitespace issue in image building code

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoar71xx: remove obsolete MultiProfile template code
Felix Fietkau [Thu, 21 Jul 2016 11:18:24 +0000 (13:18 +0200)]
ar71xx: remove obsolete MultiProfile template code

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agomvebu: switch to the new image build code
Felix Fietkau [Wed, 20 Jul 2016 08:04:03 +0000 (10:04 +0200)]
mvebu: switch to the new image build code

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agokernel: update bcma backporting changes up to 4.8
Rafał Miłecki [Wed, 20 Jul 2016 11:41:42 +0000 (13:41 +0200)]
kernel: update bcma backporting changes up to 4.8

This allows building bcm47xxsflash on ARM.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
8 years agokernel: backport patch for MTD_BCM47XXSFLASH dependency
Rafał Miłecki [Wed, 20 Jul 2016 10:58:51 +0000 (12:58 +0200)]
kernel: backport patch for MTD_BCM47XXSFLASH dependency

This is required to update bcma without build breakage. One of bcma
patches changes BCMA_SFLASH dependency.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
8 years agoipq806x: clean up redundant initialization of core device image variables
Felix Fietkau [Wed, 20 Jul 2016 08:09:35 +0000 (10:09 +0200)]
ipq806x: clean up redundant initialization of core device image variables

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoimage.mk: initialize BOARD_NAME and IMAGES, add it to DEVICE_VARS
Felix Fietkau [Wed, 20 Jul 2016 08:09:10 +0000 (10:09 +0200)]
image.mk: initialize BOARD_NAME and IMAGES, add it to DEVICE_VARS

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoimage.mk: add support for specifying the VID header offset for UBI
Felix Fietkau [Wed, 20 Jul 2016 06:46:08 +0000 (08:46 +0200)]
image.mk: add support for specifying the VID header offset for UBI

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agocns3xxx: remove obsolete jffs2 image build code
Felix Fietkau [Tue, 19 Jul 2016 15:26:31 +0000 (17:26 +0200)]
cns3xxx: remove obsolete jffs2 image build code

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agox86: remove obsolete reference to $(PROFILE)
Felix Fietkau [Tue, 19 Jul 2016 15:23:44 +0000 (17:23 +0200)]
x86: remove obsolete reference to $(PROFILE)

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoconfig: remove options for including kernel/dtb in rootfs
Felix Fietkau [Tue, 19 Jul 2016 15:01:28 +0000 (17:01 +0200)]
config: remove options for including kernel/dtb in rootfs

These options were a big design flaw to begin with

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agomxs: unconditionally install kernel images/dtb files into rootfs (needed by boards)
Felix Fietkau [Tue, 19 Jul 2016 15:00:24 +0000 (17:00 +0200)]
mxs: unconditionally install kernel images/dtb files into rootfs (needed by boards)

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agokirkwood: remove obsolete code for including kernel/dtb in rootfs
Felix Fietkau [Tue, 19 Jul 2016 14:54:04 +0000 (16:54 +0200)]
kirkwood: remove obsolete code for including kernel/dtb in rootfs

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoomap: remove obsolete code for including kernel/dtb in rootfs
Felix Fietkau [Tue, 19 Jul 2016 14:50:55 +0000 (16:50 +0200)]
omap: remove obsolete code for including kernel/dtb in rootfs

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoomap: remove obsolete kernel version support
Felix Fietkau [Tue, 19 Jul 2016 14:42:40 +0000 (16:42 +0200)]
omap: remove obsolete kernel version support

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agokirkwood: remove obsolete ubinize.cfg file
Felix Fietkau [Tue, 19 Jul 2016 14:39:46 +0000 (16:39 +0200)]
kirkwood: remove obsolete ubinize.cfg file

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agokirkwood: clean up redundant variables in the image building code
Felix Fietkau [Tue, 19 Jul 2016 14:38:25 +0000 (16:38 +0200)]
kirkwood: clean up redundant variables in the image building code

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agokirkwood: get rid of useless ubifs/ubi option variables
Felix Fietkau [Tue, 19 Jul 2016 14:31:27 +0000 (16:31 +0200)]
kirkwood: get rid of useless ubifs/ubi option variables

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agolantiq: convert remaining xway NAND devices to new image build code
Felix Fietkau [Tue, 19 Jul 2016 14:01:14 +0000 (16:01 +0200)]
lantiq: convert remaining xway NAND devices to new image build code

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agolantiq: convert AVM xrx200 devices to new image build code
Felix Fietkau [Tue, 19 Jul 2016 13:36:40 +0000 (15:36 +0200)]
lantiq: convert AVM xrx200 devices to new image build code

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agolantiq: convert simple xrx200 devices to new image build code
Felix Fietkau [Tue, 19 Jul 2016 13:26:59 +0000 (15:26 +0200)]
lantiq: convert simple xrx200 devices to new image build code

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agolantiq: add image build template for NAND devices
Felix Fietkau [Tue, 19 Jul 2016 13:23:56 +0000 (15:23 +0200)]
lantiq: add image build template for NAND devices

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agolantiq: simplify image building code
Felix Fietkau [Tue, 19 Jul 2016 13:07:56 +0000 (15:07 +0200)]
lantiq: simplify image building code

Specifying the device profile in PROFILES is unnecessary, and for all
devices the DEVICE_PROFILE variable matched the device name.
Get rid of this useless variable and set DEVICE_DTS to $(1)

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agolantiq: fix building NAND images in default config
Felix Fietkau [Tue, 19 Jul 2016 12:55:43 +0000 (14:55 +0200)]
lantiq: fix building NAND images in default config

Remove remaining references to $(PROFILE)

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobuild: add support for parameter passing to mkfs from devices
Felix Fietkau [Tue, 19 Jul 2016 11:36:02 +0000 (13:36 +0200)]
build: add support for parameter passing to mkfs from devices

Will be used to support different ubifs parameters per device

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobuild: split legacy image mkfs.ubifs command from the one used for the new image...
Felix Fietkau [Tue, 19 Jul 2016 10:35:27 +0000 (12:35 +0200)]
build: split legacy image mkfs.ubifs command from the one used for the new image building code

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobuild: split legacy image building code out of image.mk
Felix Fietkau [Tue, 19 Jul 2016 10:38:02 +0000 (12:38 +0200)]
build: split legacy image building code out of image.mk

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobuild: make TARGET_ROOTFS_JFFS2 depend on USES_JFFS2
Felix Fietkau [Tue, 19 Jul 2016 10:21:29 +0000 (12:21 +0200)]
build: make TARGET_ROOTFS_JFFS2 depend on USES_JFFS2

If jffs2 support was not enabled by the target, jffs2 are quite likely
to be broken, so we shouldn't build them.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agolantiq: disable jffs2 support on xrx200
Felix Fietkau [Tue, 19 Jul 2016 10:20:15 +0000 (12:20 +0200)]
lantiq: disable jffs2 support on xrx200

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoimage.mk: replace some template abstraction with make pattern rules
Felix Fietkau [Tue, 19 Jul 2016 09:28:34 +0000 (11:28 +0200)]
image.mk: replace some template abstraction with make pattern rules

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoimage.mk: remove obsolete Build/mkfs overrides
Felix Fietkau [Tue, 19 Jul 2016 09:22:35 +0000 (11:22 +0200)]
image.mk: remove obsolete Build/mkfs overrides

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agokernel: remove obsolete patch adding usb_find_device_by_name
Felix Fietkau [Tue, 19 Jul 2016 12:18:02 +0000 (14:18 +0200)]
kernel: remove obsolete patch adding usb_find_device_by_name

ledtrig-usbdev does not need it anymore

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoledtrig-usbdev: use upstream function for iterating USB devices
Rafał Miłecki [Mon, 18 Jul 2016 15:59:27 +0000 (17:59 +0200)]
ledtrig-usbdev: use upstream function for iterating USB devices

This will allow us to drop LEDE patch adding usb_find_device_by_name.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
8 years agoar71xx: fix default network config of WZR-HP-G300NH and CR3000
Jo-Philipp Wich [Tue, 19 Jul 2016 22:13:15 +0000 (00:13 +0200)]
ar71xx: fix default network config of WZR-HP-G300NH and CR3000

The network defaults for the WZR-HP-G300NH and CR3000 models wrongly set the
lan interface to a vlan tagged device while the switch was set up in untagged
mode, leading to broken lan side ethernet connectivity by default.

Fix the issue by emitting untagged interfaces, consistent with the switch
setting on the device.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoar71xx: add support for gl-ar300m
Zhao Gang [Fri, 15 Jul 2016 10:00:04 +0000 (10:00 +0000)]
ar71xx: add support for gl-ar300m

This add initial support for gl-ar300m router.
Product page: http://www.gl-inet.com/ar300m/

Signed-off-by: Zhao Gang <gang.zhao.42@gmail.com>
8 years agoath9k: switch to using mac80211 intermediate software queues
Felix Fietkau [Fri, 8 Jul 2016 16:08:01 +0000 (18:08 +0200)]
ath9k: switch to using mac80211 intermediate software queues

Provides a nice latency reduction under load, due to mac80211's fq_codel
support.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agox86/generic: enable CONFIG_SATA_VIA
Florian Klink [Mon, 18 Jul 2016 16:53:33 +0000 (18:53 +0200)]
x86/generic: enable CONFIG_SATA_VIA

This enables support for VIA SATA.

8 years agoubox: update to the latest version, fixes lsmod output
Felix Fietkau [Tue, 19 Jul 2016 11:58:54 +0000 (13:58 +0200)]
ubox: update to the latest version, fixes lsmod output

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agouboot-oxnas: fix build error on non-linux systems
Felix Fietkau [Tue, 19 Jul 2016 10:48:21 +0000 (12:48 +0200)]
uboot-oxnas: fix build error on non-linux systems

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agokernel: backport cosmetic UBIFS patches to kernel 4.1
Daniel Golle [Mon, 18 Jul 2016 22:30:27 +0000 (00:30 +0200)]
kernel: backport cosmetic UBIFS patches to kernel 4.1

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
8 years agokernel: backport yet another cosmetic ubifs patch
Daniel Golle [Mon, 18 Jul 2016 22:27:59 +0000 (00:27 +0200)]
kernel: backport yet another cosmetic ubifs patch

On UBI-enabled devices using squashfs as their rootfs an error
message like
UBIFS error (ubi0:3 pid 1): init_constants_early: too few LEBs (12), min. is 17
was thrown while probe-mounting the rootfs which later on succeeds and
thus shouldn't alert the user.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
8 years agostrace: update to version 1.12
Hauke Mehrtens [Mon, 18 Jul 2016 21:12:08 +0000 (23:12 +0200)]
strace: update to version 1.12

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
8 years agooxnas: add kmod-ledtrig-timer to default package set
Daniel Golle [Mon, 18 Jul 2016 18:05:15 +0000 (20:05 +0200)]
oxnas: add kmod-ledtrig-timer to default package set

It is needed for preinit/failsafe indications to work.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
8 years agooxnas: use DHCP by default on ethernet interface (lan)
Daniel Golle [Mon, 18 Jul 2016 17:37:43 +0000 (19:37 +0200)]
oxnas: use DHCP by default on ethernet interface (lan)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
8 years agooxnas: sync kernel config-4.1 with changes made to config-4.4
Daniel Golle [Mon, 18 Jul 2016 16:59:53 +0000 (18:59 +0200)]
oxnas: sync kernel config-4.1 with changes made to config-4.4

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
8 years agooxnas: add DTB for Akitio devices in patches-4.1
Daniel Golle [Mon, 18 Jul 2016 16:45:03 +0000 (18:45 +0200)]
oxnas: add DTB for Akitio devices in patches-4.1

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
8 years agooxnas: revert to kernel 4.1
Daniel Golle [Mon, 18 Jul 2016 16:32:48 +0000 (18:32 +0200)]
oxnas: revert to kernel 4.1

A bug resulting in the NAND not being detected by newer kernels has
kept me sleepless for months and yet I wasn't able to discover the
cause.
Bring back patches and files for 4.1 until this has been resolved.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
8 years agosamba36: disable local browse master by default
Felix Fietkau [Mon, 18 Jul 2016 10:32:10 +0000 (12:32 +0200)]
samba36: disable local browse master by default

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agohostapd: fix VLAN support in full wpad builds
Felix Fietkau [Mon, 18 Jul 2016 11:36:24 +0000 (13:36 +0200)]
hostapd: fix VLAN support in full wpad builds

Suppress -DCONFIG_NO_VLAN if CONFIG_IBSS_RSN is enabled

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoipq806x: add patch for kernel compiler flags
Josh Bendavid [Wed, 13 Jul 2016 09:20:37 +0000 (11:20 +0200)]
ipq806x: add patch for kernel compiler flags

Signed-off-by: Josh Bendavid <joshbendavid@gmail.com>
8 years agoipq806x: change compiler flags to arm cortex-a15
Josh Bendavid [Wed, 13 Jul 2016 09:20:19 +0000 (11:20 +0200)]
ipq806x: change compiler flags to arm cortex-a15

Signed-off-by: Josh Bendavid <joshbendavid@gmail.com>