openwrt/staging/lynxis/omap.git
8 years agoimx6: drop lingering files
Luka Perkov [Mon, 28 Dec 2015 04:55:33 +0000 (04:55 +0000)]
imx6: drop lingering files

Since 3.18 kernel support was dropped, remove lingering files.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
SVN-Revision: 48007

8 years ago6in4: Corrected tunnelbroker tunnel update URL
Hauke Mehrtens [Sun, 27 Dec 2015 20:42:26 +0000 (20:42 +0000)]
6in4: Corrected tunnelbroker tunnel update URL

Changed the tunnel update URL into format tunnelbrokers
example has, that made it work again. Current method gives "Username/Password
Authentication Failed." when I tried the wget line manually and logread
eventually says also "6in4: update failed". With corrected URL it works fine:
"good 111.222.333.444" or "nochg 111.222.333.444" and logread concurs with
success, and tunnel actually updates.

Tested-by: Vaasa Hacklab <info@vaasa.hacklab.fi>
Signed-off-by: Sami Olmari <sami@olmari.fi>
SVN-Revision: 48006

8 years agoar71xx: fix sysupgrade for wnr2200
Felix Fietkau [Wed, 23 Dec 2015 23:42:18 +0000 (23:42 +0000)]
ar71xx: fix sysupgrade for wnr2200

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

8 years agolibnl: fix warning with poll.h include on musl
John Crispin [Wed, 23 Dec 2015 19:26:26 +0000 (19:26 +0000)]
libnl: fix warning with poll.h include on musl

Warning is:
  #warning redirecting incorrect #include <sys/poll.h> to <poll.

Not a big issue.
But it can be annoying when building with -Werror set.

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

8 years agobinutils: upgrade to version 2.25
John Crispin [Wed, 23 Dec 2015 19:26:11 +0000 (19:26 +0000)]
binutils: upgrade to version 2.25

Fixes build:
config/tc-i386.c: In function 'build_modrm_byte':
config/tc-i386.c:6143:31: error: logical not is only applied to the left hand side of comparison [-Werror=logical-not-parentheses]
         && !op.bitfield.reg64 != 1

Contains this fix:
   https://sourceware.org/ml/binutils/2014-09/msg00095.html

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

8 years agolantiq: fix Image Builder
John Crispin [Wed, 23 Dec 2015 19:25:55 +0000 (19:25 +0000)]
lantiq: fix Image Builder

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 48002

8 years agofstools: update to latest git HEAD
John Crispin [Wed, 23 Dec 2015 19:25:46 +0000 (19:25 +0000)]
fstools: update to latest git HEAD

adds stacked ram overlays.

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

8 years agoca-certificates: update to version 20151214
John Crispin [Wed, 23 Dec 2015 19:25:33 +0000 (19:25 +0000)]
ca-certificates: update to version 20151214

update to version 20151214

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

8 years agoswconfig: switch kernel PORT_LINK support to SWITCH_TYPE_LINK
John Crispin [Wed, 23 Dec 2015 19:25:02 +0000 (19:25 +0000)]
swconfig: switch kernel PORT_LINK support to SWITCH_TYPE_LINK

As explained earlier, using SWITCH_TYPE_LINK gives more flexibility,
it doesn't require e.g. string parsing to read some data.

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

8 years agoswconfig: support receiving SWITCH_TYPE_LINK from kernel
John Crispin [Wed, 23 Dec 2015 19:24:45 +0000 (19:24 +0000)]
swconfig: support receiving SWITCH_TYPE_LINK from kernel

When using cli, print link state the same way kernel used to do it.
This will allow kernel switching PORT_LINK from SWITCH_TYPE_STRING.

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

8 years agoswconfig: add SWITCH_TYPE_LINK and support sending link info to user space
John Crispin [Wed, 23 Dec 2015 19:24:30 +0000 (19:24 +0000)]
swconfig: add SWITCH_TYPE_LINK and support sending link info to user space

So far we were sending link data as a string. It got some drawbacks:
1) Didn't allow writing clean user space apps reading link state. It was
   needed to do some screen scraping.
2) Forced whole PORT_LINK communication to be string based. Adding
   support for *setting* port link required passing string and parting
   it in the kernel space.

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

8 years agolantiq: fix PCI_DEVICE_ID_LANTIQ_PCIE
John Crispin [Wed, 23 Dec 2015 18:25:22 +0000 (18:25 +0000)]
lantiq: fix PCI_DEVICE_ID_LANTIQ_PCIE

It's not necessary to define PCI_* if pci_ids.h is included a few
lines above.

The change to pci_ids.h doesn't look intentional to me, especially
since the former value is added to the top of ifxmips_fixup_pcie.c.

Both changes were introduced with the kernel 4.1 support patches and
were not present in the 3.18 patches.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 47996

