openwrt/openwrt.git
5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 years agobuild: remove obsolete references to cris and avr32
Felix Fietkau [Tue, 24 Mar 2015 10:07:40 +0000 (10:07 +0000)]
build: remove obsolete references to cris and avr32

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

5 years agotoolchain: remove obsolete references to the cris architecture
Felix Fietkau [Tue, 24 Mar 2015 10:07:31 +0000 (10:07 +0000)]
toolchain: remove obsolete references to the cris architecture

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

5 years agotoolchain: remove obsolete checks for avr32
Felix Fietkau [Tue, 24 Mar 2015 10:07:25 +0000 (10:07 +0000)]
toolchain: remove obsolete checks for avr32

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

5 years agotoolchain: remove obsolete !avr32 dependency
Felix Fietkau [Tue, 24 Mar 2015 10:07:13 +0000 (10:07 +0000)]
toolchain: remove obsolete !avr32 dependency

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

5 years agouClibc: remove avr32 support
Felix Fietkau [Tue, 24 Mar 2015 10:07:07 +0000 (10:07 +0000)]
uClibc: remove avr32 support

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

5 years agobinutils: remove version 2.20.1 (only used by avr32)
Felix Fietkau [Tue, 24 Mar 2015 10:06:55 +0000 (10:06 +0000)]
binutils: remove version 2.20.1 (only used by avr32)

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

5 years agox86_64: fix PARTUUID format with leading zeros
Jo-Philipp Wich [Tue, 24 Mar 2015 10:06:40 +0000 (10:06 +0000)]
x86_64: fix PARTUUID format with leading zeros

Otherwise the root device won't be found in 1/16 of the generated images
(whenever the signature starts with a zero digit).

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

5 years agobinutils: remove defunct binutils default version selection for aarch64
Felix Fietkau [Tue, 24 Mar 2015 10:06:38 +0000 (10:06 +0000)]
binutils: remove defunct binutils default version selection for aarch64

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

5 years agogcc: remove 4.4.7 (only used by avr32)
Felix Fietkau [Tue, 24 Mar 2015 10:06:27 +0000 (10:06 +0000)]
gcc: remove 4.4.7 (only used by avr32)

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

5 years agoavr32: remove target
Felix Fietkau [Tue, 24 Mar 2015 10:06:14 +0000 (10:06 +0000)]
avr32: remove target

It depends on obsolete compilers and only works on one device (an
evaluation board).

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