openwrt.git
8 years agoRevert "[cyassl]: upgrade to 2.8.0"
jow [Tue, 29 Oct 2013 09:53:48 +0000 (09:53 +0000)]
Revert "[cyassl]: upgrade to 2.8.0"

Reverts the CyaSSL version bump for now since the update completely broke
trunk building due to incompatible changes in the IO callback API which in
turn breaks the core ustream-ssl package.

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

8 years agokernel: add w1-master-mxc module
luka [Tue, 29 Oct 2013 02:52:17 +0000 (02:52 +0000)]
kernel: add w1-master-mxc module

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

8 years agoimx6: add initial 3.12 support
luka [Tue, 29 Oct 2013 02:19:09 +0000 (02:19 +0000)]
imx6: add initial 3.12 support

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

8 years agoimx6: use upstream gateworks board names
luka [Tue, 29 Oct 2013 02:19:07 +0000 (02:19 +0000)]
imx6: use upstream gateworks board names

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

8 years agokernel: refresh 3.12 patches on -rc7 release
luka [Tue, 29 Oct 2013 02:19:05 +0000 (02:19 +0000)]
kernel: refresh 3.12 patches on -rc7 release

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

8 years agoimx6: update 3.10 patches
luka [Tue, 29 Oct 2013 02:19:03 +0000 (02:19 +0000)]
imx6: update 3.10 patches

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

8 years agokernel: add missing config optinons
hauke [Mon, 28 Oct 2013 19:19:28 +0000 (19:19 +0000)]
kernel: add missing config optinons

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

8 years agokernel: jffs2: ignore bad blocks after the end-of-filesystem marker
nbd [Mon, 28 Oct 2013 16:06:47 +0000 (16:06 +0000)]
kernel: jffs2: ignore bad blocks after the end-of-filesystem marker

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

8 years agouClibc: get rid of bogus unused strlcpy definition to fix build errors
nbd [Mon, 28 Oct 2013 15:15:35 +0000 (15:15 +0000)]
uClibc: get rid of bogus unused strlcpy definition to fix build errors

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

8 years agotoolchain/gdb: remove use of extern inline to fix build errors
nbd [Mon, 28 Oct 2013 15:15:31 +0000 (15:15 +0000)]
toolchain/gdb: remove use of extern inline to fix build errors

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

8 years agomtd-utils: get rid of extern inline to fix build errors
nbd [Mon, 28 Oct 2013 15:15:28 +0000 (15:15 +0000)]
mtd-utils: get rid of extern inline to fix build errors

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

8 years agoe2fsprogs: update to 1.42.8, fixes a build error
nbd [Mon, 28 Oct 2013 15:15:24 +0000 (15:15 +0000)]
e2fsprogs: update to 1.42.8, fixes a build error

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

8 years agosquashfs: make inline functions static to fix build errors
nbd [Mon, 28 Oct 2013 15:15:20 +0000 (15:15 +0000)]
squashfs: make inline functions static to fix build errors

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

8 years agosquashfs4: make inline functions static to fix build errors
nbd [Mon, 28 Oct 2013 15:15:16 +0000 (15:15 +0000)]
squashfs4: make inline functions static to fix build errors

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

8 years agopkg-config: update to latest version, fix build on Mac OS X 10.9
nbd [Mon, 28 Oct 2013 15:15:12 +0000 (15:15 +0000)]
pkg-config: update to latest version, fix build on Mac OS X 10.9

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

8 years agobuild: fix build on Mac OS X 10.9
nbd [Mon, 28 Oct 2013 15:15:09 +0000 (15:15 +0000)]
build: fix build on Mac OS X 10.9

Add a wrapper around the clang gcc emulation to fix -print-file-name=<lib>

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

8 years agou-boot: prefer mirror2.openwrt.org over ftp.denx.de - the denx ftp is slow and unreliable
nbd [Mon, 28 Oct 2013 15:15:05 +0000 (15:15 +0000)]
u-boot: prefer mirror2.openwrt.org over ftp.denx.de - the denx ftp is slow and unreliable

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

