openwrt.git
9 years agotoolchain: gcc: add gcc 5.2.0
hauke [Sun, 16 Aug 2015 20:20:36 +0000 (20:20 +0000)]
toolchain: gcc: add gcc 5.2.0

This was boot tested on mipsel32, arm32 and x86 only.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46611 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoubi-utils: fix build with gcc5
hauke [Sun, 16 Aug 2015 20:16:43 +0000 (20:16 +0000)]
ubi-utils: fix build with gcc5

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46610 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: yaffs2: update to version from 2015-06-02
hauke [Sat, 15 Aug 2015 17:16:03 +0000 (17:16 +0000)]
kernel: yaffs2: update to version from 2015-06-02

In addition to the update this also fixes compile problems with kernel 4.1.

This closes #20323.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46609 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agosunxi: respect CONFIG_TARGET_IMAGES_GZIP
wigyori [Sat, 15 Aug 2015 15:10:14 +0000 (15:10 +0000)]
sunxi: respect CONFIG_TARGET_IMAGES_GZIP

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46608 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agosunxi: create KDIR_TMP, build boot.img in it
wigyori [Sat, 15 Aug 2015 14:56:21 +0000 (14:56 +0000)]
sunxi: create KDIR_TMP, build boot.img in it

It's nice to have a distinction between files which are built during the
normal OpenWrt build process and ones that are created by the ImageBuilder
(like it already exists on some other targets).

This also gives boot.img a profile-specific prefix as it contains profile-
specific data.

KDIR_TMP does not need to be specified since include/image.mk already sets
it.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46607 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agosamba36: preserve smbpasswd across sysupgrade
hauke [Sat, 15 Aug 2015 14:49:06 +0000 (14:49 +0000)]
samba36: preserve smbpasswd across sysupgrade

Add /etc/samba/smbpasswd to list of samba conffiles
thus preserving samba passwords across sysupgrade
by default.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46606 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agosunxi: fix uboot install location
wigyori [Sat, 15 Aug 2015 14:34:42 +0000 (14:34 +0000)]
sunxi: fix uboot install location

Install uboot files to KERNEL_BUILD_DIR instead of BIN_DIR to fix
ImageBuilder. Similar fixes are necessary for many (all?) other uboot
targets.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46605 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agosunxi: don't copy DTS files to BIN_DIR
wigyori [Sat, 15 Aug 2015 13:39:41 +0000 (13:39 +0000)]
sunxi: don't copy DTS files to BIN_DIR

The DTS files aren't useful (other targets don't copy them either) and
clutter BIN_DIR with files unrelated to the chosen profile.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46604 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agotools: xz: update to version 5.2.1
hauke [Sat, 15 Aug 2015 11:27:11 +0000 (11:27 +0000)]
tools: xz: update to version 5.2.1

This adds support for symbol versioning which is needed on
CentOs/RedHat 7 to fix #20134.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46603 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoipq806x: switch to new image build system
jogo [Fri, 14 Aug 2015 15:10:54 +0000 (15:10 +0000)]
ipq806x: switch to new image build system

Switch ipq806x to the new image build system. Image files might change
slightly their names, but the generated files should not change.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46602 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: move gzip build command to include/image.mk
jogo [Fri, 14 Aug 2015 15:10:47 +0000 (15:10 +0000)]
brcm63xx: move gzip build command to include/image.mk

Allow other targets to make use of it.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46601 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoimage.mk: add a fit recipe
jogo [Fri, 14 Aug 2015 15:10:42 +0000 (15:10 +0000)]
image.mk: add a fit recipe

Add a recipe to build a fit wrapped kernel (and optional dtb).

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46600 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoipq806x: disable dma for spi on linux 4.1 as well
jogo [Fri, 14 Aug 2015 15:10:11 +0000 (15:10 +0000)]
ipq806x: disable dma for spi on linux 4.1 as well

