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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 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

9 years agokernel: update bcma with most patches from wireless-drivers-next
Rafał Miłecki [Tue, 24 Mar 2015 07:15:31 +0000 (07:15 +0000)]
kernel: update bcma with most patches from wireless-drivers-next

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

9 years agokernel: backport fixed_phy_register EXPORT fix from 3.19
Rafał Miłecki [Mon, 23 Mar 2015 18:39:16 +0000 (18:39 +0000)]
kernel: backport fixed_phy_register EXPORT fix from 3.19

This fixes
ERROR: "fixed_phy_register" [drivers/net/ethernet/broadcom/bgmac.ko] undefined!

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

9 years agomac80211: disable for uml
Steven Barth [Mon, 23 Mar 2015 14:51:56 +0000 (14:51 +0000)]
mac80211: disable for uml

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

9 years agogeneric/3.18: refresh patches
Imre Kaloz [Mon, 23 Mar 2015 13:28:52 +0000 (13:28 +0000)]
generic/3.18: refresh patches

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

9 years agomwlwifi: update to the new revision
Imre Kaloz [Mon, 23 Mar 2015 12:45:19 +0000 (12:45 +0000)]
mwlwifi: update to the new revision

Adds client mode support and fixes for Apple devices

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

9 years agomvebu: update mamba dts
Imre Kaloz [Mon, 23 Mar 2015 12:44:30 +0000 (12:44 +0000)]
mvebu: update mamba dts

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

9 years agoiwinfo: update to the latest version, fixes 802.11ac capability reporting
Felix Fietkau [Mon, 23 Mar 2015 12:31:28 +0000 (12:31 +0000)]
iwinfo: update to the latest version, fixes 802.11ac capability reporting

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

9 years agobcm53xx: add missing cache controller errata options
Felix Fietkau [Mon, 23 Mar 2015 10:14:27 +0000 (10:14 +0000)]
bcm53xx: add missing cache controller errata options

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

9 years agobcm53xx: remove linux 3.14 support
Felix Fietkau [Mon, 23 Mar 2015 10:14:20 +0000 (10:14 +0000)]
bcm53xx: remove linux 3.14 support

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

9 years agolibubox: update to latest git HEAD
John Crispin [Sun, 22 Mar 2015 19:30:04 +0000 (19:30 +0000)]
libubox: update to latest git HEAD

fix a bug the made uloop_end() not work when called from within a uloop_process
callback handler

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

9 years agonetifd: fix default initialization of RPS/XPS
Felix Fietkau [Sun, 22 Mar 2015 17:40:39 +0000 (17:40 +0000)]
netifd: fix default initialization of RPS/XPS

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

9 years agonetifd: update to the latest version, adds support for configuring RPS/XPS (enabled...
Felix Fietkau [Sun, 22 Mar 2015 16:42:44 +0000 (16:42 +0000)]
netifd: update to the latest version, adds support for configuring RPS/XPS (enabled by default where available)

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

9 years agofstools: update to the latest version, makes interrupted first boot more reliable
Felix Fietkau [Sun, 22 Mar 2015 15:11:27 +0000 (15:11 +0000)]
fstools: update to the latest version, makes interrupted first boot more reliable

Use xattr to store the filesystem initialization state of the overlay.
As long as the filesystem is not marked as initialized yet (happens in
/etc/init.d/done), all overlay data (except for sysupgrade.tgz) will be
discarded before the system is allowed to boot

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

9 years agobase-files: keep sysupgrade.tgz until /etc/init.d/done has been called
Felix Fietkau [Sun, 22 Mar 2015 15:11:20 +0000 (15:11 +0000)]
base-files: keep sysupgrade.tgz until /etc/init.d/done has been called

This makes interrupted boots after sysupgrade more reliable

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

9 years agoramips: make ethernet register map u16 instead of u32
Felix Fietkau [Sun, 22 Mar 2015 15:11:14 +0000 (15:11 +0000)]
ramips: make ethernet register map u16 instead of u32

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

9 years agobcm53xx: add SMP support
Rafał Miłecki [Sun, 22 Mar 2015 15:07:40 +0000 (15:07 +0000)]
bcm53xx: add SMP support

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

9 years agoutil-linux: replace spaces with tabs
Nicolas Thill [Sun, 22 Mar 2015 12:37:33 +0000 (12:37 +0000)]
util-linux: replace spaces with tabs

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44938

9 years agouml: bump to 3.18
Nicolas Thill [Sun, 22 Mar 2015 12:36:57 +0000 (12:36 +0000)]
uml: bump to 3.18

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44937

9 years agodosfstools: switch back to release tarballs, update patches to the latest sent upstream
Felix Fietkau [Sun, 22 Mar 2015 10:58:04 +0000 (10:58 +0000)]
dosfstools: switch back to release tarballs, update patches to the latest sent upstream

This fixes non applying patches on buildbots.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 44936

9 years agoau1000: drop 005-fix-cpu-clk.patch
John Crispin [Sun, 22 Mar 2015 07:03:02 +0000 (07:03 +0000)]
au1000: drop 005-fix-cpu-clk.patch

it has been upstreamed and treackled down with the latest 3.18 update

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

9 years agobcm53xx: add support for Asus RT-AC68U
Rafał Miłecki [Sun, 22 Mar 2015 01:57:15 +0000 (01:57 +0000)]
bcm53xx: add support for Asus RT-AC68U

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

9 years agobcm53xx: fix Asus RT-AC87U magic (even if not used yet)
Rafał Miłecki [Sun, 22 Mar 2015 01:57:10 +0000 (01:57 +0000)]
bcm53xx: fix Asus RT-AC87U magic (even if not used yet)

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

9 years agobcm53xx: backport BCM5301X Netgear R6250/R8000 DT patches
Rafał Miłecki [Sun, 22 Mar 2015 01:57:06 +0000 (01:57 +0000)]
bcm53xx: backport BCM5301X Netgear R6250/R8000 DT patches

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

9 years agobcm53xx: refresh patches
Rafał Miłecki [Sun, 22 Mar 2015 01:56:47 +0000 (01:56 +0000)]
bcm53xx: refresh patches

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

9 years agopackage-defaults.mk: set DISABLE_NLS only if not CONFIG_BUILD_NLS
John Crispin [Sat, 21 Mar 2015 21:48:18 +0000 (21:48 +0000)]
package-defaults.mk: set DISABLE_NLS only if not CONFIG_BUILD_NLS

set DISABLE_NLS only if CONFIG_BUILD_NLS NOT set.
like DISABLE_IPV6 which depends on CONFIG_IPV6

Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
SVN-Revision: 44930

9 years agokernel: Support kernel options required by systemd
John Crispin [Sat, 21 Mar 2015 21:48:12 +0000 (21:48 +0000)]
kernel: Support kernel options required by systemd

These kernel options are all likely to be widely useful in this modern age, but
are immediately useful for systemd support.

c.f. http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-apps/systemd/systemd-9999.ebuild?&view=markup#l118

Adapted from a patch by Adam Porter.

Signed-off-by: Jeff Waugh <jdub@bethesignal.org>
SVN-Revision: 44929