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

9 years agokernel: fix usb kernel package Makefile
John Crispin [Sat, 21 Mar 2015 21:48:04 +0000 (21:48 +0000)]
kernel: fix usb kernel package Makefile

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

9 years agobuild: define STAMP_CONFIGURED recursively
John Crispin [Sat, 21 Mar 2015 21:47:53 +0000 (21:47 +0000)]
build: define STAMP_CONFIGURED recursively

Defining STAMP_CONFIGURED statically caused it not to reflect changes to
PKG_CONFIG_DEPENDS made after including package.mk, like the additional options
added by feeds.mk for all packages.

Furthermore, as STAMP_CONFIGURED_WILDCARD was already defined recursively, the
patsubst in its definition would never match, and in consequence, the stamps
were never removed. This caused packages not to be rebuilt when they should have
been.

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

9 years agoperf: don't error on warnings
John Crispin [Sat, 21 Mar 2015 21:47:48 +0000 (21:47 +0000)]
perf: don't error on warnings

There are some places where there is a redundant declaration of
strlcpy() that prevents building perf otherwise.

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

9 years agocurl: fix PKG_CONFIG_DEPENDS
John Crispin [Sat, 21 Mar 2015 21:47:41 +0000 (21:47 +0000)]
curl: fix PKG_CONFIG_DEPENDS

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

9 years agolldpd: add Build/InstallDev rule
John Crispin [Sat, 21 Mar 2015 21:47:34 +0000 (21:47 +0000)]
lldpd: add Build/InstallDev rule

For using liblldpctl to talk to lldpd (via unix sockets).

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

9 years agooxnas: remove pre kernel 3.18 support from pinctrl driver
John Crispin [Sat, 21 Mar 2015 21:47:20 +0000 (21:47 +0000)]
oxnas: remove pre kernel 3.18 support from pinctrl driver

just some pruning...

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

9 years agooxnas: add support for kernel 4.0
John Crispin [Sat, 21 Mar 2015 21:47:03 +0000 (21:47 +0000)]
oxnas: add support for kernel 4.0

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

9 years agokernel: add two more missing config symbols
John Crispin [Sat, 21 Mar 2015 21:46:47 +0000 (21:46 +0000)]
kernel: add two more missing config symbols

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

9 years agobrcm2708: remove a patch that was added in the stable update (fixes #19253)
Felix Fietkau [Sat, 21 Mar 2015 21:24:08 +0000 (21:24 +0000)]
brcm2708: remove a patch that was added in the stable update (fixes #19253)

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

9 years agonetifd: fix ipv6 route regression
Steven Barth [Sat, 21 Mar 2015 18:28:08 +0000 (18:28 +0000)]
netifd: fix ipv6 route regression

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

9 years agoramips: increase NAPI weight for mt7621 to improve routing performance a bit more
Felix Fietkau [Sat, 21 Mar 2015 12:08:07 +0000 (12:08 +0000)]
ramips: increase NAPI weight for mt7621 to improve routing performance a bit more

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

9 years agokernel: backport bgmac patches
Rafał Miłecki [Sat, 21 Mar 2015 11:45:50 +0000 (11:45 +0000)]
kernel: backport bgmac patches

This allows dropping some hacky bcm53xx bgmac patch forcing link state.

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

9 years agobcm53xx: enable FIXED_PHY, we will need it for bgmac
Rafał Miłecki [Sat, 21 Mar 2015 11:45:27 +0000 (11:45 +0000)]
bcm53xx: enable FIXED_PHY, we will need it for bgmac

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

9 years agomac80211: include brcmfmac firmware for BCM43602
Rafał Miłecki [Fri, 20 Mar 2015 23:57:35 +0000 (23:57 +0000)]
mac80211: include brcmfmac firmware for BCM43602

It can be found e.g. in Netgear R8000.

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

9 years agomac80211: update linux-firmware to 2015-03-20
Rafał Miłecki [Fri, 20 Mar 2015 22:36:28 +0000 (22:36 +0000)]
mac80211: update linux-firmware to 2015-03-20

It includes new Broadcom firmware files for brcmfmac.

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

9 years agokernel: fix ipsec related regression in the netfilter rtcache patch
Felix Fietkau [Fri, 20 Mar 2015 22:13:34 +0000 (22:13 +0000)]
kernel: fix ipsec related regression in the netfilter rtcache patch

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

9 years agokernel: fix ipset related build error (#19231)
Felix Fietkau [Fri, 20 Mar 2015 17:01:06 +0000 (17:01 +0000)]
kernel: fix ipset related build error (#19231)

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

9 years agobuild: add optional dependency on libssp to all non-kernel packages
Felix Fietkau [Fri, 20 Mar 2015 16:50:50 +0000 (16:50 +0000)]
build: add optional dependency on libssp to all non-kernel packages

When enabling SSP_SUPPORT, a lot of packages fail during compile phase
with the following error:

Package X is missing dependencies for the following libraries:
libssp.so.0

This can be solved by adding an optional dependency on libssp to all
those packages, but as there are quite a few packages both in OpenWrt
core and in the package repository, it might make sense to add this
optional dependency to all non-kernel packages, instead of polluting
lots of package dependency lines with it.

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

9 years agomac80211: merge a few performance enhancements
Felix Fietkau [Fri, 20 Mar 2015 16:24:14 +0000 (16:24 +0000)]
mac80211: merge a few performance enhancements

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

9 years agomac80211: update software queueing patch
Felix Fietkau [Fri, 20 Mar 2015 16:24:06 +0000 (16:24 +0000)]
mac80211: update software queueing patch

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

9 years agomvebu: set default regdomain
Imre Kaloz [Fri, 20 Mar 2015 12:15:40 +0000 (12:15 +0000)]
mvebu: set default regdomain

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

9 years agomac80211: fix 5ghz variable name
Imre Kaloz [Fri, 20 Mar 2015 12:13:11 +0000 (12:13 +0000)]
mac80211: fix 5ghz variable name

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

9 years agomac80211: when looking for VHT, check 5GHz support as well
Imre Kaloz [Fri, 20 Mar 2015 11:47:16 +0000 (11:47 +0000)]
mac80211: when looking for VHT, check 5GHz support as well

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

9 years agotools: add back and update mm-macros, it is required for libsigc++
Felix Fietkau [Fri, 20 Mar 2015 11:34:47 +0000 (11:34 +0000)]
tools: add back and update mm-macros, it is required for libsigc++

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

9 years agonetfilter: clean up compatibility code for old kernels
Felix Fietkau [Fri, 20 Mar 2015 11:01:26 +0000 (11:01 +0000)]
netfilter: clean up compatibility code for old kernels

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