Linux 4.1 is also affected from the dma issue, so remove the dma
proprties there as well.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46599 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: update 4.1 to 4.1.5
jogo [Fri, 14 Aug 2015 13:06:33 +0000 (13:06 +0000)]
kernel: update 4.1 to 4.1.5

Changelog:
 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.5

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46598 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoimage.mk: store the device name variable
jogo [Fri, 14 Aug 2015 13:05:22 +0000 (13:05 +0000)]
image.mk: store the device name variable

Make the device name accessible for any build commands instead of
forcing targets to define it themselves.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46597 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoimage.mk: replace all Build/netgear-chk with a generic implementation
jogo [Fri, 14 Aug 2015 13:05:14 +0000 (13:05 +0000)]
image.mk: replace all Build/netgear-chk with a generic implementation

Instead of letting each target define it themselves, create on in
include/image.mk and let the targets use it.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46596 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: prefix netgear specific device variables with NETGEAR_
jogo [Fri, 14 Aug 2015 13:04:43 +0000 (13:04 +0000)]
brcm63xx: prefix netgear specific device variables with NETGEAR_

Rename BOARD_ID to NETGEAR_BOARD_ID.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46595 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: prefix netgear specific device variables with NETGEAR_
jogo [Fri, 14 Aug 2015 13:04:22 +0000 (13:04 +0000)]
brcm47xx: prefix netgear specific device variables with NETGEAR_

Rename BOARD_ID to NETGEAR_BOARD_ID and REGION to NETGEAR_REGION.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46594 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: prefix netgear specific device variables with NETGEAR_
jogo [Fri, 14 Aug 2015 13:03:36 +0000 (13:03 +0000)]
bcm53xx: prefix netgear specific device variables with NETGEAR_

Rename BOARD_ID to NETGEAR_BOARD_ID and REGION to NETGEAR_REGION.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46593 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoimage.mk: move KDIR_TMP definition to a central location
jogo [Fri, 14 Aug 2015 10:20:53 +0000 (10:20 +0000)]
image.mk: move KDIR_TMP definition to a central location

Instead of each target defining it the same, move the KDIR_TMP
definition to include/image.mk. In addition Image/Build/SysupgradeNAND
already requires KDIR_TMP to be set, so it makes sense to have it
globally defined.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46592 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoimage: fix handling of per-device kernel build commands
nbd [Thu, 13 Aug 2015 19:02:26 +0000 (19:02 +0000)]
image: fix handling of per-device kernel build commands

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46589 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agooprofile: fix path to kernel headers
nbd [Thu, 13 Aug 2015 19:02:21 +0000 (19:02 +0000)]
oprofile: fix path to kernel headers

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46588 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoipq806x: disable DMA on the SPI flash
nbd [Thu, 13 Aug 2015 19:02:16 +0000 (19:02 +0000)]
ipq806x: disable DMA on the SPI flash

Previous patch 6f2905eeb6ce5ddec8d12d677e1f377a940b537b enabled ADM in
the kernel, which causes a kernel panic when accessing the SPI flash.

As a workaround, We'll disable DMA for the flash for now. It was not
enabled previously anyway so we'll just leave it as is.

Reported-by: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46587 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm47xx: fix reading WGT634U CFE variables
rmilecki [Wed, 12 Aug 2015 13:29:22 +0000 (13:29 +0000)]
brcm47xx: fix reading WGT634U CFE variables

We got check for nvram_len placed too early and the code never tried
reading CFE variables used on WGT634U. This is a regression introduced
in r45942 and reported in #20291.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46584 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobase-files: buttons: make power script return 0
rmilecki [Wed, 12 Aug 2015 00:57:53 +0000 (00:57 +0000)]
base-files: buttons: make power script return 0

It was missed in the r46471.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46582 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprocd: switch buttons to the new "button" hotplug handler
rmilecki [Mon, 10 Aug 2015 22:48:07 +0000 (22:48 +0000)]
procd: switch buttons to the new "button" hotplug handler

