15.05/openwrt.git
9 years agobrcm47xx: add early support for WNDR3400 V3
Rafał Miłecki [Sun, 7 Dec 2014 00:58:40 +0000 (00:58 +0000)]
brcm47xx: add early support for WNDR3400 V3

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43532 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoperf: this package fails to build for !eglibc
John Crispin [Sat, 6 Dec 2014 20:27:57 +0000 (20:27 +0000)]
perf: this package fails to build for !eglibc

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43531 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: backport BCM5301X patches from arm-soc.git next/dt
Rafał Miłecki [Fri, 5 Dec 2014 16:46:55 +0000 (16:46 +0000)]
bcm53xx: backport BCM5301X patches from arm-soc.git next/dt

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43530 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: squeeze (rename) BCM5301X patches
Rafał Miłecki [Fri, 5 Dec 2014 16:15:16 +0000 (16:15 +0000)]
bcm53xx: squeeze (rename) BCM5301X patches

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43529 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: rename patches that were not upstreamed to 3xx
Rafał Miłecki [Fri, 5 Dec 2014 16:13:27 +0000 (16:13 +0000)]
bcm53xx: rename patches that were not upstreamed to 3xx

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43528 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: update bcma up to 2014-10-27
Rafał Miłecki [Fri, 5 Dec 2014 16:11:03 +0000 (16:11 +0000)]
kernel: update bcma up to 2014-10-27

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43527 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agosdk: don't try to build in-kernel kmods
Jonas Gorski [Fri, 5 Dec 2014 11:50:42 +0000 (11:50 +0000)]
sdk: don't try to build in-kernel kmods

We don't ship the kernel sources, so using the base git as a feed will
fail when trying to build kernel modules with separate install steps.
Instead of trying to fixup the install steps, let's just skip building
kernel modules alltogether and just create empty packages.

Out-of-kernel modules are still expected to exist and are packaged, as
for these sources are fetched during the normal build steps.

Reported-by: Jo-Philipp Wich <jow@openwrt.org>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43525 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoocteon: sysupgrade: support config restore on ERL
John Crispin [Fri, 5 Dec 2014 08:58:25 +0000 (08:58 +0000)]
octeon: sysupgrade: support config restore on ERL

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43524 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoocteon: sysupgrade: rename old kernel after mounting /boot
John Crispin [Fri, 5 Dec 2014 08:58:18 +0000 (08:58 +0000)]
octeon: sysupgrade: rename old kernel after mounting /boot

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43523 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoocteon: sysupgrade: fix test for rootfs device
John Crispin [Fri, 5 Dec 2014 08:58:06 +0000 (08:58 +0000)]
octeon: sysupgrade: fix test for rootfs device

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43522 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agooxnas: switch back to kernel 3.14
John Crispin [Fri, 5 Dec 2014 00:20:50 +0000 (00:20 +0000)]
oxnas: switch back to kernel 3.14

3.18 still got problems with stuck reboots if rootfs is ubifs...

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43521 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agooxnas: re-add support for kernel 3.14
John Crispin [Fri, 5 Dec 2014 00:20:41 +0000 (00:20 +0000)]
oxnas: re-add support for kernel 3.14

This reverts commit c81ddddde5fd193802d511b42eb7b108aac17136 on
https://gitorious.org/openwrt-oxnas/openwrt-oxnas.git
which removed patches and config for 3.14.

[arm_introduce-dma-fiq-irq-broadcast patch was renamed to match 3.18]

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43520 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoocteon: add support for 3.18 kernel
John Crispin [Fri, 5 Dec 2014 00:20:10 +0000 (00:20 +0000)]
octeon: add support for 3.18 kernel

Runtime tested on Ubiquiti EdgeRouter Lite.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43519 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoocteon: sysupgrade: support config restore
John Crispin [Fri, 5 Dec 2014 00:19:59 +0000 (00:19 +0000)]
octeon: sysupgrade: support config restore

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43518 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoocteon: sysupgrade: get rootfsdev from kernel cmdline
John Crispin [Fri, 5 Dec 2014 00:19:46 +0000 (00:19 +0000)]
octeon: sysupgrade: get rootfsdev from kernel cmdline

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43517 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoamazon: R.I.P.
John Crispin [Fri, 5 Dec 2014 00:19:40 +0000 (00:19 +0000)]
amazon: R.I.P.