8 years agolantiq: ltq-adsl-mei: fix typo
John Crispin [Wed, 23 Dec 2015 18:25:03 +0000 (18:25 +0000)]
lantiq: ltq-adsl-mei: fix typo

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 47995

8 years agolantiq: TDW89x0 - increase spi frequency
John Crispin [Wed, 23 Dec 2015 18:24:56 +0000 (18:24 +0000)]
lantiq: TDW89x0 - increase spi frequency

Use the same max spi frequency as set in u-boot.

According to the datasheets, the Q64-104HIP as well as the Winbond
25Q64FVSIG support spi frequencies up to 50 MHz. During my tests, the
Q64-104HIP couldn't be recognized/initialized if the frequency
was > 40MHz.

Both chips do support fast read as well.

While touching the dts file, I fixed the dtc compiler warnings.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 47994

8 years agolantiq: disable SW_PORTMAP usage in the ethernet driver
John Crispin [Wed, 23 Dec 2015 18:24:43 +0000 (18:24 +0000)]
lantiq: disable SW_PORTMAP usage in the ethernet driver

using the special tag in this way lead to port mirroring for certain types of traffic.
fallback to using th PMAC_EWAN register for the wan portmap.

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

8 years agoledtrig-netdev: reset link status & stats after changing device_name
Rafał Miłecki [Wed, 23 Dec 2015 17:11:49 +0000 (17:11 +0000)]
ledtrig-netdev: reset link status & stats after changing device_name

Previously switching to non-existing device (interface) could result in
leaving LED on.

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

8 years agoledtrig-netdev: drop locking from timer callback function
Rafał Miłecki [Wed, 23 Dec 2015 15:45:43 +0000 (15:45 +0000)]
ledtrig-netdev: drop locking from timer callback function

We may just delete timer on every trigger update and then start it again
if needed. This will let us avoid both: races and locking in frequently
called timer callback.

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

8 years agoledtrig-netdev: switch rwlock to spinlock
Rafał Miłecki [Wed, 23 Dec 2015 15:45:36 +0000 (15:45 +0000)]
ledtrig-netdev: switch rwlock to spinlock

Read/write lock was adding useless complexity, there wasn't any real
gain in case of this driver.
Also switch to _bh variants to avoid deadlocks.

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

8 years agoar71xx: Update preinit script for new ath10k firmware
John Crispin [Wed, 23 Dec 2015 14:45:30 +0000 (14:45 +0000)]
ar71xx: Update preinit script for new ath10k firmware

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 47985

8 years agoath10k-firmware: Update QCA988X firmware to 10.2.4.97-1
John Crispin [Wed, 23 Dec 2015 14:45:22 +0000 (14:45 +0000)]
ath10k-firmware: Update QCA988X firmware to 10.2.4.97-1

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 47984

8 years agoar71xx: refresh patches
John Crispin [Wed, 23 Dec 2015 14:45:05 +0000 (14:45 +0000)]
ar71xx: refresh patches

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 47983

8 years agoar71xx: add support for QCA956x ethernet
John Crispin [Wed, 23 Dec 2015 14:44:56 +0000 (14:44 +0000)]
ar71xx: add support for QCA956x ethernet

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 47982

8 years agoar71xx: update QCA956x support
John Crispin [Wed, 23 Dec 2015 14:44:44 +0000 (14:44 +0000)]
ar71xx: update QCA956x support

- separate qca956x and tp9343 (they use different IDs)
- rename qca9561->qca956x for consistency
- add missing bits (device reset, gpio output select)
- fix wmac setup

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 47981

8 years agobase-files: allow timezone to be overriden by zonename (proper zoneinfo support)
John Crispin [Wed, 23 Dec 2015 14:44:31 +0000 (14:44 +0000)]
base-files: allow timezone to be overriden by zonename (proper zoneinfo support)

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 47980

8 years agoopenvpn: fix configure options
John Crispin [Wed, 23 Dec 2015 14:44:24 +0000 (14:44 +0000)]
openvpn: fix configure options

- eurephia:
commit: Remove the --disable-eurephia configure option

- fix option name:
http proxy option is now called http-proxy (see configure.ac)

fixes:
configure: WARNING: unrecognized options: --disable-nls, --disable-eurephia, --enable-http

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 47979

8 years agotools/e2fsprogs: remove outdated configure args
John Crispin [Wed, 23 Dec 2015 14:44:18 +0000 (14:44 +0000)]
tools/e2fsprogs: remove outdated configure args

removed upstream in 1.40.5:
Don't build e2fsck statically by default anymore 7e8fe327b51051adcbb0d44169b1a933173ce1ff

fixes:
configure: WARNING: unrecognized options: --disable-shared, --enable-static, --enable-dynamic-e2fsck

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 47978

