openwrt.git
7 years agoramips: Add support for the Netgear WNDR3700v5
blogic [Tue, 26 Apr 2016 11:43:53 +0000 (11:43 +0000)]
ramips: Add support for the Netgear WNDR3700v5

https://wiki.openwrt.org/toh/netgear/wndr3700

wndr3700v5 uses the single-core dual thread MediaTek MT7621S SoC.

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

7 years agousbutils: Update USB IDs list and drop gzip compression
blogic [Tue, 26 Apr 2016 11:43:49 +0000 (11:43 +0000)]
usbutils: Update USB IDs list and drop gzip compression

Change mirror to Github (Gentoo repo) and drop the gzip compression.
Worst case there's about 4kbyte increase in size but most images ends up
beign somewhere between 4-100kbyte smaller due to the lzma compression.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49246 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoar71xx: Add TP-Link TL-WR740N v6 support to trunk
blogic [Tue, 26 Apr 2016 11:43:45 +0000 (11:43 +0000)]
ar71xx: Add TP-Link TL-WR740N v6 support to trunk

This patch adds support for the TP-Link TL-WR740N v6 into OpenWrt trunk. Hardware wise, it's very similar to the TL-WR841N v10. See the forum thread [1]. Credit goes to the user 'traveler' who did the legwork and tested builds.

Also thanks to Matthias Schiffer for clarifying the DEVICE_PROFILE settings.

Signed-off by: Stijn Segers <francesco.borromini@inventati.org>

[1]: https://forum.openwrt.org/viewtopic.php?pid=318704

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

7 years agoar71xx: simplify patch 613 and add missing error handling
blogic [Tue, 26 Apr 2016 11:43:42 +0000 (11:43 +0000)]
ar71xx: simplify patch 613 and add missing error handling

Dynamic allocation of label can be simplified.
Also add error handling to deal with failed memory allocation.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49244 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agomediatek: update patches
blogic [Tue, 26 Apr 2016 11:43:38 +0000 (11:43 +0000)]
mediatek: update patches

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

7 years agolantiq: Fix typo in LED diag script.
blogic [Tue, 26 Apr 2016 11:43:31 +0000 (11:43 +0000)]
lantiq: Fix typo in LED diag script.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
Acked-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49242 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agolantiq: use new image build process for brnImages
blogic [Tue, 26 Apr 2016 11:43:28 +0000 (11:43 +0000)]
lantiq: use new image build process for brnImages

LZMA compress the kernel without dictionary, otherwise brnboot fails to
uncompress the kernel.

The filesystem parameter of mkbrncmdline was dropped since the used
filesystem isn't exported in the kernel build step and at least in my
tests everything works without the parameter. If the parameter is
required for some reason, the static keyword "squashfs" can be used.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49241 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoinclude: add a no dict version of lzma to new image build code
blogic [Tue, 26 Apr 2016 11:43:24 +0000 (11:43 +0000)]
include: add a no dict version of lzma to new image build code

Required to compress kernels in a brnboot compatible way.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49240 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agolantiq: remove orphaned tp-link image build steps
blogic [Tue, 26 Apr 2016 11:43:21 +0000 (11:43 +0000)]
lantiq: remove orphaned tp-link image build steps

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49239 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agolantiq: build sysupgrade images for lantiqImage
blogic [Tue, 26 Apr 2016 11:43:18 +0000 (11:43 +0000)]
lantiq: build sysupgrade images for lantiqImage

Tested with VGV7510KW22NOR.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49238 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agolantiq: new image build process - fix kernel entry address
blogic [Tue, 26 Apr 2016 11:43:15 +0000 (11:43 +0000)]
lantiq: new image build process - fix kernel entry address

Set the kernel entry address to the same value as it is used for the old
image build build process.

Fixes boot of uImages on VGV7510KW22NOR and others.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49237 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agolantiq: uboot-envtools on BTHOMEHUBV3A
blogic [Tue, 26 Apr 2016 11:43:11 +0000 (11:43 +0000)]
lantiq: uboot-envtools on BTHOMEHUBV3A

Generate fw_env.config for BTHOMEHUBV3A.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49236 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoramips: add support for Planex MZK-EX300NP
blogic [Tue, 26 Apr 2016 11:43:06 +0000 (11:43 +0000)]
ramips: add support for Planex MZK-EX300NP