its been broken for 2 1/2 years

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43516 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel/modules: remove unused variable
John Crispin [Fri, 5 Dec 2014 00:19:28 +0000 (00:19 +0000)]
kernel/modules: remove unused variable

https://dev.openwrt.org/ticket/18472

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43515 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoralink: mt7621 is a 1004Kc
John Crispin [Wed, 3 Dec 2014 20:22:42 +0000 (20:22 +0000)]
ralink: mt7621 is a 1004Kc

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43514 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprocd: more nand takeover fixes
John Crispin [Wed, 3 Dec 2014 20:22:37 +0000 (20:22 +0000)]
procd: more nand takeover fixes

if the initramfs kernel and payload were flashed in one block, the payload might not be at the start of the ubi partition due to bad blocks inside the kernel partition.

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43513 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomtd: make the dump commnd honour the -o option
John Crispin [Wed, 3 Dec 2014 20:22:32 +0000 (20:22 +0000)]
mtd: make the dump commnd honour the -o option

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43512 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add missing null pointer check for mips dma ops inline patch on 3.18
Felix Fietkau [Wed, 3 Dec 2014 18:17:17 +0000 (18:17 +0000)]
kernel: add missing null pointer check for mips dma ops inline patch on 3.18

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43511 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agouboot-envtools: use environment stored in UBI also for KD20
John Crispin [Wed, 3 Dec 2014 16:05:23 +0000 (16:05 +0000)]
uboot-envtools: use environment stored in UBI also for KD20

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43510 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agouboot-oxnas: adjust digtial drive strength of IC+ phy
John Crispin [Wed, 3 Dec 2014 16:05:17 +0000 (16:05 +0000)]
uboot-oxnas: adjust digtial drive strength of IC+ phy

This is what the vendor bootloader does on KD20.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43509 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agouboot-oxnas: re-add IC+ phy driver
John Crispin [Wed, 3 Dec 2014 16:05:11 +0000 (16:05 +0000)]
uboot-oxnas: re-add IC+ phy driver

KD20 got an IC+ phy, without the driver the phy is not properly
initialized resulting in ethernet not working unless being already
initialized by the vendor loader.

upstream commit 368b4d2b49bbbf379d9334747fbbd2aaaafe4356
drivers: net: remove dead drivers
removed icplus.c due to the lack of in-tree users.
Partially revert that commit adding back the IC+ driver.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43508 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: make the ubi attach patch check for a valid ubi magic rather than a tar magic
John Crispin [Wed, 3 Dec 2014 16:05:06 +0000 (16:05 +0000)]
kernel: make the ubi attach patch check for a valid ubi magic rather than a tar magic

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43507 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: make ubi auto-attach check for a tar file magic
John Crispin [Wed, 3 Dec 2014 14:32:38 +0000 (14:32 +0000)]
kernel: make ubi auto-attach check for a tar file magic

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43506 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprocd: firstboot nand/ubi takeover support
John Crispin [Wed, 3 Dec 2014 14:32:32 +0000 (14:32 +0000)]
procd: firstboot nand/ubi takeover support

it is now possible to flash a initramfs kernel and a sysupgrade tar file inside the ubi partition. on first boot, the takeover script will find the tar file, extract and finally sysupgrade it. this allows us to flash owrt/ubi images in a 2 phase setup using ODM webuis that are not ubi aware. this is needed by some mediatek and brokencom devices.

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43505 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agouqmi: Add --delete-message for deleting SMS messages
John Crispin [Wed, 3 Dec 2014 09:17:28 +0000 (09:17 +0000)]
uqmi: Add --delete-message for deleting SMS messages

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43504 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomtd: make the mtd dump call run properly on nand flash
John Crispin [Tue, 2 Dec 2014 19:28:23 +0000 (19:28 +0000)]
mtd: make the mtd dump call run properly on nand flash

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43503 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel/modules: package xhci for kernel>=3.18
Felix Fietkau [Tue, 2 Dec 2014 19:26:45 +0000 (19:26 +0000)]
kernel/modules: package xhci for kernel>=3.18

