openwrt/staging/kaloz.git
9 years agobrcm63xx: fix Netgear CVG834G HCS magic bytes
Jonas Gorski [Wed, 4 Nov 2015 11:33:10 +0000 (11:33 +0000)]
brcm63xx: fix Netgear CVG834G HCS magic bytes

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 47378

9 years agobrcm63xx: lzma-loader: add BCM3380 support
Jonas Gorski [Wed, 4 Nov 2015 11:33:07 +0000 (11:33 +0000)]
brcm63xx: lzma-loader: add BCM3380 support

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 47377

9 years agobrcm63xx: lzma-loader: add BCM3368 support
Jonas Gorski [Wed, 4 Nov 2015 11:33:03 +0000 (11:33 +0000)]
brcm63xx: lzma-loader: add BCM3368 support

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 47376

9 years agobrcm63xx: fix BCM3368 external interrupts
Jonas Gorski [Wed, 4 Nov 2015 11:32:55 +0000 (11:32 +0000)]
brcm63xx: fix BCM3368 external interrupts

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 47375

9 years agoramips: add feature to blink led on sysupgrade
John Crispin [Tue, 3 Nov 2015 13:32:02 +0000 (13:32 +0000)]
ramips: add feature to blink led on sysupgrade

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 47373

9 years agoscripts/config: fix handling of CONFDEFAULT on oldconfig
Felix Fietkau [Tue, 3 Nov 2015 12:00:53 +0000 (12:00 +0000)]
scripts/config: fix handling of CONFDEFAULT on oldconfig

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47372

9 years agomac80211: fix kconf handling of allnoconfig, fixes spurious brcmfmac related build...
Felix Fietkau [Tue, 3 Nov 2015 12:00:36 +0000 (12:00 +0000)]
mac80211: fix kconf handling of allnoconfig, fixes spurious brcmfmac related build errors

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47371

9 years agotools/bison: update to 3.0.4
Felix Fietkau [Tue, 3 Nov 2015 12:00:04 +0000 (12:00 +0000)]
tools/bison: update to 3.0.4

Update bison to 3.0.4.
Refresh patches.
Drop the unnecessary PKG_CAT definition.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 47370

9 years agotools/mpfr: update to 3.1.3
Felix Fietkau [Tue, 3 Nov 2015 11:59:49 +0000 (11:59 +0000)]
tools/mpfr: update to 3.1.3

Update mpfr to version 3.1.3.
Refresh patches.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 47369

9 years agotools/mpc: update to 1.0.3
Felix Fietkau [Tue, 3 Nov 2015 11:59:35 +0000 (11:59 +0000)]
tools/mpc: update to 1.0.3

Update mpc version to 1.0.3.
Change download location to @GNU.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 47368

9 years agolldpd: implement a reload hook
Felix Fietkau [Tue, 3 Nov 2015 11:59:09 +0000 (11:59 +0000)]
lldpd: implement a reload hook

Seems the default one is not working as expected.
The way that reload should work is that the 'start' service
call should return 1 (if lldpd is running) and then a normal
restart would be called.