MZK-EX300NP is MT7620A based wifi repeater.
Built-in power supply.
64MiB RAM, 8MiB SPI Flash, non Wired Ethernet.

Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49235 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoramips: add support for Planex CS-QR10
blogic [Tue, 26 Apr 2016 11:43:01 +0000 (11:43 +0000)]
ramips: add support for Planex CS-QR10

CS-QR10 is MT7620A based IP Camera.

the camera and sound does not work with kernel 4.4.
 - camera chip is sn9c291.
 - sound chip is wm8960.

Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49234 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agokernel: backport support for accelerated SPI flash read
rmilecki [Tue, 26 Apr 2016 09:23:12 +0000 (09:23 +0000)]
kernel: backport support for accelerated SPI flash read

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

7 years agobcm53xx: backport BCM5301X DT patch specifying SPI controller
rmilecki [Tue, 26 Apr 2016 09:22:49 +0000 (09:22 +0000)]
bcm53xx: backport BCM5301X DT patch specifying SPI controller

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

7 years agofstools: respect mount flags for /overlay mounts
jow [Mon, 25 Apr 2016 15:54:35 +0000 (15:54 +0000)]
fstools: respect mount flags for /overlay mounts

Respect user configured mount flags such as "ro" or "sync" when processing
external overlay mount points.

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

7 years agomac80211: add brcmfmac regression ("NULL pointer dereference") fix
rmilecki [Mon, 25 Apr 2016 15:32:20 +0000 (15:32 +0000)]
mac80211: add brcmfmac regression ("NULL pointer dereference") fix

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

7 years agoramips: fix build of target
hauke [Sun, 24 Apr 2016 22:17:38 +0000 (22:17 +0000)]
ramips: fix build of target

Makes the patches apply again by fixing the white space broken patch.
This problem was introduced in r49212.

Closes #22248 and #22259

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

7 years agooxnas: add missing semicolon
luka [Sun, 24 Apr 2016 16:42:14 +0000 (16:42 +0000)]
oxnas: add missing semicolon

A missing semicolon in the gpio-keys-polled section of ox820-akitio.dts
caused the build to break. Add it.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49219 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoxtables-addons: build: fix configure compatiblity with POSIX shells
blogic [Thu, 21 Apr 2016 19:47:26 +0000 (19:47 +0000)]
xtables-addons: build: fix configure compatiblity with POSIX shells

Fixes build with /bin/sh pointing to certain versions of dash (for example
on Void Linux).

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

7 years agoar71xx: build TP-LINK Archer C7 images with US region code
blogic [Thu, 21 Apr 2016 19:47:22 +0000 (19:47 +0000)]
ar71xx: build TP-LINK Archer C7 images with US region code

Since December 2015, the Archer C7 comes with an US-specific firmware. This
firmware will only allow upgrades with images that contain the US region
code in the firmware header.

The "universal" firmware distributed in the rest of the world doesn't care
about the region code, so we can just unconditionally set the region to US
for now. When other region-specific firmwares appear, we'll need to create
a factory image for each of them.

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

7 years agoar71xx: fix giving extra arguments to Build/mktplinkfw
blogic [Thu, 21 Apr 2016 19:47:19 +0000 (19:47 +0000)]
ar71xx: fix giving extra arguments to Build/mktplinkfw

The build command will always get the whole argument string in $(1),
regardless of whitespace. We need to use word/wordlist to split the string
after the first word.

Whitespace and quotation will be given to the command verbatim (make will
ignore it), so to give multiple arguments, no quotation marks may be used.

Fixes: r47174 ("ar71xx/image: add options argument to mktplinkfw step")
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49216 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agotools: firmware-utils: add region code support to mktplinkfw
blogic [Thu, 21 Apr 2016 19:47:15 +0000 (19:47 +0000)]
tools: firmware-utils: add region code support to mktplinkfw

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

7 years agotools: firmware-utils: clean up mktplinkfw
blogic [Thu, 21 Apr 2016 19:47:12 +0000 (19:47 +0000)]
tools: firmware-utils: clean up mktplinkfw

Remove the whole board list from mktplinkfw, as OpenWrt doesn't use it and
it was severely out of sync with the list of built images for ar71xx.

Also:
* fix -Wall warnings
* add const where appropriate

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

7 years agoramips: Add support for ZBT WG3526
blogic [Thu, 21 Apr 2016 19:47:08 +0000 (19:47 +0000)]
ramips: Add support for ZBT WG3526