This allows requesting "timeout" ACTION in script by returning a
positive value.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46580 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoprocd: update to the latest version, add "button" hotplug handler
rmilecki [Mon, 10 Aug 2015 21:56:54 +0000 (21:56 +0000)]
procd: update to the latest version, add "button" hotplug handler

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46578 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: crypto: fix depends in kmod-crypto-hmac
hauke [Sun, 9 Aug 2015 17:18:10 +0000 (17:18 +0000)]
kernel: crypto: fix depends in kmod-crypto-hmac

This module had two depends lines.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46576 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: crypto: fix module loading of cryptomgr.ko
hauke [Sun, 9 Aug 2015 17:17:51 +0000 (17:17 +0000)]
kernel: crypto: fix module loading of cryptomgr.ko

There was no rule to load this module.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46575 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: crypto: fix module loading of aead.ko
hauke [Sun, 9 Aug 2015 17:17:31 +0000 (17:17 +0000)]
kernel: crypto: fix module loading of aead.ko

The name of the module was wrong before.

This should fix #20283.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46574 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add missing symbols for 4.1
wigyori [Sun, 9 Aug 2015 15:12:07 +0000 (15:12 +0000)]
kernel: add missing symbols for 4.1

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46573 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: export some clock functions used by some modules
hauke [Sun, 9 Aug 2015 12:36:24 +0000 (12:36 +0000)]
ar71xx: export some clock functions used by some modules

This fixes this linking problem:

ERROR: "clk_set_rate" [drivers/usb/phy/phy-generic.ko] undefined!
ERROR: "clk_round_rate" [drivers/media/v4l2-core/videodev.ko] undefined!
ERROR: "clk_set_rate" [drivers/media/v4l2-core/videodev.ko] undefined!

In the upstream kernel it is fixed here:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=411520af8ec9456886359b42628e583ac58e7e44

This closes: #20162, #20172, #20196, #20197, #20202 and #20308

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46572 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agosunxi: add support for 4.1
wigyori [Sun, 9 Aug 2015 12:25:18 +0000 (12:25 +0000)]
sunxi: add support for 4.1

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46571 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: update 3.18 to 3.18.20
hauke [Sun, 9 Aug 2015 11:09:52 +0000 (11:09 +0000)]
kernel: update 3.18 to 3.18.20

Changelog:
 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.20

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46570 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoipq806x: enable NAND flash support in the kernel
nbd [Fri, 7 Aug 2015 08:36:36 +0000 (08:36 +0000)]
ipq806x: enable NAND flash support in the kernel

Previous patch set backported the recently posted NAND flash driver to
3.18 and 4.1 kernel. This patch now enables it in the kernel config.

There is no change to the partition layout and init yet. But the NAND
flash can be seen in the mtd list on an AP148:

root@OpenWrt:/# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 10000000 00020000 "qcom-nandc"
...

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46569 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoipq806x: add NAND flash controller support
nbd [Fri, 7 Aug 2015 08:36:31 +0000 (08:36 +0000)]
ipq806x: add NAND flash controller support

These patches add support for ipq806x NAND flash controller. Most of
these are cherry-picked & backported from LKML:
*https://lkml.org/lkml/2015/8/3/16

This patch just modifies the kernel code, but doesn't change the config.
It should be harmless.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46568 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoipq806x: Add ADM support
nbd [Fri, 7 Aug 2015 08:36:16 +0000 (08:36 +0000)]
ipq806x: Add ADM support

These are cherry-picked & backported from LKML:
*https://lkml.org/lkml/2015/3/17/19

They are enabled on both 3.18 and 4.1 kernel. Patches 150 to 154 are
applying changes merged since 3.18; they enable mechanisms used by the
ADM driver.

ADM engine is used by the NAND controller, so it is necessary to
bring-up NAND flash support.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46567 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: mwl8k: init devices synchronously
jogo [Wed, 5 Aug 2015 13:56:20 +0000 (13:56 +0000)]
mac80211: mwl8k: init devices synchronously

