Commit Graph

31396 Commits (200e1d786d1cdd816cdf6f17e6933319c04a3ed3)

Author SHA1 Message Date
Felix Fietkau 200e1d786d 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-23 10:19:58 +00:00
Felix Fietkau 849e774cd2 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-23 10:18:38 +00:00
Zoltan HERPAI b45b9e2f46 mxs: remove 3.13
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-23 06:42:29 +00:00
Zoltan HERPAI 5097d4e459 mxs: disable mmc debugging
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-23 06:38:58 +00:00
Rafał Miłecki 880a3d2799 bcm53xx: image: use IMG_PREFIX for chk images
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-22 18:11:09 +00:00
Steven Barth 7050d8130b dnsmasq: fix lockup when interfaces disappear
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-22 12:07:20 +00:00
Rafał Miłecki cc56566e29 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-22 09:16:20 +00:00
Rafał Miłecki 85fbc8df3c bcm53xx: image: document arguments of various functions
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-22 08:37:18 +00:00
Rafał Miłecki fc42765c6b bcm53xx: image: rework Makefile and merge some functions
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-22 08:04:26 +00:00
Zoltan HERPAI 84f61f28e7 sunxi: enable GPIO_SYSFS
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-22 06:15:45 +00:00
Hauke Mehrtens 829584f1a6 bcm53xx: activate vfpv3 support
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 21:58:29 +00:00
Hauke Mehrtens 6c0d0e04ed bcm53xx: add nand flash driver
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 21:58:02 +00:00
Hauke Mehrtens e04bca5315 bcm53xx: update patches adding bcma support
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 21:57:17 +00:00
Hauke Mehrtens d36def3f4e 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 21:56:31 +00:00
Rafał Miłecki 1683576ed0 bcm53xx: add support for GPIOs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 21:18:30 +00:00
Rafał Miłecki 93ba0ae51f bcm53xx: rename console fixing patch
This squeezes BCM5301X patches.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 21:02:38 +00:00
Zoltan HERPAI cc5d855f30 sunxi: add AXP209 to pcDuino3
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 20:31:18 +00:00
Zoltan HERPAI 10354ca6e7 sunxi: enable AXP209 on BananaPi as well
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 17:46:50 +00:00
Zoltan HERPAI 95302a2e8e sunxi: enable AXP209 regulator
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 17:45:20 +00:00
Zoltan HERPAI 3a34450692 modules: fix typo in package description define
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 16:42:30 +00:00
Zoltan HERPAI a28b6e0d96 sunxi: add sunxi-ir module
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 16:28:06 +00:00
Zoltan HERPAI 101af46ba0 sunxi: add support for infra receiver on A20, along with IR-related backports from 3.15
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 16:25:45 +00:00
Zoltan HERPAI 835de3d421 kernel: add missing symbols for 3.14
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 16:24:28 +00:00
Zoltan HERPAI dcbfc72a88 sunxi: remove 3.13 support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 15:42:36 +00:00
Zoltan HERPAI ac57ee3293 packages: enable AP mode on r8188eu
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-21 12:24:42 +00:00
Felix Fietkau b28b4fb0af toolchain: remove another bogus copy of libiberty.a
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-20 11:11:48 +00:00
Jo-Philipp Wich 82ba2ad017 firewall: allow '*' as synonym for any / all in family and proto options
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-19 18:18:58 +00:00
John Crispin 9d4a086a64 ramips: D-Link DIR-810L. Add support for SoC 2.4 GHz wireless and fix leds naming
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-19 11:07:08 +00:00
John Crispin 76b4032fe0 lantiq: set 3.14 as default
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-19 10:52:47 +00:00
John Crispin ea10c39f14 ralink: drop dwc_otg support. dwc2 seems stable
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-19 10:52:37 +00:00
Zoltan HERPAI 94f0028725 sunxi: update gmac with adding correct regulators on bananapi
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-19 00:13:49 +00:00
Zoltan HERPAI 914948ebaa sunxi: backport late clock fixes from 3.15
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-19 00:12:53 +00:00
Steven Barth 297462e03c netfilter: fix a typo in TTL-match module
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-18 14:53:26 +00:00
Jo-Philipp Wich 17a3d853e9 firewall: fix heap corruption in fw3_bitlen2netmask() with IPv6 addresses
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-18 12:05:12 +00:00
Jo-Philipp Wich 10e649119b script/remote-gdb: enable and keep command history
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42609 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-18 09:29:44 +00:00
Zoltan HERPAI 665f30a1df sunxi: update dts for pcduino3 and bananapi with regulators
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 23:45:08 +00:00
Zoltan HERPAI 04a55c31d2 sunxi: add usb ohci support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 23:34:10 +00:00
Zoltan HERPAI 45cafa800f sunxi: add default interface for bananaPi
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 23:15:30 +00:00
Zoltan HERPAI a98d24e6e8 sunxi: add missing symbol for arch timer
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 23:12:50 +00:00
Jo-Philipp Wich 09bc1aee9e 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 22:09:52 +00:00
Rafał Miłecki 3421f4b3b6 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 21:25:36 +00:00
Steven Barth 73985d24f2 netfilter: some more dependency hell fixes
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 15:04:30 +00:00
Steven Barth a8ac72608b netfilter: fix dependencies of kmod-ipt-nat6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 15:01:16 +00:00
Nicolas Thill 7b3e5e9192 netfilter: add missing symbol to disable nft_queue
Signed-off-by: Nicolas Thill <nico@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 14:28:05 +00:00
Steven Barth 01e854cdc3 netfilter: remove redundant CONFIG_IP_NF_IPTABLES
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 12:17:01 +00:00
Steven Barth 82230772a1 nftables: introduce experimental nftables
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 12:11:06 +00:00
Steven Barth 73c1110ff3 libnftnl: Add nftables libnftnl
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 12:10:57 +00:00
Steven Barth 6aa8fc2901 Reorganize netfilter kernel modules and package nftables kernel support
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 12:10:44 +00:00
Felix Fietkau 7e44d7d94e ubus: update to latest version, adds various fixes and improvements
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42594 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 11:34:16 +00:00
Jo-Philipp Wich dfbf70b43d 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-17 10:25:47 +00:00