8 years agoutil-linux: remove outdated configure options
John Crispin [Wed, 23 Dec 2015 14:44:12 +0000 (14:44 +0000)]
util-linux: remove outdated configure options

removed upstream in commit:
- convert mount/ to module, rename to mount-deprecated/
- build-sys: remove deprecated-mount/

fixes log warning:
compile.txt:configure: WARNING: unrecognized options: --enable-new-mount

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 47977

8 years agopackage/lldpd: Remove extraneous select
John Crispin [Wed, 23 Dec 2015 14:44:05 +0000 (14:44 +0000)]
package/lldpd: Remove extraneous select

Only the conditional dependency ought to be required;
if build fails with JSON there is some other problem
at work.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
SVN-Revision: 47976

8 years agofirmware-utils: allow mkfwimage2 to use - in partition names
John Crispin [Wed, 23 Dec 2015 14:43:47 +0000 (14:43 +0000)]
firmware-utils: allow mkfwimage2 to use - in partition names

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 47975

8 years agodnsmasq: Add option --no-ping
John Crispin [Wed, 23 Dec 2015 14:43:41 +0000 (14:43 +0000)]
dnsmasq: Add option --no-ping

By default dnsmasq sends an ICMP echo request before allocating
an IP address to a host; the uci option noping allows to disable
this check.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
SVN-Revision: 47974

8 years agoar71xx: Add support for AirTight Networks C-55
John Crispin [Wed, 23 Dec 2015 14:43:35 +0000 (14:43 +0000)]
ar71xx: Add support for AirTight Networks C-55

This patch is to add support for the AirTight Networks C-55 Access Point

Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>
SVN-Revision: 47973

8 years agorb532: switch to 4.1
John Crispin [Wed, 23 Dec 2015 14:43:11 +0000 (14:43 +0000)]
rb532: switch to 4.1

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 47972

8 years agorb532: build squashfs image by default
John Crispin [Wed, 23 Dec 2015 14:43:05 +0000 (14:43 +0000)]
rb532: build squashfs image by default

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 47971

8 years agorb532: increase kernel partition
John Crispin [Wed, 23 Dec 2015 14:42:59 +0000 (14:42 +0000)]
rb532: increase kernel partition

4.1 got little bit larger than 4MB and I couldn't get lzma loader
working on this platform

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 47970

8 years agolantiq: Configure LED polarity for TDW8970 and TDW8980.
John Crispin [Wed, 23 Dec 2015 14:42:25 +0000 (14:42 +0000)]
lantiq: Configure LED polarity for TDW8970 and TDW8980.

This patch configures the correct ath9k WLAN LED polarity for the TDW8970,
and for the TDW8980 as well.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
SVN-Revision: 47969

8 years agokernel: make kmod-thermal dependency conditional to match upstream kernel module...
Felix Fietkau [Wed, 23 Dec 2015 11:43:18 +0000 (11:43 +0000)]
kernel: make kmod-thermal dependency conditional to match upstream kernel module configuration dependency for hwmon-pwmfan

Signed-off-by: Sebastian Careba <nitroshift@yahoo.com>
SVN-Revision: 47968

8 years agokernel: add remaining kernel patch accidentally left out of r47963
Felix Fietkau [Wed, 23 Dec 2015 11:40:53 +0000 (11:40 +0000)]
kernel: add remaining kernel patch accidentally left out of r47963

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

8 years agogcc: remove v4.6 relicts
Felix Fietkau [Wed, 23 Dec 2015 11:23:19 +0000 (11:23 +0000)]
gcc: remove v4.6 relicts

Fixes: commit f17e56eff5b9 ("gcc: remove version 4.6, it is no longer needed")
CC: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
SVN-Revision: 47965

8 years agokernel: backport all current pppoe kernel fixes to 3.18
Felix Fietkau [Wed, 23 Dec 2015 11:15:02 +0000 (11:15 +0000)]
kernel: backport all current pppoe kernel fixes to 3.18

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

8 years agoledtrig-netdev: update base driver instead of patching it for every kernel
Rafał Miłecki [Wed, 23 Dec 2015 10:17:09 +0000 (10:17 +0000)]
ledtrig-netdev: update base driver instead of patching it for every kernel

All supported kernels require patching ledtrig-netdev in the same way,
so it's safe to just move these changes to the base version of this
driver. We needed these patches for some old kernels 2.6.36 and 3.11.

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

8 years agokernel: make kmod-thermal dependency conditional to match upstream kernel module...
Felix Fietkau [Tue, 22 Dec 2015 19:05:35 +0000 (19:05 +0000)]
kernel: make kmod-thermal dependency conditional to match upstream kernel module configuration dependency

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

