aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* lantiq: Use platform endianness when accessing dwc2 registersJohn Crispin2015-03-111-0/+3184
| | | | | | | | | | | | | | | | | | | | This patch switches calls to readl/writel to their dwc2_readl/dwc2_writel equivalents which preserve platform endianness. This patch is necessary to access dwc2 registers correctly on big endian systems such as the mips based SoCs made by Lantiq. Then dwc2 can be used to replace ifx-hcd driver for Lantiq platforms found e.g. in OpenWrt. The patch was autogenerated with the following commands: $EDITOR core.h sed -i "s/\<readl\>/dwc2_readl/g" *.c hcd.h hw.h sed -i "s/\<writel\>/dwc2_writel/g" *.c hcd.h hw.h Signed-off-by: Antti Seppälä <a.seppala@gmail.com> Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44675 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Add sensible hw-defaults for dwc2John Crispin2015-03-111-0/+45
| | | | | | | | | | | Lantiq driver does not work with autodetected fifo sizes so use ones from original ltq-hcd driver in dwc2. Other values can be autodetected. Signed-off-by: Antti Seppälä <a.seppala@gmail.com> Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44674 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Configure gpio power output pin when initializing dwc2 usbJohn Crispin2015-03-111-0/+35
| | | | | | | | | Port gpio code from original ltq-hcd driver to dwc2. Signed-off-by: Antti Seppälä <a.seppala@gmail.com> Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44673 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Add usb initialization bits from ltq-hcd to platform initJohn Crispin2015-03-111-0/+95
| | | | | | | | | | | | | | Add VR9 specific usb initialization bits from ltq-hcd to platform initialization. This patch is more of a proof-of-concept than production quality since the initialization registers are different on other lantiq platforms. Signed-off-by: Antti Seppälä <a.seppala@gmail.com> Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44672 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipset: Bump to 6.24John Crispin2015-03-112-30/+2
| | | | | | | | | Included you'll find a patch to bump ipset to version 6.24. This version supports the ip,fwmark set, which is needed for mwan3 1.6. Signed-off-by: Jeroen Louwes <jeroen.louwes@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44671 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add missing header fileFelix Fietkau2015-03-111-0/+37
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44670 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: remove obsolete patchesFelix Fietkau2015-03-112-43/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44669 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cobalt: rename config fileJohn Crispin2015-03-111-0/+0
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44668 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rpcd: update to latest git HEADJohn Crispin2015-03-111-1/+1
| | | | | | | | adds 3 fixes from luka Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44666 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: improve WD's My Net Wi-fi Range Extender image creationJohn Crispin2015-03-112-3/+13
| | | | | | | | | | | | | Previously, the generated images for the My Net Wi-fi Range Extender wouldn't always work (and panic) due to the fixed mtd offsets and sizes for the kernel and rootfs. This patch fixes the problem by utilizing the shared Cybertan's partition parser to recalculate the mtd partitions for every image dynamically everytime. Reported-by: Pascal Paradis <peparadis@yahoo.com> Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44665 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: generalize cybertan partition parserJohn Crispin2015-03-111-6/+0
| | | | | | | | | | By removing the NL16 signature check, the parser can be utilized by other devices like the WD My Net Wi-fi Range Extender. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44664 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rename wrt160nl's trx partition parserJohn Crispin2015-03-118-33/+33
| | | | | | | | | This patch renames the partition parser from wrt160nl to more generic cybertan. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44663 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix WRT160NL and TP-Link partition parser patchesJohn Crispin2015-03-114-20/+2
| | | | | | | | | | | 405-mtd-tp-link-partition-parser.patch was updating the WRT160NL's partition parser Kconfig. This patch moves the relevant change into the right file: 404-mtd-wrt160nl-trx-parser.patch Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44662 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: FireWRT flash size is up to 16M.John Crispin2015-03-111-1/+1
| | | | | | Signed-off-by: wengbj <fl.service@t-firefly.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44661 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add FireWRT IO multiplexingJohn Crispin2015-03-111-0/+8
| | | | | | Signed-off-by: wengbj <fl.service@t-firefly.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44660 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix switched WLAN LEDs on TP-LINK Archer C5/C7John Crispin2015-03-111-2/+8
| | | | | | | | ath10k is loaded before ath9k, so the 5GHz adapter becomes phy0. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44659 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix 3.18.8 breakage of UBI devices with EOF marker (e.g. WNDR4300)John Crispin2015-03-111-0/+51
| | | | | | | | | This commit re-adds a patch from 3.14 that is required for UBI block devices with an EOF marker to be successfully mounted. Signed-off-by: Oliver Smith <oliver@8.c.9.b.0.7.4.0.1.0.0.2.ip6.arpa> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44658 3c298f89-4303-0410-b956-a3cf2f4a3e73
* json-c: update to 0.12 and bump all depending servicesJohn Crispin2015-03-115-32/+59
| | | | | | | | Version 0.12 deprecates json_object_object_get and moves the header files around Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44657 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: Use newer firmware for ath10kFelix Fietkau2015-03-111-3/+3
| | | | | | | | Patch by Bryan Forbes <bryan@reigndropsfall.net> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44656 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: update to wireless-testing 2015-03-09Felix Fietkau2015-03-11113-2977/+2768
| | | | | | | | | | Based on patch by Bryan Forbes <bryan@reigndropsfall.net> Also update mt76 to update for API changes Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44655 3c298f89-4303-0410-b956-a3cf2f4a3e73
* iw: update to 3.17Felix Fietkau2015-03-114-373/+607
| | | | | | | | Patch by Bryan Forbes <bryan@reigndropsfall.net> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44654 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport an export required by newer compat-wireless versionsFelix Fietkau2015-03-111-0/+21
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44653 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ppc44x: use the mtdsplit framework for the TaishanImre Kaloz2015-03-114-23/+28
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44652 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: firstboot: pass down arguments such as -y to jffs2resetLuka Perkov2015-03-101-1/+1
| | | | | | | | This brings back old behavior. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44651 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix gpio-latch driverJohn Crispin2015-03-101-1/+2
| | | | | | | | gpio api has changed. the remove call no longer returns a value. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44650 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: refresh patchesLuka Perkov2015-03-105-9/+9
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44649 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: wpj588: add missing usb supportLuka Perkov2015-03-102-4/+8
| | | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> Tested-By: Christian Mehlis <christian@m3hlis.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44648 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Fix LED polarity for the TP-LINK TL-MR13U.John Crispin2015-03-101-1/+1
| | | | | | | | Please also backport to Barrier Breaker (this same patch applies there too). Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44647 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Fix board detection for the TP-LINK TL-MR13U.John Crispin2015-03-101-1/+1
| | | | | | Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44646 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix yaffs compile for >= v3.16John Crispin2015-03-103-0/+84
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44643 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add missing symbol that broke full buildsJohn Crispin2015-03-101-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44642 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: add missing symbol that broke full buildsJohn Crispin2015-03-101-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44641 3c298f89-4303-0410-b956-a3cf2f4a3e73
* au1000: build fails if the input layer is not selectedJohn Crispin2015-03-101-0/+28
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44640 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: add 2 missing symbols that broke a full buildJohn Crispin2015-03-101-0/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44639 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar7: register_mtd_parser() does no longer have a return valueJohn Crispin2015-03-101-1/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44638 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ppc44x: upgrade and switch to 3.18Imre Kaloz2015-03-104-5/+5
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44637 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6rd: make host dependency more specificSteven Barth2015-03-102-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44636 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 6in4: make host dependency more specificSteven Barth2015-03-102-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44635 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ebtables: revert "disable rpath" (closes: #19088)Nicolas Thill2015-03-092-31/+1
| | | | | | | | This reverts commit 9340723d70bce9d905c3f53b2bf415963153b34d. Signed-off-by: Nicolas Thill <nico@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44634 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kmod-usb-dwc2: depends on udc-core (kmod-usb-gadget)John Crispin2015-03-091-1/+1
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44633 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: ltq-ptm-{ar9, ase, xway}: fix alloc_netdev for 3.18John Crispin2015-03-091-1/+1
| | | | | | | | | | | | | buildbot complained about ifxmips_ptm_adsl.c:1445:70: error: macro "alloc_netdev" requires 4 arguments, but only 3 given g_net_dev[i] = alloc_netdev(0, g_net_dev_name[i], ether_setup); ^ fix that similar to the change made to ltq_ptm_vdsl.c compile tested only. Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44632 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ncm, qmi, mbim: Add dependency on wwan packageJohn Crispin2015-03-093-3/+3
| | | | | | | | | | The wwan package holds the hotplug script to set mobile broadband interfaces (un)available. Add it as a dependency to comgt-ncm, uqmi and umbim. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44631 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ncm: Remove unnecessary proto_set_available commandsJohn Crispin2015-03-091-5/+0
| | | | | | | | | Interface should not be set unavailable in all error cases, returning 1 is enough. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44630 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wwan: Improve USB modem hotplug scriptJohn Crispin2015-03-091-5/+7
| | | | | | | | | | Adds ncm proto to the list of checked protocols, sets interfaces unavailable on device removal and removes the unnecessary ifup command. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44629 3c298f89-4303-0410-b956-a3cf2f4a3e73
* comgt, wwan: Move USB data files to wwan packageJohn Crispin2015-03-09349-2/+2
| | | | | | | | | USB modem data files should be a part of the wwan package, which actually uses them unlike comgt. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44628 3c298f89-4303-0410-b956-a3cf2f4a3e73
* util-linux: fix pkgconfig filesNicolas Thill2015-03-091-0/+62
| | | | | | | | | Upstream choose to not rely on configure.ac and recursively expand paths in pkgconfig files at make time, leading to absolute /usr/include & /usr/lib in there... And we don't want that when cross-compiling... Signed-off-by: Nicolas Thill <nico@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44627 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: fix printing NAND controller revisionRafał Miłecki2015-03-072-2/+2
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44622 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add backported patch to reenable hw i/o coherencyImre Kaloz2015-03-061-0/+111
| | | | | | | | | Reported-by: Claudio Leite <leitec@staticky.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44621 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for compex wpj558Luka Perkov2015-03-069-4/+217
| | | | | | | | | | | | OpenWrt can be flashed with following uboot commands: tftpboot 0x80500000 openwrt-ar71xx-generic-wpj558-16M-squashfs-sysupgrade.bin erase 0x9f030000 +$filesize cp.b $fileaddr 0x9f030000 $filesize Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44620 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: improvements for DHCPv4 and compile fixesSteven Barth2015-03-061-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44619 3c298f89-4303-0410-b956-a3cf2f4a3e73