openwrt/staging/blocktrron.git
9 years agogemini: fix usb driver compilation on 3.18
Felix Fietkau [Fri, 27 Mar 2015 16:03:16 +0000 (16:03 +0000)]
gemini: fix usb driver compilation on 3.18

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 45065

9 years agomac80211: remove a leftover patch chunk that should have been deleted in r45061
Felix Fietkau [Fri, 27 Mar 2015 15:04:00 +0000 (15:04 +0000)]
mac80211: remove a leftover patch chunk that should have been deleted in r45061

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

9 years agohostapd: fix compile errors with nl80211 disabled (#19325)
Felix Fietkau [Fri, 27 Mar 2015 14:55:01 +0000 (14:55 +0000)]
hostapd: fix compile errors with nl80211 disabled (#19325)

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

9 years agohostapd: fix a compiler warning in ap+station patch
Felix Fietkau [Fri, 27 Mar 2015 14:54:53 +0000 (14:54 +0000)]
hostapd: fix a compiler warning in ap+station patch

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

9 years agomac80211: rework memory allocation for software queueing patch
Felix Fietkau [Fri, 27 Mar 2015 14:54:46 +0000 (14:54 +0000)]
mac80211: rework memory allocation for software queueing patch

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

9 years agohostapd: disable the bridge packet receive workaround, it is unnecessary on openwrt...
Felix Fietkau [Fri, 27 Mar 2015 14:54:41 +0000 (14:54 +0000)]
hostapd: disable the bridge packet receive workaround, it is unnecessary on openwrt and could potentially harm performance

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

9 years agonetifd: adjust default local policy rules
Steven Barth [Fri, 27 Mar 2015 14:19:10 +0000 (14:19 +0000)]
netifd: adjust default local policy rules

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

9 years agodnsmasq: we dont want to run in debug mode
John Crispin [Fri, 27 Mar 2015 09:11:56 +0000 (09:11 +0000)]
dnsmasq: we dont want to run in debug mode

a left over from the dnsmasq jail testing

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

9 years agoprocd: update to latest git HEAD
John Crispin [Fri, 27 Mar 2015 09:11:49 +0000 (09:11 +0000)]
procd: update to latest git HEAD

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

9 years agomxs: update dtb path in image Makefile
Zoltan Herpai [Fri, 27 Mar 2015 02:35:11 +0000 (02:35 +0000)]
mxs: update dtb path in image Makefile

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 45056

9 years agotools: build mtools and dosfstools for mxs
Zoltan Herpai [Fri, 27 Mar 2015 02:21:20 +0000 (02:21 +0000)]
tools: build mtools and dosfstools for mxs

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 45055

9 years agoar71xx: add missing id for WNR2000v3 image (fixes #18959)
Felix Fietkau [Fri, 27 Mar 2015 00:35:34 +0000 (00:35 +0000)]
ar71xx: add missing id for WNR2000v3 image (fixes #18959)

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

9 years agomxs: bump to 3.18
Zoltan Herpai [Thu, 26 Mar 2015 23:35:50 +0000 (23:35 +0000)]
mxs: bump to 3.18

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 45053

9 years agomxs: add sdcard image builder
Zoltan Herpai [Thu, 26 Mar 2015 23:34:43 +0000 (23:34 +0000)]
mxs: add sdcard image builder

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 45052

9 years agohostapd: add 802.11r support
Felix Fietkau [Thu, 26 Mar 2015 23:34:33 +0000 (23:34 +0000)]
hostapd: add 802.11r support

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

9 years agohostapd: allow multiple key management algorithms
Felix Fietkau [Thu, 26 Mar 2015 23:34:24 +0000 (23:34 +0000)]
hostapd: allow multiple key management algorithms

To enable 802.11r, wpa_key_mgmt should contain FT-EAP or FT-PSK. Allow
multiple key management algorithms to make this possible.

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

9 years agohostapd: append nasid to config for all WPA types
Felix Fietkau [Thu, 26 Mar 2015 23:34:10 +0000 (23:34 +0000)]
hostapd: append nasid to config for all WPA types

The 802.11r implementation in hostapd uses nas_identifier as PMK-R0 Key
Holder identifier. As 802.11r can also be used with WPA Personal, nasid
should be appended to the hostapd config for all WPA types.

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

9 years agohostapd: add dependency to hostapd-common
Felix Fietkau [Thu, 26 Mar 2015 23:34:01 +0000 (23:34 +0000)]
hostapd: add dependency to hostapd-common

'hostapd-common' is needed by all of the variants for wifi to function
correctly (a number of the target profiles simply select 'wpad-mini').

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
SVN-Revision: 45048

9 years agohostapd: package wpad-mesh and wpa_supplicant-mesh variants
Felix Fietkau [Thu, 26 Mar 2015 23:33:56 +0000 (23:33 +0000)]
hostapd: package wpad-mesh and wpa_supplicant-mesh variants

These new variants include support for mesh mode and SAE crypto.
They always depend on openssl as EC operations are not provided by
the internal crypto implementation.

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

9 years agohostapd: add switch_chan and set_vendor_elements ubus methods
Felix Fietkau [Thu, 26 Mar 2015 23:33:52 +0000 (23:33 +0000)]
hostapd: add switch_chan and set_vendor_elements ubus methods

Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45046

9 years agohostapd: update hostapd to 2015-03-25
Felix Fietkau [Thu, 26 Mar 2015 23:33:47 +0000 (23:33 +0000)]
hostapd: update hostapd to 2015-03-25

madwifi was dropped upstream, can't find it anywhere in OpenWrt
either, thus finally burrying madwifi.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45045

9 years agomxs: enable uboot-mxs-duckbill build for duckbill profile
Zoltan Herpai [Thu, 26 Mar 2015 23:04:27 +0000 (23:04 +0000)]
mxs: enable uboot-mxs-duckbill build for duckbill profile

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 45044

9 years agogeneric: drop old kirkwood mach types
Luka Perkov [Thu, 26 Mar 2015 22:48:31 +0000 (22:48 +0000)]
generic: drop old kirkwood mach types

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

9 years agopackages: uboot-mxs: bump to 2015.01
Zoltan Herpai [Thu, 26 Mar 2015 22:39:06 +0000 (22:39 +0000)]
packages: uboot-mxs: bump to 2015.01

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 45042

9 years agomxs: add 3.18 support
Zoltan Herpai [Thu, 26 Mar 2015 22:18:47 +0000 (22:18 +0000)]
mxs: add 3.18 support

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 45041

9 years agouci: update to the latest version
Felix Fietkau [Thu, 26 Mar 2015 20:43:12 +0000 (20:43 +0000)]
uci: update to the latest version

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

9 years agogemini: make dd commands more portable
Felix Fietkau [Thu, 26 Mar 2015 20:37:19 +0000 (20:37 +0000)]
gemini: make dd commands more portable

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

9 years agogemini: switch mantainer to myself
Felix Fietkau [Thu, 26 Mar 2015 20:37:09 +0000 (20:37 +0000)]
gemini: switch mantainer to myself

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 45038

9 years agogemini: nuke 3.10 support
Felix Fietkau [Thu, 26 Mar 2015 20:36:59 +0000 (20:36 +0000)]
gemini: nuke 3.10 support

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 45037

9 years agogemini: remove broken flag
Felix Fietkau [Thu, 26 Mar 2015 20:36:49 +0000 (20:36 +0000)]
gemini: remove broken flag

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 45036

9 years agogemini: switch to 3.18
Felix Fietkau [Thu, 26 Mar 2015 20:36:40 +0000 (20:36 +0000)]
gemini: switch to 3.18

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 45035

9 years agogemini: don't build jffs2 image for Raidsonic board
Felix Fietkau [Thu, 26 Mar 2015 20:36:35 +0000 (20:36 +0000)]
gemini: don't build jffs2 image for Raidsonic board

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 45034

9 years agogemini: add 3.18 support
Felix Fietkau [Thu, 26 Mar 2015 20:36:30 +0000 (20:36 +0000)]
gemini: add 3.18 support

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 45033

9 years agoprocd: fix jail/seccomp build depenedencies
John Crispin [Thu, 26 Mar 2015 20:30:18 +0000 (20:30 +0000)]
procd: fix jail/seccomp build depenedencies

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

9 years agoxburst: Update to 3.18
Lars-Peter Clausen [Thu, 26 Mar 2015 19:46:01 +0000 (19:46 +0000)]
xburst: Update to 3.18

Update the xburst target to kernel version 3.18 and also remove the broken 3.10 support.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
SVN-Revision: 45031

9 years agoar71xx: fix image size checks for WNDR3700
Felix Fietkau [Thu, 26 Mar 2015 18:50:44 +0000 (18:50 +0000)]
ar71xx: fix image size checks for WNDR3700

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

9 years agobuild: ignore errors on copying firmware binaries from $(KDIR) to $(BIN_DIR)
Felix Fietkau [Thu, 26 Mar 2015 18:50:13 +0000 (18:50 +0000)]
build: ignore errors on copying firmware binaries from $(KDIR) to $(BIN_DIR)

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

9 years agoralink: drop xhci patch, it break !mt7621 builds
John Crispin [Thu, 26 Mar 2015 16:24:19 +0000 (16:24 +0000)]
ralink: drop xhci patch, it break !mt7621 builds

will re-add it tomorrow after fixing it

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

9 years agoralink: the xhci patch broke ehci Signed-off-by: John Crispin <blogic@openwrt.org>
John Crispin [Thu, 26 Mar 2015 14:49:26 +0000 (14:49 +0000)]
ralink: the xhci patch broke ehci Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 45027

9 years agomvebu: fixup usb3 support on the a38x
Imre Kaloz [Thu, 26 Mar 2015 14:32:45 +0000 (14:32 +0000)]
mvebu: fixup usb3 support on the a38x

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

9 years agogeneric/4.0: upgrade to 4.0-rc5
Imre Kaloz [Thu, 26 Mar 2015 14:06:42 +0000 (14:06 +0000)]
generic/4.0: upgrade to 4.0-rc5

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

9 years agomvebu: add a coherency fix which didn't make it to -stable, yet
Imre Kaloz [Thu, 26 Mar 2015 13:52:21 +0000 (13:52 +0000)]
mvebu: add a coherency fix which didn't make it to -stable, yet

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

9 years agomwlwifi: depend on TARGET_mvebu until it is fixed for non-OF platforms
Felix Fietkau [Thu, 26 Mar 2015 13:17:46 +0000 (13:17 +0000)]
mwlwifi: depend on TARGET_mvebu until it is fixed for non-OF platforms

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

9 years agoralink: add default pinctrl node for mt7621 eval kit
John Crispin [Thu, 26 Mar 2015 12:23:02 +0000 (12:23 +0000)]
ralink: add default pinctrl node for mt7621 eval kit

fixes #19213

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

9 years agoralink: mt7621 add ECHI OCHI XCHI support
John Crispin [Thu, 26 Mar 2015 10:59:51 +0000 (10:59 +0000)]
ralink: mt7621 add ECHI OCHI XCHI support

The usb stroage not working since updated 3.18. Porting from MTK's source code.

Signed-off-by: wengbj <fl.service@t-firefly.com>
SVN-Revision: 45021

9 years agonetifd: update to latest git HEAD
John Crispin [Thu, 26 Mar 2015 10:59:40 +0000 (10:59 +0000)]
netifd: update to latest git HEAD

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

9 years agoralink: add FireWRT power button
John Crispin [Thu, 26 Mar 2015 10:59:36 +0000 (10:59 +0000)]
ralink: add FireWRT power button

Signed-off-by: Jay Weng <fl.service@t-firefly.com>
SVN-Revision: 45019

9 years agoralink: MT7621 add i2c controller driver
John Crispin [Thu, 26 Mar 2015 10:59:31 +0000 (10:59 +0000)]
ralink: MT7621 add i2c controller driver

ralink i2c driver is not working on MT7621 platform. Porting a new drivers from MTK's source code.
Last time i got some mess . This is new version.

Signed-off-by: Jay Weng <fl.service@t-firefly.com>
SVN-Revision: 45018

9 years agokernel: add missing symbol
John Crispin [Thu, 26 Mar 2015 10:59:24 +0000 (10:59 +0000)]
kernel: add missing symbol

Signed-off-by: John Szakmeister <john@szakmeister.net>
SVN-Revision: 45017

9 years agox86: add missing symbol to xen_domu
John Crispin [Thu, 26 Mar 2015 10:59:10 +0000 (10:59 +0000)]
x86: add missing symbol to xen_domu

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

9 years agotoolchain: fix eglibc build when TOOLCHAINOPTS is not set
John Crispin [Thu, 26 Mar 2015 10:59:04 +0000 (10:59 +0000)]
toolchain: fix eglibc build when TOOLCHAINOPTS is not set

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

9 years agocobalt: enable bridge
John Crispin [Thu, 26 Mar 2015 10:58:59 +0000 (10:58 +0000)]
cobalt: enable bridge

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

9 years agolua: fix eglibc reference
John Crispin [Thu, 26 Mar 2015 10:58:52 +0000 (10:58 +0000)]
lua: fix eglibc reference

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

9 years agomdns: add jail and seccomp support
John Crispin [Thu, 26 Mar 2015 10:58:44 +0000 (10:58 +0000)]
mdns: add jail and seccomp support

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

9 years agodnsmasq: add jail support
John Crispin [Thu, 26 Mar 2015 10:58:30 +0000 (10:58 +0000)]
dnsmasq: add jail support

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

9 years agoprocd: add jail support
John Crispin [Thu, 26 Mar 2015 10:58:25 +0000 (10:58 +0000)]
procd: add jail support

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

9 years agobase-files: add a init.d option that will start the syscall tracer
John Crispin [Thu, 26 Mar 2015 10:58:17 +0000 (10:58 +0000)]
base-files: add a init.d option that will start the syscall tracer

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

9 years agobase-files: create jail folder on boot
John Crispin [Thu, 26 Mar 2015 10:58:11 +0000 (10:58 +0000)]
base-files: create jail folder on boot

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

9 years agokernel: extend seccomp with a LOG action
John Crispin [Thu, 26 Mar 2015 10:58:03 +0000 (10:58 +0000)]
kernel: extend seccomp with a LOG action

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

9 years agoinclude: add a seccomp filter install wrapper
John Crispin [Thu, 26 Mar 2015 10:57:56 +0000 (10:57 +0000)]
include: add a seccomp filter install wrapper

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

9 years agokernel: cleanup seccomp symbol selection
John Crispin [Thu, 26 Mar 2015 10:57:51 +0000 (10:57 +0000)]
kernel: cleanup seccomp symbol selection

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

9 years agouclibc: add LD_PRELOAD support
John Crispin [Thu, 26 Mar 2015 10:57:44 +0000 (10:57 +0000)]
uclibc: add LD_PRELOAD support

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

9 years agobcm53xx: use the correct kernel image
Felix Fietkau [Thu, 26 Mar 2015 10:42:36 +0000 (10:42 +0000)]
bcm53xx: use the correct kernel image

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

9 years agodrop 3.19 support
Imre Kaloz [Thu, 26 Mar 2015 09:42:59 +0000 (09:42 +0000)]
drop 3.19 support

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

9 years agoodhcp6c: various small fixes
Steven Barth [Wed, 25 Mar 2015 18:24:54 +0000 (18:24 +0000)]
odhcp6c: various small fixes

SVN-Revision: 45001

9 years agoar71xx/image: move wdr3500/wdr3600/wdr4300 to new building code
Felix Fietkau [Wed, 25 Mar 2015 17:58:14 +0000 (17:58 +0000)]
ar71xx/image: move wdr3500/wdr3600/wdr4300 to new building code

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

9 years agoar71xx/image: add tplink device template for new building code
Felix Fietkau [Wed, 25 Mar 2015 17:58:10 +0000 (17:58 +0000)]
ar71xx/image: add tplink device template for new building code

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

9 years agoar71xx/image: add Build/mktplinkfw as buildstep for new build code
Felix Fietkau [Wed, 25 Mar 2015 17:58:05 +0000 (17:58 +0000)]
ar71xx/image: add Build/mktplinkfw as buildstep for new build code

Use `mktplinkfw sysupgrade` or `mktplinkfw factory` or
`mktplinkfw image`

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

9 years agoinclude/image.mk: define variable FILESYSTEM
Felix Fietkau [Wed, 25 Mar 2015 17:58:00 +0000 (17:58 +0000)]
include/image.mk: define variable FILESYSTEM

Set it to the filesystem which is build. mktplinkfw need to know which filesystem
is used.
FILESYSTEM can be squashfs, jffs2-64k, ...

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

9 years agobcm53xx: convert to new image building code
Felix Fietkau [Wed, 25 Mar 2015 17:57:44 +0000 (17:57 +0000)]
bcm53xx: convert to new image building code

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

9 years agobrcm63xx: use a lookup for bcmcia's ready gpio
Jonas Gorski [Wed, 25 Mar 2015 15:37:38 +0000 (15:37 +0000)]
brcm63xx: use a lookup for bcmcia's ready gpio

Should fix pcmcia on BCM6348 and BCM6358 after switching to DT-probed
gpio controllers.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44995

9 years agobrcm63xx: fix bcm96328avng board name
Jonas Gorski [Wed, 25 Mar 2015 15:36:26 +0000 (15:36 +0000)]
brcm63xx: fix bcm96328avng board name

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44994

9 years agobrcm63xx: fix bt v2500v dts based detection
Jonas Gorski [Wed, 25 Mar 2015 15:36:15 +0000 (15:36 +0000)]
brcm63xx: fix bt v2500v dts based detection

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44993

9 years agobrcm63xx: move RTA770(B)W to dts
Jonas Gorski [Wed, 25 Mar 2015 15:36:12 +0000 (15:36 +0000)]
brcm63xx: move RTA770(B)W to dts

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44992

9 years agobrcm63xx: move MAGIC to dts
Jonas Gorski [Wed, 25 Mar 2015 15:36:05 +0000 (15:36 +0000)]
brcm63xx: move MAGIC to dts

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44991

9 years agobrcm63xx: move CPVA502+ to dts
Jonas Gorski [Wed, 25 Mar 2015 15:35:57 +0000 (15:35 +0000)]
brcm63xx: move CPVA502+ to dts

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44990

9 years agobrcm63xx: move dg834g v4 to dts
Jonas Gorski [Wed, 25 Mar 2015 15:35:43 +0000 (15:35 +0000)]
brcm63xx: move dg834g v4 to dts

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44989

9 years agobrcm63xx: move dsl-2640u to dts
Jonas Gorski [Wed, 25 Mar 2015 15:35:37 +0000 (15:35 +0000)]
brcm63xx: move dsl-2640u to dts

Also build image again(?).

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44988

9 years agobrcm63xx: move bcm963268bu_p300 to dts
Jonas Gorski [Wed, 25 Mar 2015 15:35:24 +0000 (15:35 +0000)]
brcm63xx: move bcm963268bu_p300 to dts

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44987

9 years agobrcm63xx: fix compilation on 3.14
Jonas Gorski [Wed, 25 Mar 2015 15:35:15 +0000 (15:35 +0000)]
brcm63xx: fix compilation on 3.14

Fixes the following issue:

drivers/gpio/gpio-bcm63xx.c: In function 'bcm63xx_gpio_probe':
drivers/gpio/gpio-bcm63xx.c:80:4: error: implicit declaration of function 'devm_kasprintf' [-Werror=implicit-function-declaration]

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44986

9 years agobrcm63xx: Add BT Home Hub 2A support.
Jonas Gorski [Wed, 25 Mar 2015 15:35:12 +0000 (15:35 +0000)]
brcm63xx: Add BT Home Hub 2A support.

Support for the BT HomeHub 2.0 Type A.

This router was manufactured by Thomson, and it's BCM6358 based.
The leds are controled by two chained HC594, all working ok. The BCM5325
switch has the RESET# pin wired to the GPIO15, but currently there is no
way to tell the b53 driver how to get this gpio number in brcm63xx,
therefore swconfig won't use it when performing a switch reset.

The patch was tested with several firmwares, and all except unsupported
stuff (i.e xDSL) works pretty well.

Tested-by: Tahir <tahir00ali@gmail.com>
Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
SVN-Revision: 44985

9 years agobrcm63xx: move kernel load address to 8MiB
Jonas Gorski [Wed, 25 Mar 2015 15:34:59 +0000 (15:34 +0000)]
brcm63xx: move kernel load address to 8MiB

Fixes boot when uncompressed kernel is > 4 MiB (#19251).

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44984

9 years agobrcm63xx: hcsimage: respect load address
Jonas Gorski [Wed, 25 Mar 2015 15:34:45 +0000 (15:34 +0000)]
brcm63xx: hcsimage: respect load address

Respect the vmlinux load address when generating images.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44983

9 years agobrcm63xx: add Livebox 1 firmware image generation
Jonas Gorski [Wed, 25 Mar 2015 15:34:40 +0000 (15:34 +0000)]
brcm63xx: add Livebox 1 firmware image generation

Currently there isn't images ready for flashing liveboxes boards. This
patch adds a script and the code to call it in the  bcm63xx images
builder makefile to generate the livebox 1 firmware.

I removed some lines to avoid generating unneded files in the bin/ dir
for this board. And added code to generate a squashed rootfs aligned to
64 kB since the current one in the /bin dir is 128 kB aligned and
doesn't work. Still no sysupgrade support for this board. Upgrading from
within openwrt can be done writing with mtd the kernel, and then the 64k
aligned rootfs.

Regards

Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
[jogo: use sed instead of a separate shell script for the boot script, make it
 respect the load address]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44982

9 years agobrcm63xx: add a dummy image recipe for boards missing proper images
Jonas Gorski [Wed, 25 Mar 2015 15:34:26 +0000 (15:34 +0000)]
brcm63xx: add a dummy image recipe for boards missing proper images

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44981

9 years agobrcm63xx: drop non-dtb image recipe
Jonas Gorski [Wed, 25 Mar 2015 15:34:23 +0000 (15:34 +0000)]
brcm63xx: drop non-dtb image recipe

All images generated contain dtbs, so it is now unused.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44980

9 years agoimage.mk: allow image build code to run a per-filesystem prepare step
Felix Fietkau [Wed, 25 Mar 2015 14:30:53 +0000 (14:30 +0000)]
image.mk: allow image build code to run a per-filesystem prepare step

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

9 years agokernel: merge upstream bgmac driver improvements
Felix Fietkau [Wed, 25 Mar 2015 14:30:46 +0000 (14:30 +0000)]
kernel: merge upstream bgmac driver improvements

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

9 years agobcm53xx: enable the full-line-of-zero optimization in the cache controller
Felix Fietkau [Wed, 25 Mar 2015 14:30:40 +0000 (14:30 +0000)]
bcm53xx: enable the full-line-of-zero optimization in the cache controller

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

9 years agotoolchain/glibc: remove broken eglibc 2.15 support
Felix Fietkau [Wed, 25 Mar 2015 14:29:23 +0000 (14:29 +0000)]
toolchain/glibc: remove broken eglibc 2.15 support

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

9 years agotoolchain: drop obsolete references to the coldfire target
Felix Fietkau [Wed, 25 Mar 2015 14:29:17 +0000 (14:29 +0000)]
toolchain: drop obsolete references to the coldfire target

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

9 years agokernel: yaffs: use new_sync_{read,write} for 3.18+
Gabor Juhos [Wed, 25 Mar 2015 08:59:12 +0000 (08:59 +0000)]
kernel: yaffs: use new_sync_{read,write} for 3.18+

Using the do_sync_{read,write} functions in conjunction
with the generic_file_{read,write}_iter causes a kernel
panic like this:

  root@OpenWrt:/# mount -t yaffs /dev/mtdblock5 /mnt
  [ 2884.110000] yaffs: dev is 32505861 name is "mtdblock5" rw
  [ 2884.120000] yaffs: passed flags ""
  root@OpenWrt:/# hexdump -vC -n 64 /mnt/kernel
  [ 2902.700000] CPU 0 Unable to handle kernel paging request at virtual \
    address 00000000, epc == 00000000, ra == 80129414
  [ 2902.710000] Oops[#1]:
  [ 2902.710000] CPU: 0 PID: 1030 Comm: hexdump Not tainted 3.18.9 #2
  [ 2902.710000] task: 878e7a20 ti: 868c6000 task.ti: 868c6000
  [ 2902.710000] $ 0   : 00000000 fffffff8 00000000 00000000
  [ 2902.710000] $ 4   : 868c7e70 868c7ea8 00000001 868c7f08
  [ 2902.710000] $ 8   : 00000038 80064f18 80072280 00000000
  [ 2902.710000] $12   : 7fa152b8 7709e3a0 00c42008 7709e3a0
  [ 2902.710000] $16   : 868c7f08 86a46000 00000010 878e7a20
  [ 2902.710000] $20   : 7705c4b0 00000010 00000000 00000000
  [ 2902.710000] $24   : 770960bc 7707dd78
  [ 2902.710000] $28   : 868c6000 868c7e58 7f8e7030 80129414
  [ 2902.710000] Hi    : 00000000
  [ 2902.710000] Lo    : ffffffff
  [ 2902.710000] epc   : 00000000   (null)
  [ 2902.710000]     Not tainted
  [ 2902.710000] ra    : 80129414 do_sync_read+0x7c/0xb4
  [ 2902.710000] Status: 1900dc03 KERNEL EXL IE
  [ 2902.710000] Cause : 00800008
  [ 2902.710000] BadVA : 00000000
  [ 2902.710000] PrId  : 00019750 (MIPS 74Kc)

Change the yaffs code to use the new_sync_{read,write} functions
instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 44974

9 years agoiproute2: fix build error with musl (#19302)
Felix Fietkau [Wed, 25 Mar 2015 00:11:07 +0000 (00:11 +0000)]
iproute2: fix build error with musl (#19302)

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

9 years agoautomake: portability fixes
Jo-Philipp Wich [Tue, 24 Mar 2015 13:13:01 +0000 (13:13 +0000)]
automake: portability fixes

The rework of the host tools discovery caused automake to embed
absolute paths to staging_dir/host/bin/perl into the shebang
of the generated automake executables.

Switch to the portable "/usr/bin/env perl" and enable global
warnings through "$^W" instead of the "-w" interpreter argument.

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

9 years agoautoconf: portability fixes
Jo-Philipp Wich [Tue, 24 Mar 2015 13:12:52 +0000 (13:12 +0000)]
autoconf: portability fixes

The rework of the host tools discovery caused autoconf to embed
absolute paths to staging_dir/host/bin/perl into the shebang
of the generated autoconfig executables.

Switch to the portable "/usr/bin/env perl" and enable global
warnings through "$^W" instead of the "-w" interpreter argument.

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

9 years agokernel: backport rest of bcma patches
Rafał Miłecki [Tue, 24 Mar 2015 10:39:10 +0000 (10:39 +0000)]
kernel: backport rest of bcma patches

This backports
bcma: allow disabling (not building) PCI driver
Revert "bcma: Kconfig: Let it depend on PCI"

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

9 years agokernel: mac80211: backport bcma patch renaming IRQ control function
Rafał Miłecki [Tue, 24 Mar 2015 10:38:59 +0000 (10:38 +0000)]
kernel: mac80211: backport bcma patch renaming IRQ control function

This backports upstream commit 702131e2a393b45174be326f1dbe20b658b4f157
bcma: move PCI IRQ control function to host specific code

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

9 years agomark 3.10 targets as broken
Rafał Miłecki [Tue, 24 Mar 2015 10:38:50 +0000 (10:38 +0000)]
mark 3.10 targets as broken

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

9 years agolldpd: add option to disable privilege separation
Jo-Philipp Wich [Tue, 24 Mar 2015 10:13:08 +0000 (10:13 +0000)]
lldpd: add option to disable privilege separation

Helpful to disable when debugging lldpd crashes (when working on it).
When privilege separation is on, some crashes are stack-traced to
some privilege separation code.

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

9 years agox86: use PARTUUID instead explicitly specifying the device by default
Jo-Philipp Wich [Tue, 24 Mar 2015 10:08:12 +0000 (10:08 +0000)]
x86: use PARTUUID instead explicitly specifying the device by default

This changes the x86 image generation to match x86_64, using the PARTUUID for
the rootfs instead of explicitly configuring the device.

It unbreaks KVM with VirtIO, which uses /dev/vda2 instead of /dev/sda2.

Tested in QEMU/KVM with VirtIO, VirtualBox and VMware.

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