openwrt/staging/ldir.git
9 years agobcm53xx: sprom: extract for PCI host
Rafał Miłecki [Mon, 16 Feb 2015 16:13:23 +0000 (16:13 +0000)]
bcm53xx: sprom: extract for PCI host

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

9 years agobcm53xx: sprom: prepare to support other hosttype-s
Rafał Miłecki [Mon, 16 Feb 2015 16:10:05 +0000 (16:10 +0000)]
bcm53xx: sprom: prepare to support other hosttype-s

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

9 years agomvebu: refresh 3.18 patches
Imre Kaloz [Mon, 16 Feb 2015 12:48:05 +0000 (12:48 +0000)]
mvebu: refresh 3.18 patches

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

9 years agonetifd: update to the latest version, reverts a commit causing MTU issues (fixes...
Felix Fietkau [Mon, 16 Feb 2015 09:07:19 +0000 (09:07 +0000)]
netifd: update to the latest version, reverts a commit causing MTU issues (fixes #18869)

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

9 years agolinux: fix kmod-usb-net-* for >= 3.17
John Crispin [Mon, 16 Feb 2015 08:00:17 +0000 (08:00 +0000)]
linux: fix kmod-usb-net-* for >= 3.17

Kernel commit 1bb5a356c3ea ("net: reduce USB network driver config
options.") hid the USB network drivers behind the new config symbol
CONFIG_USB_NET_DRIVERS.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
SVN-Revision: 44460

9 years agoar71xx: fix mv88e6063 compile for 3.14
John Crispin [Sun, 15 Feb 2015 21:15:42 +0000 (21:15 +0000)]
ar71xx: fix mv88e6063 compile for 3.14

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

9 years agoar71xx: fix a compile bug in 902-unaligned_access_hacks.patch
John Crispin [Sun, 15 Feb 2015 21:15:21 +0000 (21:15 +0000)]
ar71xx: fix a compile bug in 902-unaligned_access_hacks.patch

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

9 years agoprocd: fix PKG_CONFIG_DEPENDS
John Crispin [Sun, 15 Feb 2015 19:55:37 +0000 (19:55 +0000)]
procd: fix PKG_CONFIG_DEPENDS

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

9 years agoar71xx: add v3.18 support
John Crispin [Sun, 15 Feb 2015 19:45:29 +0000 (19:45 +0000)]
ar71xx: add v3.18 support

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

9 years agomvebu: fix WRT1900AC ubinized images
Imre Kaloz [Sat, 14 Feb 2015 22:18:35 +0000 (22:18 +0000)]
mvebu: fix WRT1900AC ubinized images

The current pxa3xx_nand driver doesn't support sub-page writing,
so the VID header offset must be specified explicitly.

Signed-off-by: Claudio Leite <leitec@staticky.com>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 44455

9 years agoralink: fix the config files
John Crispin [Sat, 14 Feb 2015 20:48:53 +0000 (20:48 +0000)]
ralink: fix the config files

oops, accidently moved instead of copied them

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

9 years agoar71xx: ZyXEL NBG6716 rfkill switch fix
John Crispin [Sat, 14 Feb 2015 20:48:42 +0000 (20:48 +0000)]
ar71xx: ZyXEL NBG6716 rfkill switch fix

ZyXEL NBG6716 "rfkill" is a switch, not a button.

Signed-off-by: Marcin Mikolajczak <gr4ffy at gmail.com>
SVN-Revision: 44453

9 years agoscripts: fix getver git dir check
John Crispin [Sat, 14 Feb 2015 20:48:37 +0000 (20:48 +0000)]
scripts: fix getver git dir check

Git internals are referenced by .git which isn't necessarily a
directory. It may also be a file that references the actual .git
directory using the gitdir directive.

If .git is assumed to be a directory the build will not be able to get
the correct version when openwrt is included as a git submodule because
when used as a submodule .git will actually be a file referencing to a
subdirectory in the parent's git dir.

When the correct version is not detected some image generation tools
will fail because the OpenWrt string will be 'OpenWrtunknown' which is
too long for some header formats.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
SVN-Revision: 44452

9 years agolantiq: disable buffered writes on Intel command set flash
John Crispin [Sat, 14 Feb 2015 20:48:32 +0000 (20:48 +0000)]
lantiq: disable buffered writes on Intel command set flash

Some Lantiq SoCs are not able to use buffered writes properly with
Intel command set flash due to the way NOR addresses on EBU are
manipulated. This patch disables buffered writes on those devices.
The only device affected at the moment is ARV4510PW, others use
AMD/Fujitsu command set.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
SVN-Revision: 44451

9 years agolantiq: Fix flash for targets with NO_XIP
John Crispin [Sat, 14 Feb 2015 20:48:26 +0000 (20:48 +0000)]
lantiq: Fix flash for targets with NO_XIP

For targets with NO_XIP ltq_mtd->map[i].phys equals -1 and devm_ioremap fails.
Fix this by using pdev->resource[i].start instead.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
SVN-Revision: 44450

9 years agobrcm2708: add kmod-hwmon-bcm2835 support and more missing symbols
John Crispin [Sat, 14 Feb 2015 20:48:20 +0000 (20:48 +0000)]
brcm2708: add kmod-hwmon-bcm2835 support and more missing symbols

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

9 years agobrcm2708: force uart as the default console for procd and remove nonexistent console
John Crispin [Sat, 14 Feb 2015 20:48:14 +0000 (20:48 +0000)]
brcm2708: force uart as the default console for procd and remove nonexistent console

procd gets last console from cmdline, so swapping tty1 (framebuffer) and ttyAMA0 (uart) is enough to force procd output via uart

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

9 years agobrcm2708: add board detection and LED support
John Crispin [Sat, 14 Feb 2015 20:48:08 +0000 (20:48 +0000)]
brcm2708: add board detection and LED support

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

9 years agouci-defaults: add ucidef_set_led_mmc
John Crispin [Sat, 14 Feb 2015 20:47:58 +0000 (20:47 +0000)]
uci-defaults: add ucidef_set_led_mmc

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

9 years agopackage/valgrind: fix build on eglibc
Nicolas Thill [Sat, 14 Feb 2015 13:53:51 +0000 (13:53 +0000)]
package/valgrind: fix build on eglibc

configure tries to guess pagesize by calling getconf, provided by eglibc and compiled for the target, not the host.

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44445

9 years agogeneric: ocf: irq compat stuff is not needed anymore
Nicolas Thill [Sat, 14 Feb 2015 13:53:44 +0000 (13:53 +0000)]
generic: ocf: irq compat stuff is not needed anymore

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44444

9 years agofix typo
Imre Kaloz [Sat, 14 Feb 2015 12:21:34 +0000 (12:21 +0000)]
fix typo

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

9 years agogeneric: upgrade to 3.18.7
Imre Kaloz [Sat, 14 Feb 2015 10:45:12 +0000 (10:45 +0000)]
generic: upgrade to 3.18.7

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

9 years agoixp4xx: fix gpio_line_set() logic, fixes #18986
John Crispin [Fri, 13 Feb 2015 10:54:01 +0000 (10:54 +0000)]
ixp4xx: fix gpio_line_set() logic, fixes #18986

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

9 years agohostapd: backport BSSID black/whitelists
John Crispin [Fri, 13 Feb 2015 10:53:54 +0000 (10:53 +0000)]
hostapd: backport BSSID black/whitelists

This change adds the configuration options "bssid_whitelist" and
"bssid_blacklist" used to limit the AP selection of a network to a
specified (finite) set or discard certain APs.

This can be useful for environments where multiple networks operate
using the same SSID and roaming between those is not desired. It is also
useful to ignore a faulty or otherwise unwanted AP.

In many applications it is useful not just to enumerate a group of well
known access points, but to use a address/mask notation to match an
entire set of addresses (ca:ff:ee:00:00:00/ff:ff:ff:00:00:00).

This is especially useful if an OpenWrt device with two radios is used to
retransmit the same network (one in AP mode for other clients, one as STA for
the uplink); the following configuration prevents the device from associating
with itself, given that the own AP to be avoided is using the bssid
'C0:FF:EE:D0:0D:42':

config wifi-iface
option device 'radio2'
option network 'uplink'
option mode 'sta'
option ssid 'MyNetwork'
option encryption 'none'
list bssid_blacklist 'C0:FF:EE:D0:0D:42/00:FF:FF:FF:FF:FF'

This change consists of the following cherry-picked upstream commits:

b3d6a0a8259002448a29f14855d58fe0a624ab76
b83e455451a875ba233b3b8ac29aff8b62f064f2
79cd993a623e101952b81fa6a29c674cd858504f
(squashed to implement bssid_{white,black}lists)

0047306bc9ab7d46e8cc22ff9a3e876c47626473
(Add os_snprintf_error() helper)

Signed-off-by: Stefan Tomanek <stefan.tomanek+openwrt@wertarbyte.de>
SVN-Revision: 44438

9 years agokexec-tools: bump version from v2.0.4 to v2.0.9.
John Crispin [Fri, 13 Feb 2015 07:42:13 +0000 (07:42 +0000)]
kexec-tools: bump version from v2.0.4 to v2.0.9.

- kexec-tools is now distributed with tarballs of .tar.gz and .tar.xz
   format; .tar.bz2 are not provided anymore.
 - Add CONFIG_KEXEC_LZMA for selecting lzma support.

Patches are updated along to:

 - Remove the now unnecessary patch 0004-mips_regdefs.patch.
 - Drop 100-reduce_size.patch because the size reduction is marginal.
 - Allow zlib and lzma support coexist together.  This patch has been
   merged into upstream project.
 - Fix kexec-tools' configure.ac.
 - Fix a few compilation warnings.

Size comparison of stripped binaries of kexec malta target with both
zlib and lzma support enabled.

 - Before: 41447
 - After:  42583

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 44437

9 years agokexec-tools: show up only when KERNEL_KEXEC is enabled.
John Crispin [Fri, 13 Feb 2015 07:42:05 +0000 (07:42 +0000)]
kexec-tools: show up only when KERNEL_KEXEC is enabled.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 44436

9 years agobrcm2708-gpu-fw: simplify target dependencies
John Crispin [Fri, 13 Feb 2015 07:38:38 +0000 (07:38 +0000)]
brcm2708-gpu-fw: simplify target dependencies

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

9 years agobrcm2708: fix spidev
John Crispin [Fri, 13 Feb 2015 07:38:33 +0000 (07:38 +0000)]
brcm2708: fix spidev

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

9 years agobrcm2708: refresh patches
John Crispin [Fri, 13 Feb 2015 07:38:27 +0000 (07:38 +0000)]
brcm2708: refresh patches

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

9 years agobrcm2708: add missing config symbols and fix kernel modules for Raspberry Pi 2 by...
John Crispin [Fri, 13 Feb 2015 07:38:00 +0000 (07:38 +0000)]
brcm2708: add missing config symbols and fix kernel modules for Raspberry Pi 2 by removing local version

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

9 years agobrcm2708: add subtarget copyright and use better board names
John Crispin [Fri, 13 Feb 2015 07:37:55 +0000 (07:37 +0000)]
brcm2708: add subtarget copyright and use better board names

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

9 years agoar7: switch to v3.18
John Crispin [Fri, 13 Feb 2015 07:29:32 +0000 (07:29 +0000)]
ar7: switch to v3.18

Thank you Dimitri for testing this.

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

9 years agogeneric: improve kexec support of MIPS.
John Crispin [Fri, 13 Feb 2015 07:29:25 +0000 (07:29 +0000)]
generic: improve kexec support of MIPS.

- Allow --command-line parameters of kexec-tools be parsed and used by
   the kernel.
 - For malta machine, mark kernel code and kernel data segments as
   "System RAM" instead of "reserved" in /proc/iomem, otherwise
   kexec-tools will complain that program segments in ELF kernel file
   are invalid.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 44429

9 years agolantiq: fix DGN3500 root device
John Crispin [Fri, 13 Feb 2015 07:29:17 +0000 (07:29 +0000)]
lantiq: fix DGN3500 root device

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>
SVN-Revision: 44428

9 years agoar71xx: Add profile and build image for TP-Link MR12U v1
John Crispin [Fri, 13 Feb 2015 07:29:10 +0000 (07:29 +0000)]
ar71xx: Add profile and build image for TP-Link MR12U v1

This patch adds corrected profile and build image for the TL-MR12U board.

Unfortunately i cannot test the factory image since i can't find anywhere
the original chinese firmware but
the generated openwrt-ar71xx-generic-tl-mr12u-v1-squashfs-sysupgrade.bin
worked just fine over a modified mr3040 factory image i managed to modify
to initially flash the mr12u from the original firmware.

Proper kernel support probably should be added since cat /proc/cpuinfo shows
MR13U.

Signed-off-by: Daniel Petre <daniel.petre@gmail.com>
SVN-Revision: 44427

9 years agoar71xx: Add user-space support for TP-Link MR12U v1
John Crispin [Fri, 13 Feb 2015 07:29:03 +0000 (07:29 +0000)]
ar71xx: Add user-space support for TP-Link MR12U v1

This patch adds user-space support for the TL-MR12U board based on the mr13u patches.

Signed-off-by: Daniel Petre <daniel.petre@gmail.com>
SVN-Revision: 44426

9 years agoar71xx: ZyXEL NBG6716 add gpio usb power on/off
John Crispin [Fri, 13 Feb 2015 07:28:53 +0000 (07:28 +0000)]
ar71xx: ZyXEL NBG6716 add gpio usb power on/off

ZyXEL NBG6716 add missing GPIO USB power on/off

Signed-off-by: Marcin Mikolajczak <gr4ffy at gmail.com>
SVN-Revision: 44425

9 years agokernel: mtdsplit_uimage: fix passed info about buf size
Rafał Miłecki [Thu, 12 Feb 2015 20:13:20 +0000 (20:13 +0000)]
kernel: mtdsplit_uimage: fix passed info about buf size

We obviously can't use sizeof(*buf) which is always 1.

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

9 years agosunxi: A20-OLinuXino-Lime profile rename leftover
Nicolas Thill [Thu, 12 Feb 2015 17:30:09 +0000 (17:30 +0000)]
sunxi: A20-OLinuXino-Lime profile rename leftover

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44423

9 years agokirkwood: Seagate GoFlex Net
Luka Perkov [Thu, 12 Feb 2015 14:39:26 +0000 (14:39 +0000)]
kirkwood: Seagate GoFlex Net

Add GoFlex Net "Board Name" , set and cleanup network default and LEDs.
Remove kmod-rtc-marvell from default packages, as the GoFlex net does not have a RTC.

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
SVN-Revision: 44422

9 years agolantiq: make m25p80 work again
John Crispin [Thu, 12 Feb 2015 11:15:56 +0000 (11:15 +0000)]
lantiq: make m25p80 work again

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

9 years agolantiq: fix mac addr assignment inside lantiq_etop
John Crispin [Thu, 12 Feb 2015 09:17:04 +0000 (09:17 +0000)]
lantiq: fix mac addr assignment inside lantiq_etop

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

9 years agolantiq: PCI should be enabled on vrx200
John Crispin [Thu, 12 Feb 2015 08:23:45 +0000 (08:23 +0000)]
lantiq: PCI should be enabled on vrx200

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

9 years agoralink: make the mt7621 irq core with with the new CM api
John Crispin [Thu, 12 Feb 2015 08:07:39 +0000 (08:07 +0000)]
ralink: make the mt7621 irq core with with the new CM api

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

9 years agoar71xx: ZyXEL NBG6716 led/buttons cleanup
John Crispin [Thu, 12 Feb 2015 08:07:27 +0000 (08:07 +0000)]
ar71xx: ZyXEL NBG6716 led/buttons cleanup

ZyXEL NBG6716 led/buttons cleanup
 - improper numbered leds
 - improper named buttons

Signed-off-by: Marcin Mikolajczak <gr4ffy at gmail.com>
SVN-Revision: 44417

9 years agogeneric: fix broken patch in the transition of 3.19 from -rc5 to release .0
John Crispin [Thu, 12 Feb 2015 08:07:20 +0000 (08:07 +0000)]
generic: fix broken patch in the transition of 3.19 from -rc5 to release .0

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 44416

9 years agokernel: mtdsplit_uimage: read more data to match Edimax needs
Rafał Miłecki [Thu, 12 Feb 2015 07:50:07 +0000 (07:50 +0000)]
kernel: mtdsplit_uimage: read more data to match Edimax needs

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

9 years agokernel: mtdsplit_uimage: use separated buffer for reading data
Rafał Miłecki [Thu, 12 Feb 2015 07:44:34 +0000 (07:44 +0000)]
kernel: mtdsplit_uimage: use separated buffer for reading data

We shouldn't read data directly into the header struct, as some devices
(e.g. Edimax) need more bytes due to some extra header.

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

9 years agokernel: mtdsplit_uimage: add parser for Edimax devices
Rafał Miłecki [Thu, 12 Feb 2015 07:23:40 +0000 (07:23 +0000)]
kernel: mtdsplit_uimage: add parser for Edimax devices

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

9 years agomtdsplit_uimage: more generic header verify function
Rafał Miłecki [Thu, 12 Feb 2015 06:57:24 +0000 (06:57 +0000)]
mtdsplit_uimage: more generic header verify function

Some devices have uImage headers after some extra headers (e.g. Edimax
devices). To support such cases our verify callback function should be
allowed to return header offset, not just a boolean value.

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

9 years agokernel: fix bgmac check for chip ID
Rafał Miłecki [Wed, 11 Feb 2015 18:11:22 +0000 (18:11 +0000)]
kernel: fix bgmac check for chip ID

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

9 years agokernel: backport mainlined bgmac patches from 3.19
Rafał Miłecki [Wed, 11 Feb 2015 17:35:09 +0000 (17:35 +0000)]
kernel: backport mainlined bgmac patches from 3.19

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

9 years agobase-files: fix target/subtarget value in /etc/openwrt_release
Jo-Philipp Wich [Wed, 11 Feb 2015 15:12:32 +0000 (15:12 +0000)]
base-files: fix target/subtarget value in /etc/openwrt_release

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

9 years agobcm53xx: use bcm47xx_wdt for restarting device
Rafał Miłecki [Wed, 11 Feb 2015 14:41:07 +0000 (14:41 +0000)]
bcm53xx: use bcm47xx_wdt for restarting device

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

9 years agooxnas: disable usbgadget support
John Crispin [Wed, 11 Feb 2015 13:50:56 +0000 (13:50 +0000)]
oxnas: disable usbgadget support

usbgadget was initially enabled in the hope to support gadget mode
as it seems to be supported by the hardware.
However, it currently breaks things and doesn't work anyway, so
remove the usbgadget feature.

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

9 years agobrcm2708-gpu-fw: revert to github releases, adapt to bcm2708 target changes and add...
John Crispin [Wed, 11 Feb 2015 13:50:40 +0000 (13:50 +0000)]
brcm2708-gpu-fw: revert to github releases, adapt to bcm2708 target changes and add back InstallDev

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

9 years agobrcm2708: add missing SUBTARGETS:= to makefile
John Crispin [Wed, 11 Feb 2015 13:09:39 +0000 (13:09 +0000)]
brcm2708: add missing SUBTARGETS:= to makefile

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

9 years agobrcm2708: remove CMA_DEBUG
John Crispin [Wed, 11 Feb 2015 13:05:37 +0000 (13:05 +0000)]
brcm2708: remove CMA_DEBUG

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

9 years agobrcm2708: add Raspberry Pi 2 support
John Crispin [Wed, 11 Feb 2015 13:05:31 +0000 (13:05 +0000)]
brcm2708: add Raspberry Pi 2 support

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

9 years agobrcm2708: remove 3.14 support
John Crispin [Wed, 11 Feb 2015 13:05:23 +0000 (13:05 +0000)]
brcm2708: remove 3.14 support

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

9 years agoralink: fix when tx done is 0 also need to clean interrupt status
John Crispin [Wed, 11 Feb 2015 13:05:14 +0000 (13:05 +0000)]
ralink: fix when tx done is 0 also need to clean interrupt status

Signed-off-by: michael lee <igvtee@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44401

9 years agomt76: update to latest git HEAD
John Crispin [Wed, 11 Feb 2015 13:05:07 +0000 (13:05 +0000)]
mt76: update to latest git HEAD

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

9 years agoramips/mt7620: add missing config symbol
Nicolas Thill [Wed, 11 Feb 2015 12:13:49 +0000 (12:13 +0000)]
ramips/mt7620: add missing config symbol

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44399

9 years agooprofile: mark broken on uml
Nicolas Thill [Wed, 11 Feb 2015 11:31:38 +0000 (11:31 +0000)]
oprofile: mark broken on uml

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44398

9 years agoconfig: disable kernel tracing on uml
Nicolas Thill [Wed, 11 Feb 2015 11:31:26 +0000 (11:31 +0000)]
config: disable kernel tracing on uml

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44397

9 years agoebtables: disable rpath
Nicolas Thill [Wed, 11 Feb 2015 11:31:07 +0000 (11:31 +0000)]
ebtables: disable rpath

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44396

9 years agoutil-linux: disable rpath
Nicolas Thill [Wed, 11 Feb 2015 11:31:01 +0000 (11:31 +0000)]
util-linux: disable rpath

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44395

9 years agotoolchain/gcc: fix an ICE on ARM (PR58595)
Nicolas Thill [Wed, 11 Feb 2015 11:30:56 +0000 (11:30 +0000)]
toolchain/gcc: fix an ICE on ARM (PR58595)

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58595

Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 44394

9 years agocns3xxx: set v3.18 as default
John Crispin [Wed, 11 Feb 2015 10:21:02 +0000 (10:21 +0000)]
cns3xxx: set v3.18 as default

tested on a nor and a spi laguna

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

9 years agobrcm2708: update to v3.18
John Crispin [Wed, 11 Feb 2015 10:17:55 +0000 (10:17 +0000)]
brcm2708: update to v3.18

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

9 years agolantiq: fix VG3503J partition table for newer kernels
John Crispin [Wed, 11 Feb 2015 10:17:38 +0000 (10:17 +0000)]
lantiq: fix VG3503J partition table for newer kernels

the kernel has increased and does not fit into the 1,5MB anymore.

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

9 years agobcm53xx: backport bcm47xx_wdt changes to 3.18 to use this driver in future
Rafał Miłecki [Wed, 11 Feb 2015 10:11:00 +0000 (10:11 +0000)]
bcm53xx: backport bcm47xx_wdt changes to 3.18 to use this driver in future

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

9 years agorelayd: update to the latest version, adds fixes by Alejandro Enrique
Felix Fietkau [Wed, 11 Feb 2015 10:09:57 +0000 (10:09 +0000)]
relayd: update to the latest version, adds fixes by Alejandro Enrique

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

9 years agomalta: add config file for kernel 3.19.
John Crispin [Wed, 11 Feb 2015 10:09:56 +0000 (10:09 +0000)]
malta: add config file for kernel 3.19.

This is based on config-3.18 with the following changes.

 - CONFIG_GENERIC_NET_UTILS is removed as it is already set in generic
   kernel config.
 - CONFIG_CPU_MICROMIPS is explicitly unset as required in kernel 3.19.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 44388

9 years agogeneric: add a few missing symbols for generic config-3.19.
John Crispin [Wed, 11 Feb 2015 10:09:40 +0000 (10:09 +0000)]
generic: add a few missing symbols for generic config-3.19.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
SVN-Revision: 44387

9 years agoipq806x: update target to v3.18
John Crispin [Wed, 11 Feb 2015 10:09:23 +0000 (10:09 +0000)]
ipq806x: update target to v3.18

Patches in the ipq806x/patches folder were out of tree in v3.14. The
newest patch at the time was from June, so we can safely assume that
either the patches have been merged, or they have been rejected for
a good reason. If patches are seen missing, we'll cherry-pick them
on a per-needed basis.

This new kernel have been tested on AP148, which seems to works fine.

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

9 years agokernel: backport bcma patches queued for 3.20
Rafał Miłecki [Wed, 11 Feb 2015 10:04:51 +0000 (10:04 +0000)]
kernel: backport bcma patches queued for 3.20

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

9 years agokernel: 3.18: complete backport of some bcma patch
Rafał Miłecki [Wed, 11 Feb 2015 09:14:48 +0000 (09:14 +0000)]
kernel: 3.18: complete backport of some bcma patch

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

9 years agobcm53xx: drop unused (and broken) GPIOLIB patch
Rafał Miłecki [Wed, 11 Feb 2015 08:42:34 +0000 (08:42 +0000)]
bcm53xx: drop unused (and broken) GPIOLIB patch

First of all this patch was broken since adding 3.18 for bcm53xx. It was
modifying ARCH_BRCMSTB instead of ARCH_BCM_5301X.
Secondly we don't need it as ARCH_MULTIPLATFORM selects
ARCH_WANT_OPTIONAL_GPIOLIB for us.

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

9 years agokernel: switch 3.19 from -rc5 to release .0
Luka Perkov [Tue, 10 Feb 2015 22:36:59 +0000 (22:36 +0000)]
kernel: switch 3.19 from -rc5 to release .0

Signed-off-by: Luka Perkov <luka@openwrt.org>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 44381

9 years agolibevent2: remove defunct download mirror
Jo-Philipp Wich [Tue, 10 Feb 2015 18:55:44 +0000 (18:55 +0000)]
libevent2: remove defunct download mirror

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

9 years agorules.mk: don't add staging_dir/host/bin/ path again
Jo-Philipp Wich [Tue, 10 Feb 2015 15:49:36 +0000 (15:49 +0000)]
rules.mk: don't add staging_dir/host/bin/ path again

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

9 years agoinclude: export staging_dir/host/bin path from within host.mk (#18957)
Jo-Philipp Wich [Tue, 10 Feb 2015 15:49:17 +0000 (15:49 +0000)]
include: export staging_dir/host/bin path from within host.mk (#18957)

We need to do that to pickup the prereq-build prepared symlinks for auxillary
operations like metadata scanning.

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

9 years agoscripts: extend rstrip.sh to remove bad rpaths
Jo-Philipp Wich [Tue, 10 Feb 2015 15:48:48 +0000 (15:48 +0000)]
scripts: extend rstrip.sh to remove bad rpaths

Remove all rpath entries which do not point to a location below /lib or
/usr/lib and which do not begin with '$ORIGIN'.

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

9 years agotools: add patchelf host build
Jo-Philipp Wich [Tue, 10 Feb 2015 15:48:32 +0000 (15:48 +0000)]
tools: add patchelf host build

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

9 years agoar71xx: add mc-mac1200r to do_load_ath10k_board_bin()
John Crispin [Tue, 10 Feb 2015 05:52:53 +0000 (05:52 +0000)]
ar71xx: add mc-mac1200r to do_load_ath10k_board_bin()

This patch adds the mc-mac1200r target to do_load_ath10k_board_bin() in
target/linux/ar71xx/base-files/lib/preinit/81_load_ath10k_board_bin to load the
ath10k radio MAC address from the EEPROM in MERCURY MAC1200R devices

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
SVN-Revision: 44375

9 years agooxnas: switch to 3.18
John Crispin [Tue, 10 Feb 2015 05:52:48 +0000 (05:52 +0000)]
oxnas: switch to 3.18

Tested on stg212 and kd20.

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

9 years agokernel: add missing symbol
John Crispin [Tue, 10 Feb 2015 05:52:41 +0000 (05:52 +0000)]
kernel: add missing symbol

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

9 years agoralink: fix hw status almost full not work on mt7620 and mt7621
John Crispin [Mon, 9 Feb 2015 19:34:49 +0000 (19:34 +0000)]
ralink: fix hw status almost full not work on mt7620 and mt7621

the old FE_INT_STATUS register becomes two registers.
FE_INT_STATUS and INT_STATUS. so the hw status almost full
must change to read from FE_INT_STATUS register.
tx/rx done read from INT_STATUS register.

mt7620 datasheet define CNT_GDM1_AF at BIT(29).
but after test it should be BIT(13). why?

Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 44371

9 years agoralink: change rt3883 cpu type to 74kc
John Crispin [Mon, 9 Feb 2015 19:34:32 +0000 (19:34 +0000)]
ralink: change rt3883 cpu type to 74kc

Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 44370

9 years agorealview: r44368 contained a superflous patch
John Crispin [Mon, 9 Feb 2015 19:28:34 +0000 (19:28 +0000)]
realview: r44368 contained a superflous patch

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

9 years agorealview: bump to 3.18
John Crispin [Mon, 9 Feb 2015 19:24:48 +0000 (19:24 +0000)]
realview: bump to 3.18

Signed-off-by: Your Name <blogic@openwrt.org>
SVN-Revision: 44368

9 years agobcm53xx: fix loading SPROM content by bcma init change
Rafał Miłecki [Mon, 9 Feb 2015 18:43:05 +0000 (18:43 +0000)]
bcm53xx: fix loading SPROM content by bcma init change

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

9 years agokernel: add missing symbol to realtek wifi
John Crispin [Mon, 9 Feb 2015 18:15:30 +0000 (18:15 +0000)]
kernel: add missing symbol to realtek wifi

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

9 years agoopenssl: fix upstream regression for non-ec builds
Steven Barth [Mon, 9 Feb 2015 15:26:35 +0000 (15:26 +0000)]
openssl: fix upstream regression for non-ec builds

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

9 years agoixp4xx: add v3.18 support
John Crispin [Mon, 9 Feb 2015 14:24:00 +0000 (14:24 +0000)]
ixp4xx: add v3.18 support

Signed-off-by: Your Name <blogic@openwrt.org>
SVN-Revision: 44363

9 years agorpcd: fix session.{login,list,destroy} method signatures
Jo-Philipp Wich [Mon, 9 Feb 2015 12:54:29 +0000 (12:54 +0000)]
rpcd: fix session.{login,list,destroy} method signatures

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

9 years agopolarssl: bump to 1.3.10, work around rename to mbedtls
Steven Barth [Mon, 9 Feb 2015 12:44:32 +0000 (12:44 +0000)]
polarssl: bump to 1.3.10, work around rename to mbedtls

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

9 years agoar71xx: dir-505: fix reset button gpio active_low value
John Crispin [Mon, 9 Feb 2015 12:17:00 +0000 (12:17 +0000)]
ar71xx: dir-505: fix reset button gpio active_low value

Fix 'active_low' default value for the reset button on DIR-505.

Signed-off-by: Rocco Folino <rocco@devzen.net>
SVN-Revision: 44360