openwrt/svn-archive/openwrt.git
9 years agobcm53xx: enable USB power on Buffalo WZR-1750DHP
Rafał Miłecki [Sun, 21 Jun 2015 20:08:27 +0000 (20:08 +0000)]
bcm53xx: enable USB power on Buffalo WZR-1750DHP

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46087

SVN-Revision: 46102

9 years agobcm53xx: update SPROM driver to include just-sent patch
Rafał Miłecki [Sun, 21 Jun 2015 20:08:21 +0000 (20:08 +0000)]
bcm53xx: update SPROM driver to include just-sent patch

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46086

SVN-Revision: 46101

9 years agomac80211: backport some brcmfmac patches
Rafał Miłecki [Sun, 21 Jun 2015 20:08:11 +0000 (20:08 +0000)]
mac80211: backport some brcmfmac patches

There are two important patches in this patchset: updating read pointer
quicker & rework of .get_station().
There are few more upstream patches that are p2p-related and weren't
backported in this commit.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46084

SVN-Revision: 46100

9 years agobcm53xx: enable USB power on Netgear R6250
Rafał Miłecki [Sun, 21 Jun 2015 20:08:03 +0000 (20:08 +0000)]
bcm53xx: enable USB power on Netgear R6250

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46083

SVN-Revision: 46099

9 years agobcm53xx: update xHCI patch
Rafał Miłecki [Sun, 21 Jun 2015 20:07:58 +0000 (20:07 +0000)]
bcm53xx: update xHCI patch

This drops some debugging pr_info and adds platform_device_unregister.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46082

SVN-Revision: 46098

9 years agobcm53xx: fix enabling GPIO-controlled USB power
Rafał Miłecki [Sun, 21 Jun 2015 20:07:52 +0000 (20:07 +0000)]
bcm53xx: fix enabling GPIO-controlled USB power

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46081

SVN-Revision: 46097

9 years agobcm53xx: add xHCI support
Rafał Miłecki [Sun, 21 Jun 2015 20:07:44 +0000 (20:07 +0000)]
bcm53xx: add xHCI support

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46080

SVN-Revision: 46096

9 years agoramips: refresh patch with USB_MT7621_XHCI_PLATFORM
Rafał Miłecki [Sun, 21 Jun 2015 20:06:31 +0000 (20:06 +0000)]
ramips: refresh patch with USB_MT7621_XHCI_PLATFORM

Fixes: edea6dfde4dc ("kernel: make USB_XHCI_PLATFORM selectable")
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46085

SVN-Revision: 46095

9 years agokernel: make USB_XHCI_PLATFORM selectable
Rafał Miłecki [Sun, 21 Jun 2015 20:06:24 +0000 (20:06 +0000)]
kernel: make USB_XHCI_PLATFORM selectable

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46079

SVN-Revision: 46094

9 years agootrx: optimize memory usage by function checking TRX CRC
Rafał Miłecki [Sun, 21 Jun 2015 20:04:48 +0000 (20:04 +0000)]
otrx: optimize memory usage by function checking TRX CRC

Allocating huge buffer for the whole TRX wasn't too optimal.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46078

SVN-Revision: 46093

9 years agootrx: make crc32 table global for further optimizations
Rafał Miłecki [Sun, 21 Jun 2015 20:04:42 +0000 (20:04 +0000)]
otrx: make crc32 table global for further optimizations

So far we got only one generic function accessing this table, but
implementing optimizations will require calculating crc32 in other code
parts as well.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r46077

SVN-Revision: 46092

9 years agoath9k: fix ar956x device detection
Felix Fietkau [Sun, 21 Jun 2015 17:52:47 +0000 (17:52 +0000)]
ath9k: fix ar956x device detection

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r46090

SVN-Revision: 46091

9 years agomwlwifi: upgrade to 10.3.0.3 (backport of r46061)
Imre Kaloz [Fri, 19 Jun 2015 08:35:57 +0000 (08:35 +0000)]
mwlwifi: upgrade to 10.3.0.3 (backport of r46061)

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

9 years agoralink: add support for mt7621 switch counters
John Crispin [Thu, 18 Jun 2015 20:24:49 +0000 (20:24 +0000)]
ralink: add support for mt7621 switch counters