8 years agokernel: make kmod-gpiofan depend on kmod-thermal to fix build errors
Felix Fietkau [Tue, 22 Dec 2015 16:58:45 +0000 (16:58 +0000)]
kernel: make kmod-gpiofan depend on kmod-thermal to fix build errors

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

8 years agopackages: bump uboot-sunxi to enable H3 support
Zoltan Herpai [Tue, 22 Dec 2015 13:04:31 +0000 (13:04 +0000)]
packages: bump uboot-sunxi to enable H3 support

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 47959

8 years agomac80211: merge a fix for a ps-poll handling issue
Felix Fietkau [Sun, 20 Dec 2015 21:28:30 +0000 (21:28 +0000)]
mac80211: merge a fix for a ps-poll handling issue

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

8 years agokernel/4.4: add missing config options
Zoltan Herpai [Sun, 20 Dec 2015 18:19:45 +0000 (18:19 +0000)]
kernel/4.4: add missing config options

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 47957

8 years agoar8216: rework/fix AR8337 MAC swap handling
Felix Fietkau [Sun, 20 Dec 2015 14:25:45 +0000 (14:25 +0000)]
ar8216: rework/fix AR8337 MAC swap handling

In r45970 the MAC swap handling was made opt-in, however some boards
have been forgotten during the conversion. Since the reference design
uses this MAC swapping, and pretty much all known boards using this chip
seem to do so too, enabling the swapping is a more reasonable default
than leaving it disabled.

Change the code to still allow boards to opt-out of this.

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

8 years agomwlwifi: upgrade to 10.3.0.15-20151216
Imre Kaloz [Sun, 20 Dec 2015 12:49:03 +0000 (12:49 +0000)]
mwlwifi: upgrade to 10.3.0.15-20151216

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

8 years agodnsmasq: changed option nonwildcard to --bind-dynamic
Felix Fietkau [Sat, 19 Dec 2015 13:18:26 +0000 (13:18 +0000)]
dnsmasq: changed option nonwildcard to --bind-dynamic

Changed option nonwildcard from --bind-interfaces into --bind-dynamic.
With this, Dnsmasq binds the address of individual interfaces, allowing multiple
dnsmasq instances, but if new interfaces or addresses appear, it automatically
listens on those. This makes dynamically created interfaces work in the same way as
the default, but allows also use of other DNS-servers (like Named) at the same time
on diffirent interfaces where Dnsmasq is NOT configured, whereas with
--bind-interfaces will still reserve every interface even if not used and thus
disallowing use of any other DNS-program even on unused interfaces.

Tested-by: Vaasa Hacklab <info@vaasa.hacklab.fi>
Signed-off-by: Sami Olmari <sami@olmari.fi>
SVN-Revision: 47953

8 years agoar71xx: Add ath79_register_m25p80_large to support >16MB SPI chips
Felix Fietkau [Sat, 19 Dec 2015 11:32:20 +0000 (11:32 +0000)]
ar71xx: Add ath79_register_m25p80_large to support >16MB SPI chips

The following patch is to add ath79_register_m25p80_large, which sets
is_flash to false to support bit banging. This is needed on some 32MB+
SPI chips, such as the S25FL256S1

Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>
SVN-Revision: 47952

8 years agoRevert "bzip2: extend/fix the Host/Install rule to install libbz2.so files"
Felix Fietkau [Sat, 19 Dec 2015 11:28:49 +0000 (11:28 +0000)]
Revert "bzip2: extend/fix the Host/Install rule to install libbz2.so files"

This reverts r47245.

Linking to shared libraries under $STAGING_DIR_HOST{,/usr}/lib is harmful,
as these directories aren't added to LD_LIBRARY_PATH (see r47103 for an
explanation why LD_LIBRARY_PATH is not used).

Revert to static linking; in particular, this fixes the build of the python
bz2 module on OpenSUSE and Fedora (which in turn broke the build of
nodejs).

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

8 years agobase-files: cleanup mtd_get_mac_binary hexdump
Felix Fietkau [Sat, 19 Dec 2015 11:28:42 +0000 (11:28 +0000)]
base-files: cleanup mtd_get_mac_binary hexdump

Remove usage of dd, as per request from Yousong Zhou.
<https://lists.openwrt.org/pipermail/openwrt-devel/2015-December/037743.html>

Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>
SVN-Revision: 47949

8 years agoar71xx: scan nand ubi partition for ath9k eeprom files
Felix Fietkau [Sat, 19 Dec 2015 11:28:36 +0000 (11:28 +0000)]
ar71xx: scan nand ubi partition for ath9k eeprom files

The MR18 stores the ath9k eeprom values on the NAND.
This patch makes it possible to retrieve the images
from there.

Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>
SVN-Revision: 47948

8 years agoar71xx: refactor 10-ath9k-eeprom
Felix Fietkau [Sat, 19 Dec 2015 11:28:30 +0000 (11:28 +0000)]
ar71xx: refactor 10-ath9k-eeprom

