Commit Graph

28789 Commits

Author SHA1 Message Date
Felix Fietkau
38a8f5ae63 ar71xx: ar8216: tagged+untagged on ar8327 (#12181)
This allows tagged and untagged traffic together on the same port on ar8327
switch devices.

I looked at the first attempt to do this in r40777 (ar71xx: Fix tagged+untagged
operation on AR8327N (#12181)). I also set the vlan and port egress policies
like that change. But I change vlan_tagged in an less intrusive way. The
tagged/untagged decision is now based on the following rules:
- if vid != pvid then traffic is always tagged
- if vid == pvid then vlan_tagged stores if the traffic should be tagged

Tested on TP-Link WDR-3600 (ar8327N).

Signed-off-by: Valentin Spreckels <Valentin.Spreckels@Informatik.Uni-Oldenburg.DE>

SVN-Revision: 42653
2014-09-23 10:19:58 +00:00
Felix Fietkau
1c675ee9be ar71xx: ar8216: move policies, pvid to setup_port
This moves ingress, egress policy and pvid decisions to setup_port methods.
They arenow device type dependent.

This allows policy changes on only one device type which is needed to allow
tagged + untagged operation on ar8327.

Tested on TP-LINK WDR-3600 (ar8327N).

Signed-off-by: Valentin Spreckels <Valentin.Spreckels@Informatik.Uni-Oldenburg.DE>

SVN-Revision: 42652
2014-09-23 10:18:38 +00:00
Zoltan Herpai
9c43ea9a8b mxs: remove 3.13
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42651
2014-09-23 06:42:29 +00:00
Zoltan Herpai
5105e10608 mxs: disable mmc debugging
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42650
2014-09-23 06:38:58 +00:00
Rafał Miłecki
f036f5801f bcm53xx: image: use IMG_PREFIX for chk images
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42649
2014-09-22 18:11:09 +00:00
Steven Barth
2ccf88744c dnsmasq: fix lockup when interfaces disappear
SVN-Revision: 42648
2014-09-22 12:07:20 +00:00
Rafał Miłecki
23a07c6d18 bcm53xx: image: make filesystem a suffix for TRX files
This makes TRX files more /compatible/ with firmware files (e.g. CHK).
This will allow us to put some TRX files in BIN_DIR if we need to.

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

SVN-Revision: 42646
2014-09-22 09:16:20 +00:00
Rafał Miłecki
fd515112db bcm53xx: image: document arguments of various functions
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42645
2014-09-22 08:37:18 +00:00
Rafał Miłecki
5f7be0ebf4 bcm53xx: image: rework Makefile and merge some functions
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42644
2014-09-22 08:04:26 +00:00
Zoltan Herpai
144c9992a2 sunxi: enable GPIO_SYSFS
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42643
2014-09-22 06:15:45 +00:00
Hauke Mehrtens
182e1dbcd4 bcm53xx: activate vfpv3 support
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 42642
2014-09-21 21:58:29 +00:00
Hauke Mehrtens
47aefcc563 bcm53xx: add nand flash driver
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 42641
2014-09-21 21:58:02 +00:00
Hauke Mehrtens
2c6e0e0ae0 bcm53xx: update patches adding bcma support
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 42640
2014-09-21 21:57:17 +00:00
Hauke Mehrtens
c977fad4fd bcm53xx: add fixtrx
Without running fixtrx the image will not boot at the second time,
because the CRC the boot loader check is invalid at that time.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 42639
2014-09-21 21:56:31 +00:00
Rafał Miłecki
223a309c3c bcm53xx: add support for GPIOs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42638
2014-09-21 21:18:30 +00:00
Rafał Miłecki
2468f9201f bcm53xx: rename console fixing patch
This squeezes BCM5301X patches.

SVN-Revision: 42637
2014-09-21 21:02:38 +00:00
Zoltan Herpai
158336df6c sunxi: add AXP209 to pcDuino3
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42636
2014-09-21 20:31:18 +00:00
Zoltan Herpai
aaa430b434 sunxi: enable AXP209 on BananaPi as well
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42635
2014-09-21 17:46:50 +00:00
Zoltan Herpai
6f3abd92c5 sunxi: enable AXP209 regulator
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42634
2014-09-21 17:45:20 +00:00
Zoltan Herpai
9ce5977184 modules: fix typo in package description define
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42633
2014-09-21 16:42:30 +00:00
Zoltan Herpai
aa0848bba2 sunxi: add sunxi-ir module
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42631
2014-09-21 16:28:06 +00:00
Zoltan Herpai
e6d53c1366 sunxi: add support for infra receiver on A20, along with IR-related backports from 3.15
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42630
2014-09-21 16:25:45 +00:00
Zoltan Herpai
e02dd2f19c kernel: add missing symbols for 3.14
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42629
2014-09-21 16:24:28 +00:00
Zoltan Herpai
cc60fad010 sunxi: remove 3.13 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42628
2014-09-21 15:42:36 +00:00
Zoltan Herpai
c54e245b3f packages: enable AP mode on r8188eu
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42627
2014-09-21 12:24:42 +00:00
Felix Fietkau
c4fb88720e toolchain: remove another bogus copy of libiberty.a
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42624
2014-09-20 11:11:48 +00:00
Jo-Philipp Wich
68147004e2 firewall: allow '*' as synonym for any / all in family and proto options
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 42620
2014-09-19 18:18:58 +00:00
John Crispin
d4cc995c53 ramips: D-Link DIR-810L. Add support for SoC 2.4 GHz wireless and fix leds naming
SVN-Revision: 42619
2014-09-19 11:07:08 +00:00
John Crispin
d731d14362 lantiq: set 3.14 as default
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42618
2014-09-19 10:52:47 +00:00
John Crispin
4ef1237545 ralink: drop dwc_otg support. dwc2 seems stable
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 42617
2014-09-19 10:52:37 +00:00
Zoltan Herpai
3dc7dc9cde sunxi: update gmac with adding correct regulators on bananapi
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42616
2014-09-19 00:13:49 +00:00
Zoltan Herpai
384ef8ece1 sunxi: backport late clock fixes from 3.15
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42615
2014-09-19 00:12:53 +00:00
Steven Barth
aba8e9ceef netfilter: fix a typo in TTL-match module
SVN-Revision: 42611
2014-09-18 14:53:26 +00:00
Jo-Philipp Wich
36e2179c10 firewall: fix heap corruption in fw3_bitlen2netmask() with IPv6 addresses
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 42610
2014-09-18 12:05:12 +00:00
Jo-Philipp Wich
2490007142 script/remote-gdb: enable and keep command history
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 42609
2014-09-18 09:29:44 +00:00
Zoltan Herpai
3a22a37f1a sunxi: update dts for pcduino3 and bananapi with regulators
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42608
2014-09-17 23:45:08 +00:00
Zoltan Herpai
46d7c59487 sunxi: add usb ohci support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42607
2014-09-17 23:34:10 +00:00
Zoltan Herpai
240f04765f sunxi: add default interface for bananaPi
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42606
2014-09-17 23:15:30 +00:00
Zoltan Herpai
4aafe1bc4d sunxi: add missing symbol for arch timer
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 42605
2014-09-17 23:12:50 +00:00
Jo-Philipp Wich
cbf50a0ffd firewall: fix invalid memory access when processing /128 IPv6 addresses from ubus, properly emit REDIRECT rules for local port forwards
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 42604
2014-09-17 22:09:52 +00:00
Rafał Miłecki
da74f722e1 kernel: fix backport of bcma init patch
Upstream bcma patch:
bcma: use separated function to initialize bus on SoC
was backported incompletely. I missed arch code change.

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

SVN-Revision: 42603
2014-09-17 21:25:36 +00:00
Steven Barth
5b3f0d98df netfilter: some more dependency hell fixes
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 42602
2014-09-17 15:04:30 +00:00
Steven Barth
5d501f9aa0 netfilter: fix dependencies of kmod-ipt-nat6
SVN-Revision: 42601
2014-09-17 15:01:16 +00:00
Nicolas Thill
508c9de93e netfilter: add missing symbol to disable nft_queue
Signed-off-by: Nicolas Thill <nico@openwrt.org>

SVN-Revision: 42600
2014-09-17 14:28:05 +00:00
Steven Barth
0e0efd4771 netfilter: remove redundant CONFIG_IP_NF_IPTABLES
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 42599
2014-09-17 12:17:01 +00:00
Steven Barth
72e6e0b85b nftables: introduce experimental nftables
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 42598
2014-09-17 12:11:06 +00:00
Steven Barth
2f7d8539bd libnftnl: Add nftables libnftnl
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 42597
2014-09-17 12:10:57 +00:00
Steven Barth
e4e5c31f87 Reorganize netfilter kernel modules and package nftables kernel support
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 42596
2014-09-17 12:10:44 +00:00
Felix Fietkau
9a30ee9c2c ubus: update to latest version, adds various fixes and improvements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42594
2014-09-17 11:34:16 +00:00
Jo-Philipp Wich
057e518224 sdk: predefine kernel version magic
Kernel modules which are built using the SDK do not have access
to the .vermagic file in the Linux build dir, therefore the
generated .ipk metadata depends on kernel versions like
'3.10.49-1-unknown' which are not satisfiable by the kernel
meta package in the image.

Fix this problem by substituting 'unknown' with the current
version magic in include/kernel.mk when packing the SDK.

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

SVN-Revision: 42590
2014-09-17 10:25:47 +00:00