xhci-hcd was split into xhci-pci and xhci-platform since 3.18

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43502 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogemini: update ethernet driver, register ethernet on nas4220 board
John Crispin [Tue, 2 Dec 2014 18:27:54 +0000 (18:27 +0000)]
gemini: update ethernet driver, register ethernet on nas4220 board

Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43501 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomtd: add ability to dump a mtd device
John Crispin [Tue, 2 Dec 2014 18:27:49 +0000 (18:27 +0000)]
mtd: add ability to dump a mtd device

this can be used on nand flashes and will skip bad blocks and run ecc on the
read data before dumping it.

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43500 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agouboot-oxnas: bump to U-Boot 2014.10
John Crispin [Tue, 2 Dec 2014 15:25:37 +0000 (15:25 +0000)]
uboot-oxnas: bump to U-Boot 2014.10

A few trivial changes were needed to adapt to upstream framework changes.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43499 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agooxnas: switch CRC32 implementation to SLICEBY8
John Crispin [Tue, 2 Dec 2014 15:25:28 +0000 (15:25 +0000)]
oxnas: switch CRC32 implementation to SLICEBY8

similar to what was observed on kirkwood this significantly accelerates
btrfs write operations.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43498 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agooxnas/kd20: add usb-storage to default package set
John Crispin [Tue, 2 Dec 2014 15:25:14 +0000 (15:25 +0000)]
oxnas/kd20: add usb-storage to default package set

KD20 got a built-in card-reader wired to the USB-3 root-hub.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43497 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agooxnas/kd20: use gpio-beeper
John Crispin [Tue, 2 Dec 2014 15:25:09 +0000 (15:25 +0000)]
oxnas/kd20: use gpio-beeper

gpio-beeper module was added to the kernel recently.
Make use of it to drive the piezoelectric buzzer of the kd20.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43496 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel/modules: package gpio-beeper
John Crispin [Tue, 2 Dec 2014 15:25:03 +0000 (15:25 +0000)]
kernel/modules: package gpio-beeper

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43495 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoau1000: set 3.14 as default
John Crispin [Tue, 2 Dec 2014 15:23:37 +0000 (15:23 +0000)]
au1000: set 3.14 as default

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43494 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoopkg: the PKG_UPGRADE env was not set properly
John Crispin [Tue, 2 Dec 2014 15:21:50 +0000 (15:21 +0000)]
opkg: the PKG_UPGRADE env was not set properly

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43493 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprocd: drop the zram dependencies, theu caused a recursive deps warning
John Crispin [Tue, 2 Dec 2014 13:16:06 +0000 (13:16 +0000)]
procd: drop the zram dependencies, theu caused a recursive deps warning

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43492 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agorealview: refresh kernel patch
Felix Fietkau [Tue, 2 Dec 2014 13:14:59 +0000 (13:14 +0000)]
realview: refresh kernel patch

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43491 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprocd: reintroduce /sys/fs/cgroup mount
John Crispin [Tue, 2 Dec 2014 12:41:15 +0000 (12:41 +0000)]
procd: reintroduce /sys/fs/cgroup mount

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43490 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprocd: add support for zram compressed /tmp
John Crispin [Tue, 2 Dec 2014 11:13:28 +0000 (11:13 +0000)]
procd: add support for zram compressed /tmp

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43489 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agorealview: fix up the phyoffset patch
John Crispin [Mon, 1 Dec 2014 21:45:18 +0000 (21:45 +0000)]
realview: fix up the phyoffset patch

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43488 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokirkwood: enable mvsw6171 switch driver on EA4500
John Crispin [Mon, 1 Dec 2014 21:30:40 +0000 (21:30 +0000)]
kirkwood: enable mvsw6171 switch driver on EA4500

Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43487 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add driver for Marvell 88E6171 switch
John Crispin [Mon, 1 Dec 2014 21:30:35 +0000 (21:30 +0000)]
kernel: add driver for Marvell 88E6171 switch