The WG3526 is the follow-up to the 2626 and is mostly the same, with the
excaption that the mt7602 has been replaced with the mt7603. The internal wifi
setup has also changed slightly. Based on my tests, everything that worked on
the 2626 works on the 3526 and with roughly the same performance.

v1->v2:
* Remove some references to 2626 that I had missed in the dts.

v2->v3:
* Update patch to match new file structure.
* Removed SD driver to be consistent with other MT7621 targets.

Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49213 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoramips: awake rt305x USB controller
blogic [Thu, 21 Apr 2016 19:47:02 +0000 (19:47 +0000)]
ramips: awake rt305x USB controller

Because of Ralink uboot set USB controller into sleep mode [1]
we check it and awake controller before any registers access.
Fix ticket #21396 [2]

[1] http://marc.info/?l=linux-usb&m=137398626102108&w=2
[2] https://dev.openwrt.org/ticket/21396

Signed-Off-By: Serge Vasilugin <vasilugin@yandex.ru>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49212 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoramips: add support for ELECOM WRH-300CR
blogic [Thu, 21 Apr 2016 19:46:59 +0000 (19:46 +0000)]
ramips: add support for ELECOM WRH-300CR

ELECOM WRH-300CR is MT7620N based very small Wi-Fi router with 64MiB
DDR2 SDRAM, 16MiB SPI Flash, one fast ethernet port, and (internal but
easy-to-access) UART.

it also has internal USB hub and USB card reader which provide one USB
port, one SD card slot, and one microSD card slot.

Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com>
Signed-off-by: FUKAUMI Naoki <naobsd@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49211 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agolantiq: use new image build process for some images
blogic [Thu, 21 Apr 2016 19:46:53 +0000 (19:46 +0000)]
lantiq: use new image build process for some images

This adds for some easy images the new build process.

This was only tested on some TP-Link devices, please test.

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

7 years agoramips: update DTS file for Planex DB-WRT01
blogic [Thu, 21 Apr 2016 19:46:49 +0000 (19:46 +0000)]
ramips: update DTS file for Planex DB-WRT01

update DTS files to use jedec,spi-nor compatible string for m25p80 to fix probe issues.

Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49209 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobcm53xx: bump maximum TRX size for devices with serial flash
rmilecki [Wed, 20 Apr 2016 18:14:01 +0000 (18:14 +0000)]
bcm53xx: bump maximum TRX size for devices with serial flash

It was already increased for NAND devices so do the same for the ones
with serial memory.

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

7 years agofeeds.conf.default: remove the commented ancient feeds
blogic [Wed, 20 Apr 2016 17:19:08 +0000 (17:19 +0000)]
feeds.conf.default: remove the commented ancient feeds

Cleanup feeds.conf.default by removing the old commented-out feeds:
* x-wrt has not been updated for years and targets WhiteRussian/Kamikaze.
  No currect code base available anywhere
* six old feeds from svn.openwrt.org/feeds. These feeds have not been
  updated for 4-5 years and their code is currently unavailable
  (in svn.openwrt.org)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49206 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoramips: fix support Planex MZK-750DHP.
blogic [Wed, 20 Apr 2016 17:19:05 +0000 (17:19 +0000)]
ramips: fix support Planex MZK-750DHP.

fix script for Planex MZK-750DHP.
modification of the GPIO definition.
add Profile.

Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49205 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoramips: rt3352 usbphy fix in dts-file
blogic [Wed, 20 Apr 2016 17:19:00 +0000 (17:19 +0000)]
ramips: rt3352 usbphy fix in dts-file

Add missing rt3352 usb phy. Fix ticket #20499.

Signed-Off-By:Serge Vasilugin <vasilugin@yandex.ru>

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

8 years agocurl: remove file accidentally committed in r49197
hauke [Tue, 19 Apr 2016 20:18:50 +0000 (20:18 +0000)]
curl: remove file accidentally committed in r49197

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

8 years agooxnas: clean-up and improve profiles
hauke [Tue, 19 Apr 2016 20:14:31 +0000 (20:14 +0000)]
oxnas: clean-up and improve profiles

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49198 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agooxnas: add support for Akitio MyCloud mini
hauke [Tue, 19 Apr 2016 20:12:41 +0000 (20:12 +0000)]
oxnas: add support for Akitio MyCloud mini

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49197 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoimx6: images: add bootfs.tar.gz build artifact
luka [Tue, 19 Apr 2016 13:46:33 +0000 (13:46 +0000)]
imx6: images: add bootfs.tar.gz build artifact