Make sure phys are probed and present before we detect wifis.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46566 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokirkwood: add wpad-mini to router profiles
jogo [Wed, 5 Aug 2015 13:56:02 +0000 (13:56 +0000)]
kirkwood: add wpad-mini to router profiles

Without it the wifi isn't really usable.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46565 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoimage: fix jffs2(_nand) image generation
jogo [Wed, 5 Aug 2015 13:55:52 +0000 (13:55 +0000)]
image: fix jffs2(_nand) image generation

Variables dependend on JFFS2_BLOCKSIZE and NANDBLOCK_SIZE are used
for template generation, so need to be present before inclusion of
image.mk in target image Makefiles.
So move all declarations to before any includes.

Fixes: r42878 ("image.mk: clean up and parallelize mkfs calls")
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46564 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: fix crash on 6358/6368 when booting from thread 1
jogo [Wed, 5 Aug 2015 13:55:42 +0000 (13:55 +0000)]
brcm63xx: fix crash on 6358/6368 when booting from thread 1

It looks like RAC flushes cause random corruption(?) when the
second thread is set as default.

Fixes #20160.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46563 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: Add support for Plusnet 2704N
jogo [Wed, 5 Aug 2015 13:55:37 +0000 (13:55 +0000)]
brcm63xx: Add support for Plusnet 2704N

BCM6318: add support for Plusnet / Sagem 2704N (V1)
Signed-off-by: Matt Goring <matt.goring@googlemail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46562 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: build image for DSL-275XB D1
jogo [Wed, 5 Aug 2015 13:55:18 +0000 (13:55 +0000)]
brcm63xx: build image for DSL-275XB D1

It boots fine, so no reason to not build it.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46561 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: update 4.1 to 4.1.4
jogo [Wed, 5 Aug 2015 13:55:14 +0000 (13:55 +0000)]
kernel: update 4.1 to 4.1.4

Changelog:
 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.4

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
[jogo: fix brcm2708 patches, refresh target patches]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46560 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoipq806x: add ethernet (stmmac) support
nbd [Tue, 4 Aug 2015 23:10:18 +0000 (23:10 +0000)]
ipq806x: add ethernet (stmmac) support

We forgot to enable the stmmac driver for 4.1 kernel, so ethernet
interfaces don't show-up on this kernel.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46559 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoipq806x: refresh kernel configs
nbd [Tue, 4 Aug 2015 23:10:12 +0000 (23:10 +0000)]
ipq806x: refresh kernel configs

Remove options which have been moved into the generic config ever since.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46558 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoipq806x: fix freeze in PCIe code when booting with an old u-boot
nbd [Tue, 4 Aug 2015 23:10:03 +0000 (23:10 +0000)]
ipq806x: fix freeze in PCIe code when booting with an old u-boot

Old bootloader (same ones which have DT disabled) don't perform any PCIe
initialization. The consequence is a freeze during PCIe bring-up on
these old u-boot. Same kernel with a newer bootloaders works fine as
they contain the corresponding PCIe init code.

In this change, we'll add the missing init and make sure the kernel
doesn't rely on some preexisting init to get PCIe to work. That includes
the following changes:
*GPIOs: set function & drive strength
*Clocks: add init code for aux & ref clocks
*PCIe driver: additional init of the hardware controller

Tested 3.18 and 4.1 on an AP148 with bootloader branch 0.0.1

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46557 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoipq806x: fix pcie pinmux naming in ipq806x dts
nbd [Tue, 4 Aug 2015 23:09:55 +0000 (23:09 +0000)]
ipq806x: fix pcie pinmux naming in ipq806x dts

PCIe controller nodes are numbers 0/1/2 in the chipset dtsi file, but
the pinmux nodes are numbers 1/2/3. We'll make it consistent by changing
the pinmux numbering to match the controller's one.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46556 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoipq806x: add support for non-dt enabled ap148 bootloader
nbd [Tue, 4 Aug 2015 23:09:43 +0000 (23:09 +0000)]
ipq806x: add support for non-dt enabled ap148 bootloader

