aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* kernel: fq_codel match flows_cnt to limit sizingKevin Darbyshire-Bryant2016-05-123-6/+12
| | | | | | | | | | | | | | | | | | OpenWRT changed the default fq_codel sch->limit from 10240 to 1024, without also adjusting q->flows_cnt. Eric Dumazet explains below that you must also adjust the buckets (q->flows_cnt) for this not to break. Eric explains: Limit of 1024 packets and 1024 flows is not wise I think. (If all buckets are in use, each bucket has a virtual queue of 1 packet, which is almost the same than having no queue at all) I suggest to have at least 8 packets per bucket, to let Codel have a chance to trigger. So you could either reduce number of buckets to 128 (if memory is tight), or increase limit to 8192. flows_cnt is now set to 1024/8=128 Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* ramips: add initial support for SamKnows SK-WB8Andrew Yong2016-05-129-0/+169
| | | | Signed-off-by: Andrew Yong <me@ndoo.sg>
* ramips: DTS reworkStanislav Galabov2016-05-12196-9852/+9599
| | | | | | | | Add node aliases to dtsi files. Reword dts files so they're more in-line with upstream. Fix some more warnings and errors reported by dtc Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
* kernel: move the old gpio watchdog driver from generic to brcm47xxFelix Fietkau2016-05-124-2/+0
| | | | | | brcm47xx is the only user Signed-off-by: Felix Fietkau <nbd@nbd.name>
* gemini: delete 3.18 supportFelix Fietkau2016-05-1215-6045/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* bcm53xx: delete old kernel versionsFelix Fietkau2016-05-12137-18387/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mxs: delete old kernel versionsFelix Fietkau2016-05-1210-4475/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* sunxi: delete old kernel versionsFelix Fietkau2016-05-1283-18234/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* oxnas: delete linux 4.1 supportFelix Fietkau2016-05-1215-831/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: remove defunct etherboot image building codeFelix Fietkau2016-05-121-7/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: remove obsolete Config.in fileFelix Fietkau2016-05-121-14/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: remove rdc specific kernel patchFelix Fietkau2016-05-121-11/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: remove legacy script/makefile code for rdc devicesFelix Fietkau2016-05-123-85/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: remove obsolete modules.mkFelix Fietkau2016-05-121-22/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86/xen_domu: enable xen drivers in the kernel config instead of packaging ↵Felix Fietkau2016-05-121-8/+17
| | | | | | them as modules Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: enable grub at_keyboard support for x86_64Felix Fietkau2016-05-121-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: remove the kvm_guest subtargetFelix Fietkau2016-05-124-156/+1
| | | | | | | 32-bit only hardware that supports kvm is very rare. It's not worth keeping a separate subtarget for this. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86/64: add more hardware RNG drivers, including for virtioFelix Fietkau2016-05-121-1/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86/64: enable virtualization support for spinlocks to improve kvm performanceFelix Fietkau2016-05-121-6/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: remove maintainer override for x86_64Felix Fietkau2016-05-121-1/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* x86: remove the ep80579 subtarget, it has been unmaintained for a long timeFelix Fietkau2016-05-123-23/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add workaround to rebuild vdso-n32.so.dbg tooJo-Philipp Wich2016-05-121-0/+9
| | | | | | | | | | | | | | | | | | Building for octeon fails with 'arch/mips/vdso/vdso-n32.so.dbg' already contains a '.MIPS.abiflags' section if the file already exists from a prior build. Use the same workaround as the one for vdso.so.dbg committed in 9eb155353a5f5137ec85a5b5b0287af63c544710. Commit 91f205acaf2a44ae75418d2f2cb156149f0df8ae extended the workaround to cover vdso-o32.so.dbg but missed the vdso-n32.so.dbg which is added now by this change. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* kernel: update kernel 4.4 to version 4.4.10Álvaro Fernández Rojas2016-05-113-34/+8
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: remove linux 4.3 configÁlvaro Fernández Rojas2016-05-111-4942/+0
| | | | | | When linux 4.3 support was removed the config was left. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ramips: fix DTB generationJohn Crispin2016-05-101-1/+1
| | | | | | using preprocessor style includes when calling dtc directly. Signed-off-by: John Crispin <john@phrozen.org>
* ramips: Change all '/include/' clauses to '#include' so preprocessing canStanislav Galabov2016-05-10175-176/+176
| | | | | | be done properly for the entire device trees. Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
* ramips: Add hex prefix (0x) to dtsi reg properties where needed.Stanislav Galabov2016-05-109-29/+29
| | | | Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
* ramips: introduce serial0 aliasesStanislav Galabov2016-05-1010-10/+32
| | | | | | | This patch introduces serial0 aliases in the ramips DTS files, which can then be used to denote the active console instead of relying on bootargs. Signed-off-by: Stanislav Galabov <sgalabov@gmail.com>
* kernel: update kernel 4.4 to version 4.4.9Álvaro Fernández Rojas2016-05-10107-920/+246
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm47xx: fix wgt634u port assignment, broken since openwrt r47866Russell Senior2016-05-101-1/+1
| | | | Signed-off-by: Russell Senior <russell@personaltelco.net>
* ramips: mt7620: [UPSTREAM] fix USB frequency scalingD. Andrei Măceș2016-05-101-0/+33
| | | | | | | The logic for the SoC check got inverted. We need to check if it's not a MT76x8. Signed-off-by: D. Andrei Măceș <dmaces@nd.edu>
* ramips: Fix alphabetical sorting for 02_networkVittorio Gambaletta (VittGam)2016-05-101-11/+11
| | | | Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
* ramips: Don't use a VLAN for the single ethernet port of the A5-V11.Vittorio Gambaletta (VittGam)2016-05-101-5/+2
| | | | | | | | | | This router only has one ethernet port, so a VLAN is useless here, now that the rt3050 TCP bug that happened without VLANs has been fixed for a very long time. Add this router to the VLAN-less config that is used by other single-port routers. Also fix MAC address detection code since this router has no WAN port. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
* ramips: Fix network for routers without VLANs on eth0.Vittorio Gambaletta (VittGam)2016-05-101-6/+2
| | | | | | | | | | | | | | Some routers only have one port, so eth0 is used without VLANs for them. Revision r47720 introduced some changes, but wrongly confused "enable" with "reset". VLANs need to be disabled for those routers, and the switch may be reset. Fix this, by explicitly disabling VLANs instead of resetting the switch for these routers. Also merge duplicate configuration for the "m2m". Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
* ramips: Drop hacky switch workaround for failsafe on rt3x5x and rt5350.blogic2016-05-101-28/+9
| | | | | | | | | | | | The new rt3050 switch driver doesn't have problems with TCP when not using VLANs. This piece of code also broke failsafe for all routers where the LAN port is not wired to port 0 of the internal switch. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 49293
* ramips: Disable all ethernet ports except port 0 on A5-V11.blogic2016-05-101-1/+2
| | | | | | | | | Port 0 is the only ethernet port on this router, so disable all other PHYs in order to save power. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 49292
* ramips: Disable all ethernet ports except port 4 on HT-TM02.blogic2016-05-101-0/+1
| | | | | | | | | Port 4 is the only ethernet port on this router, so disable all other PHYs in order to save power. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 49291
* ramips: Get rt3050 ethernet ports to be disabled from the device tree.blogic2016-05-101-0/+81
| | | | | | | | | | | | | | | This patch allows configuring ports to be disabled in the device tree; this saves power, since disabling ports here actually disables power to ethernet PHYs. Line 444 enables all ethernet ports, so line 487 is getting zero ports to be disabled, except for port 5 in SoCs where this is not implemented as it will be sticky disabled in register POC0. Because of this, the code will still read the switch configuration and OR it to the device tree setting. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 49290
* ramips: Fix comment in rt3050 ethernet switch driver.blogic2016-05-101-0/+24
| | | | | | | | | | | | Line 444 is actually enabling all switch ports by setting the disable bits to 0. This needs to be done because the bootloader sets all ports to disabled by default (which is the case for at least one router based on RT5350). So, this patch fixes the comment in line 443. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 49289
* ramips: Fix documentation for the rt3050 switch driver.blogic2016-05-101-0/+23
| | | | | | | | The prefix used in the driver is now "mediatek" instead of "ralink". Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 49288
* ramips: Fix multicast ICMPv6 for the rt3050 ethernet switch.blogic2016-05-101-0/+26
| | | | | | | | | | | | | | | | | | The FCT2 esw register should be set to 0x2500C to have "unknown IPv6 multicast" packets broadcasted to every port, instead of dropped. The previous value only let those packets go through ports 1 and 3. "Unknown IPv6 multicast" packets include packets needed by ICMPv6 echo requests addressed to well-known addresses, such as ff02::1 (MAC address is 33:33:00:00:00:01 in this case). Please note that by default ICMPv6 echo requests to ff02::1 are not replied to by the router because of ip6tables considering those packets to be invalid. But this is another bug/patch. ;) Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 49287
* ar71xx: add TP-Link TL-WR810N supportblogic2016-05-1012-0/+174
| | | | | | | | | This patch adds support for the TP-Link TL-WR810N. https://wiki.openwrt.org/toh/tp-link/tl-wr810n Signed-off-by: Jens Steinhauser <jens.steinhauser@gmail.com> SVN-Revision: 49286
* lantiq: VGV7510KW22BRN - set the phy clock sourceblogic2016-05-101-0/+6
| | | | | | | | | | | | | VGV7510KW2 with VRX288 v1.2 has brnboot 1.8 installed. Starting with this brnboot version, the "GPHY Clock Source" isn't set anymore by brnboot, with the result that xrx200-net fails to probe/initialize the phys. Use the phy clock source device tree binding to specify the clock source. Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49284
* lantiq: add device tree binding for the phy clock sourceblogic2016-05-101-0/+30
| | | | | | Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49283
* lantiq: VGV7510KW22BRN - support dual-imageblogic2016-05-101-1/+4
| | | | | | Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49282
* lantiq: handle the dual-firmware layout of brnbootblogic2016-05-101-0/+93
| | | | | | | | | | | | | | | | | brnboot based devices can have two Image partitions. When flashing images via the brnboot recovery web interface, the Image partitions are written alternating. The current active Image partition is stored in the first byte of the Primary_Setting partition by using 0x00 for Code_Image_0 and 0x01 for Code_Image_1. By using the information about the active "Code Image", it is possible to ensure that the rootfs belongs to the current booted Image/Kernel. Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49281
* lantiq: move partitions into partion table nodeblogic2016-05-1042-1006/+1253
| | | | | | | | | | Starting with kernel 4.4, the use of partitions as direct subnodes of the mtd device is discouraged and only supported for backward compatiblity reasons. Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49280
* lantiq: use sysupgrade.bin postfix for tplink imagesblogic2016-05-101-3/+4
| | | | | | | | | | | | Use the same name for TP-Link images as it was with the old image build code. Move the BOARD_ID export to the TP-Link image build recipe, to indicate that the variable is only related in this context. Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49279
* lantiq: VG3503J - use the same PHY led functionality as the OEM firmwareblogic2016-05-101-8/+8
| | | | | | | | | | | | | Based on the vg3503j_gphy_led.sh script published in the VG3503J wiki article, the OEM Firmware uses the following PHY led functionality: gphy led 0: LINK/ACTIVITY gphy led 1: LINK gphy led 2: ACTIVITY Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 49278
* ar71xx: Fix eth0 support for Ubiquiti UniFi AP ACblogic2016-05-101-0/+1
| | | | | | | Fix eth0 support for the Ubiquiti UniFi AP AC Signed-off-by: Paul Wassi <p.wassi at gmx.at> SVN-Revision: 49277