openwrt.git
7 years agomvebu: better integrate xp-gp
luka [Thu, 16 Apr 2015 13:53:57 +0000 (13:53 +0000)]
mvebu: better integrate xp-gp

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

7 years agobcm53xx: make use of the new board detection layer
nbd [Thu, 16 Apr 2015 12:18:34 +0000 (12:18 +0000)]
bcm53xx: make use of the new board detection layer

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

7 years agobuild: tell users to do non-paralle builds on errors
nbd [Thu, 16 Apr 2015 12:18:26 +0000 (12:18 +0000)]
build: tell users to do non-paralle builds on errors

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

7 years agomvebu: add support for the Linksys Caiman and Cobra
kaloz [Thu, 16 Apr 2015 09:54:39 +0000 (09:54 +0000)]
mvebu: add support for the Linksys Caiman and Cobra

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45456 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agomvebu: bring back CONFIG_CPU_THERMAL
luka [Thu, 16 Apr 2015 00:23:34 +0000 (00:23 +0000)]
mvebu: bring back CONFIG_CPU_THERMAL

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

7 years agomvebu: refresh kernel config
luka [Thu, 16 Apr 2015 00:10:42 +0000 (00:10 +0000)]
mvebu: refresh kernel config

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

7 years agomvebu: fix typo in marvell profile
luka [Wed, 15 Apr 2015 16:23:20 +0000 (16:23 +0000)]
mvebu: fix typo in marvell profile

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

7 years agomvebu: better integrate 385-ap-db
luka [Wed, 15 Apr 2015 16:23:10 +0000 (16:23 +0000)]
mvebu: better integrate 385-ap-db

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

7 years agobcm53xx: add USB 2.0 power control for WXR-1900DHP
nbd [Wed, 15 Apr 2015 16:06:20 +0000 (16:06 +0000)]
bcm53xx: add USB 2.0 power control for WXR-1900DHP

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

7 years agobcm53xx: add USB 2.0 support
nbd [Wed, 15 Apr 2015 16:06:14 +0000 (16:06 +0000)]
bcm53xx: add USB 2.0 support

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

7 years agoodhcp6c: silence "bad number" warnings
cyrus [Wed, 15 Apr 2015 14:04:17 +0000 (14:04 +0000)]
odhcp6c: silence "bad number" warnings

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45449 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoodhcp6c: avoid saving empty RA search domains
cyrus [Wed, 15 Apr 2015 12:57:41 +0000 (12:57 +0000)]
odhcp6c: avoid saving empty RA search domains

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45448 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoopkg: fix md5 related #ifdef (thx, swalker)
nbd [Tue, 14 Apr 2015 22:10:40 +0000 (22:10 +0000)]
opkg: fix md5 related #ifdef (thx, swalker)

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

7 years agouclient: update to the latest version, fixes a crash in processing redirect/disconnec...
nbd [Tue, 14 Apr 2015 21:05:45 +0000 (21:05 +0000)]
uclient: update to the latest version, fixes a crash in processing redirect/disconnect after headers

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

7 years agobcm53xx: add (disabled) support for upgrading kernel during sysupgrade
rmilecki [Tue, 14 Apr 2015 20:50:59 +0000 (20:50 +0000)]
bcm53xx: add (disabled) support for upgrading kernel during sysupgrade

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

7 years agootrx: support for creating simple TRX files
rmilecki [Tue, 14 Apr 2015 20:50:53 +0000 (20:50 +0000)]
otrx: support for creating simple TRX files

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

7 years agootrx: change command line API to start with a mode
rmilecki [Tue, 14 Apr 2015 20:50:46 +0000 (20:50 +0000)]
otrx: change command line API to start with a mode

This will allow adding more modes without options conflict.

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

7 years agorpcd: update to latest git HEAD
blogic [Tue, 14 Apr 2015 19:01:29 +0000 (19:01 +0000)]
rpcd: update to latest git HEAD

adds support for reading md5 sums of files

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

7 years agoustream-ssl: update to latest git HEAD
blogic [Tue, 14 Apr 2015 19:01:24 +0000 (19:01 +0000)]
ustream-ssl: update to latest git HEAD

fixes long writes when using polarssl

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

7 years agofstools: update to latest git HEAD
blogic [Tue, 14 Apr 2015 19:01:09 +0000 (19:01 +0000)]
fstools: update to latest git HEAD