Certain AP148 platforms (and derivative) use bootloaders which did not
have DT enabled.
In order to support these old platforms, we'll now make the following
modifications:
*explicitely add the memory node in the AP148 DT: this used to be added
 by new u-boot through a run-time patch mechanism. We'll now add it
 explicitely so it works on boots which don't support that feature. New
 boots will have the node twice, the second one will be ignored.
*add the zImage generation next to the FIT image for AP148.

Other platforms using non-DT enabled bootloaders may want to leverage
this zImage code to generate their own firmare as well.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46555 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoipq806x: update bleeding-edge kernel from 4.0 to 4.1
nbd [Tue, 4 Aug 2015 23:09:38 +0000 (23:09 +0000)]
ipq806x: update bleeding-edge kernel from 4.0 to 4.1

Default kernel doesn't change and stays on 3.18 for now.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46554 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: remove linux 3.18 support
nbd [Tue, 4 Aug 2015 23:09:28 +0000 (23:09 +0000)]
ar71xx: remove linux 3.18 support

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46553 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoacx-mac80211: update git url
hauke [Mon, 3 Aug 2015 20:49:37 +0000 (20:49 +0000)]
acx-mac80211: update git url

use URL scheme documented at http://sourceforge.net/p/forge/documentation/Git/

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46552 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agocyassl: the upstream package in version 4.6.0 changed
hauke [Mon, 3 Aug 2015 20:34:28 +0000 (20:34 +0000)]
cyassl: the upstream package in version 4.6.0 changed

Update the md5sum to the new version.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46551 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agodnsmasq: Bump to dnsmasq2.75
hauke [Mon, 3 Aug 2015 20:33:57 +0000 (20:33 +0000)]
dnsmasq: Bump to dnsmasq2.75

Fixes a 100% cpu usage issue if using dhcp-script.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46550 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: Fix gpio_count setting for QCA953x in ath79_gpio_output_select
nbd [Sun, 2 Aug 2015 15:30:35 +0000 (15:30 +0000)]
ar71xx: Fix gpio_count setting for QCA953x in ath79_gpio_output_select

Reported-by: Steve Brown <sbrown@cortland.com>
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46547 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: Fix Ticket #20153 swap radio calibration data pointers on the RE6500
nbd [Sun, 2 Aug 2015 15:08:14 +0000 (15:08 +0000)]
ramips: Fix Ticket #20153 swap radio calibration data pointers on the RE6500

This patch fixes weak radio signal reported by nikola.georgiev

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46545 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: fix lzma-loader kernel command line passing
nbd [Sun, 2 Aug 2015 15:06:54 +0000 (15:06 +0000)]
ar71xx: fix lzma-loader kernel command line passing

The generic kernel cmdline parser ignores argv[0], this caused a
regression for all lzma-loader based boards with linux 4.1

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46544 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobuild: disable kernel stack protector support for i386/x86_64
nbd [Sun, 2 Aug 2015 07:40:12 +0000 (07:40 +0000)]
build: disable kernel stack protector support for i386/x86_64