In order to create a bootable block storage device, both bootfs and rootfs
tarballs are required. However, our current scheme does not export a bootfs
tarball so add the packaging of it here.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49196 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add config ATH79_MACH_TL_WA901ND_V4 for kernel 4.4
hauke [Sun, 17 Apr 2016 22:20:11 +0000 (22:20 +0000)]
ar71xx: add config ATH79_MACH_TL_WA901ND_V4 for kernel 4.4

This config option was not added in commit r49158.

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

8 years agoar71xx: fix build error
hauke [Sun, 17 Apr 2016 22:03:58 +0000 (22:03 +0000)]
ar71xx: fix build error

This fixes a build error introduced in r49193.

This closes #22230

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

8 years agoar71xx: fix build with kernel 4.4
hauke [Sun, 17 Apr 2016 19:10:13 +0000 (19:10 +0000)]
ar71xx: fix build with kernel 4.4

The file linux/mdio-gpio.h was moved to linux/platform_data/mdio-gpio.h
in kernel 4.4

Reported-by: Arjen de Korte <arjen+openwrt@de-korte.org>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49193 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agocurl: fix deprecated 'depends' syntax
hauke [Sun, 17 Apr 2016 15:35:18 +0000 (15:35 +0000)]
curl: fix deprecated 'depends' syntax

This was introduced in r49183

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

8 years agoutil-linux: update to version 2.28
hauke [Sun, 17 Apr 2016 15:16:12 +0000 (15:16 +0000)]
util-linux: update to version 2.28

The following patches were merged upstream:
* 0001-switch_root-improve-statfs-f_type-portability.patch
* 0002-lib-colors-use-static-buffers-when-parse-scheme.patch
* 002-mkostemp.patch

The following patch is not needed any more because all libc
implementations support alloc in sscanf:
* 001-no-printf-alloc.patch

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

8 years agox86: fix platform_export_bootpart() for Xen virtual disks
hauke [Sun, 17 Apr 2016 13:24:30 +0000 (13:24 +0000)]
x86: fix platform_export_bootpart() for Xen virtual disks

Virtual disk devices in a Xen virtual machine (DomU) can be /dev/xvda,
/dev/xvdb and so on with partitions like /dev/xdva1. Devices named like
this where not considered before. This resulted in a non working
sysupgrade, because the boot partition could not be found.

Signed-off-by: Alexander Dahl <alex@netz39.de>
Suggested-by: Matthias Schiffer <mschiffer@universe-factory.net>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49190 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobusybox: update to 1.24.2
hauke [Sun, 17 Apr 2016 12:53:31 +0000 (12:53 +0000)]
busybox: update to 1.24.2

Signed-off-by: Magnus Kroken <mkroken@gmail.com>
[remove Kconfig changes]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49189 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolibnl-tiny: backport 'gnet_stats_rate_est64' support
hauke [Sun, 17 Apr 2016 12:53:11 +0000 (12:53 +0000)]
libnl-tiny: backport 'gnet_stats_rate_est64' support

This has been added to the kernel uapi for a while, and makes
sense to have it here too.
At the moment we're using it for query-ing qdisc via netlink
using libnl-tiny.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49188 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agodnsmasq: Add enable parameter in the UCI DHCP host section
hauke [Sun, 17 Apr 2016 12:52:54 +0000 (12:52 +0000)]
dnsmasq: Add enable parameter in the UCI DHCP host section

Parameter allows to enable/disable static leases; by default the value is 1
to keep backwards compatibility

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49187 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotools/cmake: update to 3.5.1
hauke [Sun, 17 Apr 2016 12:52:37 +0000 (12:52 +0000)]
tools/cmake: update to 3.5.1

Update cmake to 3.5.1

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49186 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotools/mpfr: update to 3.1.4
hauke [Sun, 17 Apr 2016 12:52:17 +0000 (12:52 +0000)]
tools/mpfr: update to 3.1.4

Update mpfr to 3.1.4

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49185 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agocurl: add flags to allow gc-sections to strip out unused code
hauke [Sun, 17 Apr 2016 12:51:57 +0000 (12:51 +0000)]
curl: add flags to allow gc-sections to strip out unused code