fixes issues with semi-initialized overlay partitions during firstboot

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

7 years agoar71xx: Enable AT803X_PHY to set special flags
blogic [Tue, 14 Apr 2015 19:00:57 +0000 (19:00 +0000)]
ar71xx: Enable AT803X_PHY to set special flags

Open-Mesh OM5P-AN use a AT8035 (F1E) behind one of the ethernet ports. This PHY
requires special flags to work correctly. Otherwise massive packet loss happens
with active POE or when switching the link speed from gigabit ethernet to fast
ethernet. The generic PHY doesn't have support to change these settings.

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

7 years agoar71xx: fix ethernet packet loss issues on OM5P-AN
blogic [Tue, 14 Apr 2015 19:00:51 +0000 (19:00 +0000)]
ar71xx: fix ethernet packet loss issues on OM5P-AN

The OM5P-AN boards are suffering from ethernet packet loss when booting with
some active POE setups or when switching to Fast Ethernet when previously
booted with Gigabit ethernet attached.

The cause of the problem is that the AR8035 PHYs requires special register
settings to work reliably on these boards. Enable the RGMII TX, RX delays and
disable SmartEE functionality of the AR8035 PHYs. Also enable the RXD and RDV
delay in the ETH_CFG register to fix the issue.

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

7 years agoopkg: drop md5 in favour of sha256
blogic [Tue, 14 Apr 2015 19:00:14 +0000 (19:00 +0000)]
opkg: drop md5 in favour of sha256

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

7 years agootrx: use %zd to fix printf format warnings
rmilecki [Tue, 14 Apr 2015 16:16:11 +0000 (16:16 +0000)]
otrx: use %zd to fix printf format warnings

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