move all library includes and 'firmware already exists'
check to the top of the script.

Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>
SVN-Revision: 47947

8 years agoar71xx: PowerCloud CR5000 openwrt configuration
Felix Fietkau [Sat, 19 Dec 2015 11:28:18 +0000 (11:28 +0000)]
ar71xx: PowerCloud CR5000 openwrt configuration

OpenWrt configuration part of support for the PowerCloud Systems
CR5000.  The CR5000 is a dual-band 802.11n wireless router with
8MB flash, 64MB RAM, (unused on stock firmware) USB 2.0 port and
five port gigabit ethernet switch.  The CR5000 was sold as
hardware for the Skydog cloud-managed router service.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
SVN-Revision: 47946

8 years agoar71xx: PowerCloud CR3000 OpenWrt configuration
Felix Fietkau [Sat, 19 Dec 2015 11:28:12 +0000 (11:28 +0000)]
ar71xx: PowerCloud CR3000 OpenWrt configuration

OpenWRt configuration part of support for the PowerCloud
Systems CR3000.  The CR3000 is a 802.11n 2.4 GHz wireless router with
8MB flash, 64MB RAM, a four port gigabit ethernet switch, and a fast
ethernet wan port that was sold by PowerCloud Systems as
hardware for the Skydog cloud-managed router service.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
SVN-Revision: 47945

8 years agoar71xx: PowerCloud CAP324 OpenWrt configuration
Felix Fietkau [Sat, 19 Dec 2015 11:27:59 +0000 (11:27 +0000)]
ar71xx: PowerCloud CAP324 OpenWrt configuration

Openwrt configuration part of support for PowerCloud CAP324
Cloud AP.  The CAP324 Cloud AP is a device sold by PowerCloud Systems
who's stock firmware (CloudCommand) provides 'cloud' based managment
of large numbers access points.

The CAP324 is a dual-band 802.11n wireless access point with 16MB flash
and 128MB RAM and single gigabit ethernet port.  It can be powered via PoE
or a wall wart.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
SVN-Revision: 47944

8 years agoar71xx: Image generation for PowerCloud CR5000 Cloud Router
Felix Fietkau [Sat, 19 Dec 2015 11:27:52 +0000 (11:27 +0000)]
ar71xx: Image generation for PowerCloud CR5000 Cloud Router

Kernel part of support for the PowerCloud Systems CR5000.  The
CR5000 is a dual-band 802.11n wireless router with 8MB flash,
64 MB RAM, (unused in stock firmware) USB 2.0 port, and five
port gigabit ethernet switch.  The CR5000 was sold as hardware for
the Skydog cloud-managed router service.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
SVN-Revision: 47943

8 years agoar71xx: Image generation for PowerCloud CR3000 Cloud Router
Felix Fietkau [Sat, 19 Dec 2015 11:27:45 +0000 (11:27 +0000)]
ar71xx: Image generation for PowerCloud CR3000 Cloud Router

Image generation part of support for PowerCloud CR3000.  The CR3000 is
a 802.11n 2.4 GHz wireless router with 8MB flash, 64MB RAM,
a four port fast ethernet switch, and a fast ethernet wan port which
was sold by PowerCloud Systems as hardware for the Skydog
cloud-managed router service.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
SVN-Revision: 47942

8 years agoar71xx: PowerCloud CAP324 image generation
Felix Fietkau [Sat, 19 Dec 2015 11:27:39 +0000 (11:27 +0000)]
ar71xx: PowerCloud CAP324 image generation

Image generation (and mtd partition) part of support for
PowerCloud CAP324 Cloud AP. The CAP324 Cloud AP is a device sold by
PowerCloud Systems who's stock firmware (CloudCommand) provides
'cloud' based managment of large numbers of access points.

The CAP324 is a dual-band 802.11n wireless access point with 16MB flash
and 128MB RAM and single gigabit ethernet port.  It can be powered via
PoE or a power adaptor.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
SVN-Revision: 47941

8 years agoar71xx: Kernel board definition for PowerCloud CR5000
Felix Fietkau [Sat, 19 Dec 2015 11:27:32 +0000 (11:27 +0000)]
ar71xx: Kernel board definition for PowerCloud CR5000

    Kernel part of support for the PowerCloud Systems CR5000.  The
    CR5000 is a dual-band 802.11n wireless router with 8MB flash,
    64 MB RAM, (unused in stock firmware) USB 2.0 port, and five
    port gigabit ethernet switch.  The CR5000 was sold as hardware for
    the Skydog cloud-managed router service.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
SVN-Revision: 47940