8 years ago[cyassl]: upgrade to 2.8.0
kaloz [Mon, 28 Oct 2013 14:34:59 +0000 (14:34 +0000)]
[cyassl]: upgrade to 2.8.0

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

8 years agogpio-button-hotplug: add support for power buttons
blogic [Mon, 28 Oct 2013 13:45:57 +0000 (13:45 +0000)]
gpio-button-hotplug: add support for power buttons

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38557 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoubox: update to latest git HEAD
blogic [Mon, 28 Oct 2013 06:48:04 +0000 (06:48 +0000)]
ubox: update to latest git HEAD

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38554 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoralink: add package for mt7620 sdhci
blogic [Mon, 28 Oct 2013 06:47:56 +0000 (06:47 +0000)]
ralink: add package for mt7620 sdhci

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38553 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoralink: dont include mt7620 sdhci support inside the kernel
blogic [Mon, 28 Oct 2013 06:47:48 +0000 (06:47 +0000)]
ralink: dont include mt7620 sdhci support inside the kernel

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38552 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoralink: add support for missing mt7620 mux values
blogic [Mon, 28 Oct 2013 06:47:39 +0000 (06:47 +0000)]
ralink: add support for missing mt7620 mux values

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38551 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoralink: add support for 2 new mt7620 boards made by buffalo
blogic [Mon, 28 Oct 2013 06:47:31 +0000 (06:47 +0000)]
ralink: add support for 2 new mt7620 boards made by buffalo

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38550 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add packages for sdhci support
blogic [Mon, 28 Oct 2013 06:47:20 +0000 (06:47 +0000)]
kernel: add packages for sdhci support

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38549 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: fix compile error in 3.12
luka [Sun, 27 Oct 2013 20:47:04 +0000 (20:47 +0000)]
kernel: fix compile error in 3.12

Upstream commit c655bc6896b94ee0223393f26155c6daf1e2d148 changed number of
arguments in nf_ct_iterate_cleanup() function.

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

8 years agokernel: add missing 3.12 config symbols
luka [Sun, 27 Oct 2013 20:46:55 +0000 (20:46 +0000)]
kernel: add missing 3.12 config symbols

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

8 years agomvebu: drop patch that has been upstreamed
luka [Sun, 27 Oct 2013 16:08:23 +0000 (16:08 +0000)]
mvebu: drop patch that has been upstreamed

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

8 years agomvebu: delete empty directory
luka [Sun, 27 Oct 2013 16:05:28 +0000 (16:05 +0000)]
mvebu: delete empty directory

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

8 years agoubox: update to latest git head
blogic [Sat, 26 Oct 2013 12:25:11 +0000 (12:25 +0000)]
ubox: update to latest git head

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38541 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoralink: pinctrl fix for non muxed pins
blogic [Sat, 26 Oct 2013 12:24:55 +0000 (12:24 +0000)]
ralink: pinctrl fix for non muxed pins

Pins with no mux option failed to be recognized as gpios.

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38540 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm47xx: b44: fix error handling for dummy phy creation
hauke [Fri, 25 Oct 2013 21:12:48 +0000 (21:12 +0000)]
brcm47xx: b44: fix error handling for dummy phy creation

When the mdio bus is unregistered the newly created phy will also be
unregistered and freed.

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

8 years agobrcm47xx: b44: add dummy phy device if we do not find any
hauke [Fri, 25 Oct 2013 21:02:13 +0000 (21:02 +0000)]
brcm47xx: b44: add dummy phy device if we do not find any

On some devices with e.g. a BCM2535F switch the second MAC is used, but
we can not find a phy under all addresses between 0 and 31, 0xffffffff
is returned as phy id. If we can not find a phy at the expected address
create a dummy one.

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