This is a swconfig driver for the Marvell 88E6171 switch,
which is a 7-port GigE switch with two CPU ports and 64
802.1q VLANs.

Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43486 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agofstools: update to the latest version, fixes sysupgrade on linux 3.18
Felix Fietkau [Mon, 1 Dec 2014 21:10:42 +0000 (21:10 +0000)]
fstools: update to the latest version, fixes sysupgrade on linux 3.18

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43485 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoath10k: init devices synchronously to fix wifi detection at boot
Felix Fietkau [Mon, 1 Dec 2014 20:01:05 +0000 (20:01 +0000)]
ath10k: init devices synchronously to fix wifi detection at boot

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43484 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoopenvpn: update to 2.3.6, fixes CVE-2014-8104
Felix Fietkau [Mon, 1 Dec 2014 19:49:59 +0000 (19:49 +0000)]
openvpn: update to 2.3.6, fixes CVE-2014-8104

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43482 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomalta: set 3.14 as default
John Crispin [Mon, 1 Dec 2014 18:46:29 +0000 (18:46 +0000)]
malta: set 3.14 as default

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43481 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agofstools: make the block tool ignore case when comparing uuid strings
John Crispin [Mon, 1 Dec 2014 18:46:23 +0000 (18:46 +0000)]
fstools: make the block tool ignore case when comparing uuid strings

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43480 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: update 3.18 to rc7
Felix Fietkau [Mon, 1 Dec 2014 17:38:54 +0000 (17:38 +0000)]
kernel: update 3.18 to rc7

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43479 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoutil-linux: fix more missing dependencies introduced by r43459
John Crispin [Mon, 1 Dec 2014 16:50:43 +0000 (16:50 +0000)]
util-linux: fix more missing dependencies introduced by r43459

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43478 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agouqmi: fix SEGFAULT on reading Unicode sms messages
John Crispin [Mon, 1 Dec 2014 16:23:55 +0000 (16:23 +0000)]
uqmi: fix SEGFAULT on reading Unicode sms messages

Added complementary blobmsg_close_table() before returning from function
on error.

Signed-off-by: Sławomir Demeszko <s.demeszko@wireless-instruments.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43477 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoutil-linux: fix missing dependency introduced by r43459
John Crispin [Mon, 1 Dec 2014 16:18:15 +0000 (16:18 +0000)]
util-linux: fix missing dependency introduced by r43459

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43476 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agooxnas: change visible board name
John Crispin [Mon, 1 Dec 2014 16:15:37 +0000 (16:15 +0000)]
oxnas: change visible board name

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43475 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agooxnas: ehci: rename vendor prefix plxtch to plxtech
John Crispin [Mon, 1 Dec 2014 16:15:30 +0000 (16:15 +0000)]
oxnas: ehci: rename vendor prefix plxtch to plxtech

it was changed in DTS by commit
oxnas-target: fix typo in OX820 device-tree

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43474 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agohostapd: improve 802.1x dynamic vlan support with bridge names
John Crispin [Mon, 1 Dec 2014 16:15:20 +0000 (16:15 +0000)]
hostapd: improve 802.1x dynamic vlan support with bridge names

In r41872 and r42787 Dynamic VLAN support was reintroduced, but the vlan_bridge
parameter is not read while setting up the config, so the default is used which
is undesirable for some uses.

Signed-off-by: Ben Franske <ben.mm@franske.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43473 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobase-files: default_postinst() - create user:group first (resend)
John Crispin [Mon, 1 Dec 2014 16:15:13 +0000 (16:15 +0000)]
base-files: default_postinst() - create user:group first (resend)

create user:group before running postinst-pkg. the postinst hook might require
the user:group to already exist.

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43472 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar8216: factor out reg_port_stats_base parameters to ar8xxx_chip
John Crispin [Mon, 1 Dec 2014 16:15:08 +0000 (16:15 +0000)]
ar8216: factor out reg_port_stats_base parameters to ar8xxx_chip

Factor out reg_port_stats_base parameters to ar8xxx_chip.
Remove related chip_is_... checks.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43471 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar8216: factor out mii_lo_first to ar8xxx_chip
John Crispin [Mon, 1 Dec 2014 16:15:02 +0000 (16:15 +0000)]
ar8216: factor out mii_lo_first to ar8xxx_chip

