openwrt.git
10 years agoar71xx: don't build uImages for the mikrotik subtarget
juhosg [Wed, 30 Oct 2013 06:54:55 +0000 (06:54 +0000)]
ar71xx: don't build uImages for the mikrotik subtarget

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

10 years agoar71xx: disable non Mikrotik boards in the mikrotik subtarget
juhosg [Wed, 30 Oct 2013 06:54:54 +0000 (06:54 +0000)]
ar71xx: disable non Mikrotik boards in the mikrotik subtarget

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

10 years agoar71xx: fix Kconfig symbol selection for RB95x/RB2011
juhosg [Wed, 30 Oct 2013 06:54:53 +0000 (06:54 +0000)]
ar71xx: fix Kconfig symbol selection for RB95x/RB2011

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

10 years agoar71xx: move CONFIG_MTD_NAND_AR934X_HW_ECC option to subtarget config
juhosg [Wed, 30 Oct 2013 06:51:02 +0000 (06:51 +0000)]
ar71xx: move CONFIG_MTD_NAND_AR934X_HW_ECC option to subtarget config

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

10 years agogeneric: mtdsplit_uimage: add uImage magic for the WRN2200 board
juhosg [Wed, 30 Oct 2013 06:51:01 +0000 (06:51 +0000)]
generic: mtdsplit_uimage: add uImage magic for the WRN2200 board

Should fix boot failure on the WNR2200 boards.
Compile tested only.

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

10 years agoar71xx: add profile and build image for the BXU2000n-2 A1 board
juhosg [Wed, 30 Oct 2013 06:50:59 +0000 (06:50 +0000)]
ar71xx: add profile and build image for the BXU2000n-2 A1 board

Patchwork: http://patchwork.openwrt.org/patch/4183/
Signed-off-by: Terry Yang <yangbo@bhunetworks.com>
[juhosg:
  - remove MultiProfile, it makes no sense for a single board
  - move SingleProfile call and the mtdlayout to a different
    location keep things sorted (well, almost)]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38593 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add user-space support for the BXU2000n-2 A1 board
juhosg [Wed, 30 Oct 2013 06:50:58 +0000 (06:50 +0000)]
ar71xx: add user-space support for the BXU2000n-2 A1 board

Patchwork: http://patchwork.openwrt.org/patch/4183/
Signed-off-by: Terry Yang <yangbo@bhunetworks.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38592 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add kernel support for BHU Networks BXU2000n-2 A1 board
juhosg [Wed, 30 Oct 2013 06:50:57 +0000 (06:50 +0000)]
ar71xx: add kernel support for BHU Networks BXU2000n-2 A1 board

BXU2000n-2 A1 is a BHU Networks WLAN board, use ar9341 chip.

Patchwork: http://patchwork.openwrt.org/patch/4183/
Signed-off-by: Terry Yang <yangbo@bhunetworks.com>
[juhosg:
  - rename and refresh kernel patch,
  - fix some checkpatch warnings and adjust whitespaces in
    mach-bhu-bxu2000n2-a.c]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38591 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add user space support for the Sitecom WLR-8100 wireless router
juhosg [Wed, 30 Oct 2013 06:50:55 +0000 (06:50 +0000)]
ar71xx: add user space support for the Sitecom WLR-8100 wireless router

Patchwork: http://patchwork.openwrt.org/patch/4148/
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38590 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add kernel support for the Sitecom WLR-8100 wireless router
juhosg [Wed, 30 Oct 2013 06:50:54 +0000 (06:50 +0000)]
ar71xx: add kernel support for the Sitecom WLR-8100 wireless router

  - unsure about copyright message
  - based on AP136-010

Patchwork: http://patchwork.openwrt.org/patch/4147/
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
[juhosg: rename and refresh kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38589 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add profile and build image for the Dragino2 board
juhosg [Wed, 30 Oct 2013 06:50:53 +0000 (06:50 +0000)]
ar71xx: add profile and build image for the Dragino2 board

Patchwork: http://patchwork.openwrt.org/patch/4234/
Signed-off-by: Pau Escrich <p4u@dabax.net>
[juhosg: remove kernel+rootfs partition and use uimage split instead]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38588 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoar71xx: add kernel support for DRAGINO2
juhosg [Wed, 30 Oct 2013 06:50:52 +0000 (06:50 +0000)]
ar71xx: add kernel support for DRAGINO2

This patch adds support for DRAGINO2 board (used by
Meshpotato v2). Most of the files included can be
found in the official svn repository provided by the
company [1]. I have just adapt it to the last OpenWrt
trunk revision (Fri Oct 4 10:49:47 2013).

 1. http://svn.dragino.com/dragino2

Patchwork: http://patchwork.openwrt.org/patch/4234/
Signed-off-by: Pau Escrich <p4u@dabax.net>
[juhosg:
 - rename and refresh kernel patch,
 - fix checkpatch warnings in  mach-dragino2.c]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38587 3c298f89-4303-0410-b956-a3cf2f4a3e73

10 years agoimx6: update gateworks profile with extra packages
luka [Wed, 30 Oct 2013 00:50:14 +0000 (00:50 +0000)]
imx6: update gateworks profile with extra packages

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

10 years agolibubox: update to latest version, adds minor improvements to jshn, blobmsg and uloop
nbd [Tue, 29 Oct 2013 14:12:06 +0000 (14:12 +0000)]
libubox: update to latest version, adds minor improvements to jshn, blobmsg and uloop

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

10 years agoodhcp6c: Multiple improvements and fixes
cyrus [Tue, 29 Oct 2013 13:23:28 +0000 (13:23 +0000)]
odhcp6c: Multiple improvements and fixes

* Various RFC compliance fixes (thanks to Hans Dedecker)
* Fix RA spam filter logic causing ipv6 connection issues
* Fix parameters -F and -P being order dependent

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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