Signed-off-by: Dirk Feytons <dirk.feytons@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49184 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agocurl: add config option for NTLM support
hauke [Sun, 17 Apr 2016 12:51:41 +0000 (12:51 +0000)]
curl: add config option for NTLM support

Signed-off-by: Dirk Feytons <dirk.feytons@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49183 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agocurl: upstep to latest version 7.48.0
hauke [Sun, 17 Apr 2016 12:51:19 +0000 (12:51 +0000)]
curl: upstep to latest version 7.48.0

Signed-off-by: Dirk Feytons <dirk.feytons@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49182 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agohostapd.sh: Add support for "anonymous_identity" config field
hauke [Sun, 17 Apr 2016 12:50:55 +0000 (12:50 +0000)]
hostapd.sh: Add support for "anonymous_identity" config field

The wpa_supplicant supports an "anonymous_identity" field, which some
EAP networks require.  From the documentation:

anonymous_identity: Anonymous identity string for EAP (to be used as the
    unencrypted identity with EAP types that support different tunnelled
    identity, e.g., EAP-TTLS).

This change modifies the hostapd.sh script to propagate this field
from the UCI config to the wpa_supplicant.conf file.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Reviewed-by: Manuel Munz <freifunk@somakoma.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49181 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agopackage: remove .git files from images
hauke [Sun, 17 Apr 2016 12:50:30 +0000 (12:50 +0000)]
package: remove .git files from images

If you have your ./files/ directory stored in a git repository,
the .git will be included into images using precious space.
This patch removes .git directories before packing images.

Signed-off-by: Joerg Jungermann <jj@borkum.net>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49180 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agobase-files: allow to set arbitrary ip address and netmask
hauke [Sun, 17 Apr 2016 12:49:54 +0000 (12:49 +0000)]
base-files: allow to set arbitrary ip address and netmask

Signed-off-by: Roman Yeryomin <roman@advem.lv>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49179 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agotoolchain/uClibc: enable UCLIBC_HAS_OBSOLETE_BSD_SIGNAL
hauke [Sun, 17 Apr 2016 12:49:30 +0000 (12:49 +0000)]
toolchain/uClibc: enable UCLIBC_HAS_OBSOLETE_BSD_SIGNAL

This is required to build net-snmp.

If that options is disabled in uClibc then net-snmp doesn't
detect sighold support on its configuration stage and so
defines HAVE_SIGHOLD as 0. That in its turn causes compilation of
the following branch of timerPause() in apps/snmpnetstat:
------------------>8----------------
    int             oldmask;
    oldmask = sigblock(sigmask(SIGALRM));
    if (!signalled) {
        sigpause(0);
    }
    sigsetmask(oldmask);
------------------>8----------------

Now in uClibc all 3 sigblock(), sigmask() and sigsetmask()
were removed back in 2005, see:
https://git.busybox.net/uClibc/commit/?id=5aa7aa7fa7ec2a0fe567ac0b2595b46add6f3594

And all that causes net-snmp linkage to fail this way:
------------------>8----------------
.libs/if.o: In function `intpr':
if.c:(.text+0x908): undefined reference to `sigmask'
if.c:(.text+0x90e): undefined reference to `sigblock'
if.c:(.text+0x924): undefined reference to `sigsetmask'
------------------>8----------------

If we enable UCLIBC_HAS_OBSOLETE_BSD_SIGNAL in uClibc then
branch with sighold is used in timerPause() and everything builds as
expected.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49178 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agokernel: update kernel 4.4 to version 4.4.7
hauke [Sat, 16 Apr 2016 21:05:48 +0000 (21:05 +0000)]
kernel: update kernel 4.4 to version 4.4.7

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

8 years agosamba: fix some security problems
hauke [Sat, 16 Apr 2016 20:06:34 +0000 (20:06 +0000)]
samba: fix some security problems

This fixes the following security problems:
* CVE-2015-7560
* CVE-2015-5370
* CVE-2016-2110
* CVE-2016-2111
* CVE-2016-2112
* CVE-2016-2115
* CVE-2016-2118

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

8 years agomac80211: update brcmfmac including missing boardrev workaround
rmilecki [Sat, 16 Apr 2016 08:48:43 +0000 (08:48 +0000)]
mac80211: update brcmfmac including missing boardrev workaround

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

8 years agokernel: backport patch making bcm47xxsflash arch independent
rmilecki [Fri, 15 Apr 2016 10:11:44 +0000 (10:11 +0000)]
kernel: backport patch making bcm47xxsflash arch independent