However, for lldpd a reload would mean just clearing all custom TLVs
(if they're configured) and reloading the configuration.

So, this patch adds a reload hook, which would:
 - 'start' lldpd if it's not running (because we return 1 if not running)
 - reload configuration if it is running (also previously
    clearing custom TLVs if present)

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
SVN-Revision: 47367

9 years agouboot: create the uboot config file for the shelby as well
Imre Kaloz [Tue, 3 Nov 2015 11:07:30 +0000 (11:07 +0000)]
uboot: create the uboot config file for the shelby as well

fixes #20827

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 47365

9 years agomac80211: fix crash when using mesh (11s) VIF together with another VIF
Felix Fietkau [Mon, 2 Nov 2015 18:26:15 +0000 (18:26 +0000)]
mac80211: fix crash when using mesh (11s) VIF together with another VIF

llid_in_use needs to be limited to stations of the same VIF, otherwise it
will cause a NULL deref as the sta_info of non-mesh-VIFs don't have
sta->mesh set.

Steps to reproduce:

   modprobe mac80211_hwsim channels=2
   iw phy phy0 interface add ibss0 type ibss
   iw phy phy0 interface add mesh0 type mp
   iw phy phy1 interface add ibss1 type ibss
   iw phy phy1 interface add mesh1 type mp
   ip link set ibss0 up
   ip link set mesh0 up
   ip link set ibss1 up
   ip link set mesh1 up
   iw dev ibss0 ibss join foo 2412
   iw dev ibss1 ibss join foo 2412
   # Ensure that ibss0 and ibss1 are actually associated; I often need to
   # leave and join the cell on ibss1 a second time.
   iw dev mesh0 mesh join bar
   iw dev mesh1 mesh join bar # crash

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 47364

9 years agoar71xx: use correct PLL configuration register bitmask for QCA956x SoC.
Felix Fietkau [Mon, 2 Nov 2015 18:20:51 +0000 (18:20 +0000)]
ar71xx: use correct PLL configuration register bitmask for QCA956x SoC.

Incorrect value causes clock inaccuracy as huge as 1/60.

Signed-off-by: Dmitry Ivanov <dima@ubnt.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47363

9 years agobusybox: enable find mtime support by default
Felix Fietkau [Mon, 2 Nov 2015 18:12:59 +0000 (18:12 +0000)]
busybox: enable find mtime support by default

busybox binary in openwrt neither supports stat nor find
mtime. This patch adds find mtime support by default.

I've compared ipk size for three different targets
(ar71xx, brcm2708, x86):

209908 Okt 16 13:48 busybox_1.23.2-3_ar71xx.ipk-0before
210031 Okt 16 16:47 busybox_1.23.2-3_ar71xx.ipk-1after
difference: +123 Byte

223519 Okt 16 13:06 busybox_1.23.2-3_brcm2708.ipk-0before
223720 Okt 16 13:53 busybox_1.23.2-3_brcm2708.ipk-1after
difference: +201 Byte

221477 Okt 16 13:47 busybox_1.23.2-3_x86_64.ipk-0before
221622 Okt 16 13:52 busybox_1.23.2-3_x86_64.ipk-1after
difference: +145 Byte

Signed-off-by: Dirk Brenken <dirk@brenken.org>
SVN-Revision: 47362

9 years agohostapd: add default value to eapol_version (#20641)
Felix Fietkau [Mon, 2 Nov 2015 18:12:54 +0000 (18:12 +0000)]
hostapd: add default value to eapol_version (#20641)

r46861 introduced a new option eapol_version to hostapd, but did not
provide a default value. When the option value is evaluated,
the non-existing value causes errors to the systen log:
"netifd: radio0: sh: out of range"

Add a no-op default value 0 for eapol_version. Only values 1 or 2 are
actually passed on, so 0 will not change the default action in hostapd.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 47361

9 years agoupdate config.guess & config.sub
Felix Fietkau [Mon, 2 Nov 2015 18:12:45 +0000 (18:12 +0000)]
update config.guess & config.sub

These are from today's master branch of:
http://git.savannah.gnu.org/gitweb/?p=config.git;a=tree

In particular it adds support for ARC architecture plus some more
improvements and fixes.

This patch is built-tested against NetGear WNDR3800.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Florian Fainelli <florian@openwrt.org>
Cc: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 47360

9 years agoinclude/kernel.mk - better search for ARCH
Felix Fietkau [Mon, 2 Nov 2015 18:12:29 +0000 (18:12 +0000)]
include/kernel.mk - better search for ARCH

If "findstring" is used without leading and trailing spaces unexpected matches
may happen. For example consider ARC=arc then "findstring $(ARCH)" will
report a false match with "aarch64".

But "findstring $ARCH " (note trailing space) will correctly skip
matches for both "aarch64" and "aarch64_be".

This patch is built-tested against NetGear WNDR3800.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 47359

9 years agoiproute2: always use -DHAVE_SETNS, since the old uclibc is gone now
Felix Fietkau [Mon, 2 Nov 2015 18:12:23 +0000 (18:12 +0000)]
iproute2: always use -DHAVE_SETNS, since the old uclibc is gone now

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47358

9 years agouclibc: remove version 0.9.33
Felix Fietkau [Mon, 2 Nov 2015 18:12:16 +0000 (18:12 +0000)]
uclibc: remove version 0.9.33

Latest uClibc-ng is now the only supported option

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47357

9 years agouclibc-ng: bump version from 1.0.6 to 1.0.8
Felix Fietkau [Mon, 2 Nov 2015 18:12:10 +0000 (18:12 +0000)]
uclibc-ng: bump version from 1.0.6 to 1.0.8

2 new architectures were added in between 1.0.6 and 1.0.8 in uClibc-ng,
these are:
 * lm32
 * or1k

Even thought both are not yet supported in OpenWRT it's important to
disable them both in default config file otherwise user prompt will
appear during uClibc configuration asking to select desired
architecture.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Waldemar Brodkorb <wbx@uclibc-ng.org>
Cc: Mathieu Olivari <mathieu@codeaurora.org>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: John Crispin <blogic@openwrt.org>
SVN-Revision: 47356

9 years agotoolchain: use glibc instead of uclibc for mips64 by default - uclibc is still buggy...
Felix Fietkau [Mon, 2 Nov 2015 18:12:01 +0000 (18:12 +0000)]
toolchain: use glibc instead of uclibc for mips64 by default - uclibc is still buggy there in a few places

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47355

9 years agomediatek: add support for the new MT7623 Arm SoC
John Crispin [Mon, 2 Nov 2015 10:18:50 +0000 (10:18 +0000)]
mediatek: add support for the new MT7623 Arm SoC

the support is still WIP. next steps are to make the pmic and ethernet work.
this is the first commit to make sure nothing gets lost.

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 47354

9 years agofstools: update to latest git HEAD
John Crispin [Mon, 2 Nov 2015 10:18:29 +0000 (10:18 +0000)]
fstools: update to latest git HEAD

update libblkid code and add support for F2SF

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 47353

9 years agouboot-lantiq: Add SoC version 1.2 support for Arcadyan VGV7510KW22
John Crispin [Mon, 2 Nov 2015 10:18:24 +0000 (10:18 +0000)]
uboot-lantiq: Add SoC version 1.2 support for Arcadyan VGV7510KW22

This fixes #20409

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 47352

9 years agoramips: add support for ZBT WG2626
John Crispin [Mon, 2 Nov 2015 10:18:19 +0000 (10:18 +0000)]
ramips: add support for ZBT WG2626

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 47351

9 years agoramips: add eeprom mtd partition to the Asus RP-N53 dts
John Crispin [Mon, 2 Nov 2015 10:18:09 +0000 (10:18 +0000)]
ramips: add eeprom mtd partition to the Asus RP-N53 dts

This patch adds the eeprom property to the dts for the Asus RP-N53. It is necessary to get the wifi in the soc working.

Signed-off-by: Alberto Mattea <alberto@mattea.info>
SVN-Revision: 47350

9 years agoramips: preinit: use iproute2 instead of vconfig
John Crispin [Mon, 2 Nov 2015 10:18:02 +0000 (10:18 +0000)]
ramips: preinit: use iproute2 instead of vconfig

Replace use of vconfig with the corresponding iproute2 syntax in
/lib/preinit/07_set_preinit_iface_ramips

The switch reset work-around needed on some ramips targets used the
deprecated vconfig tool to bring up the pre-init/failsafe interface.
This doesn't work on recent builds where vconfig is no longer being
deployed, resulting in the device being unreachable when triggered
into failsafe mode.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 47349

9 years agoramips: add support for Dovado tiny AC
John Crispin [Mon, 2 Nov 2015 10:17:51 +0000 (10:17 +0000)]
ramips: add support for Dovado tiny AC

Add support for Dovado tiny AC wifi router.

Soc: mt7620a
ram: 64MB
flash: 8MB
1x usb 2.0
two gigabit lan ports

5ghz wlan is not supported on this board since there is no gpl driverfor mt7610e wifi chip.

Signed-off-by: Andrej Vlasic <andrej.vlasic0@gmail.com>
SVN-Revision: 47348

9 years agoramips: add function to change rt2x00 wifi eeprom mac
John Crispin [Mon, 2 Nov 2015 10:17:41 +0000 (10:17 +0000)]
ramips: add function to change rt2x00 wifi eeprom mac

Some boards like dovado tiny ac have generic ralink mac in onflash wifi eeprom.
Add eeprom_set_macaddr function to rt2x00 eeprom extract script which changes mac addr insde eeprom dump.

Signed-off-by: Andrej Vlasic <andrej.vlasic0@gmail.com>
SVN-Revision: 47347

9 years agoramips: mt7620 add icplus phy driver kernel config symbol
John Crispin [Mon, 2 Nov 2015 10:17:35 +0000 (10:17 +0000)]
ramips: mt7620 add icplus phy driver kernel config symbol

Add missing icplus phy driver kernel config symbol to mt7620 subtarget.
This is needed since some mt7620 devices have icplus ip1001 ethernet transceiver

Signed-off-by: Andrej Vlasic <andrej.vlasic0@gmail.com>
SVN-Revision: 47346

9 years agoramips: add support for the Asus RP-N53 in the "02_network" boot script
John Crispin [Mon, 2 Nov 2015 10:17:26 +0000 (10:17 +0000)]
ramips: add support for the Asus RP-N53 in the "02_network" boot script

This patch adds a case for the Asus RP-N53 in the "02_network" boot script. Without this, the lan interface does not get configured on startup, effectively bricking the device.

Signed-off-by: Alberto Mattea <alberto@mattea.info>
SVN-Revision: 47345

9 years agoar71xx: Add support for wdr7500v3
John Crispin [Mon, 2 Nov 2015 10:17:15 +0000 (10:17 +0000)]
ar71xx: Add support for wdr7500v3

The device is similar to Archer C7 v2, but with 8M of flash, and 6 external
antennas.  Reason for breaking the naming pattern is that sticker on the back
mentions "WDR7500" and has no mention of "Archer".

Signed-off-by: Srdjan Rosic <rosic@google.com>
SVN-Revision: 47344

9 years agoomap/Beagleboard: remove FEATURES override
John Crispin [Mon, 2 Nov 2015 10:17:09 +0000 (10:17 +0000)]
omap/Beagleboard: remove FEATURES override

It overrides the feature list of the whole target.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 47343

9 years agoscripts/checkpatch.pl: Fix deprecation warnings
John Crispin [Mon, 2 Nov 2015 10:17:03 +0000 (10:17 +0000)]
scripts/checkpatch.pl: Fix deprecation warnings

In perl version v5.22, use of unescaped opening braces is deprecated

Signed-off-by: Javier Domingo Cansino <javierdo1@gmail.com>
SVN-Revision: 47342

9 years agoramips: rt305x: enable seama mtdsplit parser
John Crispin [Mon, 2 Nov 2015 10:16:56 +0000 (10:16 +0000)]
ramips: rt305x: enable seama mtdsplit parser

D-Link DIR-610 A1 needs seama mtdsplit parser.
This patch should fix #18046.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 47341

9 years agoramips: rt305x: update kernel config symbols
John Crispin [Mon, 2 Nov 2015 10:16:48 +0000 (10:16 +0000)]
ramips: rt305x: update kernel config symbols

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
SVN-Revision: 47340

9 years agomusl: add upstream patch for open_[w]memstream
John Crispin [Mon, 2 Nov 2015 10:16:40 +0000 (10:16 +0000)]
musl: add upstream patch for open_[w]memstream

This patch fixes corner case in open_memstrem, when stream is created,
but nothing is written.
This case is present in tgtadm, tgtd management tool.

Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
SVN-Revision: 47339

9 years agopackage/devel/perf: fix build for kernel 4.1
John Crispin [Mon, 2 Nov 2015 10:16:28 +0000 (10:16 +0000)]
package/devel/perf: fix build for kernel 4.1

This fix contains 2 parts:
 - kernel 4.1: backport upstream patch "perf build: Do not fail on missing Build file"
 - add NO_LZMA=1 to perf MAKE_FLAGS to disable LZMA support

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
SVN-Revision: 47338

9 years agobcm53xx: Netgear R8000: define GPIO powering USB ports
Rafał Miłecki [Sun, 1 Nov 2015 22:21:59 +0000 (22:21 +0000)]
bcm53xx: Netgear R8000: define GPIO powering USB ports

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47337

9 years agobcm53xx: replace USB patch fixing power control with the most recent version
Rafał Miłecki [Sun, 1 Nov 2015 22:21:49 +0000 (22:21 +0000)]
bcm53xx: replace USB patch fixing power control with the most recent version

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47336

9 years agokernel: update kernel 3.18 to version 3.18.23
Hauke Mehrtens [Sun, 1 Nov 2015 13:45:57 +0000 (13:45 +0000)]
kernel: update kernel 3.18 to version 3.18.23

Changelog:
 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.22
 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.23

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47334

9 years agoar71xx: fix regression in building TL-WDR6500-v2 images
Felix Fietkau [Sun, 1 Nov 2015 12:38:44 +0000 (12:38 +0000)]
ar71xx: fix regression in building TL-WDR6500-v2 images

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47333

9 years agokobs-ng: fix compile errors
Felix Fietkau [Sun, 1 Nov 2015 12:38:38 +0000 (12:38 +0000)]
kobs-ng: fix compile errors

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47332

9 years agoimx6: add v4.1 support
Felix Fietkau [Sun, 1 Nov 2015 12:19:32 +0000 (12:19 +0000)]
imx6: add v4.1 support

Build and boot tested on the following hardware:
 * GW54xx
 * GW53xx
 * GW52xx
 * GW51xx

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
SVN-Revision: 47331

9 years agokirkwood: add initial support for NSA310s
Luka Perkov [Sun, 1 Nov 2015 01:13:16 +0000 (01:13 +0000)]
kirkwood: add initial support for NSA310s

Signed-off-by: Tony Dinh <mibodhi@gmail.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 47330

9 years agogeneric: 3.18: refresh patches
Luka Perkov [Sun, 1 Nov 2015 00:04:21 +0000 (00:04 +0000)]
generic: 3.18: refresh patches

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 47329

9 years agouboot-envtools: update to 2015.10
Luka Perkov [Sat, 31 Oct 2015 19:46:56 +0000 (19:46 +0000)]
uboot-envtools: update to 2015.10

Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 47328

9 years agotools/cmake: update to 3.3.2
Felix Fietkau [Sat, 31 Oct 2015 09:31:06 +0000 (09:31 +0000)]
tools/cmake: update to 3.3.2

Update cmake to 3.3.2 and refresh patches.
Add a secondary download location.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 47327

9 years agomalta: make eth0 the wan interface by default
Felix Fietkau [Sat, 31 Oct 2015 09:30:57 +0000 (09:30 +0000)]
malta: make eth0 the wan interface by default

Many packages for OpenWrt currently assume that lan is the "internal"
side of the network map, e.g. if installed, dnsmasq will hand out DHCP
leases on lan, firewall will allow forwarding on lan.

While at it, also configure a lan interface if eth1 exists.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 47326

9 years agomalta: use as a default type device
Felix Fietkau [Sat, 31 Oct 2015 09:30:37 +0000 (09:30 +0000)]
malta: use as a default type device

There is currently no relevant definition for developerboard device type
in include/target.mk, thus packages like iptables, firewall, dnsmasq
etc. are missing in the default images, rendering it almost useless
for regular testing or normal use.

With this change, currently a default set of packages for "router" will
be installed to malta firmware images.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 47325

9 years agomalta: set CPU_TYPE:=24kc.
Felix Fietkau [Sat, 31 Oct 2015 09:30:14 +0000 (09:30 +0000)]
malta: set CPU_TYPE:=24kc.

There are instructions (e.g. wsbh) only available in MIPS32R2 which is
the isa level used by many MIPS targets in OpenWrt.  As we use the malta
target mostly for development and testing purposes, setting the CPU_TYPE
to 24Kc will make the emulation more real.

The following is output from qemu-system-mipsel 2.3.0

    root@OpenWrt:/# cat /proc/cpuinfo  | grep 'cpu model\|isa'
    cpu model               : MIPS 24Kc V0.0  FPU V0.0
    isa                     : mips1 mips2 mips32r1 mips32r2

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 47324

9 years agotarget.mk: add optimization flags for MIPS 24Kc.
Felix Fietkau [Sat, 31 Oct 2015 09:30:03 +0000 (09:30 +0000)]
target.mk: add optimization flags for MIPS 24Kc.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 47323

9 years agogeneric: fix unrecognized opcode wsbh when building for MIPS16.
Felix Fietkau [Sat, 31 Oct 2015 09:29:57 +0000 (09:29 +0000)]
generic: fix unrecognized opcode wsbh when building for MIPS16.

The issue was found and reported by hynman [1] when compiling reaver for ar71xx
(Big Endian MIPS).

    {standard input}: Assembler messages:
    {standard input}:79: Error: unrecognized opcode `wsbh $2,$2'
    {standard input}:90: Error: unrecognized opcode `wsbh $3,$17'
    {standard input}:208: Error: unrecognized opcode `wsbh $2,$2'
    make[3]: *** [builder.o] Error 1

The patch was already in upstream since kernel release 4.3-rc5.

 [1] https://github.com/openwrt/packages/commit/1e29676a8ac74f797f8ca799364681cec575ae6f#commitcomment-12901931

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 47322

9 years agoar71xx/image: remove old unused build code for TPLINK
Felix Fietkau [Sat, 31 Oct 2015 09:29:48 +0000 (09:29 +0000)]
ar71xx/image: remove old unused build code for TPLINK

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 47321

9 years agoar71xx/image: remove old unused build code for TPLINKOLD
Felix Fietkau [Sat, 31 Oct 2015 09:29:38 +0000 (09:29 +0000)]
ar71xx/image: remove old unused build code for TPLINKOLD

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 47320

9 years agoar71xx/image: migrate tl-wr841nd-v1.5 to new build step using squashfs+jffs2 instead...
Felix Fietkau [Sat, 31 Oct 2015 09:29:25 +0000 (09:29 +0000)]
ar71xx/image: migrate tl-wr841nd-v1.5 to new build step using squashfs+jffs2 instead of squashfs-only

All other tplink images use squashfs+jffs2. I don't see any reason why
this board should use squashfs-only

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 47319

9 years agoar71xx/image: remove old unused build step TPLINK-64K
Felix Fietkau [Sat, 31 Oct 2015 09:29:18 +0000 (09:29 +0000)]
ar71xx/image: remove old unused build step TPLINK-64K

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 47318

9 years agoar71xx/image: migrate tl-wdr6500-v2 to new image build steps
Felix Fietkau [Sat, 31 Oct 2015 09:29:09 +0000 (09:29 +0000)]
ar71xx/image: migrate tl-wdr6500-v2 to new image build steps

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 47317

9 years agoar71xx/image: refactor templates tplink-chn-v2
Felix Fietkau [Sat, 31 Oct 2015 09:29:01 +0000 (09:29 +0000)]
ar71xx/image: refactor templates tplink-chn-v2

SVN-Revision: 47316

9 years agoar71xx/image: introduce TPLINK_HEADER_VERSION variable for tplink image
Felix Fietkau [Sat, 31 Oct 2015 09:28:50 +0000 (09:28 +0000)]
ar71xx/image: introduce TPLINK_HEADER_VERSION variable for tplink image

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 47315

9 years agooxnas: image: Remove custom mkfs targz override as base should be fine now
Felix Fietkau [Sat, 31 Oct 2015 09:28:42 +0000 (09:28 +0000)]
oxnas: image: Remove custom mkfs targz override as base should be fine now

It was wrong anyway, missing file sort order parameter which was fixed
in base month ago.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
SVN-Revision: 47314

9 years agokirkwood: image: Remove custom mkfs targz override as base should be fine now
Felix Fietkau [Sat, 31 Oct 2015 09:28:34 +0000 (09:28 +0000)]
kirkwood: image: Remove custom mkfs targz override as base should be fine now

It was wrong anyway, missing file sort order parameter which was fixed
in base month ago.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
SVN-Revision: 47313

9 years agoimx6: image: Remove custom mkfs targz override as base should be fine now
Felix Fietkau [Sat, 31 Oct 2015 09:28:25 +0000 (09:28 +0000)]
imx6: image: Remove custom mkfs targz override as base should be fine now

It was wrong anyway, missing file sort order parameter which was fixed
in base month ago.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
SVN-Revision: 47312

9 years agoinclude/image.mk: Use PROFILE_SANITIZED in targz image task
Felix Fietkau [Sat, 31 Oct 2015 09:28:14 +0000 (09:28 +0000)]
include/image.mk: Use PROFILE_SANITIZED in targz image task

Signed-off-by: Petr Štetiar <ynezz@true.cz>
SVN-Revision: 47311

9 years agooxnas: image: Refactor sanitize_profile_name using PROFILE_SANITIZED variable
Felix Fietkau [Sat, 31 Oct 2015 09:28:05 +0000 (09:28 +0000)]
oxnas: image: Refactor sanitize_profile_name using PROFILE_SANITIZED variable

Signed-off-by: Petr Štetiar <ynezz@true.cz>
SVN-Revision: 47310

9 years agokirkwood: image: Refactor sanitize_profile_name using PROFILE_SANITIZED var
Felix Fietkau [Sat, 31 Oct 2015 09:27:56 +0000 (09:27 +0000)]
kirkwood: image: Refactor sanitize_profile_name using PROFILE_SANITIZED var

Signed-off-by: Petr Štetiar <ynezz@true.cz>
SVN-Revision: 47309

9 years agoimx6: image: Refactor sanitize_profile_name using PROFILE_SANITIZED variable
Felix Fietkau [Sat, 31 Oct 2015 09:27:49 +0000 (09:27 +0000)]
imx6: image: Refactor sanitize_profile_name using PROFILE_SANITIZED variable

Signed-off-by: Petr Štetiar <ynezz@true.cz>
SVN-Revision: 47308

9 years agoinclude/image.mk: Introduce sanitized profile variable
Felix Fietkau [Sat, 31 Oct 2015 09:27:04 +0000 (09:27 +0000)]
include/image.mk: Introduce sanitized profile variable

Making common code reusable as there's a lot of duplicate code in imx6,
kirkwood and oxnas archs.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
SVN-Revision: 47307

9 years agoramips: fix for kernel 4.0 napi repoll need return budgets number
Felix Fietkau [Fri, 30 Oct 2015 22:32:49 +0000 (22:32 +0000)]
ramips: fix for kernel 4.0 napi repoll need return budgets number

Signed-off-by: Michael Lee <igvtee@gmail.com>
SVN-Revision: 47306

9 years agox86/generic: enable radeon drm driver
Felix Fietkau [Fri, 30 Oct 2015 22:32:41 +0000 (22:32 +0000)]
x86/generic: enable radeon drm driver

This enables modesetting for radeon based boards.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
SVN-Revision: 47305

9 years agox86/generic: enable pata_atiixp driver
Felix Fietkau [Fri, 30 Oct 2015 22:32:19 +0000 (22:32 +0000)]
x86/generic: enable pata_atiixp driver

This enables booting from devices that use an ATI PATA controller for
the boot device, such as the embedded CF cards in Fujitsu-Siemens Futro
thin-clients.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
SVN-Revision: 47304

9 years agox86/generic: refresh subtarget kernel config
Felix Fietkau [Fri, 30 Oct 2015 22:32:12 +0000 (22:32 +0000)]
x86/generic: refresh subtarget kernel config

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
SVN-Revision: 47303

9 years agokernel: add some missing symbols for 4.3
Felix Fietkau [Fri, 30 Oct 2015 22:32:04 +0000 (22:32 +0000)]
kernel: add some missing symbols for 4.3

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 47302

9 years agorealview: Create ext4 image by default
Felix Fietkau [Fri, 30 Oct 2015 22:31:47 +0000 (22:31 +0000)]
realview: Create ext4 image by default

Following the additions in r46924, enable the 'ext4' feature for
realview target so the ext4 image is created by default.

Signed-off-by: Dov Murik <dov.murik@gmail.com>
SVN-Revision: 47301

9 years agotools/pkg-config: update to 0.29
Felix Fietkau [Fri, 30 Oct 2015 22:31:29 +0000 (22:31 +0000)]
tools/pkg-config: update to 0.29

Release announcement:
http://lists.freedesktop.org/archives/pkg-config/2015-September/001019.html

Drop patches, as they have been implemented upstream.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Felix Fietkau <nbd@openwrt.org> [fix OSX compatibility]
SVN-Revision: 47300

9 years agotools/quilt: update to 0.64
Felix Fietkau [Fri, 30 Oct 2015 22:31:21 +0000 (22:31 +0000)]
tools/quilt: update to 0.64

Update quilt to version 0.64.
Changelog: http://git.savannah.gnu.org/cgit/quilt.git/tree/NEWS?id=v0.64

Refresh patches. (scripts/inspect.in has been removed upstream)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 47299

9 years agotools/xz: update to 5.2.2
Felix Fietkau [Fri, 30 Oct 2015 22:31:09 +0000 (22:31 +0000)]
tools/xz: update to 5.2.2

Update xz to version 5.2.2.
Add a secondary download location.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 47298

9 years agomac80211: update regulatory database to master-2015-10-22
Felix Fietkau [Fri, 30 Oct 2015 22:31:05 +0000 (22:31 +0000)]
mac80211: update regulatory database to master-2015-10-22

Signed-off-by: Andrej Vlasic <andrej.vlasic0@gmail.com>
SVN-Revision: 47297

9 years agobuild: make mkfs-* depend on kernel installation to fix parallel build issues
Felix Fietkau [Fri, 30 Oct 2015 22:01:27 +0000 (22:01 +0000)]
build: make mkfs-* depend on kernel installation to fix parallel build issues

Reported-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47296

9 years agoath10k-firmware: add qca99x0 firmware
Felix Fietkau [Fri, 30 Oct 2015 22:01:22 +0000 (22:01 +0000)]
ath10k-firmware: add qca99x0 firmware

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47295

9 years agoath10k: split out ath10k firmware into a separate source package and .ipk
Felix Fietkau [Fri, 30 Oct 2015 22:01:18 +0000 (22:01 +0000)]
ath10k: split out ath10k firmware into a separate source package and .ipk

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47294

9 years agolinux-firmware: minor makefile cleanup
Felix Fietkau [Fri, 30 Oct 2015 22:01:04 +0000 (22:01 +0000)]
linux-firmware: minor makefile cleanup

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47293

9 years agosamba: convert init script to procd, add reload support
Felix Fietkau [Fri, 30 Oct 2015 15:32:54 +0000 (15:32 +0000)]
samba: convert init script to procd, add reload support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47292

9 years agoiproute2: fix compile with uClibc-ng
Felix Fietkau [Fri, 30 Oct 2015 15:20:41 +0000 (15:20 +0000)]
iproute2: fix compile with uClibc-ng

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 47291

9 years agobuild: Allow kernel modules to set build ID debug symbol
Felix Fietkau [Fri, 30 Oct 2015 15:20:12 +0000 (15:20 +0000)]
build: Allow kernel modules to set build ID debug symbol

This change adds support for specifying a build ID for kernel modules.
This is done by setting PKG_BUILD_ID to a hexadecimal string, which will
then be passed to the kernel linker. In addition, when this flag is set,
the build ID debug symbol (.note.gnu.build-id) will not be stripped from
the kernel module. This symbol is exported in sysfs by the kernel (if
the kernel is compiled with CONFIG_KALLSYMS) and so can be used to
uniquely identify a version of a kernel module in a running kernel. This
is useful for keeping track of different versions of a module when doing
experiments and development.

Modules that specify the build ID will be ~100 bytes larger (depending
on the length of the build ID specified). There is no size difference
for kernel modules that do not set this variable.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
SVN-Revision: 47290

9 years agobusybox: fix non-portable invocation of mktemp
Felix Fietkau [Fri, 30 Oct 2015 15:18:22 +0000 (15:18 +0000)]
busybox: fix non-portable invocation of mktemp

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47289

9 years agobusybox: update to version 1.24.1
Felix Fietkau [Fri, 30 Oct 2015 15:18:17 +0000 (15:18 +0000)]
busybox: update to version 1.24.1

Patches applied upstream and dropped:
280-fix_find_regression.patch
300-ip-addr-improvements.patch

Fixed upstream:
290-ash-fix-a-regression-in-handling-local-variables.patch (see thread: http://lists.busybox.net/pipermail/busybox/2015-April/082783.html)

Signed-off-by: Magnus Kroken <mkroken@gmail.com>
SVN-Revision: 47288

9 years agomac80211: add pending ath9k/ath10k patches
Felix Fietkau [Fri, 30 Oct 2015 15:18:03 +0000 (15:18 +0000)]
mac80211: add pending ath9k/ath10k patches

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47287

9 years agomac80211: update to wireless-testing 2015-10-26
Felix Fietkau [Fri, 30 Oct 2015 15:17:56 +0000 (15:17 +0000)]
mac80211: update to wireless-testing 2015-10-26

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47286

9 years agorelayd: update to the latest version, fixes some issues found by Coverity
Felix Fietkau [Fri, 30 Oct 2015 15:17:47 +0000 (15:17 +0000)]
relayd: update to the latest version, fixes some issues found by Coverity

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47285

9 years agokernel: backport some bcma header file definitions from wireless-testing
Felix Fietkau [Fri, 30 Oct 2015 15:17:41 +0000 (15:17 +0000)]
kernel: backport some bcma header file definitions from wireless-testing

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47284

9 years agokernel: add missing config symbol
Felix Fietkau [Fri, 30 Oct 2015 15:17:34 +0000 (15:17 +0000)]
kernel: add missing config symbol

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47283

9 years agobcm53xx: add missing Netgear R8000 LEDs
Rafał Miłecki [Fri, 30 Oct 2015 14:44:06 +0000 (14:44 +0000)]
bcm53xx: add missing Netgear R8000 LEDs

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47282

9 years agobcm53xx: add workaround for Netgear R8000 network
Rafał Miłecki [Fri, 30 Oct 2015 12:55:37 +0000 (12:55 +0000)]
bcm53xx: add workaround for Netgear R8000 network

According to the info from NVRAM we should use port 8 for the CPU (and
interface eth2). Unfortunately it doesn't work right now, so lets switch
to the port 5.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Forwardport of r46586 from 15.05

SVN-Revision: 47281

9 years agotarget: remove nathelpers from default images (legacy)
Steven Barth [Thu, 29 Oct 2015 15:16:06 +0000 (15:16 +0000)]
target: remove nathelpers from default images (legacy)

Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 47280

9 years agomwlwifi: upgrade to 10.3.0.12
Imre Kaloz [Thu, 29 Oct 2015 12:11:58 +0000 (12:11 +0000)]
mwlwifi: upgrade to 10.3.0.12

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 47279

9 years agotools: quilt: fix perl interpreter line (#20802)
Jo-Philipp Wich [Mon, 26 Oct 2015 15:28:05 +0000 (15:28 +0000)]
tools: quilt: fix perl interpreter line (#20802)

When using '/usr/bin/env' in a shebang it is not possible to specify
additional flags for the interpreter. Remove '-w' switches and add
'use warnings;' instead.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 47278

9 years agomodules: crypto-rng changes additions for kernel 4.3
John Crispin [Mon, 26 Oct 2015 11:56:16 +0000 (11:56 +0000)]
modules: crypto-rng changes additions for kernel 4.3

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 47276

9 years agokernel: add support for KERNEL_CGROUP_PIDS
John Crispin [Mon, 26 Oct 2015 11:54:56 +0000 (11:54 +0000)]
kernel: add support for KERNEL_CGROUP_PIDS

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 47275