oweals/openwrt.git
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>
8 years agofeeds.conf: disable the targets feed by default
Felix Fietkau [Sun, 17 Jul 2016 14:57:53 +0000 (16:57 +0200)]
feeds.conf: disable the targets feed by default

It is not actively maintained anyway

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoath10k: fix stack traces from a-msdu rx reporting issues
Felix Fietkau [Sun, 17 Jul 2016 10:52:42 +0000 (12:52 +0200)]
ath10k: fix stack traces from a-msdu rx reporting issues

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoscripts/getver.sh: fix older git versions from printing stuff to stdout
Jonas Gorski [Sat, 16 Jul 2016 14:57:05 +0000 (16:57 +0200)]
scripts/getver.sh: fix older git versions from printing stuff to stdout

Older git versions seem output the original argument to stdout if there
is no upstream, presumably because they try to do things with it
internally. This can be prevented by passing --verify to it, which
should be safe on newer git versions.

Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
8 years agoramips: mt7621: add missing kernel symbol
Jo-Philipp Wich [Sat, 16 Jul 2016 11:59:06 +0000 (13:59 +0200)]
ramips: mt7621: add missing kernel symbol

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
8 years agoar71xx: add software transmit timestamp support
Stephen Walker [Thu, 7 Jul 2016 00:23:15 +0000 (20:23 -0400)]
ar71xx: add software transmit timestamp support

Add software transmit timestamp and ethtool (-T) timestamp support

Signed-off-by: Stephen Walker <stephendwalker+github@gmail.com>
8 years agoath9k: implement temperature compensation support for AR93xx and newer
Felix Fietkau [Mon, 11 Jul 2016 09:38:15 +0000 (11:38 +0200)]
ath9k: implement temperature compensation support for AR93xx and newer

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoath9k: use external reset on AR91xx and QCA955x to improve stability
Felix Fietkau [Sat, 9 Jul 2016 13:31:35 +0000 (15:31 +0200)]
ath9k: use external reset on AR91xx and QCA955x to improve stability

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoar71xx: define wmac reset function for QCA955x
Felix Fietkau [Sat, 9 Jul 2016 14:12:46 +0000 (16:12 +0200)]
ar71xx: define wmac reset function for QCA955x

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoimage.mk: fix append-dtb race when multiple devices use the same .dts
Felix Fietkau [Thu, 14 Jul 2016 11:51:49 +0000 (13:51 +0200)]
image.mk: fix append-dtb race when multiple devices use the same .dts

Call Image/BuildDTB unconditionally to keep things consistent

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agouclibc++: fix build with gcc 6.1.0, which defaults to using C++14 ABI
Felix Fietkau [Thu, 14 Jul 2016 11:02:48 +0000 (13:02 +0200)]
uclibc++: fix build with gcc 6.1.0, which defaults to using C++14 ABI

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agotoolchain/gcc: add 6.1.0
Syrone Wong [Wed, 13 Jul 2016 13:57:05 +0000 (21:57 +0800)]
toolchain/gcc: add 6.1.0

-fno-plt and musl-libc patches already get upstream, then dropped
in GCC 6. Other patches are almost identical compared to GCC 5.4.

Compile and run tested on ar71xx/Qihoo C301 and
mvebu/Linksys WRT1900ac v1

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [cleanups/fixes]
8 years agotoolchain: get rid of GCC_VERSION_5 config symbol
Felix Fietkau [Thu, 14 Jul 2016 10:08:03 +0000 (12:08 +0200)]
toolchain: get rid of GCC_VERSION_5 config symbol

Replace it with !GCC_VERSION_4_8 to be more future compatible

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agotoolchain/gcc: clean up remaining references to the old linaro version
Felix Fietkau [Thu, 14 Jul 2016 10:06:39 +0000 (12:06 +0200)]
toolchain/gcc: clean up remaining references to the old linaro version

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agotoolchain/gdb: update to version 7.11.1
Felix Fietkau [Thu, 14 Jul 2016 09:51:10 +0000 (11:51 +0200)]
toolchain/gdb: update to version 7.11.1

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agotoolchain/gdb: reorganize patch layout
Felix Fietkau [Thu, 14 Jul 2016 09:47:36 +0000 (11:47 +0200)]
toolchain/gdb: reorganize patch layout