Factor out mii_lo_first to ar8xxx_chip.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43470 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar8216: factor out chip-specific data structures from ar8xxx_priv
John Crispin [Mon, 1 Dec 2014 16:14:54 +0000 (16:14 +0000)]
ar8216: factor out chip-specific data structures from ar8xxx_priv

Factor out chip-specific data structures from ar8xxx_priv.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43469 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar8216: factor out set_mirror_regs to ar8xxx_chip
John Crispin [Mon, 1 Dec 2014 16:14:43 +0000 (16:14 +0000)]
ar8216: factor out set_mirror_regs to ar8xxx_chip

Factor out set_mirror_regs to ar8xxx_chip.
Remove related chip_is_... checks.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43468 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar8216: factor out mib_func to ar8xxx_chip
John Crispin [Mon, 1 Dec 2014 16:14:39 +0000 (16:14 +0000)]
ar8216: factor out mib_func to ar8xxx_chip

Factor out mib_func to ar8xxx_chip. Remove related chip_is_... checks.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43467 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar8216: factor out info whether switch should be configured at probe stage to ar8xxx_chip
John Crispin [Mon, 1 Dec 2014 16:14:32 +0000 (16:14 +0000)]
ar8216: factor out info whether switch should be configured at probe stage to ar8xxx_chip

Factor out info whether switch should be configured at probe stage
to ar8xxx_chip. Remove related chip_is_... checks.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43466 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agorealview: add 3.14 support
John Crispin [Mon, 1 Dec 2014 16:14:26 +0000 (16:14 +0000)]
realview: add 3.14 support

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43465 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoixp4xx: add 3.14 support
John Crispin [Mon, 1 Dec 2014 16:14:21 +0000 (16:14 +0000)]
ixp4xx: add 3.14 support

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43464 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoau1000: add 3.14 support
John Crispin [Mon, 1 Dec 2014 16:14:07 +0000 (16:14 +0000)]
au1000: add 3.14 support

this is only compile tested

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43463 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: Add build profile for the gl-inet 6416A and 6408A
John Crispin [Mon, 1 Dec 2014 16:14:02 +0000 (16:14 +0000)]
ar71xx: Add build profile for the gl-inet 6416A and 6408A

Patch to add the buildprofile for the GL-Init-6408A-v1 and the GL-Inet-6416A-v1
Both devices are identical, only difference is one comes with 8MB flash and
the other with 16MB flash

Official website: http://www.gl-inet.com/w/?page_id=241&lang=en
Comprehensive list of specs: https://revspace.nl/GL-Inet

Signed-off-by: Martijn Zilverschoon <martijn@friedzombie.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43462 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: add kernel 3.18 support
Jonas Gorski [Mon, 1 Dec 2014 13:27:26 +0000 (13:27 +0000)]
brcm63xx: add kernel 3.18 support

Add 3.18 support based on 3.18-rc6. Only netboot tested.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43461 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotoolchain-headers: also copy asm-eva.h for mips(el) for 3.15+
Jonas Gorski [Mon, 1 Dec 2014 13:27:06 +0000 (13:27 +0000)]
toolchain-headers: also copy asm-eva.h for mips(el) for 3.15+

Kernel 3.15's asm.h includes eva-asm.h, so copy it also, else lzma-loader
won't compile due to a missing include.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43460 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoutil-linux: package libsmartcols
Luka Perkov [Mon, 1 Dec 2014 12:40:06 +0000 (12:40 +0000)]
util-linux: package libsmartcols

Packages fdisk and lsblk were missing dependency for libsmartcols.so.1

Add package for libsmartcols and add dependency from fdisk and lsblk.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43459 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomkimage: remove check for miscompiled __weak
Felix Fietkau [Mon, 1 Dec 2014 11:07:30 +0000 (11:07 +0000)]
mkimage: remove check for miscompiled __weak

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43458 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: register interrupt-controllers through DT when possible
Jonas Gorski [Mon, 1 Dec 2014 00:52:07 +0000 (00:52 +0000)]
brcm63xx: register interrupt-controllers through DT when possible

Add the required nodes for the interrupt controllers and register
them through DT when a DTB is present.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43457 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: dtsi: add missing ranges properity to ubus nodes
Jonas Gorski [Mon, 1 Dec 2014 00:51:56 +0000 (00:51 +0000)]
brcm63xx: dtsi: add missing ranges properity to ubus nodes