Signed-off-by: Cristian Morales Vega <cristian@samknows.com>
Backport of r46050

SVN-Revision: 46060

9 years agoar71xx: add profile and build image for EnGenius EPG5000.
John Crispin [Thu, 18 Jun 2015 20:24:45 +0000 (20:24 +0000)]
ar71xx: add profile and build image for EnGenius EPG5000.

Signed-off-by: Christian Beier <cb@shoutrlabs.com>
Backport of r46049

SVN-Revision: 46059

9 years agoar71xx: add user-space support for EnGenius EPG5000.
John Crispin [Thu, 18 Jun 2015 20:24:41 +0000 (20:24 +0000)]
ar71xx: add user-space support for EnGenius EPG5000.

Signed-off-by: Christian Beier <cb@shoutrlabs.com>
Backport of r46048

SVN-Revision: 46058

9 years agoar71xx: add kernel support for EnGenius EPG5000.
John Crispin [Thu, 18 Jun 2015 20:24:31 +0000 (20:24 +0000)]
ar71xx: add kernel support for EnGenius EPG5000.

Signed-off-by: Christian Beier <cb@shoutrlabs.com>
Backport of r46047

SVN-Revision: 46057

9 years agoar71xx: add support for TL-WR720N-v4.
John Crispin [Thu, 18 Jun 2015 20:24:26 +0000 (20:24 +0000)]
ar71xx: add support for TL-WR720N-v4.

The hardware should be almost the same as TL-WR720N-v3.  WiFi and LAN networks
were tested by "Lo Yuk Fai <loyukfai@gmail.com>".  Failsafe and slider switch
were tested by "Wong min <alpha080@gmail.com>".

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Backport of r46046

SVN-Revision: 46056

9 years agoar71xx: add support for compex wpj531
John Crispin [Thu, 18 Jun 2015 20:24:20 +0000 (20:24 +0000)]
ar71xx: add support for compex wpj531

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

Signed-off-by: Christian Mehlis <christian@m3hlis.de>
Backport of r46045

SVN-Revision: 46055

9 years agoar71xx: Add Support for the Bitmain Antminer S1
John Crispin [Thu, 18 Jun 2015 20:24:15 +0000 (20:24 +0000)]
ar71xx: Add Support for the Bitmain Antminer S1

This patch adds support for the Bitmain Antminer S1 Cryptocurrency Miner

http://wiki.openwrt.org/toh/bitmain/s1

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
Acked-by: James Hilliard <james.hilliard1@gmail.com>
Backport of r46044

SVN-Revision: 46054

9 years agoramips: Add Support for the Linksys RE6500
John Crispin [Thu, 18 Jun 2015 20:24:12 +0000 (20:24 +0000)]
ramips: Add Support for the Linksys RE6500

This patch adds support for the Linksys RE6500 Range Extender

http://wiki.openwrt.org/toh/linksys/re6500

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
Backport of r46043

SVN-Revision: 46053

9 years agoramips: Add support for the D-Link DCS-930 B1
John Crispin [Thu, 18 Jun 2015 20:24:09 +0000 (20:24 +0000)]
ramips: Add support for the D-Link DCS-930 B1

http://wiki.openwrt.org/toh/d-link/dcs-930l

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
Backport of r46042

SVN-Revision: 46052

9 years agoramips: add support for PandoraBox PBR-M1
John Crispin [Thu, 18 Jun 2015 20:24:05 +0000 (20:24 +0000)]
ramips: add support for PandoraBox PBR-M1

This patch is for PandoraBox PBR-M1 which is based on mt7621,
all the features work fine, including rtc, leds, button, usb3.0, etc.

Signed-off-by: tymon <banglang.huang@foxmail.com>
Backport of r46041

SVN-Revision: 46051

9 years agoramips: fix a bug in the cevt code on mt7620
John Crispin [Thu, 18 Jun 2015 12:06:15 +0000 (12:06 +0000)]
ramips: fix a bug in the cevt code on mt7620

Signed-off-by: John Crispin <blogic@openwrt.org>
Backport of r46038

SVN-Revision: 46039