This will be needed to use bcm47xxsflash on ARM for BCM53573.

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

8 years agokernel: use upstream fixes for bgmac and BCM4709(4)
rmilecki [Fri, 15 Apr 2016 10:11:31 +0000 (10:11 +0000)]
kernel: use upstream fixes for bgmac and BCM4709(4)

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

8 years agobcm53xx: backport BCM5301X earlycon and USB VCC patches
rmilecki [Thu, 14 Apr 2016 05:54:20 +0000 (05:54 +0000)]
bcm53xx: backport BCM5301X earlycon and USB VCC patches

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

8 years agoscripts/getver.sh: Use 'git-rev-parse' to detect if tree lies in Git repository
acinonyx [Wed, 13 Apr 2016 20:52:26 +0000 (20:52 +0000)]
scripts/getver.sh: Use 'git-rev-parse' to detect if tree lies in Git repository

Path to the Git repository directory can be overriden by using the '$GIT_DIR'
environment variable. This patch improves detection of Git repository by using
'git-rev-parse', which respects '$GIT_DIR' environment variable, instead of just
checking the existence of '.git' directory.

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49165 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoinclude/cmake.mk: Add helper macro to handle conditionals for CMake boolean type...
acinonyx [Wed, 13 Apr 2016 20:21:38 +0000 (20:21 +0000)]
include/cmake.mk: Add helper macro to handle conditionals for CMake boolean type variables

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49164 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agorpcd: update to latest version
luka [Wed, 13 Apr 2016 07:33:24 +0000 (07:33 +0000)]
rpcd: update to latest version

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

8 years agoramips: remove accidentally comitted code
blogic [Sat, 9 Apr 2016 14:47:35 +0000 (14:47 +0000)]
ramips: remove accidentally comitted code

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

8 years agobcm53xx: add switch config workaround for R8500 and DIR-885L
rmilecki [Sat, 9 Apr 2016 13:23:25 +0000 (13:23 +0000)]
bcm53xx: add switch config workaround for R8500 and DIR-885L

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

8 years agobcm53xx: fix regression in generating network config
rmilecki [Sat, 9 Apr 2016 13:20:19 +0000 (13:20 +0000)]
bcm53xx: fix regression in generating network config

Syntax error was added in r49122.

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

8 years agoar71xx: add TP-Link TL-WA901ND-v4 support
blogic [Sat, 9 Apr 2016 10:26:46 +0000 (10:26 +0000)]
ar71xx: add TP-Link TL-WA901ND-v4 support

Signed-off-by: Tiziano Bacocco <tizbac2@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49158 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: add support for Compex WPJ342
blogic [Sat, 9 Apr 2016 10:26:41 +0000 (10:26 +0000)]
ar71xx: add support for Compex WPJ342

OpenWrt can be flashed with following uboot commands:

tftpboot 0x80500000 openwrt-ar71xx-generic-wpj342-16M-squashfs-sysupgrade.bin
erase 0x9f030000 +$filesize
cp.b $fileaddr 0x9f030000 $filesize

Signed-off-by: Christian Mehlis <christian@m3hlis.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49157 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoar71xx: fix nondeterministic hangs during bootconsole/console handover
blogic [Sat, 9 Apr 2016 10:26:37 +0000 (10:26 +0000)]
ar71xx: fix nondeterministic hangs during bootconsole/console handover

Reconfiguring the UART when the FIFO is not empty may cause the boot to
hang. This hang is extremely suspectible to timing differences; recompiling
the kernel with the same configuration, but different UTS_VERSION
timestamps can yield images that hang more or less often. Sometimes images
are produced that hang reproducibly.

This patch should also make it into one of the next linux-stable releases,
but it's better to get this fixed as soon as possible.

Fixes #21773, #21857.

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

8 years agoar71xx: add OM5P-ACv2 to the OM5P-AC profile
blogic [Sat, 9 Apr 2016 10:26:34 +0000 (10:26 +0000)]
ar71xx: add OM5P-ACv2 to the OM5P-AC profile

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

8 years agoar71xx: extract ath10k wifi board.bin for the OpenMesh OM5P-ACv2 board
blogic [Sat, 9 Apr 2016 10:26:31 +0000 (10:26 +0000)]
ar71xx: extract ath10k wifi board.bin for the OpenMesh OM5P-ACv2 board

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

