openwrt/openwrt.git
4 years agoinclude: image.mk: ensure that $(KDIR)/tmp exists in the IB case as well
Jo-Philipp Wich [Mon, 1 Jun 2015 18:00:35 +0000 (18:00 +0000)]
include: image.mk: ensure that $(KDIR)/tmp exists in the IB case as well

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

4 years agobrcm63xx: delete uncompressed kernels after use
Jonas Gorski [Mon, 1 Jun 2015 12:37:34 +0000 (12:37 +0000)]
brcm63xx: delete uncompressed kernels after use

Delete the dtb appended, uncompressed kernels after having compressed
them, so they don't end in the image builder.

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

4 years agolantiq: fix VG3503J rootfs offset
Jonas Gorski [Mon, 1 Jun 2015 12:37:24 +0000 (12:37 +0000)]
lantiq: fix VG3503J rootfs offset

In r44391 the kernel partion size was increased to allow larger kernels,
but the rootfs partition offset was missed. Fix this by setting the
rootfs offset to the expected value.

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

4 years agoodhcp6c: silence fw3 warnings
Steven Barth [Mon, 1 Jun 2015 08:31:13 +0000 (08:31 +0000)]
odhcp6c: silence fw3 warnings

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

4 years agoimagebuilder: create cache directory if needed (#18629)
Jo-Philipp Wich [Mon, 1 Jun 2015 06:15:39 +0000 (06:15 +0000)]
imagebuilder: create cache directory if needed (#18629)

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

4 years agokernel: backport ssb fix for WRT350N v1 (BCM4705) reboots
Rafał Miłecki [Mon, 1 Jun 2015 06:11:26 +0000 (06:11 +0000)]
kernel: backport ssb fix for WRT350N v1 (BCM4705) reboots

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

4 years agoau1000: add a missing dependency to the pcmcia module
John Crispin [Mon, 1 Jun 2015 06:03:52 +0000 (06:03 +0000)]
au1000: add a missing dependency to the pcmcia module

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

4 years agoiwinfo: fix segfault in mtd parsing code (#19768)
Jo-Philipp Wich [Mon, 1 Jun 2015 04:31:45 +0000 (04:31 +0000)]
iwinfo: fix segfault in mtd parsing code (#19768)

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

4 years agokernel: bluetooth: Add dependency to kmod-crypto-ecb
John Crispin [Sun, 31 May 2015 17:46:24 +0000 (17:46 +0000)]
kernel: bluetooth: Add dependency to kmod-crypto-ecb

Add dependency of kmod-crypto-ecb to kmod-bluetooth to avoid the kernel warning
"Bluetooth: Unable to create crypto context".

Signed-off-by: Bruno Randolf <br1@einfach.org>
SVN-Revision: 45860

4 years agolldpd: disable xml explicitly
John Crispin [Sun, 31 May 2015 17:46:09 +0000 (17:46 +0000)]
lldpd: disable xml explicitly

This prevents auto-detection of libxml2 and thus the error:
Package lldpd is missing dependencies for the following libraries:
libxml2.so.2

Preventing a dependency to libxml2 is preferred, since libxml2
would be a out-of-(core-)tree dependency.

Reported-by: Buildbot
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
SVN-Revision: 45859

4 years agoca-certificates: update to version 20150426
John Crispin [Sun, 31 May 2015 17:45:54 +0000 (17:45 +0000)]
ca-certificates: update to version 20150426

update to version 20150426

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

4 years agomalta: add default network configuration
John Crispin [Sun, 31 May 2015 17:45:43 +0000 (17:45 +0000)]
malta: add default network configuration

I didn't figure out how to achieve this using uci-defaults-new.sh,
so use old-school uci-defaults script as that's what is used on
realview as well.

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

4 years agomac80211: make netifd script create AP interface directly
Felix Fietkau [Sat, 30 May 2015 23:08:57 +0000 (23:08 +0000)]
mac80211: make netifd script create AP interface directly

Before starting hostapd we create interface for it. The problem is we
try to create STA interface just to let hostapd change it to AP later.

It may fail if device doesn't support STA interfaces or if we already
hit a limit. Consider following phy (it's from BCM43602 and brcmfmac):
$ iw phy phy0 info | tail
        valid interface combinations:
                 * #{ IBSS, managed } <= 1, #{ AP } <= 4, #{ P2P-client, P2P-GO } <= 1, #{ P2P-device } <= 1,
                   total <= 3, #channels <= 1

Trying to setup 2 interfaces: STA + AP results in:
radio0 (1101): command failed: Operation not supported (-95)
radio0 (1101): command failed: Operation not supported (-95)
radio0 (1101): command failed: Operation not supported (-95)
radio0 (1101): command failed: Operation not supported (-95)
radio0 (1101): Configuration file: /var/run/hostapd-phy0.conf
radio0 (1101): Could not read interface wlan0-1 flags: No such device

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

4 years agoar71xx: use Image/BuildLoaderPatched for TPLINK-SAFELOADER images
Felix Fietkau [Sat, 30 May 2015 22:55:50 +0000 (22:55 +0000)]
ar71xx: use Image/BuildLoaderPatched for TPLINK-SAFELOADER images

Building the loader in Image/Build/TPLINK-SAFELOADER would break the image
builder as no target compiler is available in that stage.

Fixes #19580

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

4 years agoar71xx: add Image/BuildLoaderPatched macro
Felix Fietkau [Sat, 30 May 2015 22:55:40 +0000 (22:55 +0000)]
ar71xx: add Image/BuildLoaderPatched macro

In contrast to Image/BuildLoader, Image/BuildLoaderPatched first patches the
kernel command line in the image and then builds the loader without command
line. This allows building loaders for systems which don't boot correctly when
the kernel command line is provided by the loader (like the TP-LINK CPE series).

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

4 years agouhttpd: use 307 for HTTPS redirections to retain request method
Jo-Philipp Wich [Sat, 30 May 2015 21:14:33 +0000 (21:14 +0000)]
uhttpd: use 307 for HTTPS redirections to retain request method

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

4 years agouhttpd: add support for enforcing https
Jo-Philipp Wich [Sat, 30 May 2015 20:55:14 +0000 (20:55 +0000)]
uhttpd: add support for enforcing https

Also set HTTPS environment variable for CGI programs on SSL connections.

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

4 years agolantiq: fix imagebuilder
John Crispin [Sat, 30 May 2015 20:28:57 +0000 (20:28 +0000)]
lantiq: fix imagebuilder

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

4 years agouhttpd: inhibit chunked transfer encoding for static file responses
Jo-Philipp Wich [Sat, 30 May 2015 14:05:40 +0000 (14:05 +0000)]
uhttpd: inhibit chunked transfer encoding for static file responses

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

4 years agokernel: kmod-stmmac depends on kmod-libphy
Jo-Philipp Wich [Sat, 30 May 2015 13:57:54 +0000 (13:57 +0000)]
kernel: kmod-stmmac depends on kmod-libphy

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

4 years agokernel: upstream fix: mount overlayfs r/o if workdir cannot be created
John Crispin [Sat, 30 May 2015 13:16:23 +0000 (13:16 +0000)]
kernel: upstream fix: mount overlayfs r/o if workdir cannot be created

move the patch to the proper folder

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

4 years agoramips: fix swapped colors for router LED on WHR-1166D (thx, Björn)
Felix Fietkau [Sat, 30 May 2015 09:39:37 +0000 (09:39 +0000)]
ramips: fix swapped colors for router LED on WHR-1166D (thx, Björn)

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

4 years agoramips: rename status led to wifi on WHR-300HP2, WHR-1166D, WHR-600D
Felix Fietkau [Sat, 30 May 2015 09:01:41 +0000 (09:01 +0000)]
ramips: rename status led to wifi on WHR-300HP2, WHR-1166D, WHR-600D

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

4 years agoramips: fix buttons on WHR-300HP2, WHR-1166D, WHR-600D
Felix Fietkau [Fri, 29 May 2015 22:42:32 +0000 (22:42 +0000)]
ramips: fix buttons on WHR-300HP2, WHR-1166D, WHR-600D

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

4 years agoramips: extract MAC address on WHR-300HP2, WHR-1166D, WHR-600D
Felix Fietkau [Fri, 29 May 2015 21:42:06 +0000 (21:42 +0000)]
ramips: extract MAC address on WHR-300HP2, WHR-1166D, WHR-600D

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

4 years agoramips: fix partition layout of WHR-300HP2, WHR-1166D, WHR-600D
Felix Fietkau [Fri, 29 May 2015 21:25:23 +0000 (21:25 +0000)]
ramips: fix partition layout of WHR-300HP2, WHR-1166D, WHR-600D

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

4 years agoramips: implement sysupgrade support for whr-300hp2
Felix Fietkau [Fri, 29 May 2015 21:13:28 +0000 (21:13 +0000)]
ramips: implement sysupgrade support for whr-300hp2

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

4 years agouboot-omap: allow generating dummy ipks, fixes omap imagebuilder
Jo-Philipp Wich [Fri, 29 May 2015 15:08:29 +0000 (15:08 +0000)]
uboot-omap: allow generating dummy ipks, fixes omap imagebuilder

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

4 years agoixp4xx: use usb-*-pci where appropriate
Jonas Gorski [Fri, 29 May 2015 14:39:12 +0000 (14:39 +0000)]
ixp4xx: use usb-*-pci where appropriate

Most boards use pci connected usb controllers, so make sure to include
the pci drivers.

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

4 years agosunxi: correct default package selection, fixes imagebuilder
Jo-Philipp Wich [Fri, 29 May 2015 13:55:26 +0000 (13:55 +0000)]
sunxi: correct default package selection, fixes imagebuilder

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

4 years agoar71xx: use Image/BuildKernel/Initramfs template to fix image builder errors
Felix Fietkau [Fri, 29 May 2015 13:41:41 +0000 (13:41 +0000)]
ar71xx: use Image/BuildKernel/Initramfs template to fix image builder errors

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

4 years agobuild: do not call initramfs build from within the image builder
Felix Fietkau [Fri, 29 May 2015 13:41:31 +0000 (13:41 +0000)]
build: do not call initramfs build from within the image builder

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

4 years agobuild: in new image building code, do not rebuild kernel images in the image builder
Felix Fietkau [Fri, 29 May 2015 13:41:21 +0000 (13:41 +0000)]
build: in new image building code, do not rebuild kernel images in the image builder

Some kernel images need to be wrapped in a loader, which cannot be built
without a working toolchain.
Also, this speeds up the image builder run.

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

4 years agobuild: store initramfs kernels in $(KDIR)/tmp - prevents them from being included...
Felix Fietkau [Fri, 29 May 2015 13:41:02 +0000 (13:41 +0000)]
build: store initramfs kernels in $(KDIR)/tmp - prevents them from being included in the image builder tarball

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

4 years agobuild: store firmware images in $(KDIR)/tmp - prevents them from being included in...
Felix Fietkau [Fri, 29 May 2015 13:40:55 +0000 (13:40 +0000)]
build: store firmware images in $(KDIR)/tmp - prevents them from being included in the image builder tarball

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

4 years agogeneric: mount overlayfs r/o if workdir cannot be created
John Crispin [Fri, 29 May 2015 12:36:42 +0000 (12:36 +0000)]
generic: mount overlayfs r/o if workdir cannot be created

This is the case e.g. if JFFS2 partition is full.

see: https://www.mail-archive.com/linux-unionfs@vger.kernel.org/msg00246.html
(a small error in a logmessage was changed and reported upstream)

runtime tested on ar71xx with kernel 3.18.11 and r45772
this paritially fixes #19564

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>
Acked-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 45833

4 years agoqca-nss-gmac: delete package
John Crispin [Fri, 29 May 2015 12:26:07 +0000 (12:26 +0000)]
qca-nss-gmac: delete package

nss-gmac has been replaced by its upstream counterpart "stmmac", to
which we added the SoC glue layer required for it to run on IPQ806x.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 45832

4 years agoipq806x: replace caf nss-gmac driver by upstream stmmac
John Crispin [Fri, 29 May 2015 12:26:01 +0000 (12:26 +0000)]
ipq806x: replace caf nss-gmac driver by upstream stmmac

This driver has been cherry-picked and backported from the following
LKML thread:
*https://lkml.org/lkml/2015/5/26/744

It also updates the DT accordingly.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 45831

4 years agoipq806x: enable kernel support for Fixed PHY emulation
John Crispin [Fri, 29 May 2015 12:25:44 +0000 (12:25 +0000)]
ipq806x: enable kernel support for Fixed PHY emulation

Most ipq806x platforms use an ethernet switch, and the new upstream
GMAC driver makes use of the Fixed PHY emulation to force the link
settings despite the lack of PHY.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 45830

4 years agokernel: add stmmac as a new kernel package
John Crispin [Fri, 29 May 2015 12:25:34 +0000 (12:25 +0000)]
kernel: add stmmac as a new kernel package

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 45829

4 years agokernel: add missing STMMAC options in generic configs
John Crispin [Fri, 29 May 2015 12:25:29 +0000 (12:25 +0000)]
kernel: add missing STMMAC options in generic configs

STMMAC_PLATFORM and STMMAC_PCI have been added recently in the kernel,
but show up only when STMMAC driver is enabled. So se'll add it in the
generic config, so the kernel build doesn't stall whenever we enable
this driver.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 45828

4 years agoipq806x: move arm-gic include into pcie patch
John Crispin [Fri, 29 May 2015 12:25:15 +0000 (12:25 +0000)]
ipq806x: move arm-gic include into pcie patch

This include is necessary starting at the PCIe patch, which has a lower
number. So in order to keep the patches consistent, we'll move the
arm-gic include in the first patch who needs it.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 45827

4 years agoixp4xx: fix imagebuilder
John Crispin [Fri, 29 May 2015 12:20:39 +0000 (12:20 +0000)]
ixp4xx: fix imagebuilder

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

4 years agokernel: fix kmod-k10temp target dependencies
Jo-Philipp Wich [Fri, 29 May 2015 12:03:00 +0000 (12:03 +0000)]
kernel: fix kmod-k10temp target dependencies

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

4 years agobrcm2708: fix imagebuilder
John Crispin [Fri, 29 May 2015 11:28:54 +0000 (11:28 +0000)]
brcm2708: fix imagebuilder

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

4 years agoipq806x: fix imagebuilder
John Crispin [Fri, 29 May 2015 11:28:44 +0000 (11:28 +0000)]
ipq806x: fix imagebuilder

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

4 years agogemini: fix imagebuilder
John Crispin [Fri, 29 May 2015 11:28:33 +0000 (11:28 +0000)]
gemini: fix imagebuilder

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

4 years agoocteon: fix imagebuilder
John Crispin [Fri, 29 May 2015 11:28:20 +0000 (11:28 +0000)]
octeon: fix imagebuilder

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

4 years agoramips: fix imagebuilder
John Crispin [Fri, 29 May 2015 11:28:10 +0000 (11:28 +0000)]
ramips: fix imagebuilder

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

4 years agoau1000/au1550: fix profile package list
Jo-Philipp Wich [Fri, 29 May 2015 11:04:04 +0000 (11:04 +0000)]
au1000/au1550: fix profile package list

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

4 years agoau1000/au1550: enable pcmcia support flag
Jo-Philipp Wich [Fri, 29 May 2015 11:03:59 +0000 (11:03 +0000)]
au1000/au1550: enable pcmcia support flag

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

4 years agoau1000: fix kmod-pcmcia-au1000
Jo-Philipp Wich [Fri, 29 May 2015 11:03:55 +0000 (11:03 +0000)]
au1000: fix kmod-pcmcia-au1000

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

4 years agokernel: fix usb-ohci-pci description define
Jonas Gorski [Fri, 29 May 2015 10:20:50 +0000 (10:20 +0000)]
kernel: fix usb-ohci-pci description define

Copy paste error left defining usb2-pci again.

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

4 years agomxs: fix imagebuilder
Jo-Philipp Wich [Fri, 29 May 2015 08:42:50 +0000 (08:42 +0000)]
mxs: fix imagebuilder

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

4 years agox86/64: add e1000e to the default packages
Jo-Philipp Wich [Fri, 29 May 2015 08:20:58 +0000 (08:20 +0000)]
x86/64: add e1000e to the default packages

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

4 years agobase-files: remove ubi tool
Luka Perkov [Fri, 29 May 2015 08:14:38 +0000 (08:14 +0000)]
base-files: remove ubi tool

ubi tool was removed from fstools in r41128.

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

4 years agomac80211: backport one missed brcmfmac NVRAM-related patch
Rafał Miłecki [Thu, 28 May 2015 20:57:23 +0000 (20:57 +0000)]
mac80211: backport one missed brcmfmac NVRAM-related patch

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

4 years agobrcm47xx: image: fix typo in Asus WL-500gP v2 fw file name
Rafał Miłecki [Thu, 28 May 2015 19:53:59 +0000 (19:53 +0000)]
brcm47xx: image: fix typo in Asus WL-500gP v2 fw file name

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

4 years agolldpd: update to v0.7.15 and add support for parsing /etc/openwrt_release
Jo-Philipp Wich [Thu, 28 May 2015 16:19:38 +0000 (16:19 +0000)]
lldpd: update to v0.7.15 and add support for parsing /etc/openwrt_release

Also drop superseded patches.

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

4 years agoau1000: use srecimage.pl instead of objcopy, fixes imagebuilder
Jo-Philipp Wich [Thu, 28 May 2015 15:54:01 +0000 (15:54 +0000)]
au1000: use srecimage.pl instead of objcopy, fixes imagebuilder

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

4 years agoscripts: add srecimage.pl, a script to convert binaries to SREC format
Jo-Philipp Wich [Thu, 28 May 2015 15:53:55 +0000 (15:53 +0000)]
scripts: add srecimage.pl, a script to convert binaries to SREC format

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

4 years agoar7: fix imagebuilder
Jo-Philipp Wich [Thu, 28 May 2015 13:45:33 +0000 (13:45 +0000)]
ar7: fix imagebuilder

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

4 years agoat91: fix imagebuilder
Jo-Philipp Wich [Thu, 28 May 2015 13:25:21 +0000 (13:25 +0000)]
at91: fix imagebuilder

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

4 years agoxburst: fix imagebuilder
Jo-Philipp Wich [Thu, 28 May 2015 12:25:45 +0000 (12:25 +0000)]
xburst: fix imagebuilder

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

4 years agomalta: fix imagebuilder
Jo-Philipp Wich [Thu, 28 May 2015 12:05:57 +0000 (12:05 +0000)]
malta: fix imagebuilder

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

4 years agoscripts/arm-magic.sh: make the generated kernels also include $IMG_PREFIX
Jonas Gorski [Thu, 28 May 2015 10:48:23 +0000 (10:48 +0000)]
scripts/arm-magic.sh: make the generated kernels also include $IMG_PREFIX

In r45785 ixp4xx was changed to use a common image prefix also for
kernels, but the script creating them was not updated to generate the
expected filenames.
Fix this by letting arm-magic.sh respect $IMG_PREFIX for the output
kernel file names as well.

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

4 years agomac80211: backport today's brcmfmac changes
Rafał Miłecki [Thu, 28 May 2015 10:39:11 +0000 (10:39 +0000)]
mac80211: backport today's brcmfmac changes

This fixes various problems with parsing platform NVRAM. It's required
to get BCM43602 working in most cases.

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

4 years agoinclude: remove lvm2 from nas package collection
Jo-Philipp Wich [Thu, 28 May 2015 09:58:09 +0000 (09:58 +0000)]
include: remove lvm2 from nas package collection

Since lvm2 is only available in feeds we must not include it by default.

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

4 years agoIB: make CONFIG_IB_STANDALONE the default
Jo-Philipp Wich [Thu, 28 May 2015 09:51:38 +0000 (09:51 +0000)]
IB: make CONFIG_IB_STANDALONE the default

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

4 years agofeeds: use common macro "FeedSourcesAppend" to populate opkg configurations
Jo-Philipp Wich [Thu, 28 May 2015 09:47:37 +0000 (09:47 +0000)]
feeds: use common macro "FeedSourcesAppend" to populate opkg configurations

This introduces a common macro to assemble the correct url templates to
avoid code duplication and have the feed config handling in a central place.

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

4 years agoadm5120: fix subtarget dependency for kmod-pata-rb153-cf
Felix Fietkau [Thu, 28 May 2015 09:06:28 +0000 (09:06 +0000)]
adm5120: fix subtarget dependency for kmod-pata-rb153-cf

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

4 years agobrcm47xx: add LEDs/buttos for Asus N10U
Rafał Miłecki [Thu, 28 May 2015 08:08:17 +0000 (08:08 +0000)]
brcm47xx: add LEDs/buttos for Asus N10U

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

4 years agobrcm47xx: drop 4.0 patch that is in 4.0.4
Rafał Miłecki [Thu, 28 May 2015 08:08:11 +0000 (08:08 +0000)]
brcm47xx: drop 4.0 patch that is in 4.0.4

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

4 years agoramips: dont set illacc to y by default
John Crispin [Wed, 27 May 2015 20:06:06 +0000 (20:06 +0000)]
ramips: dont set illacc to y by default

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

4 years agoipq806x: add missing symbol
John Crispin [Wed, 27 May 2015 20:05:03 +0000 (20:05 +0000)]
ipq806x: add missing symbol

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

4 years agoramips: diable ill_acc driver by default
John Crispin [Wed, 27 May 2015 20:02:04 +0000 (20:02 +0000)]
ramips: diable ill_acc driver by default

this treacled down via the stable tree and wandered into 3.18.14

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

4 years agomvebu: make flashing more safe
Imre Kaloz [Wed, 27 May 2015 19:03:22 +0000 (19:03 +0000)]
mvebu: make flashing more safe

Turn on the auto recovery feature when flashing
and turn it off on successful bootup.

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

4 years agofirmware-utils: asustrx: support setting firmware version
Rafał Miłecki [Wed, 27 May 2015 17:58:11 +0000 (17:58 +0000)]
firmware-utils: asustrx: support setting firmware version

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

4 years agobcm53xx: build images for Asus devices
Rafał Miłecki [Wed, 27 May 2015 16:20:06 +0000 (16:20 +0000)]
bcm53xx: build images for Asus devices

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

4 years agobrcm47xx: build images for Asus devices
Rafał Miłecki [Wed, 27 May 2015 15:37:05 +0000 (15:37 +0000)]
brcm47xx: build images for Asus devices

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

4 years agosunxi: use common image prefix
Jo-Philipp Wich [Wed, 27 May 2015 15:34:48 +0000 (15:34 +0000)]
sunxi: use common image prefix

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

4 years agorealview: use common image prefix
Jo-Philipp Wich [Wed, 27 May 2015 15:34:38 +0000 (15:34 +0000)]
realview: use common image prefix

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

4 years agoomap: use common image prefix
Jo-Philipp Wich [Wed, 27 May 2015 15:34:30 +0000 (15:34 +0000)]
omap: use common image prefix

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

4 years agoixp4xx: use common image prefix
Jo-Philipp Wich [Wed, 27 May 2015 15:34:19 +0000 (15:34 +0000)]
ixp4xx: use common image prefix

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

4 years agoscripts/feeds: fix typo in copied code
Felix Fietkau [Wed, 27 May 2015 15:20:22 +0000 (15:20 +0000)]
scripts/feeds: fix typo in copied code

do_install_target copied code from do_install_package, but didn't
replace all text.

Signed-off-by: Karl Palsson <karlp@remake.is>
SVN-Revision: 45784

4 years agokernel: bridge: backport two snooping related patches
Felix Fietkau [Wed, 27 May 2015 15:20:04 +0000 (15:20 +0000)]
kernel: bridge: backport two snooping related patches

With this patch the following two patches are backported:

* bridge: fix parsing of MLDv2 reports
* bridge: allow setting hash_max + multicast_router if interface is down

The former one is an important fix which got just applied to the net-tree
and is queued for stable. The latter is a patch which is needed to make
the hash_max and multicast_router attributes configurable through
netifd.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
SVN-Revision: 45783

4 years agogemini: use common image prefix
Jo-Philipp Wich [Wed, 27 May 2015 15:18:36 +0000 (15:18 +0000)]
gemini: use common image prefix

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

4 years agocns3xxx: use common image prefix
Jo-Philipp Wich [Wed, 27 May 2015 15:18:29 +0000 (15:18 +0000)]
cns3xxx: use common image prefix

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

4 years agobrcm63xx: use common image prefix
Jo-Philipp Wich [Wed, 27 May 2015 15:18:21 +0000 (15:18 +0000)]
brcm63xx: use common image prefix

Also remove "redbootscript" and "redbootscript.padded" junk files.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Acked-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45780

4 years agobrcm47xx: use common image prefix
Jo-Philipp Wich [Wed, 27 May 2015 15:04:02 +0000 (15:04 +0000)]
brcm47xx: use common image prefix

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

4 years agoarm64: use common image prefix
Jo-Philipp Wich [Wed, 27 May 2015 14:57:38 +0000 (14:57 +0000)]
arm64: use common image prefix

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

4 years agoramips: check size after padding
Felix Fietkau [Wed, 27 May 2015 14:56:22 +0000 (14:56 +0000)]
ramips: check size after padding

Signed-off-by: Cristian Morales Vega <cristian@samknows.com>
SVN-Revision: 45777

4 years agokirkwood: disable TSO on the ethernet device by default, fixes data corruption issues...
Felix Fietkau [Wed, 27 May 2015 14:56:13 +0000 (14:56 +0000)]
kirkwood: disable TSO on the ethernet device by default, fixes data corruption issues (#19735)

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

4 years agoar7: use common image prefix
Jo-Philipp Wich [Wed, 27 May 2015 14:53:25 +0000 (14:53 +0000)]
ar7: use common image prefix

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

4 years agobrcm47xx: build image for Asus RT-N66U
Rafał Miłecki [Wed, 27 May 2015 13:54:19 +0000 (13:54 +0000)]
brcm47xx: build image for Asus RT-N66U

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

4 years agofirmware-utils: asustrx: new tool for TRX format with Asus tail
Rafał Miłecki [Wed, 27 May 2015 13:54:02 +0000 (13:54 +0000)]
firmware-utils: asustrx: new tool for TRX format with Asus tail

Asus devices use TRX format with some extra data at the end.

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

4 years agoIB: use online repositories
Jo-Philipp Wich [Wed, 27 May 2015 11:22:20 +0000 (11:22 +0000)]
IB: use online repositories

Change the IB packaging to only embed libc, kernel and kmod packages by default
and generate repositories.conf to refer to the remote package repositories.

Introduce a new config option CONFIG_IB_STANDALONE which restores the old
behaviour of building self contained IB archives.

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

4 years agoscripts: ensure that ipkg-make-index.sh exits successfully
Jo-Philipp Wich [Wed, 27 May 2015 08:29:10 +0000 (08:29 +0000)]
scripts: ensure that ipkg-make-index.sh exits successfully

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

4 years agomap: add support for lw4o6 address matching, minor optimizations
Steven Barth [Tue, 26 May 2015 14:36:20 +0000 (14:36 +0000)]
map: add support for lw4o6 address matching, minor optimizations

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

4 years agomwlwifi: upgrade to 10.3.0.1-20150525
Imre Kaloz [Tue, 26 May 2015 13:24:46 +0000 (13:24 +0000)]
mwlwifi: upgrade to 10.3.0.1-20150525

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