8 years agokernel: add keyboard-imx module
luka [Fri, 25 Oct 2013 10:29:49 +0000 (10:29 +0000)]
kernel: add keyboard-imx module

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

8 years agomalta: add kernel configuration for 3.12
florian [Fri, 25 Oct 2013 01:48:29 +0000 (01:48 +0000)]
malta: add kernel configuration for 3.12

Boot tested using QEMU

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38536 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: handle Cavium Octeon Kconfig rename
florian [Fri, 25 Oct 2013 01:48:20 +0000 (01:48 +0000)]
kernel: handle Cavium Octeon Kconfig rename

Upstream commit 9ddebc46 ("MIPS: OCTEON: Rename Kconfig
CAVIUM_OCTEON_REFERENCE_BOARD to CAVIUM_OCTEON_SOC") renamed a Kconfig
symbol, thus making all MIPS builds ask for this specific Kconfig
symbol, add it.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38535 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobuildroot: add lz4 initramfs compression option
florian [Fri, 25 Oct 2013 01:48:10 +0000 (01:48 +0000)]
buildroot: add lz4 initramfs compression option

LZ4 compression is now available with 3.12 kernels offer it as an
option.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38534 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoinclude: handle LZ4 compression scheme
florian [Fri, 25 Oct 2013 01:48:02 +0000 (01:48 +0000)]
include: handle LZ4 compression scheme

Kernel 3.12 now offers LZ4 compression which will make initramfs builds
fail because we do not know how to substitute the relevant config
symbols, fix that.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38533 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add some missing 3.12 config symbols
florian [Fri, 25 Oct 2013 01:47:54 +0000 (01:47 +0000)]
kernel: add some missing 3.12 config symbols

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38532 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: make kmod-pcnet32 depend on kmod-mii
florian [Fri, 25 Oct 2013 01:47:45 +0000 (01:47 +0000)]
kernel: make kmod-pcnet32 depend on kmod-mii

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38531 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: add mii library kernel module package
florian [Fri, 25 Oct 2013 01:47:32 +0000 (01:47 +0000)]
kernel: add mii library kernel module package

This package is required for network drivers such as pcnet32

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38530 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoprocd: update to latest git head
blogic [Thu, 24 Oct 2013 14:27:03 +0000 (14:27 +0000)]
procd: update to latest git head

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38529 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years ago[generic:] preliminary 3.12 support
kaloz [Thu, 24 Oct 2013 13:50:11 +0000 (13:50 +0000)]
[generic:] preliminary 3.12 support

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

8 years agobuildroot: split Kernel config options to Config-kernel.in
florian [Thu, 24 Oct 2013 00:28:33 +0000 (00:28 +0000)]
buildroot: split Kernel config options to Config-kernel.in

The number of Linux kernel related config options has become quite big
over the past few months, they deserve their own Config-kernel.in file.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38524 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: make swconfig checkpath compliant
florian [Thu, 24 Oct 2013 00:25:52 +0000 (00:25 +0000)]
kernel: make swconfig checkpath compliant

Fix the warnings and errors reported by checkpatch on swconfig.c

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38523 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: ventana boards use kmod-sky2
luka [Wed, 23 Oct 2013 23:12:59 +0000 (23:12 +0000)]
imx6: ventana boards use kmod-sky2

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

8 years agoimx6: use more descriptive function name
luka [Wed, 23 Oct 2013 22:55:00 +0000 (22:55 +0000)]
imx6: use more descriptive function name

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

8 years agoimx6: use more common name for ubi(fs) images
luka [Wed, 23 Oct 2013 22:54:59 +0000 (22:54 +0000)]
imx6: use more common name for ubi(fs) images

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

8 years agoimx6: fix pcie interrupt mapping
luka [Wed, 23 Oct 2013 22:26:54 +0000 (22:26 +0000)]
imx6: fix pcie interrupt mapping

The interrupt mapping for legacy interrupts was backwards causing interrupts
to be mapped improperly behind a PCIe to PCI bridge (ie GW16082 mezzanine).

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38519 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: add support for building uImage
luka [Wed, 23 Oct 2013 22:16:12 +0000 (22:16 +0000)]
imx6: add support for building uImage

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

8 years agoConfig.in: add more options when it comes to including kernel image into rootfs
luka [Wed, 23 Oct 2013 22:16:10 +0000 (22:16 +0000)]
Config.in: add more options when it comes to including kernel image into rootfs

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

8 years agobuild: make MkuImage more generic
luka [Wed, 23 Oct 2013 22:16:09 +0000 (22:16 +0000)]
build: make MkuImage more generic

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

8 years agoimx6: enable SATA support
luka [Wed, 23 Oct 2013 22:16:08 +0000 (22:16 +0000)]
imx6: enable SATA support

Enable SATA support (for IMX6D/IMX6Q) static in the kernel.  It seems there
are some issues causing the driver to not load properly when built as
a module which still need to be worked out.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38515 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: enable cpufreq
luka [Wed, 23 Oct 2013 22:16:07 +0000 (22:16 +0000)]
imx6: enable cpufreq

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38514 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: enable i2c-dev
luka [Wed, 23 Oct 2013 22:16:06 +0000 (22:16 +0000)]
imx6: enable i2c-dev

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38513 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: remove obsolete files
luka [Wed, 23 Oct 2013 22:16:05 +0000 (22:16 +0000)]
imx6: remove obsolete files

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38512 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: pcie driver fixups
luka [Wed, 23 Oct 2013 22:16:03 +0000 (22:16 +0000)]
imx6: pcie driver fixups

Add upstream patches needed for PCIe through a switch.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38511 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: fix symlink of dtb files
luka [Wed, 23 Oct 2013 20:21:27 +0000 (20:21 +0000)]
imx6: fix symlink of dtb files

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38510 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: rename 'nand' subtarget to 'mikrotik'
juhosg [Wed, 23 Oct 2013 15:43:26 +0000 (15:43 +0000)]
ar71xx: rename 'nand' subtarget to 'mikrotik'

It is for Mikrotik devices only, rename the subtarget
to reflect that. Also fix the wget2nand script to use
the new image names.

Based on the patch by Stefan Agner:
http://patchwork.openwrt.org/patch/4123/

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38509 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: change title and description for NAND subtarget
juhosg [Wed, 23 Oct 2013 15:43:19 +0000 (15:43 +0000)]
ar71xx: change title and description for NAND subtarget

The nand subtarget supports Mikrotik boards only. Change
the title and the description to reflect that.

Based on the patch by Stefan Agner:
http://patchwork.openwrt.org/patch/4123/

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38508 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: remove 'Target/Description' from main Makefile
juhosg [Wed, 23 Oct 2013 15:43:13 +0000 (15:43 +0000)]
ar71xx: remove 'Target/Description' from main Makefile

Ensure that menuconfig shows the correct help text for
subtargets.

Based on the patch by Stefan Agner:
http://patchwork.openwrt.org/patch/4123/

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38507 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: update 3.10 to 3.10.17
juhosg [Wed, 23 Oct 2013 12:51:05 +0000 (12:51 +0000)]
kernel: update 3.10 to 3.10.17

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38506 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoodhcp6c: filter similar RAs spammed by some ISPs
cyrus [Wed, 23 Oct 2013 10:31:06 +0000 (10:31 +0000)]
odhcp6c: filter similar RAs spammed by some ISPs

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38505 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agofirewall: Improve ubus support
cyrus [Wed, 23 Oct 2013 10:25:26 +0000 (10:25 +0000)]
firewall: Improve ubus support

* Use network.interface dump call instead of individual status calls
  to reduce overall netifd lookups and invokes to 1 per fw3 process.

* Allow protocol handlers to assign a firewall zone for an interface
  in the data section to allow for dynamic firewall zone assignment.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38504 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoodhcpd: fix cleaning of configuration on reload
cyrus [Wed, 23 Oct 2013 09:30:28 +0000 (09:30 +0000)]
odhcpd: fix cleaning of configuration on reload

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38503 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobrcm47xx: b44: detect external phy by bit set in DevControl register
hauke [Tue, 22 Oct 2013 21:01:35 +0000 (21:01 +0000)]
brcm47xx: b44: detect external phy by bit set in DevControl register

Without this patch we treated only phy addr 30 as an external phy, but
there is a register to check that. Now we do not have to try to reset
the switch to check for an external switch.

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

8 years agox86/generic: remove 3.8 config
juhosg [Tue, 22 Oct 2013 19:00:25 +0000 (19:00 +0000)]
x86/generic: remove 3.8 config

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38501 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agox86/generic: switch to 3.10.15
juhosg [Tue, 22 Oct 2013 19:00:22 +0000 (19:00 +0000)]
x86/generic: switch to 3.10.15

Based on 'kernel: update x86 generic to 3.10.13' patch
from http://patchwork.openwrt.org/patch/4129/

Signed-off-by: Ulrich Weber <uw@xyne.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38500 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agox86/generic: add kernel config for 3.10
juhosg [Tue, 22 Oct 2013 19:00:20 +0000 (19:00 +0000)]
x86/generic: add kernel config for 3.10

Based on 'kernel: update x86 generic to 3.10.13' patch
from http://patchwork.openwrt.org/patch/4129/

Signed-off-by: Ulrich Weber <uw@xyne.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38499 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel/3.10: add missing config symbol
juhosg [Tue, 22 Oct 2013 19:00:19 +0000 (19:00 +0000)]
kernel/3.10: add missing config symbol

Based on 'kernel: update x86 generic to 3.10.13' patch
from http://patchwork.openwrt.org/patch/4129/

Signed-off-by: Ulrich Weber <uw@xyne.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38498 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: make symlinks for dtb's
luka [Tue, 22 Oct 2013 17:13:18 +0000 (17:13 +0000)]
imx6: make symlinks for dtb's

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

8 years ago6relayd: reduce fallout of RA spamming a bit
cyrus [Mon, 21 Oct 2013 10:26:57 +0000 (10:26 +0000)]
6relayd: reduce fallout of RA spamming a bit

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38488 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years ago[tools] gmp: update to 5.1.3
luka [Mon, 21 Oct 2013 09:53:19 +0000 (09:53 +0000)]
[tools] gmp: update to 5.1.3

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

8 years agoath9k: gather entropy from raw ADC I/Q samples (use the least significant bit only)
nbd [Sun, 20 Oct 2013 17:51:17 +0000 (17:51 +0000)]
ath9k: gather entropy from raw ADC I/Q samples (use the least significant bit only)

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

8 years agomkfwimage: Increase RSPRO maximum size to 0xF00000 (15 MiB)
juhosg [Sun, 20 Oct 2013 15:59:08 +0000 (15:59 +0000)]
mkfwimage: Increase RSPRO maximum size to 0xF00000 (15 MiB)

RSPRO has 16MiB of Flash, using the following layout:

[    2.930000] 0x000000000000-0x000000030000 : "RedBoot"
[    2.940000] 0x000000030000-0x000000130000 : "kernel"
[    2.950000] 0x000000130000-0x000000ff0000 : "rootfs"
[    2.960000] 0x000000ff0000-0x000000fff000 : "FIS directory"
[    2.970000] 0x000000fff000-0x000001000000 : "RedBoot config"

Firmware images contain kernel and rootfs, so they can use up to 0xFF0000 -
0x30000 = 0xFC0000 (15,75MiB) of space. We don't include the RedBoot and FIS
partitions and leave an extra 0xC0000 (768KiB) of space.

This is based on revision 18410 which sets the limit to 0xB00000 (11 MiB).

Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38484 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: Fix sysupgrades for Allnet and OpenMesh devices
juhosg [Sun, 20 Oct 2013 15:59:05 +0000 (15:59 +0000)]
ar71xx: Fix sysupgrades for Allnet and OpenMesh devices

Both Allnet and OpenMesh sysupgrade uses fw_setenv from uboot-envtools to
change different settings in the uboot environment. uboot-envtools version
2013.01 introduced a filesystem lock "/var/lock/fw_printenv.lock" to guarantee
mutually exclusive access to the uboot environment. But the path /var doesn't
exist on the sysupgrade ramfs.

An upgrade on these devices fails since r36033 ("[package] uboot-envtools:
upgrade to version 2013.01.01") with following messages:

 Error opening lock file /var/lock/fw_printenv.lock
 failed to update U-Boot environment

Creating the "/var/lock" path before running fw_setenv is therefore a
requirement unless the locking functionality in fw_setenv is removed or
replaced with optional locking.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38483 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: fix WLAN 5 GHz LED init on dir-825-c1
juhosg [Sun, 20 Oct 2013 15:59:04 +0000 (15:59 +0000)]
ar71xx: fix WLAN 5 GHz LED init on dir-825-c1

Fixes the 5 GHz LED.

The same function has no effect on the 2.4 GHz LED at all, so we might
as well remove it.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38482 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolibubox: update to latest version, fixes ustream reuse and a few other minor issues
nbd [Sat, 19 Oct 2013 16:24:38 +0000 (16:24 +0000)]
libubox: update to latest version, fixes ustream reuse and a few other minor issues

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

8 years agonetifd: Fix ifupdate events
cyrus [Sat, 19 Oct 2013 11:01:25 +0000 (11:01 +0000)]
netifd: Fix ifupdate events

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38458 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years ago[tools] cmake: upgrade to 2.8.12
luka [Fri, 18 Oct 2013 23:38:26 +0000 (23:38 +0000)]
[tools] cmake: upgrade to 2.8.12

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

8 years agoodhcpd: various bugfixes
cyrus [Fri, 18 Oct 2013 13:39:48 +0000 (13:39 +0000)]
odhcpd: various bugfixes

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38454 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agonetifd: various improvements
cyrus [Fri, 18 Oct 2013 13:39:43 +0000 (13:39 +0000)]
netifd: various improvements

* Add ubus methods for global interface status
* Add ubus function to create nested interfaces
* Add protocol update notifications and hotplug legacy calls
* Fix: key to data elements point at wrong memory area
* Add support for source-restricted routes
* Add option "delegate" to toggle prefix delegation
* Reevaluate target routes also on interface update

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38453 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agort2800usb: merge a fix to slow down tx status polling (#13523)
nbd [Fri, 18 Oct 2013 13:39:10 +0000 (13:39 +0000)]
rt2800usb: merge a fix to slow down tx status polling (#13523)

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

8 years agowpa_supplicant: fix beacon_int configuration option
jow [Fri, 18 Oct 2013 11:47:47 +0000 (11:47 +0000)]
wpa_supplicant: fix beacon_int configuration option

wpa_supplicant expects beacon_int instead of beacon_interval in its config
file.

Signed-off-by: Bruno Randolf <br1@einfach.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38451 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agox86: fix condition in base-files.mk
jow [Fri, 18 Oct 2013 11:45:33 +0000 (11:45 +0000)]
x86: fix condition in base-files.mk

TARGET_x86_generic_Soekris48xx is not defined,
CONFIG_TARGET_x86_generic_Soekris48xx is

This changes makes it possible to override the network config for soekris net48xx
and net45xx targets.

Signed-off-by: Bruno Randolf <br1@einfach.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38450 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoiw: add patch to support 802.11j frequencies
jow [Fri, 18 Oct 2013 11:43:02 +0000 (11:43 +0000)]
iw: add patch to support 802.11j frequencies

A similar change was recently merged in iw commit
58b46da26ab9b5ff31c7033e175351eb1301d9af

Signed-off-by: Bruno Randolf <br1@einfach.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38449 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoiwinfo: make 'type' visible in wrapped iwinfo
jow [Fri, 18 Oct 2013 11:42:43 +0000 (11:42 +0000)]
iwinfo: make 'type' visible in wrapped iwinfo

There are several cases within 'luci' that attempt to access the interface
'type' from within the 'type' specific meta tables; however, 'type' is not
currently available there.  Replicate the common metadata in the 'type'
specific meta tables.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38448 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years ago[package] uboot-envtools: update to 2013.10
luka [Fri, 18 Oct 2013 00:39:28 +0000 (00:39 +0000)]
[package] uboot-envtools: update to 2013.10

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

8 years agobuild: set owner root for all files on ubifs creation
luka [Fri, 18 Oct 2013 00:11:20 +0000 (00:11 +0000)]
build: set owner root for all files on ubifs creation

When creating an image it makes no sense to have files owned by
the uid and gid on the host (and even creates a bug when for
example dropbear authorized_keys is included via env/files).

Signed-off-by: Joris de Vries <joris@apptrician.nl>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38442 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: reorganize build system
luka [Fri, 18 Oct 2013 00:02:45 +0000 (00:02 +0000)]
imx6: reorganize build system

Changes include:

 * switching to profiles
 * adding ubifs support
 * building image for GW54XX board

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

8 years agoipkg-make-index: use more backwards-compatible openssl call for SHA256
cyrus [Thu, 17 Oct 2013 19:32:28 +0000 (19:32 +0000)]
ipkg-make-index: use more backwards-compatible openssl call for SHA256

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38440 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobuild: drop FIT option until we actually need it
luka [Thu, 17 Oct 2013 15:45:41 +0000 (15:45 +0000)]
build: drop FIT option until we actually need it

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

8 years agox86: Update kernel for alix2 to 3.10.15
nbd [Thu, 17 Oct 2013 14:03:11 +0000 (14:03 +0000)]
x86: Update kernel for alix2 to 3.10.15

Without this patch, the patch
target/linux/generic/patches-3.10/770-bgmac-backport.patch
would not apply.

Signed-off-by: Tobias Steinicke <tsteinicke@net.t-labs.tu-berlin.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38438 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agonetifd: rename customopts to sendopts for consistency
cyrus [Thu, 17 Oct 2013 13:12:06 +0000 (13:12 +0000)]
netifd: rename customopts to sendopts for consistency

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38437 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoAdded 'customopts' dhcp protocol option, which is an array passed along to udhcpc...
cyrus [Thu, 17 Oct 2013 12:55:40 +0000 (12:55 +0000)]
Added 'customopts' dhcp protocol option, which is an array passed along to udhcpc as series of -x options.

Signed-off-by: Markus Stenberg <markus.stenberg@iki.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38436 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agogcc 4.8-linaro: backport an upstream fix to fix asm goto miscompilation
nbd [Thu, 17 Oct 2013 11:57:44 +0000 (11:57 +0000)]
gcc 4.8-linaro: backport an upstream fix to fix asm goto miscompilation

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

8 years agoimx6: fix file names when building images
luka [Thu, 17 Oct 2013 11:54:52 +0000 (11:54 +0000)]
imx6: fix file names when building images

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

8 years agoodhcp6c: fix parsing of IA_PD adverts
cyrus [Thu, 17 Oct 2013 07:19:32 +0000 (07:19 +0000)]
odhcp6c: fix parsing of IA_PD adverts

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38433 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: enable FIT images
luka [Wed, 16 Oct 2013 21:23:27 +0000 (21:23 +0000)]
imx6: enable FIT images

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

8 years agobuild: add menuconfig option for building FIT images
luka [Wed, 16 Oct 2013 21:23:24 +0000 (21:23 +0000)]
build: add menuconfig option for building FIT images

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