8 years agoar71xx: Kernel board definition for PowerCloud CR3000
Felix Fietkau [Sat, 19 Dec 2015 11:27:25 +0000 (11:27 +0000)]
ar71xx: Kernel board definition for PowerCloud CR3000

   Kernel part of support for PowerCloud CR3000.  The CR3000 is
    a 802.11n 2.4 GHz wireless router with 8MB flash, 64MB RAM,
    a four port fast ethernet switch, and a fast ethernet wan port which
    was sold by PowerCloud Systems as hardware for the Skydog
    cloud-managed router service.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
SVN-Revision: 47939

8 years agoar71xx: Kernel board definition for PowerCloud CAP324
Felix Fietkau [Sat, 19 Dec 2015 11:27:19 +0000 (11:27 +0000)]
ar71xx: Kernel board definition for PowerCloud CAP324

    Kernel part of support for PowerCloud CAP324 Cloud AP.
    The CAP324 Cloud AP was a device sold by PowerCloud Systems as hardware for
    the CloudCommand service for 'cloud' based managment of large numbers
    access points.

    The CAP324 is a dual-band 802.11n wireless access point with 16MB flash
    and 128MB RAM and single gigabit ethernet port.  It can be powered via PoE
    or a power adaptor.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
SVN-Revision: 47938

8 years agoimage.mk: use cross toolchain cpp for processing dts file instead of relying on the...
Felix Fietkau [Sat, 19 Dec 2015 11:15:41 +0000 (11:15 +0000)]
image.mk: use cross toolchain cpp for processing dts file instead of relying on the host compiler

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

8 years agoramips: disable NAND device in mt7621.dtsi to fix boot errors on many devices
Felix Fietkau [Sat, 19 Dec 2015 11:07:29 +0000 (11:07 +0000)]
ramips: disable NAND device in mt7621.dtsi to fix boot errors on many devices

Enable it from .dts files that need it, also remove redundant properties

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

8 years agoramips: update DTS files to use jedec,spi-nor compatible string for m25p80 to fix...
Felix Fietkau [Fri, 18 Dec 2015 22:26:40 +0000 (22:26 +0000)]
ramips: update DTS files to use jedec,spi-nor compatible string for m25p80 to fix probe issues

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

8 years agoltq-vdsl-app: enable Annex-M support, disable unsupported Annex-A modes
Felix Fietkau [Fri, 18 Dec 2015 21:47:49 +0000 (21:47 +0000)]
ltq-vdsl-app: enable Annex-M support, disable unsupported Annex-A modes

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

8 years agoltq-vdsl-app: remove whitespace after -i, it prevents vdsl_cpe_control from parsing...
Felix Fietkau [Fri, 18 Dec 2015 21:47:33 +0000 (21:47 +0000)]
ltq-vdsl-app: remove whitespace after -i, it prevents vdsl_cpe_control from parsing the XTSE bits

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

8 years agobrcm47xx: fix switch config for devices with WAN port 0
Rafał Miłecki [Fri, 18 Dec 2015 15:27:16 +0000 (15:27 +0000)]
brcm47xx: fix switch config for devices with WAN port 0

Commit r47866 dropped default values which were handling WAN interface
at port 0. Fix it by handling 2 more cases on NVRAM values.

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

8 years agobrcm47xx: update kernel 4.4 config
Rafał Miłecki [Fri, 18 Dec 2015 08:35:36 +0000 (08:35 +0000)]
brcm47xx: update kernel 4.4 config

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

8 years agobrcm47xx: add kernel 4.4 support
Rafał Miłecki [Fri, 18 Dec 2015 07:25:13 +0000 (07:25 +0000)]
brcm47xx: add kernel 4.4 support

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

8 years agoralink: update the mt7621 ethernet support patch
John Crispin [Thu, 17 Dec 2015 12:14:56 +0000 (12:14 +0000)]
ralink: update the mt7621 ethernet support patch

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

8 years agonetwork/services/lldpd: Fix missing dependency when using JSON
John Crispin [Thu, 17 Dec 2015 09:30:16 +0000 (09:30 +0000)]
network/services/lldpd: Fix missing dependency when using JSON

Using the JSON output option depends on json library so
add select json-c library when JSON output is selected.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
SVN-Revision: 47928

8 years agoar71xx: add support for TRENDnet TEW-823DRU
John Crispin [Thu, 17 Dec 2015 09:30:05 +0000 (09:30 +0000)]
ar71xx: add support for TRENDnet TEW-823DRU

Add support for TRENDnet TEW-823DRU:
- cpu: QCA9558 @720MHz
- flash: 16MB
- ram: 256MB
- 4+1 RJ45 100/1000Mbps
- wifi:  QCA9558 (bgn) and QCA9880-BR4A (ac)
- 1x USB 2.0

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
SVN-Revision: 47927

8 years agodante: update to 1.4.1
John Crispin [Thu, 17 Dec 2015 09:29:54 +0000 (09:29 +0000)]
dante: update to 1.4.1