9 years agoar71xx: fix hw id of tl-wr710n image (#19902)
Felix Fietkau [Thu, 18 Jun 2015 09:42:00 +0000 (09:42 +0000)]
ar71xx: fix hw id of tl-wr710n image (#19902)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r46032

SVN-Revision: 46033

9 years agoprocd: update to the latest version, fixes umask handling for creating /dev/shm
Felix Fietkau [Thu, 18 Jun 2015 06:42:11 +0000 (06:42 +0000)]
procd: update to the latest version, fixes umask handling for creating /dev/shm

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r46023

SVN-Revision: 46028

9 years agoCC: x86/64: enable VirtIO block and console support
Jo-Philipp Wich [Wed, 17 Jun 2015 11:36:51 +0000 (11:36 +0000)]
CC: x86/64: enable VirtIO block and console support
This is required to use x86/64 in KVM containers with VirtIO disks

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Backport of r46017

SVN-Revision: 46018

9 years agoar71xx: rb493g: fix gpio-mdio accesses under load
Jonas Gorski [Wed, 17 Jun 2015 10:22:06 +0000 (10:22 +0000)]
ar71xx: rb493g: fix gpio-mdio accesses under load

It seems that there are maximum timings for mdio accesses that can be
hit when the system is under load and the thread is scheduled during
a read or write access. Since there is no way of knowing if this
happens as there is not even a parity bit, try to work around it
by disabling interrupts during any gpio-mdio accesses.

Performance impact seems to be neglectable, as mdio accesses are not
that often.

Hopefully fixes #19500.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Backport of r46012.

SVN-Revision: 46016

9 years agokernel: update 3.18 to 3.18.16
Jonas Gorski [Wed, 17 Jun 2015 10:22:04 +0000 (10:22 +0000)]
kernel: update 3.18 to 3.18.16

Changelogs:

* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.15
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.16

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
Backport of r46011.

SVN-Revision: 46015

9 years agoprocd: update to the latest version, fixes /dev/shm permissions
Felix Fietkau [Wed, 17 Jun 2015 10:13:42 +0000 (10:13 +0000)]
procd: update to the latest version, fixes /dev/shm permissions

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r46013

SVN-Revision: 46014

9 years agoath9k: add another fix for some rx/tx dma stop issues, refresh patches
Felix Fietkau [Wed, 17 Jun 2015 09:11:08 +0000 (09:11 +0000)]
ath9k: add another fix for some rx/tx dma stop issues, refresh patches

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r46008

SVN-Revision: 46010

9 years agokernel: add missing config symbol
Felix Fietkau [Wed, 17 Jun 2015 09:10:08 +0000 (09:10 +0000)]
kernel: add missing config symbol

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r46007

SVN-Revision: 46009

9 years agobase-files: replace snapshot key with 15.05 release key
Felix Fietkau [Tue, 16 Jun 2015 13:38:37 +0000 (13:38 +0000)]
base-files: replace snapshot key with 15.05 release key

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

9 years agoopkg: fix duplicate check_signature line for smime variant (#19863)
Felix Fietkau [Tue, 16 Jun 2015 10:51:38 +0000 (10:51 +0000)]
opkg: fix duplicate check_signature line for smime variant (#19863)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r45999

SVN-Revision: 46000

9 years agobcm53xx: use USB patches sent upstream by Hauke
Rafał Miłecki [Tue, 16 Jun 2015 08:32:17 +0000 (08:32 +0000)]
bcm53xx: use USB patches sent upstream by Hauke

This stabilizes USB support. The old patch was handling initialization
in a different order that was causing some problems with few USB 3.0
devices. Some weren't detected, some were working unstable, sometimes
USB 3.0 could hang the whole controller.

A still known issue (but not a regression) is controller hang triggered
by connecting USB 1.1 device when not having OHCI controller enabled
(kmod-usb-ohci).

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r45997

SVN-Revision: 45998

9 years agokernel: use bcma-hcd.ko on bcm53xx for ohci
Rafał Miłecki [Tue, 16 Jun 2015 05:04:53 +0000 (05:04 +0000)]
kernel: use bcma-hcd.ko on bcm53xx for ohci

On bcm53xx we still need usb-ohci to support USB 1.1 devices and it
obviously needs bcma-hcd.ko that will init controller and register
platform device.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Backport of r45994

SVN-Revision: 45996

9 years agokernel: add missing config symbol (#19870)
Felix Fietkau [Mon, 15 Jun 2015 21:16:55 +0000 (21:16 +0000)]
kernel: add missing config symbol (#19870)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r45992

SVN-Revision: 45993

9 years agomt76: update to the latest version to fix a build error (#19871)
Felix Fietkau [Mon, 15 Jun 2015 21:15:36 +0000 (21:15 +0000)]
mt76: update to the latest version to fix a build error (#19871)

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r45990

SVN-Revision: 45991

9 years agoversion.mk: adjust for CC release
Felix Fietkau [Mon, 15 Jun 2015 13:42:43 +0000 (13:42 +0000)]
version.mk: adjust for CC release

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

9 years agoUpdate dnsmasq to v2.73.
Steven Barth [Mon, 15 Jun 2015 08:00:46 +0000 (08:00 +0000)]
Update dnsmasq to v2.73.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
SVN-Revision: 45987

9 years agoRevert "kernel: add rtl8723au driver (staging)"
Felix Fietkau [Mon, 15 Jun 2015 07:46:55 +0000 (07:46 +0000)]
Revert "kernel: add rtl8723au driver (staging)"

This one cannot possibly work, as it depends on cfg80211, which is built
out of tree.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r45985

SVN-Revision: 45986

9 years agofeeds.conf.default: use the for-15.05 branches, drop targets feed
Felix Fietkau [Sun, 14 Jun 2015 18:35:59 +0000 (18:35 +0000)]
feeds.conf.default: use the for-15.05 branches, drop targets feed

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

9 years agoremove broken targets
Felix Fietkau [Sun, 14 Jun 2015 18:17:54 +0000 (18:17 +0000)]
remove broken targets

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

9 years agogcc: remove version 4.9
Felix Fietkau [Sun, 14 Jun 2015 18:17:49 +0000 (18:17 +0000)]
gcc: remove version 4.9

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

9 years agokernel: remove linux 4.0
Felix Fietkau [Sun, 14 Jun 2015 18:17:47 +0000 (18:17 +0000)]
kernel: remove linux 4.0

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

9 years agoMakefile: move the cleaning of staging_dir/target* from dirclean to clean
Felix Fietkau [Sun, 14 Jun 2015 17:47:16 +0000 (17:47 +0000)]
Makefile: move the cleaning of staging_dir/target* from dirclean to clean

Currently "make clean" only clears the build_dir/target*, but leaves
staging_dir/target* intact. "make clean" should also clean the
staging_dir/target* directories, as in the current situation some old
packages or libraries may be linked into the firmware from staging_dir
despite a "make clean".

The patch reorganises clean / dirclean functionality so that
* "make clean" also clears the staging_dir/target* in addition to
build_dir/target*.
* "make dirclean" clears toolchain and host(=tools) directories from both
build_dir and staging_dir

signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

SVN-Revision: 45973

9 years agoprocd: update to the latest version, adds a few fixes
Felix Fietkau [Sun, 14 Jun 2015 17:44:04 +0000 (17:44 +0000)]
procd: update to the latest version, adds a few fixes

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

9 years agoar71xx: return limit as number of processed frames when re-scheduling NAPI poll
Felix Fietkau [Sun, 14 Jun 2015 17:43:59 +0000 (17:43 +0000)]
ar71xx: return limit as number of processed frames when re-scheduling NAPI poll

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

9 years agoar8216: Fix problem with AR8337 MAC swap handling
Felix Fietkau [Sun, 14 Jun 2015 17:43:50 +0000 (17:43 +0000)]
ar8216: Fix problem with AR8337 MAC swap handling

AR8337 supports a configuration bit to swap MAC0 and MAC6.
Currently this is set in general if an AR8337 is detected and causes
issues with devices using an AR8334 (internally an AR8337, just
less chip pins).
And it might even cause issues with AR8337-based devices with
different board designs.

Swapping the MAC's however isn't needed for AR8337 in general.
It's just needed in case of certain board designs (affected devices
seem to be based on Atheros reference board AP135/136-010).
Therefore this configuration bit should be moved to platform data.

The patch includes the needed changes to the device initialization
code of affected devices. Hopefully I didn't miss any ..

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 45970

9 years agoelfutils: import package from packages.git
Felix Fietkau [Sun, 14 Jun 2015 17:43:40 +0000 (17:43 +0000)]
elfutils: import package from packages.git

elfutils is required by perf. So we'll move this package from
packages.git and make it part of the core distribution.

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

9 years agobzip2: import package from packages.git
Felix Fietkau [Sun, 14 Jun 2015 17:43:34 +0000 (17:43 +0000)]
bzip2: import package from packages.git

bzip2 is required by elfutils, itself required by perf. So we'll move
this package from packages.git and make it part of the core
distribution.

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

9 years agoargp-standalone: import package from packages.git
Felix Fietkau [Sun, 14 Jun 2015 17:43:28 +0000 (17:43 +0000)]
argp-standalone: import package from packages.git

argp-standalone is required by elfutils, itself required by perf. So
we'll move this package from packages.git and make it part of the core
distribution.

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

9 years agoinclude/scan.mk: Add -a argument to the grep to treat all Makefiles as a text file.
Felix Fietkau [Sun, 14 Jun 2015 17:43:22 +0000 (17:43 +0000)]
include/scan.mk: Add -a argument to the grep to treat all Makefiles as a text file.

Hello,

I found out that in some rare cases grep can treat Makefile as a binary file. That happened to me on UTF-8 Gentoo if Makefile contained a character which was from extended ASCII table.
Without this patch the output of the grep command in the $(FILELIST) target is not valid (contains line "Binary file matches") and following commands fail to create feed index file.

Best Regards,
Martin Strbacka

Signed-off-by: Martin Strbacka <martin.strbacka@nic.cz>
SVN-Revision: 45966

9 years agoar71xx: Add pll_1000 value for eth0 to Ubiquiti Rocket M XW
Felix Fietkau [Sun, 14 Jun 2015 17:43:18 +0000 (17:43 +0000)]
ar71xx: Add pll_1000 value for eth0 to Ubiquiti Rocket M XW

This patch adds the pll_1000 value for eth0 interface. This makes the Rocket M
XW image compatible with other Ubiquiti devices with similar hardware with a
Gigabit Ethernet port.

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

9 years agobuild: do another init script enabling run, fixes init scripts added via files/ ...
Felix Fietkau [Sun, 14 Jun 2015 17:42:05 +0000 (17:42 +0000)]
build: do another init script enabling run, fixes init scripts added via files/ (#19857)

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

9 years agooxnas: change file extension of u-boot+initramfs image
Felix Fietkau [Sun, 14 Jun 2015 17:42:00 +0000 (17:42 +0000)]
oxnas: change file extension of u-boot+initramfs image

The *u-boot-initramfs* images are not ITB/FIT images but are rather
supposed to be loaded to RAM and jumped-into.
To avoid confusion, change the file extension from itb to bin.

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

9 years agoopenvpn: bump PKG_RELEASE.
Felix Fietkau [Sun, 14 Jun 2015 17:41:54 +0000 (17:41 +0000)]
openvpn: bump PKG_RELEASE.

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

9 years agoopenvpn: let instances drop to nobody in default config.
Felix Fietkau [Sun, 14 Jun 2015 17:41:43 +0000 (17:41 +0000)]
openvpn: let instances drop to nobody in default config.

This is for security precautions.  As persist_tun and persist_key are
already there, this should not cause compatibility issue.

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

9 years agoopenvpn: fix handling option auth_retry.
Felix Fietkau [Sun, 14 Jun 2015 17:41:38 +0000 (17:41 +0000)]
openvpn: fix handling option auth_retry.

As reported in ticket #19104, auth_retry takes a <type> argument with 3
choices: none, nointeract, interact.

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

9 years agolibubox: update to the latest version, adds a few fixes
Felix Fietkau [Sun, 14 Jun 2015 17:41:33 +0000 (17:41 +0000)]
libubox: update to the latest version, adds a few fixes

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

9 years agoar71xx: fix mac offset in firmware file
Felix Fietkau [Sun, 14 Jun 2015 17:41:27 +0000 (17:41 +0000)]
ar71xx: fix mac offset in firmware file

In new firmware-4.bin (for ath10k) mac offset is 0x114 (276), not 0x118 (280).
This also closes #19751, bug introduced in #45624

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

9 years agofirmware-tools/ptgen: use stdint types for struct pte
Felix Fietkau [Sun, 14 Jun 2015 17:41:21 +0000 (17:41 +0000)]
firmware-tools/ptgen: use stdint types for struct pte

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

9 years agofirmware-tools/ptgen: fix endianness conversion for PTE .start, .length field.
Felix Fietkau [Sun, 14 Jun 2015 17:41:16 +0000 (17:41 +0000)]
firmware-tools/ptgen: fix endianness conversion for PTE .start, .length field.

They are of 32-bit little endian integers.

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

9 years agoprocd: correct the order of respawn params in the comments.
Felix Fietkau [Sun, 14 Jun 2015 17:41:07 +0000 (17:41 +0000)]
procd: correct the order of respawn params in the comments.

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

9 years agoar71xx: fix 100/10mbps ethernet link issues on mynet range extender
Felix Fietkau [Sun, 14 Jun 2015 17:41:01 +0000 (17:41 +0000)]
ar71xx: fix 100/10mbps ethernet link issues on mynet range extender

The mynet range extender hardware is suffering from ethernet
link loss when booting with a recent openwrt image. This only
happens on 100mbps links, with 1Gbps speed the link was fine.

The cause of the problem is that the AR8035 PHY (aka F1E)
requires turning on and off the special TX delay setting
depending on the speed of the link.

The 10mbps mode only needed the proper pll value, which was
extracted from the vendor code.

Reported-by: Pascal Paradis
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
SVN-Revision: 45954

9 years agosamba36: remove host build paths
Felix Fietkau [Sun, 14 Jun 2015 17:40:52 +0000 (17:40 +0000)]
samba36: remove host build paths

- fix iconv detection because it adds host paths
- disable python detection (host python-config is found)

iconv issue is reported by buildbot config.log + replicated locally
see config.log in logs.tar.gz
python issue observed locally on Arch Linux

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

9 years agomt76: update to the latest version, adds many fixes
Felix Fietkau [Sat, 13 Jun 2015 08:47:28 +0000 (08:47 +0000)]
mt76: update to the latest version, adds many fixes

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

9 years agoopenssl: 1.0.2c (srsly, you guys, srsly)
Steven Barth [Fri, 12 Jun 2015 20:49:20 +0000 (20:49 +0000)]
openssl: 1.0.2c (srsly, you guys, srsly)

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

9 years agoppp: bump PKG_RELEASE
Steven Barth [Fri, 12 Jun 2015 07:38:00 +0000 (07:38 +0000)]
ppp: bump PKG_RELEASE

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

9 years agoppp : Unnumbered support
Steven Barth [Fri, 12 Jun 2015 07:37:53 +0000 (07:37 +0000)]
ppp : Unnumbered support

Adds PPP unnumbered support via the parameter unnumbered which points to a logical OpenWRT interface.
The PPP proto shell handler will "borrow" an IP address from the unnumbered interface (if multiple
IP addresses are present the longest prefix different from 32 will be "borrowed") for which a host
interface dependency will be created. Due to the host interface dependency the PPP unnumbered interface
will only "borrow" an IP address from an interface which is up.
The borrowed IP address will be shared as local IP address by the PPP daemon and no other local IP
will be accepted from the peer in the IPCP negotiation.

A typical use case is the usage of a public IP subnet on the Lan interface which will be shared
by the PPP interface as local IP address.

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

9 years agoopenssl: fixes CVE-2015-4000 CVE-2015-1788 CVE-2015-1789 CVE-2015-1790 CVE-2015-1792...
Steven Barth [Thu, 11 Jun 2015 20:36:46 +0000 (20:36 +0000)]
openssl: fixes CVE-2015-4000 CVE-2015-1788 CVE-2015-1789 CVE-2015-1790 CVE-2015-1792 CVE-2015-1791

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

9 years agoopenssl: 1.0.2b (hey, we made it nearly 3 months this time!)
Steven Barth [Thu, 11 Jun 2015 20:28:44 +0000 (20:28 +0000)]
openssl: 1.0.2b (hey, we made it nearly 3 months this time!)

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

9 years agobrcm63xx: fix A4001N image padding size
Jonas Gorski [Thu, 11 Jun 2015 12:10:43 +0000 (12:10 +0000)]
brcm63xx: fix A4001N image padding size

When r42245 moved A4001N to DT based detection the image padding size
was accidentally increased from 4 to 8 MiB. This made images unflashable
on these devices.

Fixes #19836.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45945

9 years agotoolchain/gcc: upgrade Linaro GCC 4.9 to 4.9-2015.03
Imre Kaloz [Thu, 11 Jun 2015 11:57:11 +0000 (11:57 +0000)]
toolchain/gcc: upgrade Linaro GCC 4.9 to 4.9-2015.03

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

9 years agobcm53xx: update NVRAM driver to MIPS version from upstream-sfr
Rafał Miłecki [Wed, 10 Jun 2015 20:34:32 +0000 (20:34 +0000)]
bcm53xx: update NVRAM driver to MIPS version from upstream-sfr

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

9 years agobrcm47xx: backport BCM47XX patches (NVRAM & BCMA_HOST_PCI)
Rafał Miłecki [Wed, 10 Jun 2015 19:52:07 +0000 (19:52 +0000)]
brcm47xx: backport BCM47XX patches (NVRAM & BCMA_HOST_PCI)

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

9 years agoodhcp6c: work around RIOs matching PIOs as sent by some apple routers
Steven Barth [Wed, 10 Jun 2015 15:54:24 +0000 (15:54 +0000)]
odhcp6c: work around RIOs matching PIOs as sent by some apple routers

Thanks to Mikael Abrahamsson for reporting.

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

9 years ago6to4: Remove sourcerouting parameter registration
Steven Barth [Wed, 10 Jun 2015 11:50:13 +0000 (11:50 +0000)]
6to4: Remove sourcerouting parameter registration

Commit 31214c38c8dd0f70366b523f9b0335145b9386bd removes IPv6 unneeded source-dest-routing workarounds;
as a result sourcerouting parameter is unused and can be removed.

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

9 years ago6rd: Remove sourcerouting parameter registration
Steven Barth [Wed, 10 Jun 2015 11:50:09 +0000 (11:50 +0000)]
6rd: Remove sourcerouting parameter registration

Commit 31214c38c8dd0f70366b523f9b0335145b9386bd removes IPv6 unneeded source-dest-routing workarounds;
as a result sourcerouting parameter is unused and can be removed.

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

9 years agob53: fix memory out of bounds access on 64 bit targets
Jonas Gorski [Wed, 10 Jun 2015 09:21:36 +0000 (09:21 +0000)]
b53: fix memory out of bounds access on 64 bit targets

On device reset the sizes for the vlan and port tables were wrongly
calculated based on the pointer size instead of the struct size. This
causes buffer overruns on 64 bit targets, resulting in panics.

Fix this by dereferencing the pointers.

Reported-by: Fedor Konstantinov <blmink@mink.su>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45938

9 years agob53: widen stp state mask to 3 bits (instead of 2)
Jonas Gorski [Wed, 10 Jun 2015 09:21:31 +0000 (09:21 +0000)]
b53: widen stp state mask to 3 bits (instead of 2)

At least on my b53 chip, the mask is 3 bits wide, and because
of this some STP states are not set properly and discarded when read.

Maybe for some other chips it makes sense to have just 2 bits width,
but I don't have other versions around to test/validate.

If that's the case then maybe we could add another STP state mask.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45937

9 years agomap: add sleep work-around for lw4o6 race-condition
Steven Barth [Tue, 9 Jun 2015 21:18:55 +0000 (21:18 +0000)]
map: add sleep work-around for lw4o6 race-condition

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

9 years agoodhcp6c: fix handling of custom DHCPv6 options
Steven Barth [Tue, 9 Jun 2015 20:28:35 +0000 (20:28 +0000)]
odhcp6c: fix handling of custom DHCPv6 options

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

9 years agoustream-ssl: fix compilation against current PolarSSL/mbedTLS version
Jo-Philipp Wich [Tue, 9 Jun 2015 16:52:12 +0000 (16:52 +0000)]
ustream-ssl: fix compilation against current PolarSSL/mbedTLS version

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

9 years agokernel: mac80211: bcm53xx has bcma built-in
Rafał Miłecki [Tue, 9 Jun 2015 15:13:18 +0000 (15:13 +0000)]
kernel: mac80211: bcm53xx has bcma built-in

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

9 years agomac80211: add brcmfmac patch for synchronous init
Rafał Miłecki [Mon, 8 Jun 2015 15:17:52 +0000 (15:17 +0000)]
mac80211: add brcmfmac patch for synchronous init

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

9 years agomac80211: add brcmfmac patch reading NVRAM from platform
Rafał Miłecki [Mon, 8 Jun 2015 15:17:35 +0000 (15:17 +0000)]
mac80211: add brcmfmac patch reading NVRAM from platform

This allows e.g. BCM43602 to work out of box, without dumping a proper
MTD partition to /lib/firmware/ NVRAM file.

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

9 years agoramips: fix Power LED handling for WHR-300HP2, WHR-600D, WHR-1166D
Felix Fietkau [Mon, 8 Jun 2015 12:51:13 +0000 (12:51 +0000)]
ramips: fix Power LED handling for WHR-300HP2, WHR-600D, WHR-1166D

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

9 years agomac80211: fix b43 support for 14e4:4321 BCM4321 (band detection)
Rafał Miłecki [Mon, 8 Jun 2015 12:50:47 +0000 (12:50 +0000)]
mac80211: fix b43 support for 14e4:4321 BCM4321 (band detection)

This fixes #19803

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

9 years agomac80211: backport today's brcmfmac changes
Rafał Miłecki [Mon, 8 Jun 2015 12:50:38 +0000 (12:50 +0000)]
mac80211: backport today's brcmfmac changes

This adds support for SR400ac NVRAM and fixes
/sys/class/ieee80211/*/macaddress

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

9 years agokernel: backport config-related bcma patches from 4.2
Rafał Miłecki [Mon, 8 Jun 2015 12:49:54 +0000 (12:49 +0000)]
kernel: backport config-related bcma patches from 4.2

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

9 years agonetifd: bump to latest, various fixes
Steven Barth [Mon, 8 Jun 2015 11:04:10 +0000 (11:04 +0000)]
netifd: bump to latest, various fixes

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

9 years agopolarssl: bump to 1.3.11
Steven Barth [Mon, 8 Jun 2015 07:38:13 +0000 (07:38 +0000)]
polarssl: bump to 1.3.11

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

9 years agodnsmasq: bump to 2.73rc9
Steven Barth [Mon, 8 Jun 2015 04:48:16 +0000 (04:48 +0000)]
dnsmasq: bump to 2.73rc9

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

9 years agodnsmasq: fix config file typo
Steven Barth [Mon, 8 Jun 2015 04:48:08 +0000 (04:48 +0000)]
dnsmasq: fix config file typo

s/loclal/local/

Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
SVN-Revision: 45923

9 years agobcm53xx: backport the latest 4.2 ARM BCM5302X patches
Rafał Miłecki [Sun, 7 Jun 2015 14:41:05 +0000 (14:41 +0000)]
bcm53xx: backport the latest 4.2 ARM BCM5302X patches

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

9 years agobrcm47xx: refresh kernel config
Rafał Miłecki [Sun, 7 Jun 2015 10:09:10 +0000 (10:09 +0000)]
brcm47xx: refresh kernel config

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

9 years agokernel: move a symbol from the ipq806x config to generic to prevent it from being...
Felix Fietkau [Sun, 7 Jun 2015 07:32:35 +0000 (07:32 +0000)]
kernel: move a symbol from the ipq806x config to generic to prevent it from being nuked by make kernel_oldconfig

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

9 years agokernel: remove NAND flash related kmod-* packages
Felix Fietkau [Sun, 7 Jun 2015 07:22:11 +0000 (07:22 +0000)]
kernel: remove NAND flash related kmod-* packages

They are useless, as the platform already selects the right options for
NAND support. The main reason for removing them is the fact that it
makes kernel configs more annoying to maintain on platforms that provide
NAND drivers but disable them (e.g. ramips)

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

9 years agoralink: add missing symbol
John Crispin [Sun, 7 Jun 2015 07:12:23 +0000 (07:12 +0000)]
ralink: add missing symbol

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