8 years agouboot-envtools: add OpenMesh OM5P-ACv2 support
blogic [Sat, 9 Apr 2016 10:26:28 +0000 (10:26 +0000)]
uboot-envtools: add OpenMesh OM5P-ACv2 support

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

8 years agoom-watchdog: add OpenMesh OM5P-ACv2 support
blogic [Sat, 9 Apr 2016 10:26:25 +0000 (10:26 +0000)]
om-watchdog: add OpenMesh OM5P-ACv2 support

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

8 years agoar71xx: enable sysupgrade for the OpenMesh OM5P-ACv2
blogic [Sat, 9 Apr 2016 10:26:22 +0000 (10:26 +0000)]
ar71xx: enable sysupgrade for the OpenMesh OM5P-ACv2

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

8 years agoar71xx: add user-space support for the OpenMesh OM5P-ACv2
blogic [Sat, 9 Apr 2016 10:26:18 +0000 (10:26 +0000)]
ar71xx: add user-space support for the OpenMesh OM5P-ACv2

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

8 years agoar71xx: add kernel support for the OpenMesh OM5P-ACv2 board
blogic [Sat, 9 Apr 2016 10:26:15 +0000 (10:26 +0000)]
ar71xx: add kernel support for the OpenMesh OM5P-ACv2 board

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

8 years agoar71xx: create profile and build image for the OpenMesh OM5P-AC board
blogic [Sat, 9 Apr 2016 10:26:11 +0000 (10:26 +0000)]
ar71xx: create profile and build image for the OpenMesh OM5P-AC board

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

8 years agoar71xx: extract ath10k wifi board.bin for the OpenMesh OM5P-AC board
blogic [Sat, 9 Apr 2016 10:26:08 +0000 (10:26 +0000)]
ar71xx: extract ath10k wifi board.bin for the OpenMesh OM5P-AC board

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

8 years agouboot-envtools: add OpenMesh OM5P-AC support
blogic [Sat, 9 Apr 2016 10:26:04 +0000 (10:26 +0000)]
uboot-envtools: add OpenMesh OM5P-AC support

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

8 years agoom-watchdog: add OpenMesh OM5P-AC support
blogic [Sat, 9 Apr 2016 10:26:01 +0000 (10:26 +0000)]
om-watchdog: add OpenMesh OM5P-AC support

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

8 years agoar71xx: enable sysupgrade for the OpenMesh OM5P-AC
blogic [Sat, 9 Apr 2016 10:25:57 +0000 (10:25 +0000)]
ar71xx: enable sysupgrade for the OpenMesh OM5P-AC

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

8 years agoscripts/om-fwupgradecfg-gen.sh: add support for the OM5P-AC
blogic [Sat, 9 Apr 2016 10:25:54 +0000 (10:25 +0000)]
scripts/om-fwupgradecfg-gen.sh: add support for the OM5P-AC

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

8 years agoar71xx: add user-space support for the OpenMesh OM5P-AC
blogic [Sat, 9 Apr 2016 10:25:51 +0000 (10:25 +0000)]
ar71xx: add user-space support for the OpenMesh OM5P-AC

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

8 years agoar71xx: add kernel support for the OpenMesh OM5P-AC board
blogic [Sat, 9 Apr 2016 10:25:47 +0000 (10:25 +0000)]
ar71xx: add kernel support for the OpenMesh OM5P-AC board

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

8 years agoscripts/om-fwupgradecfg-gen.sh: Generate sha256sum for uboot verification
blogic [Sat, 9 Apr 2016 10:25:42 +0000 (10:25 +0000)]
scripts/om-fwupgradecfg-gen.sh: Generate sha256sum for uboot verification

Future Open Mesh u-boot versions are changing the check of the image files
(vmlinux, rootfs) from md5 to sha256. Having both in them should be enough
to ensure backward and forward compatibility.

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

8 years agobrcmfmac43430-firmware: switch to @GITHUB download alias
blogic [Sat, 9 Apr 2016 10:25:38 +0000 (10:25 +0000)]
brcmfmac43430-firmware: switch to @GITHUB download alias

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

8 years agodownload: add @GITHUB download facility
blogic [Sat, 9 Apr 2016 10:25:34 +0000 (10:25 +0000)]
download: add @GITHUB download facility

Define a new alias (@GITHUB) for downloading raw github repository files

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