Use ./patches and ./patches-arc instead of version dependent patches.
We should have only one main supported version (along with the special
case for arc).

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agotoolchain/binutils: add 2.26.1
Syrone Wong [Wed, 13 Jul 2016 13:57:02 +0000 (21:57 +0800)]
toolchain/binutils: add 2.26.1

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [fixes/cleanup]
8 years agotools/isl: bump to 0.17.1
Syrone Wong [Wed, 13 Jul 2016 13:57:01 +0000 (21:57 +0800)]
tools/isl: bump to 0.17.1

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
8 years agoath9k: fix spectral scan on AR9285 and newer AR92xx chipsets
Felix Fietkau [Mon, 11 Jul 2016 08:38:21 +0000 (10:38 +0200)]
ath9k: fix spectral scan on AR9285 and newer AR92xx chipsets

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoath9k: merge a fix for the minimum CCA threshold on 5 GHz
Felix Fietkau [Mon, 11 Jul 2016 08:38:01 +0000 (10:38 +0200)]
ath9k: merge a fix for the minimum CCA threshold on 5 GHz

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agotarget.mk: change CPU_CFLAGS to better suit target CPUs
Felix Fietkau [Thu, 14 Jul 2016 13:43:49 +0000 (15:43 +0200)]
target.mk: change CPU_CFLAGS to better suit target CPUs

-march forces the compiler to generate generic code, whereas -mcpu
allows it to target the specific CPU variant and use instructions that
the generic architecture may not have

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agotarget.mk: rework arm architecture level detection
Felix Fietkau [Thu, 14 Jul 2016 13:41:22 +0000 (15:41 +0200)]
target.mk: rework arm architecture level detection

Use kernel config as input instead of -march CFLAGS.
With this change, -march can be dropped and replaced with more specific
optimization flags for better code generation.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoimage.mk: clean up redundant code related to DEVICE_DTS
Felix Fietkau [Thu, 14 Jul 2016 11:58:23 +0000 (13:58 +0200)]
image.mk: clean up redundant code related to DEVICE_DTS

It is used by a core build template, so the variable should be
initialized and added to DEVICE_VARS in the core.
Same for DEVICE_DTS_DIR

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoscripts/getver.sh: stop relying on the reboot tag
Felix Fietkau [Thu, 14 Jul 2016 11:30:54 +0000 (13:30 +0200)]
scripts/getver.sh: stop relying on the reboot tag

It may not be present when cloning a staging tree or another fork

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agomac80211: fix a harmless uninitialized variable warning
Felix Fietkau [Thu, 14 Jul 2016 11:31:53 +0000 (13:31 +0200)]
mac80211: fix a harmless uninitialized variable warning

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agoadd ath10k-ct: Candela-Tech ath10k out-of-tree driver.
Ben Greear [Wed, 13 Jul 2016 15:16:26 +0000 (08:16 -0700)]
add ath10k-ct: Candela-Tech ath10k out-of-tree driver.

This lets one use the CT ath10k driver instead of the built-in
ath10k driver from the upstream kernel (or backports).

This should be a drop-in replacement, as well as enabling
better CT firmware support.

Signed-off-by: Ben Greear <greearb@candelatech.com>
8 years agobcm53xx: image: don't suppress "mv" command echoing
Rafał Miłecki [Thu, 14 Jul 2016 09:31:26 +0000 (11:31 +0200)]
bcm53xx: image: don't suppress "mv" command echoing

We call all commands normally, with standard echoing. It's useful for
debugging with V=s. Don't make lzma compression an exception, it's a bit
confusing this way.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
8 years agobcm53xx: simplify image building code
Felix Fietkau [Fri, 8 Jul 2016 12:22:29 +0000 (14:22 +0200)]
bcm53xx: simplify image building code

Use append-ubi template for ubinize, remove mkfs override

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years agobcm53xx: remove duplicate template data from the image makefile
Felix Fietkau [Fri, 8 Jul 2016 12:16:16 +0000 (14:16 +0200)]
bcm53xx: remove duplicate template data from the image makefile

Signed-off-by: Felix Fietkau <nbd@nbd.name>