- 1.4.x has IPv6 support

- set C std explicitly due to gcc 5 changes/old code style of dante
- disable pam via configure vars since detection of without pam option
  is broken (-lpam gets linked in if available)
- remove and refresh patches

only compile tested

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 47926

8 years agoomap: add kernel 4.4
John Crispin [Thu, 17 Dec 2015 09:29:48 +0000 (09:29 +0000)]
omap: add kernel 4.4

- tested on Beagleboard C4

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 47925

8 years agouboot-omap: update to 2015.10
John Crispin [Thu, 17 Dec 2015 09:29:42 +0000 (09:29 +0000)]
uboot-omap: update to 2015.10

- tested on Beagleboard C4

- remove upstream patches

- disable THUMB mode on OMAP3 this increases binary size
  (remove CONFIG_SYS_THUMB_BUILD)
- reduce SPL size by disabling EXT feature
  (remove CONFIG_SPL_EXT_SUPPORT)

this fixes 2015.07 and 2015.10-rc3
Beagleboard C4 booting
which were broken by upstream commit
with id: bd2c4522c26d535515aebca52d27c004a7e0c05c

Arm THUMB mode is broken because of an yet unknown errata
see: http://lists.denx.de/pipermail/u-boot/2015-August/225793.html

- backport upstream fix that was introduced in 2015.10-rc5
  and was not fixed in 2015.10 final

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 47924

8 years agokernel: kmod-ptp selects a new config symbol
John Crispin [Thu, 17 Dec 2015 09:29:34 +0000 (09:29 +0000)]
kernel: kmod-ptp selects a new config symbol

since Kernel 3.14
408eccce net: ptp: move PTP classifier in its own file

found while bug search
thx olmari on IRC

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 47923

8 years agobrcm2708: update 4.1 patches
John Crispin [Thu, 17 Dec 2015 09:29:22 +0000 (09:29 +0000)]
brcm2708: update 4.1 patches

As usual, this patches were taken (and rebased) from
https://github.com/raspberrypi/linux/commits/rpi-4.1.y

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 47922

8 years agobrcm2708-gpu-fw: update to latest version
John Crispin [Thu, 17 Dec 2015 09:28:48 +0000 (09:28 +0000)]
brcm2708-gpu-fw: update to latest version

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 47921

8 years agocns3xxx: add GW2393 Support
John Crispin [Thu, 17 Dec 2015 09:28:42 +0000 (09:28 +0000)]
cns3xxx: add GW2393 Support

Based off of the GW2391-C, but with the following changes:
 * 4x4in to 4x5in pcb
 * flat panel connector for LED signals

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
SVN-Revision: 47920

8 years agocns3xxx: Fix comment
John Crispin [Thu, 17 Dec 2015 09:28:35 +0000 (09:28 +0000)]
cns3xxx: Fix comment

Original comment was wrong about which pads are being set.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
SVN-Revision: 47919

8 years agolantiq: fix ARV7519RW22 buttons
John Crispin [Thu, 17 Dec 2015 09:28:29 +0000 (09:28 +0000)]
lantiq: fix ARV7519RW22 buttons

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 47918

8 years agolantiq: ltq-ptm: set carrier status
John Crispin [Thu, 17 Dec 2015 09:28:21 +0000 (09:28 +0000)]
lantiq: ltq-ptm: set carrier status

Principal purpose is to prevent the error message

  ifxmips_ptm_vdsl.c:281:ptm_hard_start_xmit: not in showtime

which is printed at least once per second to the serial console, if the
ptm interface is not in showtime, but a processes already sends
packages over that interface. This happens for adsl as well as vdsl
over ptm.

It's pppd which sends packages over the ptm device before in showtime.
As far as I can see, pppd is started unconditionally since netif can
not gather the link status of the ptm network interface.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 47917

8 years agolantiq: ltq-atm: set carrier status
John Crispin [Thu, 17 Dec 2015 09:28:10 +0000 (09:28 +0000)]
lantiq: ltq-atm: set carrier status

This prevents the unconditionally start of pppd since netifd will be
triggered if the device goes into showtime. The same applies to lost
showtime as well.

In compare to the ptm driver, this changeset isn't strictly required,
since the "not in showtime" message is limited to the debug loglevel.
But it reduces the amount of ppp related messages significant.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 47916

8 years agolantiq: add the TDW8980 5GHz led
John Crispin [Thu, 17 Dec 2015 09:28:01 +0000 (09:28 +0000)]
lantiq: add the TDW8980 5GHz led

Still unused, but u-boot doesn't take care of the led, which results in a
permanent switched on 5GHz LED.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 47915

