aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* kernel: fix regression in backtrace module info change (#19631)Felix Fietkau2015-05-102-26/+22
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45665 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: add pcie support to ipq806x based platformsFelix Fietkau2015-05-1012-23/+2662
| | | | | | | | | | | | | | This change adds PCIe support to IPQ806x based platforms. The driver is actually cherry-picked from the following LKML thread: *https://lwn.net/Articles/643086/ (patches 110-111) We also add here an additional fix to support multiple PCI controllers on the same platform (patch 112), and to patch the ap148 & dbs149 DTS files (patch 113). Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45663 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: add support for zImage kernelFelix Fietkau2015-05-103-3/+5
| | | | | | | | | | | | | | | This change enable zImage+appended dtb support in ipq806x kernel options. The zImage will now be generated as part of the kernel binaries. Platforms which do not have DT support enabled in U-boot can now make use of it by generating zImage files and appending dtb to it. It is not used yet but it is done as a stepping stone for early IPQ806x platforms, which did not include DT support in U-boot. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45662 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: fix boot freeze on zImage kernelFelix Fietkau2015-05-102-0/+144
| | | | | | | | | | | | | | | | | | | | | | | ARCH_QCOM is using the ARCH_MULTIPLATFORM option, as now recommended on most ARM architectures. This automatically calculate ZRELADDR by masking PHYS_OFFSET with 0xf8000000. On IPQ806x though, the first ~20MB of RAM is reserved for the hardware. In newer bootloader, when DT is used, this is not a problem, we just reserve this memory in the device tree. But if the bootloader doesn't have DT support, then ATAGS have to be used. In this case, the ARM decompressor will position the kernel in this low mem, which will not be in the RAM section mapped by the bootloader, which means the kernel will freeze in the middle of the boot process trying to map the memory. As a work around, this patch allows disabling AUTO_ZRELADDR when ARCH_QCOM is selected. It makes the zImage usage possible on bootloaders which don't support device-tree, which is the case on certain early IPQ806x based designs. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45661 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add CRYPTO_DEV_QCE option to default configFelix Fietkau2015-05-102-0/+2
| | | | | | | | | | This option has been added in kernel 3.17. It shows-up only when both ARCH_QCOM and CRYPTO are enabled. So we'll disable these two by default to avoid stalling the build when these conditions are met. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45658 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add status led found on ew-dorin boardsLuka Perkov2015-05-102-1/+10
| | | | | | Signed-off-by: Catrinel Catrinescu <cc@80211.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45656 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: when KALLSYMS is disabled, print module address + size for matching ↵Felix Fietkau2015-05-102-0/+76
| | | | | | | | backtrace entries Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45655 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix pppoe disconnect issuesFelix Fietkau2015-05-093-0/+143
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45653 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport first bcma patches from 4.2Rafał Miłecki2015-05-094-34/+74
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45652 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add accidentally left out fib trie backport patchFelix Fietkau2015-05-081-0/+52
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45650 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: refresh patchesLuka Perkov2015-05-081-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45648 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: add support for the Seagate GoflexHomeLuka Perkov2015-05-087-0/+167
| | | | | | | | Add Support for the Seagate GoflexHome <http://wiki.openwrt.org/toh/seagate/goflexhome> Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45647 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: allow mktplinkfw calls from the new image code to fail (because of ↵Felix Fietkau2015-05-081-3/+2
| | | | | | | | oversized images) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45646 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: allow tp-link initramfs images to exceed size limitsFelix Fietkau2015-05-081-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45645 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: move TPLINK-LZMA image to new build codeFelix Fietkau2015-05-081-66/+361
| | | | | | | | | | | There are 2 images missing: TLWR2543 TLWR1043V2 which have special properties. v2: set correct DEVICE_PROFILES for all images. v2: migrate TP-LINK TL-WR710N v2 which was committed after v1. v2: split very very long line `TARGET_DEVICES +=` into smaller parts Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45643 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: do general formatting on wnr2000-v4Felix Fietkau2015-05-081-43/+52
| | | | | | Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45640 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix spelling, add copyright on wnr2000-v4Felix Fietkau2015-05-081-2/+3
| | | | | | Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45639 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for Green WAN LED on wnr2000-v4Felix Fietkau2015-05-081-0/+4
| | | | | | Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45638 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for green LAN LEDS for wnr2000-v4Felix Fietkau2015-05-081-8/+40
| | | | | | Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45637 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix amber WAN LED setting for wnr2000-v4Felix Fietkau2015-05-081-1/+1
| | | | | | Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45636 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: make WLAN button RFKILL on wnr2000-v4Felix Fietkau2015-05-081-1/+1
| | | | | | | | | Users will now be provided with the inherent wifi toggle functionality of /etc/rc.button/rfkill Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45635 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: set all buttons to be active_low on wnr2000-v4Felix Fietkau2015-05-081-0/+3
| | | | | | | | | Originally pressing a button would trigger a release state and vice-versa, as observed from hotplug.d. Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45634 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix ethernet on wnr2000-v4Felix Fietkau2015-05-081-22/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Most people report broken ethernet with upstream. Last year, user "franz.flasch" authored a working mach-file. His patch is outdated so I modernized it. Original patch and user commentary on page 1: https://forum.openwrt.org/viewtopic.php?pid=260861#p260861 I have figured out what the critical differences are between the two that caused upstream ethernet to break. 1) Both ath79_init_mac() functions calls must be invocated before any GMAC init 2) must init GMAC0 before GMAC1 That was enough to get upstream to function, but I wanted to enjoy my confidence having tested franz's patch for a week sucessfully, so I put his whole function in, which only features more differences in order of function calls. An expert should consider these changes, which could pose potential bugs/issues: 1) No longer using the flag AR934X_ETH_CFG_SW_PHY_SWAP in the ath79_setup_ar934x_eth_cfg() call. 2) Possible consequence of no longer explicitly setting ethernet duplex/speed. Review: With this patch, my ethernet and wireless works. Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45633 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: track the correct WAN interface on wnr2000-v4Felix Fietkau2015-05-081-1/+1
| | | | | | Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45632 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix LAN portmasks on wnr2000-v4Felix Fietkau2015-05-081-4/+4
| | | | | | Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45631 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: use a common naming scheme for LEDS on wnr2000-v4Felix Fietkau2015-05-082-16/+16
| | | | | | | | | It is common that the router provider be used rather than product name. One can see this in target/linux/ar71xx/base-files/etc/uci-defaults/01_leds Signed-off-by: Michael J. Bazzinotti <mbazzinotti@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45630 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add xhci phy supportImre Kaloz2015-05-082-0/+94
| | | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45629 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: make art partition read only on 16MB ew-dorin boardLuka Perkov2015-05-081-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45627 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix 82_patch_ath10kFelix Fietkau2015-05-081-2/+2
| | | | | | | | It has been broken since the new ath10k firmware introduced in r44656. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45624 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport upstream usbnet fix (fixes #19455)Felix Fietkau2015-05-061-0/+107
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45621 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix regression in NVRAM support for WGT634URafał Miłecki2015-05-062-4/+4
| | | | | | | | | | We were calculating wrong offset, NVRAM wasn't found and OpenWrt didn't boot. Fixes: 9019803 ("brcm47xx: backport BCM47XX arch patches (clean NVRAM code, later init)") Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45618 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic/4.0: update to 4.0.1Imre Kaloz2015-05-031-6/+6
| | | | | | | | | | | Also refresh one patch. Signed-off-by: Daniel Golle <daniel@makrotopia.org> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45601 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc85xx: replace WDR4900 uci-defaults ethernet MAC address hack with DTS entryImre Kaloz2015-05-032-3/+2
| | | | | | | | | | | This also changes the MAC address to one of the adresses actually used by the stock firmware on one of the ethernet interfaces. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45599 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc85xx: gianfar: add mtd-mac-address supportImre Kaloz2015-05-031-0/+19
| | | | | | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45598 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mpc85xx: move newly created files from patch files to files directoryImre Kaloz2015-05-035-585/+525
| | | | | | | | | | This will make these files much more maintainable. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45597 3c298f89-4303-0410-b956-a3cf2f4a3e73
* The ability to read MAC addresses from MTD is useful for other targets besidesImre Kaloz2015-05-032-4/+2
| | | | | | | | | | ramips and lantiq as well. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45596 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix leds and gpio on wpj344Luka Perkov2015-04-291-15/+13
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45589 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix sysupgrade for compex-wpj344Luka Perkov2015-04-291-1/+1
| | | | | | | | Moved board to the right magic case. Signed-off-by: Christian Mehlis <christian@m3hlis.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45588 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: disable INET_LRO by defaultJonas Gorski2015-04-286-6/+0
| | | | | | | | | | | | INET_LRO deprecated and there are exactly two drivers using it, neither being included in any of the targets enabling INET_LRO. At the same time both drivers needing it select it. So just disable it for everyone. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45584 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix bcm6348 ext irqc compatible nameJonas Gorski2015-04-271-1/+1
| | | | | | | | | This was a remnant of an old version. Reported-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45583 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix bcm3368.dtsi typo.Jonas Gorski2015-04-271-2/+2
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45582 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sdk: filter out CONFIG_SIGNED_PACKAGES for generated configFelix Fietkau2015-04-251-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45581 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: implement RENAME_EXCHANGE support for jffs2 - overlayfs requires itFelix Fietkau2015-04-252-0/+116
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45580 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: sort ports from NVRAM entries before matching themRafał Miłecki2015-04-241-5/+7
| | | | | | | | Some devices have unsorted ports which may lead to broken config. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45575 3c298f89-4303-0410-b956-a3cf2f4a3e73
* netlogic: copy initramfs image to $(BIN_DIR)Florian Fainelli2015-04-231-0/+4
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45574 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport rest of bgmac patches to 4.0Rafał Miłecki2015-04-2311-0/+824
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45573 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport few bgmac patches to 4.0Rafał Miłecki2015-04-235-39/+605
| | | | | | | | | I still need to test following patch before backporting: bgmac: leave interrupts disabled as long as there is work to do Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45571 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add patches for kernel 4.0Rafał Miłecki2015-04-2332-0/+3562
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45570 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic/4.0: bump to final versionImre Kaloz2015-04-221-2/+2
| | | | | | | | | | | Linux 4.0 was released on 2014-04-12 Signed-off-by: Daniel Golle <daniel@makrotopia.org> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45559 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix leds bcm963269bhrJonas Gorski2015-04-211-4/+4
| | | | | | | | Fix the led naming and gpios. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45558 3c298f89-4303-0410-b956-a3cf2f4a3e73