Allows nodes behind it to be mapped.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43456 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: dtsi: add missing properties to cpu nodes
Jonas Gorski [Mon, 1 Dec 2014 00:51:53 +0000 (00:51 +0000)]
brcm63xx: dtsi: add missing properties to cpu nodes

Mark them as cpu nodes and add the addresses.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43455 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: convert to irq domain
Jonas Gorski [Mon, 1 Dec 2014 00:51:51 +0000 (00:51 +0000)]
brcm63xx: convert to irq domain

Add irq-domain aware irqchip drivers for the irq controllers of bcm63xx
and switch to use them.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43454 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: refresh patches
Jonas Gorski [Mon, 1 Dec 2014 00:51:24 +0000 (00:51 +0000)]
brcm63xx: refresh patches

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43453 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: add DT support for DSL-2650U
Jonas Gorski [Mon, 1 Dec 2014 00:51:17 +0000 (00:51 +0000)]
brcm63xx: add DT support for DSL-2650U

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43452 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: add DT support for DSL-2740B/DSL-2741B rev F1
Jonas Gorski [Mon, 1 Dec 2014 00:51:12 +0000 (00:51 +0000)]
brcm63xx: add DT support for DSL-2740B/DSL-2741B rev F1

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43451 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: Add DT support for F@ST2504n
Jonas Gorski [Mon, 1 Dec 2014 00:51:08 +0000 (00:51 +0000)]
brcm63xx: Add DT support for F@ST2504n

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43450 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: add DT support for F@ST2704V2
Jonas Gorski [Mon, 1 Dec 2014 00:51:04 +0000 (00:51 +0000)]
brcm63xx: add DT support for F@ST2704V2

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43449 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: add DT support for F@ST2604
Jonas Gorski [Mon, 1 Dec 2014 00:50:59 +0000 (00:50 +0000)]
brcm63xx: add DT support for F@ST2604

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43448 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: add DT support for F@ST2404
Jonas Gorski [Mon, 1 Dec 2014 00:50:56 +0000 (00:50 +0000)]
brcm63xx: add DT support for F@ST2404

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43447 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotoolchain: uClibc: fix compile with full language support enabled (fixes #13095)
Felix Fietkau [Sun, 30 Nov 2014 22:22:24 +0000 (22:22 +0000)]
toolchain: uClibc: fix compile with full language support enabled (fixes #13095)

When building with CONFIG_BUILD_NLS=y, uClibc fails to compile with following
message (or similar, according to https://dev.openwrt.org/ticket/13095):

-snip-
...
Warning: adding UNDEFINED entry for ar_AE
Warning: adding UNDEFINED entry for am_ET
Warning: adding UNDEFINED entry for af_ZA
grep "^#define" extra/locale/locale_tables.h > extra/locale/lt_defines.h
grep "^#define __lc" extra/locale/locale_collate.h >> extra/locale/lt_defines.h
gcc extra/locale/gen_wctype.c  -o extra/locale/gen_wctype    -Os -Wall  -D__UCLIBC_GEN_LOCALE -I./
extra/locale/gen_wctype.c: In function 'main':
extra/locale/gen_wctype.c:684:2: warning: #warning fix the upper bound on the upper/lower tables... save 200 bytes or so [-Wcpp]
for locale in  en_US en_GB; do \
                extra/locale/gen_wctype  $locale > extra/locale/wctables.h || \
                extra/locale/gen_wctype  $locale.UTF-8 > extra/locale/wctables.h || \
                extra/locale/gen_wctype  $locale.iso8859-1 > extra/locale/wctables.h && break; \
        done
make[4]: *** [extra/locale/wctables.h] Error 1
-snap-

This seems to also depend on the host system used, e.g. running a fresh
checkout on a Debian 7.6 system triggered this error, while running the
very same stuff on an Ubuntu 12.10 Quantal Quetzal does not trigger it.

This is the configuration I used:

-snip-
buildbot@buildbot:~/openwrt-nls.git$ scripts/diffconfig.sh
CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_Default=y
CONFIG_DEVEL=y
CONFIG_BUILD_NLS=y
CONFIG_DOWNLOAD_FOLDER="/srv/downloads/downloads"
-snap-

In the ticket mentioned above, a patch is referenced which solves this issue.

Note, that this issue is also present on 14.07.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43446 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotoolchain: uClibc: fix build with CONFIG_BUILD_NLS selected
Felix Fietkau [Sun, 30 Nov 2014 22:22:14 +0000 (22:22 +0000)]
toolchain: uClibc: fix build with CONFIG_BUILD_NLS selected

Without this patch, selecting "Compile with full language support"
results in the following question during build:

...
Locale Support (UCLIBC_HAS_LOCALE) [Y/n/?] y
  Locale data
  > 1. All locales (UCLIBC_BUILD_ALL_LOCALE) (NEW)
    2. Only selected locales (UCLIBC_BUILD_MINIMAL_LOCALE) (NEW)
    3. Use Pre-generated Locale Data (UCLIBC_PREGENERATED_LOCALE_DATA) (NEW)
  choice[1-3]:

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43445 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add missing config symbol for 3.18
Luka Perkov [Sun, 30 Nov 2014 22:12:20 +0000 (22:12 +0000)]
kernel: add missing config symbol for 3.18

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43444 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoutil-linux: update to 2.25.2
Luka Perkov [Sun, 30 Nov 2014 22:11:09 +0000 (22:11 +0000)]
util-linux: update to 2.25.2

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43443 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoath5k: fix hardware queue index assignment
Felix Fietkau [Sun, 30 Nov 2014 21:05:17 +0000 (21:05 +0000)]
ath5k: fix hardware queue index assignment

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43442 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotools/mkimage: fix build errors (#18445)
Felix Fietkau [Sun, 30 Nov 2014 20:29:10 +0000 (20:29 +0000)]
tools/mkimage: fix build errors (#18445)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43441 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogengetopt: fix parallel build issues (#18442)
Felix Fietkau [Sun, 30 Nov 2014 20:12:07 +0000 (20:12 +0000)]
gengetopt: fix parallel build issues (#18442)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43440 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoath9k: fix hardware tx queue allocation order
Felix Fietkau [Sun, 30 Nov 2014 19:41:59 +0000 (19:41 +0000)]
ath9k: fix hardware tx queue allocation order

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43438 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years ago[tools]: add gengetopt
Imre Kaloz [Sun, 30 Nov 2014 09:51:48 +0000 (09:51 +0000)]
[tools]: add gengetopt

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43437 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agouboot-kirkwood: bump to 2014.10
Luka Perkov [Sun, 30 Nov 2014 03:55:44 +0000 (03:55 +0000)]
uboot-kirkwood: bump to 2014.10

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43436 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomalta: add more 3.14 kernel symbols
Luka Perkov [Sun, 30 Nov 2014 03:51:43 +0000 (03:51 +0000)]
malta: add more 3.14 kernel symbols

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43435 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokirkwood: change CRC32 implementation to CRC32_SLICEBY8
Luka Perkov [Sun, 30 Nov 2014 01:20:38 +0000 (01:20 +0000)]
kirkwood: change CRC32 implementation to CRC32_SLICEBY8

At least on my Iomega ix2-200 system, this makes btrfs writes about 30% faster.

Signed-off-by: Richard Kunze <richard.kunze@web.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43434 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agouboot-envtools: bump to 2014.10
Luka Perkov [Sun, 30 Nov 2014 01:14:17 +0000 (01:14 +0000)]
uboot-envtools: bump to 2014.10

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43433 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokirkwood: refresh kernel config
Luka Perkov [Sun, 30 Nov 2014 01:14:14 +0000 (01:14 +0000)]
kirkwood: refresh kernel config

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43432 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogeneric: set CONFIG_GENERIC_NET_UTILS
Luka Perkov [Sun, 30 Nov 2014 01:14:12 +0000 (01:14 +0000)]
generic: set CONFIG_GENERIC_NET_UTILS

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43431 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years ago[package] uboot-*: update license info in uboot packages
Luka Perkov [Sat, 29 Nov 2014 23:45:53 +0000 (23:45 +0000)]
[package] uboot-*: update license info in uboot packages

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43429 3c298f89-4303-0410-b956-a3cf2f4a3e73