7 years agoodhcpd: fix accidental logic inversion
cyrus [Tue, 14 Apr 2015 14:21:52 +0000 (14:21 +0000)]
odhcpd: fix accidental logic inversion

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45435 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobuild: replace the deprecated find argument -perm +0100 with /0100 (#19480)
nbd [Tue, 14 Apr 2015 12:49:30 +0000 (12:49 +0000)]
build: replace the deprecated find argument -perm +0100 with /0100 (#19480)

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

7 years agootrx: check TRX length read from header to avoid Segmentation fault
rmilecki [Tue, 14 Apr 2015 12:18:57 +0000 (12:18 +0000)]
otrx: check TRX length read from header to avoid Segmentation fault

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

7 years agomac80211: merge a number of upstream driver fixes/improvements
nbd [Tue, 14 Apr 2015 12:17:34 +0000 (12:17 +0000)]
mac80211: merge a number of upstream driver fixes/improvements

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

7 years agokernel: update bgmac patches to the latest version submitted
nbd [Tue, 14 Apr 2015 12:17:20 +0000 (12:17 +0000)]
kernel: update bgmac patches to the latest version submitted

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

7 years agootrx: include byteswap.h to fix compilation with musl
rmilecki [Tue, 14 Apr 2015 11:10:14 +0000 (11:10 +0000)]
otrx: include byteswap.h to fix compilation with musl

Fixes #19470

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

7 years agoodhcp6c: fix some issue discovered by scan-build
cyrus [Tue, 14 Apr 2015 08:33:37 +0000 (08:33 +0000)]
odhcp6c: fix some issue discovered by scan-build

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45429 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoodhcpd: avoid illegal memory access in some corner cases
cyrus [Tue, 14 Apr 2015 08:31:53 +0000 (08:31 +0000)]
odhcpd: avoid illegal memory access in some corner cases

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45428 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobuild: set CCACHE_DIR for host builds
nbd [Tue, 14 Apr 2015 00:00:55 +0000 (00:00 +0000)]
build: set CCACHE_DIR for host builds

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

7 years agobcm53xx: refresh kernel patches
nbd [Mon, 13 Apr 2015 22:23:37 +0000 (22:23 +0000)]
bcm53xx: refresh kernel patches

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

7 years agoqos-scripts: remove layer7 support
nbd [Mon, 13 Apr 2015 22:23:26 +0000 (22:23 +0000)]
qos-scripts: remove layer7 support

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

7 years agoiptables: remove layer7 support
nbd [Mon, 13 Apr 2015 22:23:19 +0000 (22:23 +0000)]
iptables: remove layer7 support

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

7 years agokernel: finally remove layer7 filter support
nbd [Mon, 13 Apr 2015 22:23:14 +0000 (22:23 +0000)]
kernel: finally remove layer7 filter support

it has been non-functional for years and caused numerous memleaks and
crashes for people that tried to enable it.
it has no maintained upstream source, and it does not look like it's
going to be fixed any time soon

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

7 years agokernel: fix more bgmac dma init/cleanup issues
nbd [Mon, 13 Apr 2015 20:08:30 +0000 (20:08 +0000)]
kernel: fix more bgmac dma init/cleanup issues

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

7 years agomvebu: copy the initramfs files to the bin dir
kaloz [Mon, 13 Apr 2015 20:06:47 +0000 (20:06 +0000)]
mvebu: copy the initramfs files to the bin dir

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45421 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agokernel: sync bgmac changes with latest upstream submission
nbd [Mon, 13 Apr 2015 17:32:33 +0000 (17:32 +0000)]
kernel: sync bgmac changes with latest upstream submission

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

7 years agobcm53xx: add support for the Buffalo WXR-1900DHP
nbd [Mon, 13 Apr 2015 17:32:25 +0000 (17:32 +0000)]
bcm53xx: add support for the Buffalo WXR-1900DHP

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

7 years agobcm53xx: fix GPIO pins > 16
nbd [Mon, 13 Apr 2015 17:32:18 +0000 (17:32 +0000)]
bcm53xx: fix GPIO pins > 16

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

7 years agokernel: add bgmac fixes for bcm53xx (fix ethernet bringup on a bcm4709 based device)
nbd [Mon, 13 Apr 2015 17:32:12 +0000 (17:32 +0000)]
kernel: add bgmac fixes for bcm53xx (fix ethernet bringup on a bcm4709 based device)

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

7 years agobcm53xx: add missing l2 cache controller AUXCTL bit
nbd [Mon, 13 Apr 2015 17:32:05 +0000 (17:32 +0000)]
bcm53xx: add missing l2 cache controller AUXCTL bit

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

7 years agomvebu: add support for the in-CPU RTC on the Armada 38x
kaloz [Mon, 13 Apr 2015 13:06:34 +0000 (13:06 +0000)]
mvebu: add support for the in-CPU RTC on the Armada 38x

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45415 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agomvebu: add comments to image generation
kaloz [Mon, 13 Apr 2015 12:15:40 +0000 (12:15 +0000)]
mvebu: add comments to image generation

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45414 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agomvebu: stop legacy image generation
kaloz [Mon, 13 Apr 2015 12:08:42 +0000 (12:08 +0000)]
mvebu: stop legacy image generation

If you can't find the firmware for you board, send proper patches.

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45413 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agomvebu: generate a single firmware for the 385-db-ap
kaloz [Mon, 13 Apr 2015 12:06:56 +0000 (12:06 +0000)]
mvebu: generate a single firmware for the 385-db-ap

This has been done without having a board, but should work.

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45412 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agomvebu: reflect Armada 38x support in the name
kaloz [Mon, 13 Apr 2015 11:30:39 +0000 (11:30 +0000)]
mvebu: reflect Armada 38x support in the name

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45411 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agodnsmasq: fix dnssec timestamp logic, backport crashfix
cyrus [Mon, 13 Apr 2015 07:49:29 +0000 (07:49 +0000)]
dnsmasq: fix dnssec timestamp logic, backport crashfix

Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45410 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agowpan: remove duplicate DEPENDS
luka [Mon, 13 Apr 2015 07:01:32 +0000 (07:01 +0000)]
wpan: remove duplicate DEPENDS

Signed-off-by: Varka Bhadram <varkab@cdac.in>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45409 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobcm53xx: add a comment about the gpio base patch
nbd [Sun, 12 Apr 2015 22:10:44 +0000 (22:10 +0000)]
bcm53xx: add a comment about the gpio base patch

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

7 years agokernel: bgmac: add more DMA related fixes
nbd [Sun, 12 Apr 2015 22:10:40 +0000 (22:10 +0000)]
kernel: bgmac: add more DMA related fixes

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

7 years agoppc40x: upgrade to 3.18
kaloz [Sun, 12 Apr 2015 20:48:13 +0000 (20:48 +0000)]
ppc40x: upgrade to 3.18

left "broken" as I'm not sure if my only board is to blame.. testers welcomed

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45406 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agoorion: upgrade to 3.18 (compile tested only)
kaloz [Sun, 12 Apr 2015 20:45:55 +0000 (20:45 +0000)]
orion: upgrade to 3.18 (compile tested only)

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45405 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agofstools: reject relative mount points
jow [Sun, 12 Apr 2015 20:34:31 +0000 (20:34 +0000)]
fstools: reject relative mount points

To prevent future confusion around '/overlay' vs. 'overlay' simply reject
relative path specifications as mount points since such paths result in
undefined behaviour anyway.

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

7 years agobcm53xx: try to handle Netgear R8000 VLANs config
rmilecki [Sun, 12 Apr 2015 20:11:25 +0000 (20:11 +0000)]
bcm53xx: try to handle Netgear R8000 VLANs config

It seems to have few ports connected to CPU (only for CPU sending data?)
as part of "SMP dual core 3 GMAC setup" feature.

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

7 years agob53: improve overriding CPU port state on BCM5301X
rmilecki [Sun, 12 Apr 2015 20:00:42 +0000 (20:00 +0000)]
b53: improve overriding CPU port state on BCM5301X

On BCM5301X there are two different cases to handle: CPU port 8 vs. any
other one. Support for CPU port 8 was already partially implemented but
it lacked setting some extra bit for 2G speed. It also will need to be
extended to implement "SMP dual core 3 GMAC setup". That's the reason
for handling it in separated code block.
This patch also adds overriding CPU port state for port other than 8. It
requires using recently defined GMII_PORT registers.
It was tested for regressions on BCM53011 revs 2 & 3. It was also
confirmed to fix switch on some internal Broadcom board.

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

7 years agomvebu: refresh patches
kaloz [Sun, 12 Apr 2015 17:30:41 +0000 (17:30 +0000)]
mvebu: refresh patches

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45401 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agomvebu: migrate mamba support to the upstreamed code
kaloz [Sun, 12 Apr 2015 17:29:50 +0000 (17:29 +0000)]
mvebu: migrate mamba support to the upstreamed code

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45400 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobcm53xx: fix bcma gpio chip base
nbd [Sun, 12 Apr 2015 17:22:04 +0000 (17:22 +0000)]
bcm53xx: fix bcma gpio chip base

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

7 years agokernel: add missing memory barrier to bgmac
nbd [Sun, 12 Apr 2015 16:39:24 +0000 (16:39 +0000)]
kernel: add missing memory barrier to bgmac

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

7 years agomodules: add missing imx6 depenedency to dwc2
blogic [Sun, 12 Apr 2015 15:34:44 +0000 (15:34 +0000)]
modules: add missing imx6 depenedency to dwc2

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

7 years agomvebu: handle other SKUs as well
kaloz [Sun, 12 Apr 2015 15:04:14 +0000 (15:04 +0000)]
mvebu: handle other SKUs as well

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45396 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agomvebu: include the ahci driver in the default profile
kaloz [Sun, 12 Apr 2015 15:03:25 +0000 (15:03 +0000)]
mvebu: include the ahci driver in the default profile

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45395 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agomodules: package the mvebu ahci driver
kaloz [Sun, 12 Apr 2015 15:02:43 +0000 (15:02 +0000)]
modules: package the mvebu ahci driver

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45394 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agogeneric: make sure we only try to mangle bootargs we do have
kaloz [Sun, 12 Apr 2015 14:46:19 +0000 (14:46 +0000)]
generic: make sure we only try to mangle bootargs we do have

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45393 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agobcm53xx: allow sysupgrade firmwares without UBI containing rootfs
rmilecki [Sun, 12 Apr 2015 12:04:13 +0000 (12:04 +0000)]
bcm53xx: allow sysupgrade firmwares without UBI containing rootfs

In most cases it allows reverting back to the vendor firmware (as they
usually don't use UBI). If users wants to do that we can't do anything
anyway. Erease counters will be just lost. The only thing we do is warn:
"Flashing firmware without UBI for rootfs. All erase counters will be
lost."
It still requires forcing sysupgrade.

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

7 years agobcm53xx: add platform_pre_upgrade to prepare for kernel+UBI sysupgrade
rmilecki [Sun, 12 Apr 2015 11:46:16 +0000 (11:46 +0000)]
bcm53xx: add platform_pre_upgrade to prepare for kernel+UBI sysupgrade

We can now detect that provided firmware contains kernel and UBI image
partitions. Flashing it in a sane way (keeping erase counters) still
needs to be implemented.

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

7 years agootrx: support for extracting partitions
rmilecki [Sun, 12 Apr 2015 11:46:11 +0000 (11:46 +0000)]
otrx: support for extracting partitions

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

7 years agobcm53xx: rework vendor fw handling to don't duplicate upgrade calls
rmilecki [Sun, 12 Apr 2015 10:42:27 +0000 (10:42 +0000)]
bcm53xx: rework vendor fw handling to don't duplicate upgrade calls

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

7 years agokernel: add bgmac fixes for various issues
nbd [Sun, 12 Apr 2015 10:35:21 +0000 (10:35 +0000)]
kernel: add bgmac fixes for various issues

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

7 years agobcm53xx: fix UBI EOF patch to allow sysupgrade after first installation
rmilecki [Sun, 12 Apr 2015 10:20:59 +0000 (10:20 +0000)]
bcm53xx: fix UBI EOF patch to allow sysupgrade after first installation

With previous version of patch info about need of erasing blocks was
stored once per boot. It was breaking in following scenario:
1) First boot after installation (erasing blocks after 0xdeadc0de)
2) Doing sysupgrade (with ubidetach & ubiformat)
3) Attaching UBI again (it caused all blocks to be erased)

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