When stack protector support is disabled in libc (always the case for
!musl), gcc assumes that it needs to use __stack_chk_guard for the stack
canary.
This causes kernel build errors, because the kernel is only set up to
handle TLS stack canaries.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46543 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoar71xx: fix mr3220 device profile (#19990)
nbd [Sat, 1 Aug 2015 15:13:10 +0000 (15:13 +0000)]
ar71xx: fix mr3220 device profile (#19990)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46541 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agopackages: uboot-sunxi: bump to 2015.07
wigyori [Fri, 31 Jul 2015 21:58:31 +0000 (21:58 +0000)]
packages: uboot-sunxi: bump to 2015.07
 - switch to using kernel-supplied dtc
 - refresh olimex-a13-som and lamobo-r1 patches (compile-tested only)

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46540 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add missing symbol for 4.1
wigyori [Fri, 31 Jul 2015 21:49:37 +0000 (21:49 +0000)]
kernel: add missing symbol for 4.1

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46539 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: allow device tree to override SPI flash partition layout
nbd [Fri, 31 Jul 2015 20:55:30 +0000 (20:55 +0000)]
bcm53xx: allow device tree to override SPI flash partition layout

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46538 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agosunxi: fix networking on Olimex A20 Micro
wigyori [Fri, 31 Jul 2015 19:50:05 +0000 (19:50 +0000)]
sunxi: fix networking on Olimex A20 Micro

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46536 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: restore AP scan patch
nbd [Fri, 31 Jul 2015 19:49:27 +0000 (19:49 +0000)]
mac80211: restore AP scan patch

Signed-off-by: Dmitry Ivanov <dima@ubnt.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46535 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoiw: update to version 4.1
nbd [Fri, 31 Jul 2015 19:49:22 +0000 (19:49 +0000)]
iw: update to version 4.1

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46534 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: fix an invalid read in minstrel rate sorting
nbd [Fri, 31 Jul 2015 19:49:17 +0000 (19:49 +0000)]
mac80211: fix an invalid read in minstrel rate sorting

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46533 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: fix data alignment of management frames / beacons
nbd [Fri, 31 Jul 2015 19:49:09 +0000 (19:49 +0000)]
mac80211: fix data alignment of management frames / beacons

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46532 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomvebu: update dts files for mamba / WRT1900AC
kaloz [Fri, 31 Jul 2015 18:23:28 +0000 (18:23 +0000)]
mvebu: update dts files for mamba / WRT1900AC

Fix for default button states in WRT1900AC dts files.
This prevents overlay wipe when reset is pressed.

Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46530 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add a few missing symbols for 4.1
wigyori [Fri, 31 Jul 2015 18:14:59 +0000 (18:14 +0000)]
kernel: add a few missing symbols for 4.1

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46529 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomvebu: fix gpio config on the WRT1200AC
kaloz [Fri, 31 Jul 2015 18:08:12 +0000 (18:08 +0000)]
mvebu: fix gpio config on the WRT1200AC

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46527 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomxs: switch to 4.1
wigyori [Fri, 31 Jul 2015 12:25:35 +0000 (12:25 +0000)]
mxs: switch to 4.1

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46526 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomxs: add support for 4.1
wigyori [Fri, 31 Jul 2015 12:22:12 +0000 (12:22 +0000)]
mxs: add support for 4.1

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46525 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomxs: build sound-soc-mxs only on 3.18 for now
wigyori [Fri, 31 Jul 2015 11:58:24 +0000 (11:58 +0000)]
mxs: build sound-soc-mxs only on 3.18 for now

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46524 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agopackages: uboot-mxs: bump to 2015.07, refresh Duckbill patch
wigyori [Fri, 31 Jul 2015 11:52:48 +0000 (11:52 +0000)]
packages: uboot-mxs: bump to 2015.07, refresh Duckbill patch

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46523 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agodnsmasq: Bump to dnsmasq2.74
cyrus [Thu, 30 Jul 2015 08:53:43 +0000 (08:53 +0000)]
dnsmasq: Bump to dnsmasq2.74

Bump to dnsmasq2.74 & refresh patches to fix fuzz

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46522 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomwlwifi: upgrade to latest rev with fixed firmware
kaloz [Thu, 30 Jul 2015 06:41:25 +0000 (06:41 +0000)]
mwlwifi: upgrade to latest rev with fixed firmware

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46520 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomt76: update to the latest version, fixes more tx power related issues
nbd [Wed, 29 Jul 2015 16:01:55 +0000 (16:01 +0000)]
mt76: update to the latest version, fixes more tx power related issues

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46519 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoodhcp6c: minor fixes
cyrus [Wed, 29 Jul 2015 06:13:15 +0000 (06:13 +0000)]
odhcp6c: minor fixes

Better synchronize RA & DHCPv6 events
Accumulate some events to avoid flooding
Restart softwires for address and prefix changes

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46518 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoopenssl: add one more mirror
luka [Tue, 28 Jul 2015 21:54:44 +0000 (21:54 +0000)]
openssl: add one more mirror

Signed-off-by: Luka Perkov <luka@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46517 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agosdk: provide explicit CONFIG_MODULES kconfig symbol
jow [Mon, 27 Jul 2015 23:45:15 +0000 (23:45 +0000)]
sdk: provide explicit CONFIG_MODULES kconfig symbol

Extend the SDK Config.in file to explicitely declare a MODULES symbol with
the "option modules" flag set in order to prevent a kconfig segmentation fault
whenever a "depends m" dependency is encountered.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46514 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomt76: update to the latest version, fixes some compile errors
nbd [Mon, 27 Jul 2015 18:46:42 +0000 (18:46 +0000)]
mt76: update to the latest version, fixes some compile errors

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46513 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agofirewall: fix typo in ESP rule
cyrus [Mon, 27 Jul 2015 11:47:20 +0000 (11:47 +0000)]
firewall: fix typo in ESP rule

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46506 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agooprofile: update to 1.1.0-rc2 and make it work with musl
hauke [Sun, 26 Jul 2015 15:53:44 +0000 (15:53 +0000)]
oprofile: update to 1.1.0-rc2 and make it work with musl

This brings oprifle to version 1.1.0-rc2 and adds some fixes for musl.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46505 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: update Disable MMU and Dcache during decompression
hauke [Sun, 26 Jul 2015 15:52:59 +0000 (15:52 +0000)]
bcm53xx: update Disable MMU and Dcache during decompression

This replaces the old patch with the version from Florian.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46504 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add missing CONFIG_ARM_CCI400_PMU config option
hauke [Sun, 26 Jul 2015 15:52:34 +0000 (15:52 +0000)]
kernel: add missing CONFIG_ARM_CCI400_PMU config option

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46503 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agogpio-button-hotplug: handle EPROBE_DEFER and other errors
hauke [Sun, 26 Jul 2015 15:52:17 +0000 (15:52 +0000)]
gpio-button-hotplug: handle EPROBE_DEFER and other errors

of_get_gpio_flags() could return an error like EPROBE_DEFER which was
not handled before. This patch takes the code from gpio_keys_polled.c
for error handling and also improves some other unrelated small parts.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46502 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add CONFIG_REGMAP_MMIO config option
hauke [Sun, 26 Jul 2015 15:51:59 +0000 (15:51 +0000)]
kernel: add CONFIG_REGMAP_MMIO config option

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46501 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobcm53xx: update config
hauke [Sun, 26 Jul 2015 15:51:37 +0000 (15:51 +0000)]
bcm53xx: update config

This activates CONFIG_MULTIUSER and sets the maximal number of cpus to 2.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46500 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoramips: swap radio calibration data pointers for DIR-860L
nbd [Sun, 26 Jul 2015 13:01:43 +0000 (13:01 +0000)]
ramips: swap radio calibration data pointers for DIR-860L

Fixes low 5 GHz tx power issues

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46497 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoimage: fix device variable exports for initramfs images
nbd [Sun, 26 Jul 2015 11:42:27 +0000 (11:42 +0000)]
image: fix device variable exports for initramfs images

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46496 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: add kmod-lp again
hauke [Sun, 26 Jul 2015 09:16:03 +0000 (09:16 +0000)]
kernel: add kmod-lp again

This was deactivated in r21954 because it depended on kernel 2.4, but
this module also compiles with kernel 3.18.

This closes #20199.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46495 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: cdc_ncm: Add support for moving NDP to end of NCM frame
hauke [Sat, 25 Jul 2015 13:41:21 +0000 (13:41 +0000)]
kernel: cdc_ncm: Add support for moving NDP to end of NCM frame

This patch was missing for kernel 4.0 and 4.1 in r46464. I also
replaced the version in OpenWrt with the version which went upstream
into the Linux mainline kernel.

This closes #20193 and #20192

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46493 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agomac80211: do not add debugfs_create_devm_seqfile() on recent kernel versions
hauke [Sat, 25 Jul 2015 13:40:43 +0000 (13:40 +0000)]
mac80211: do not add debugfs_create_devm_seqfile() on recent kernel versions

An #ifdef for the kernel version was missing around the header of
debugfs_create_devm_seqfile() and the LINUX_BACKPORT() was also not
done.

This closes #20181

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46492 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoopkg: ensure image provided feeds are available after sysupgrade
jogo [Sat, 25 Jul 2015 12:12:28 +0000 (12:12 +0000)]
opkg: ensure image provided feeds are available after sysupgrade

Split the opkg.conf into three files, to make it easier to support custom
feeds and configs:

* /etc/opkg.conf -> base opkg configuration
* /etc/opkg/distfeeds.conf -> default Openwrt package feeds
* /etc/opkg/customfeeds.conf -> custom package feeds

Of these three, only the base opkg.conf and the customfeeds.conf is marked
as to be kept, so that the distfeeds.conf from the image is always used.

To ease migration, a script is added that moves any feeds from /etc/opkg.conf
to /etc/opkg/customfeeds.conf on first boot.

Also ensure that any keys used for verification are also kept in upgrade.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46491 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: switch to new image building system
jogo [Sat, 25 Jul 2015 12:12:11 +0000 (12:12 +0000)]
brcm63xx: switch to new image building system

Switches BCM63xx to the new IB system.
Images are generated per device definitions.
There are no changes in the produced images except for some name changes,
caused by the new IB system.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46490 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agobrcm63xx: use new tool for generating redboot images
jogo [Sat, 25 Jul 2015 12:12:06 +0000 (12:12 +0000)]
brcm63xx: use new tool for generating redboot images

Simplify image/Makefile by using the new perl script for RedBoot.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46489 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agoscripts: add tool for generating redboot scripts
jogo [Sat, 25 Jul 2015 12:12:03 +0000 (12:12 +0000)]
scripts: add tool for generating redboot scripts

This tool avoids generating the redboot script directly from Makefile, which
can get really complicated when adapting image/Makefile to the new IB system.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46488 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokmod-regmap: make regmap-mmio user selectable
jogo [Sat, 25 Jul 2015 09:55:32 +0000 (09:55 +0000)]
kmod-regmap: make regmap-mmio user selectable

REGMAP_MMIO is a hidden symbol, so it cannot be directly selected. If nothing
selects it, it will fail the build with:

ERROR: module '/store/buildbot/slave/slave/rb532/build/build_dir/target-mipsel_mips32_musl-1.1.10/linux-rb532/linux-3.18.19/drivers/base/regmap/regmap-mmio.ko' is missing.
make[2]: *** [/store/buildbot/slave/slave/rb532/build/bin/rb532/packages/base/kmod-regmap_3.18.19-1_rb532.ipk] Error 1

Fix this by adding a description to allow selecting it manually.

Fixes: r46451 ("kmod-regmap: enable MMIO support")
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46485 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agombedtls: package version 2.0, make polarssl compatible
cyrus [Fri, 24 Jul 2015 22:26:44 +0000 (22:26 +0000)]
mbedtls: package version 2.0, make polarssl compatible

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46484 3c298f89-4303-0410-b956-a3cf2f4a3e73

9 years agokernel: remove kmod-crypto-aes, AES crypto support is always built into the kernel
nbd [Fri, 24 Jul 2015 15:36:08 +0000 (15:36 +0000)]
kernel: remove kmod-crypto-aes, AES crypto support is always built into the kernel

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46483 3c298f89-4303-0410-b956-a3cf2f4a3e73