8 years agolantiq-dsl: add missing blank in dsl output
blogic [Sat, 9 Apr 2016 10:25:29 +0000 (10:25 +0000)]
lantiq-dsl: add missing blank in dsl output

blank inserted before ACTATP

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49137 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq-dsl: bugfix latency values swapped for lucistat
blogic [Sat, 9 Apr 2016 10:25:24 +0000 (10:25 +0000)]
lantiq-dsl: bugfix latency values swapped for lucistat

swapped wrong latency output

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49136 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agolantiq-dsl: bugfix db negative sign after comma
blogic [Sat, 9 Apr 2016 10:25:20 +0000 (10:25 +0000)]
lantiq-dsl: bugfix db negative sign after comma

If db is negative minus sign was shown after comma

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49135 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoarc770: enable unaligned access handling simulation in software
blogic [Sat, 9 Apr 2016 10:25:16 +0000 (10:25 +0000)]
arc770: enable unaligned access handling simulation in software

This enables misaligned access handling by software in Linux kernel.

With some wireless drivers (ath9k-htc and mt7601u for example) we see
misaligned accesses here and there and to cope with that without
fixing stuff in the drivers we're just gracefully handling it on ARC.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49134 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoarc770: build kmod-ath9k-htc wpad-mini by default
blogic [Sat, 9 Apr 2016 10:25:13 +0000 (10:25 +0000)]
arc770: build kmod-ath9k-htc wpad-mini by default

AXS101 beind a development board lacks built-in wireles inerfaces.
So we have to use external USB dongles to turn the board into
wireless router.

The best USB Wi-Fi dongles to work in AP-mode seem to be based on
ath9k-htc chipset.

And so with that change we add support of mentioned dongles in
default and axs101 builds.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49133 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agomediatek: update patches
blogic [Sat, 9 Apr 2016 10:25:08 +0000 (10:25 +0000)]
mediatek: update patches

adds a few ethernet fixes

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

8 years agoramips: Disable the SD driver by default on MT7621
blogic [Sat, 9 Apr 2016 10:25:03 +0000 (10:25 +0000)]
ramips: Disable the SD driver by default on MT7621

The SD driver has been a long and dragging issue on the MT7621 platforms as it hasn't worked for
months resulting in unbootable devices. Until it's fixed, disable it in the default profiles.

Reports / Discussed here:

https://dev.openwrt.org/ticket/21392
https://dev.openwrt.org/ticket/21834
https://dev.openwrt.org/ticket/21995
https://forum.openwrt.org/viewtopic.php?id=59092

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49131 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: Fixes for LinkIt 7688
blogic [Sat, 9 Apr 2016 10:24:58 +0000 (10:24 +0000)]
ramips: Fixes for LinkIt 7688

Misc fixes for LinkIt 7688 board:

- Copy the right wireless firmware for the mt7688
- Add back '0065-mt7688-fixes.patch', left out after the move to Linux 4.4.
- Remove SPI_DEV from linux config which otherwise causes a massive warning
- Add wmac to LINKIT7688.dts so wireless works

Signed-off-by: Adam Kent <adam@semicircular.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49130 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: Adjust image size limit for the D-Link DIR-860L B1
blogic [Sat, 9 Apr 2016 10:24:55 +0000 (10:24 +0000)]
ramips: Adjust image size limit for the D-Link DIR-860L B1

Currently the maximum image size defaults to 8Mbyte even though this model has 16Mbyte of flash memory.

Tested and works on my device.

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49129 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: fix for Planex MZK-WDPR (lcd control gpio).
blogic [Sat, 9 Apr 2016 10:24:52 +0000 (10:24 +0000)]
ramips: fix for Planex MZK-WDPR (lcd control gpio).

add lcd control gpio pin for Planex MZK-WDPR.
LCD board initial timming is GPIO control.

Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49128 3c298f89-4303-0410-b956-a3cf2f4a3e73

8 years agoramips: mt7621: fix Ubiquiti EdgeRouter X profile
blogic [Sat, 9 Apr 2016 10:24:47 +0000 (10:24 +0000)]
ramips: mt7621: fix Ubiquiti EdgeRouter X profile

Remove unnecessary packages to reduce image size so it fits in initramfs (to enable upgrading from factory firmware).

Signed-off-by: Roman Yeryomin <roman@advem.lv>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49127 3c298f89-4303-0410-b956-a3cf2f4a3e73