7 years agomvebu: reformat the damaged syscfg partition on the mamba
kaloz [Sun, 12 Apr 2015 08:35:33 +0000 (08:35 +0000)]
mvebu: reformat the damaged syscfg partition on the mamba

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45386 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agokernel: revert section sorting change from r41951
nbd [Sat, 11 Apr 2015 21:21:03 +0000 (21:21 +0000)]
kernel: revert section sorting change from r41951

It currently does not seem to make a difference anymore, except by
increasing compressed kernel image size

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

7 years agobusybox: enable BUSYBOX_DEFAULT_FEATURE_TOUCH_SUSV3 by default, dnsmasq relies on it
nbd [Sat, 11 Apr 2015 19:34:45 +0000 (19:34 +0000)]
busybox: enable BUSYBOX_DEFAULT_FEATURE_TOUCH_SUSV3 by default, dnsmasq relies on it

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

7 years agokernel: remove leftover @ (#19454)
nbd [Sat, 11 Apr 2015 12:23:36 +0000 (12:23 +0000)]
kernel: remove leftover @ (#19454)

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

7 years agonetfilter.mk: remove bogus NAT related kernel module entries (#19451)
nbd [Sat, 11 Apr 2015 12:22:39 +0000 (12:22 +0000)]
netfilter.mk: remove bogus NAT related kernel module entries (#19451)

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

7 years agonetfilter.mk: drop obsolete kernel version dependencies
nbd [Sat, 11 Apr 2015 12:22:28 +0000 (12:22 +0000)]
netfilter.mk: drop obsolete kernel version dependencies

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

7 years agonetifd: fix ieee80211r 'sh: bad number' in mac80211 setup (bug #19345)
nbd [Sat, 11 Apr 2015 10:52:01 +0000 (10:52 +0000)]
netifd: fix ieee80211r 'sh: bad number' in mac80211 setup (bug #19345)

Two errors "netifd: radio0: sh: bad number" have recently surfaced in system
log in trunk when wifi interfaces come up. I tracked the errors to checking
numerical values of some config options without ensuring that the option has
any value.

The errors I see have apparently been introduced by r45051 (ieee80211r in
hostapd) and r45326 (start_disabled in mac80211). My patches fix two
instances of "bad number", but there may be a third one, as the original
report in bug 19345 pre-dates r45326 and already has two "bad number" errors
for radio0.

https://dev.openwrt.org/ticket/19345

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

7 years agonetifd: fix start_disabled 'sh: bad number' in mac80211 setup (bug #19345)
nbd [Sat, 11 Apr 2015 10:51:55 +0000 (10:51 +0000)]
netifd: fix start_disabled 'sh: bad number' in mac80211 setup (bug #19345)

Two errors "netifd: radio0: sh: bad number" have recently surfaced in system
log in trunk when wifi interfaces come up. I tracked the errors to checking
numerical values of some config options without ensuring that the option has
any value.

The errors I see have apparently been introduced by r45051 (ieee80211r in
hostapd) and r45326 (start_disabled in mac80211). My patches fix two
instances of "bad number", but there may be a third one, as the original
report in bug 19345 pre-dates r45326 and already has two "bad number" errors
for radio0.

https://dev.openwrt.org/ticket/19345

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

7 years agoimx6: add missing patches from 3.14
luka [Sat, 11 Apr 2015 10:46:20 +0000 (10:46 +0000)]
imx6: add missing patches from 3.14

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

7 years agokernel: remove kernel module checks/dependencies for 3.14
nbd [Sat, 11 Apr 2015 10:43:46 +0000 (10:43 +0000)]
kernel: remove kernel module checks/dependencies for 3.14

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

7 years agoinclude: drop old kernel versions
luka [Sat, 11 Apr 2015 10:28:20 +0000 (10:28 +0000)]
include: drop old kernel versions

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

7 years agogeneric: drop 3.14
luka [Sat, 11 Apr 2015 10:28:14 +0000 (10:28 +0000)]
generic: drop 3.14

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

7 years agobrcm47xx: drop 3.14
luka [Sat, 11 Apr 2015 10:28:11 +0000 (10:28 +0000)]
brcm47xx: drop 3.14

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

7 years agoadm8668: drop 3.14
luka [Sat, 11 Apr 2015 10:28:06 +0000 (10:28 +0000)]
adm8668: drop 3.14

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

7 years agomcs814x: drop 3.14
luka [Sat, 11 Apr 2015 10:28:03 +0000 (10:28 +0000)]
mcs814x: drop 3.14

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

7 years agoimx6: drop 3.14
luka [Sat, 11 Apr 2015 10:28:00 +0000 (10:28 +0000)]
imx6: drop 3.14

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

7 years agoimx6: switch to 3.18
luka [Sat, 11 Apr 2015 10:27:49 +0000 (10:27 +0000)]
imx6: switch to 3.18

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

7 years agomxs: reinstate rootfs image creation and dtb copy
wigyori [Fri, 10 Apr 2015 21:36:33 +0000 (21:36 +0000)]
mxs: reinstate rootfs image creation and dtb copy

Signed-off-by: Harald Geyer <harald@ccbib.org>
Acked-by: Michael Heimpold <mhei@heimpold.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45369 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agomxs: Include the right kernel image in the rootfs
wigyori [Fri, 10 Apr 2015 21:34:21 +0000 (21:34 +0000)]
mxs: Include the right kernel image in the rootfs

Signed-off-by: Harald Geyer <harald@ccbib.org>
Acked-by: Michael Heimpold <mhei@heimpold.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45368 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agomodules: fix postinst generation for kernel modules
blogic [Fri, 10 Apr 2015 20:39:44 +0000 (20:39 +0000)]
modules: fix postinst generation for kernel modules

Fixes ticket #19352.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45367 3c298f89-4303-0410-b956-a3cf2f4a3e73

7 years agolibrpc: update to the latest version, fixes musl compatibility issues (#19445)
nbd [Fri, 10 Apr 2015 20:02:55 +0000 (20:02 +0000)]
librpc: update to the latest version, fixes musl compatibility issues (#19445)

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

7 years agomodules: more wpan fixes
blogic [Fri, 10 Apr 2015 14:42:11 +0000 (14:42 +0000)]
modules: more wpan fixes

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

7 years agomodules: add missing wpan fakehard driver
blogic [Fri, 10 Apr 2015 13:39:38 +0000 (13:39 +0000)]
modules: add missing wpan fakehard driver

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

7 years agokernel: remove references to kmod-of-i2c
blogic [Fri, 10 Apr 2015 13:39:33 +0000 (13:39 +0000)]
kernel: remove references to kmod-of-i2c

these break the IB since the module is part of i2c-core now

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

7 years agokernel: add jffs2 RENAME_WHITEOUT support, fixes overlayfs renames (#19432)
nbd [Fri, 10 Apr 2015 11:52:59 +0000 (11:52 +0000)]
kernel: add jffs2 RENAME_WHITEOUT support, fixes overlayfs renames (#19432)

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

7 years agokernel: drop obsolete linux 3.10 related dependencies/checks
nbd [Fri, 10 Apr 2015 11:52:54 +0000 (11:52 +0000)]
kernel: drop obsolete linux 3.10 related dependencies/checks

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

7 years agokernel: remove linux 3.10 support
nbd [Fri, 10 Apr 2015 11:52:47 +0000 (11:52 +0000)]
kernel: remove linux 3.10 support

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