8 years agolantiq: Fix LED handling.
John Crispin [Thu, 17 Dec 2015 09:27:52 +0000 (09:27 +0000)]
lantiq: Fix LED handling.

- Use common OpenWrt blink patterns instead of custom ones
- Add preinit_regular hook
- Handle the TDW89X0 that does not have a configurable power LED

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
SVN-Revision: 47914

8 years agolantiq: Configure LED polarity for TDW8970.
John Crispin [Thu, 17 Dec 2015 09:27:46 +0000 (09:27 +0000)]
lantiq: Configure LED polarity for TDW8970.

This patch configures the correct ath9k WLAN LED polarity for the TDW8970.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
SVN-Revision: 47913

8 years agolantiq: Configure disabled WLAN bands for TDW89X0.
John Crispin [Thu, 17 Dec 2015 09:27:40 +0000 (09:27 +0000)]
lantiq: Configure disabled WLAN bands for TDW89X0.

The TDW8970 has a AR9381, which is the bgn 3x3:3 variant of the AR938x family.

The TDW8980 has a AR9287, which is the bgn 2x2:2 variant of the AR928x family.

This means that the chip for both routers is 2.4 GHz only.

Anyway, the manufacturer didn't disable the 5 GHz band in the EEPROM partition
(at least on my TDW8970).

So this patch disables the 5 GHz band.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
SVN-Revision: 47912

8 years agolantiq: Allow configuration of ath9k disabled bands and LED polarity from the device...
John Crispin [Thu, 17 Dec 2015 09:27:31 +0000 (09:27 +0000)]
lantiq: Allow configuration of ath9k disabled bands and LED polarity from the device tree.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
SVN-Revision: 47911

8 years agoath9k: Allow configuration of LED polarity in platform data.
John Crispin [Thu, 17 Dec 2015 09:27:24 +0000 (09:27 +0000)]
ath9k: Allow configuration of LED polarity in platform data.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
SVN-Revision: 47910

8 years agoath9k: Pass LED polarity to ath_create_gpio_led when initializing the LEDs.
John Crispin [Thu, 17 Dec 2015 09:27:18 +0000 (09:27 +0000)]
ath9k: Pass LED polarity to ath_create_gpio_led when initializing the LEDs.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
SVN-Revision: 47909

8 years agoramips: mt7621: fix error message when initramfs is too large
John Crispin [Thu, 17 Dec 2015 09:27:09 +0000 (09:27 +0000)]
ramips: mt7621: fix error message when initramfs is too large

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47908

8 years agoramips: remove unwanted change from patch
John Crispin [Thu, 17 Dec 2015 09:27:00 +0000 (09:27 +0000)]
ramips: remove unwanted change from patch

Remove unwanted change to irq-mips-gic.c from mt7621 support patch

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47907

8 years agoramips: change CM_GCR_BASE_CMDEFTGT_MEM value to match datasheet
John Crispin [Thu, 17 Dec 2015 09:26:51 +0000 (09:26 +0000)]
ramips: change CM_GCR_BASE_CMDEFTGT_MEM value to match datasheet

Zero config value for default memory region means 'memory', not
not 'disabled' according to 'Control Registers Of The Coherency
Manager' manual.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47906

8 years agoramips: mt7621: undo mips-cm probe hack to not wipe out memory regions
John Crispin [Thu, 17 Dec 2015 09:26:43 +0000 (09:26 +0000)]
ramips: mt7621: undo mips-cm probe hack to not wipe out memory regions

Since now we hopefully setup memory regions properly we no longer need this hack.

Tested and works on ubnt-erx.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47905

8 years agoramips: mt7621: setup memory region for pcie controller memory
John Crispin [Thu, 17 Dec 2015 09:26:35 +0000 (09:26 +0000)]
ramips: mt7621: setup memory region for pcie controller memory

Only compile tested since I do not have any hardware with
devices on pcie bus.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47904

8 years agoramips: mt7621: add patch to setup CM memory region for palmbus
John Crispin [Thu, 17 Dec 2015 09:26:28 +0000 (09:26 +0000)]
ramips: mt7621: add patch to setup CM memory region for palmbus

This is tested and works on ubnt-erx.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
SVN-Revision: 47903

8 years agoralink: update config files to build the cleaned up ethernet driver
John Crispin [Thu, 17 Dec 2015 09:26:20 +0000 (09:26 +0000)]
ralink: update config files to build the cleaned up ethernet driver

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

8 years agoralink: drop dummy profile from mt7688
John Crispin [Thu, 17 Dec 2015 09:26:09 +0000 (09:26 +0000)]
ralink: drop dummy profile from mt7688

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

8 years agoralink: fixup devicetree files to work with new ethernet driver
John Crispin [Thu, 17 Dec 2015 09:25:57 +0000 (09:25 +0000)]
ralink: fixup devicetree files to work with new ethernet driver

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