aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* ar71xx: check both HWID and HWREV on upgrades of TP-LINK devicesJohn Crispin2016-04-011-4/+12
| | | | | | | | | There's no reason for us to be more lenient than the stock firmware, so better check the HWREV as well to avoid bricked devices. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49105 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: move different subtarget image generation to separate makefiles to ↵John Crispin2016-04-018-935/+865
| | | | | | | | | | | | | | improve maintainability - all subtarget specific defines are in their own files - common defines left in main Makefile - each subtarget makefile idefed with SUBTARGET - all subtargets compile tested - few seems to be broken/unneeded things marked with FIXME Signed-off-by: Roman Yeryomin <roman@advem.lv> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49104 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: add brcmfmac43430-firmware-sdio for Rasberry Pi 3John Crispin2016-04-011-1/+1
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49103 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcmfmac43430-firmware: add new packageJohn Crispin2016-04-011-0/+61
| | | | | | | | This adds the firmware needed for the BCM43438 included in Raspberry Pi 3. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49102 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: WNR2200: enable control of all LEDs and buttonsJohn Crispin2016-04-012-36/+124
| | | | | | | | | This patch provides full GPIO support for WNR2200 (LEDs and buttons). It exposes all LEDs to operating system, including Ethernet ones. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49101 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: WNR2200: fix for random WLAN MACJohn Crispin2016-04-011-2/+37
| | | | | | | | | | Fix for invalid/random/duplicate WLAN MAC address in WNR2200. Permanent platform MAC is calculated and assigned during system startup. WLAN MAC follows wired Ethernet interface addresses. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49100 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add TL-WR841N/ND v11 supportJohn Crispin2016-04-011-1/+8
| | | | | | | | | | | | | | This patch adds support for the TP-Link TL-WR841N/ND to trunk. It is similar to the already supported v10 - see [1]. I have added support based on that topic; in the meantime it has been confirmed working (see the forum thread, and also [2]). Signed-off by Stijn Segers <francesco.borromini@inventati.org> [1]: https://forum.openwrt.org/viewtopic.php?id=61309 [2]: https://forum.openwrt.org/viewtopic.php?id=63657 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49099 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mediatek: update patchesJohn Crispin2016-04-0180-221/+2341
| | | | | | | | | | | | add fixes for * ethernet * cpufreq * nand * a7-timer Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49098 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 3.18 to version 3.18.29Rafał Miłecki2016-03-305-10/+10
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49096 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: improve USB 2.0 PHY support for BCM4709 and BCM47094Rafał Miłecki2016-03-301-0/+122
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49094 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: support USB 3.0 PHY on BCM4707 rev. 6 and BCM47094Rafał Miłecki2016-03-302-6/+8
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49091 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: simpify USB 3.0 PHY initializationRafał Miłecki2016-03-302-75/+24
| | | | | | | | We can use one code path for BCM4707 rev. 4 and BCM53018. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49090 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package: uboot-sunxi: various changesZoltan HERPAI2016-03-2925-210/+9835
| | | | | | | | | | | | | | - bump to 2016.03 - add bugfixes related to 2016.03 update - sync DTS files with mainline - add support for non-standard uEnv.txt - add initial support for Theobroma A31-yQ7 devboard Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49089 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-mvebu: add packageLuka Perkov2016-03-252-0/+102
| | | | | | | Signed-off-by: Andrej Vlasic <andrej.vlasic@sartura.hr> Signed-off-by: Vladimir Vid <vladimir.vid@sartura.hr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49088 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: cosmetic fix of alfa ap120c/ap96 orderingLuka Perkov2016-03-246-19/+19
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49086 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-envtools: add support for ap120cLuka Perkov2016-03-231-0/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49083 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for ap120cLuka Perkov2016-03-2310-2/+179
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49082 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: migrate tplink cpe510 to new build stepsJohn Crispin2016-03-231-48/+26
| | | | | | | | | cpe510: Tested sysupgrade and initramfs. Untested: webIf w/ factory.bin & recovery.bin Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49081 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: allow builds of loader without cmdline injectingJohn Crispin2016-03-231-3/+7
| | | | | | | | | | | | | On most platforms the cmdline is supplied by the loader to the kernel. When using an elf loader with cmdline the size is bloated by 512k. For loader-elf platforms like the cpe510 better use loader-elf but patch the cmdline into the kernel. wdr1043: Tested loader still works using sysupgade image. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49080 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx/image: introduce LOADER_TYPE to support elf loadersJohn Crispin2016-03-231-3/+4
| | | | | | | | | The loader decompress a lzma compressed kernel. Some bootloaders only support elf files like the tplink cpe510 Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49079 3c298f89-4303-0410-b956-a3cf2f4a3e73
* uboot-zynq: Update to U-Boot 2016.03 releaseJohn Crispin2016-03-231-2/+2
| | | | | | Signed-off-by: Jason Wu <jason.wu.misc@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49078 3c298f89-4303-0410-b956-a3cf2f4a3e73
* zynq: Simplify boot-img buildJohn Crispin2016-03-231-7/+11
| | | | | | | | | by adding Device/DefaultConfig macro to define the dts and device in lower case. Signed-off-by: Jason Wu <jason.wu.misc@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49077 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: WNR1000v2: enable control of all LEDs and buttonsJohn Crispin2016-03-232-5/+128
| | | | | | | | | This patch provides full GPIO support for WNR1000v2 (LEDs and buttons). It exposes all LEDs to operating system, including Ethernet ones. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49076 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add QCA955X GPIO mux and function definitionsJohn Crispin2016-03-238-76/+176
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49075 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add support for ath79_gpio_function_* on QCA955XJohn Crispin2016-03-232-5/+21
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49074 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: build airo on x86 onlyJohn Crispin2016-03-231-1/+1
| | | | | | | | | | | | | airo requires ISA_DMA_API and that symbol is only set on some ppc,malta,x86 x86 is probably only platform where that driver is used fixes buildbot errors on ar71xx,lantiq ...: airo.ko is missing Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49073 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "ar71xx: Clear bits in ath79_setup_qca955x_eth_cfg"John Crispin2016-03-231-13/+3
| | | | | | | | | | | | | Not all mach-* files set all boards correctly in ETH_CFG. They depend on some preset values by u-boot which were not previously modified by ath79_setup_qca955x_eth_cfg. Avoiding to modify them in this function keeps it backward compatible for these boards. This reverts commit 119b8ab2c2eac237ec4e9c4d0ed53df22b5c6978. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49072 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "ar71xx: Allow to set the RXDV, RXD, TXD, TXE delays for QCA955x"John Crispin2016-03-2317-29/+19
| | | | | | | | | | | | The default delays RXD 3. RDV 3, TXD 0, TXE 0 doesn't seem to work for some boards. These boards depend on the preset values of u-boot which may differ. This reverts commit f2d4bb96b62512caa161dcc2867c91692fb16a38. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49071 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Use private version of ath79_setup_qca955x_eth_cfg for MR1750John Crispin2016-03-231-1/+23
| | | | | | | | | | | | The MR1750 must unset some bits in ETH_CFG which were set by u-boot to work correctly under OpenWrt. But the global function ath79_setup_qca955x_eth_cfg will not unset all of them to increase the backward compatiblity with older mach-* files. A private (simplified) version for MR1750 can be used instead. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49070 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Use private version of ath79_setup_qca955x_eth_cfg for MR900John Crispin2016-03-231-1/+23
| | | | | | | | | | | | The MR900 must unset some bits in ETH_CFG which were set by u-boot to work correctly under OpenWrt. But the global function ath79_setup_qca955x_eth_cfg will not unset all of them to increase the backward compatiblity with older mach-* files. A private (simplified) version for MR900 can be used instead. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49069 3c298f89-4303-0410-b956-a3cf2f4a3e73
* oxnas: set ubifs parameters for Default profileJohn Crispin2016-03-231-0/+1
| | | | | | | | | | | | | | | | | | Work-around obsolete mkfs/ubifs code. Unlike squashfs, ubifs images should be generated per-device so minimum I/O unit size, logical erase block size, maximum logical erase block count can be defined for the specific flash-chips parameters. Also, generating ubinized images is unrelated to rootfs being ubifs or squashfs, but rather depends on the device supporting UBI or not. In the meantime and in order to fix an error which currently causes the image generation on buildbot to fail, work-around by defining UBIFS_OPTS for the Default profile. See also http://buildbot.openwrt.org:8010/builders/oxnas/builds/246/steps/compile_8/logs/stdio Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49068 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mediatek: patch block2mtd to allow cmdlineparts to workJohn Crispin2016-03-232-1/+34
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49067 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mediatek: update patchesJohn Crispin2016-03-2268-303/+2672
| | | | | | | | fixes trgmii on old eco and adds nand support Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49066 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mt76: fix compile errorJohn Crispin2016-03-211-0/+11
| | | | | | | | gcc complained about uninitialized variables Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49065 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mediatek: bump to v4.4John Crispin2016-03-21132-49267/+22597
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49064 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic/4.4: remove ISSI SI25CD512 SPI flash support patchGabor Juhos2016-03-211-22/+0
| | | | | | | | The flash is already supported in mainline kernel since 4.3-rc1. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49063 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: lzma-loader: fix O32 ABI conformanceGabor Juhos2016-03-211-0/+3
| | | | | | | | | | | | | | | | | | | According to the calling convention of the o32 ABI the caller function must reserve stack space for $a0-$a3 registers in case the callee needs to save its arguments. The assembly startup code does not reserve stack space for these registers thus when the main C function needs to save its arguments, that will cause a stack overflow. Fix the assembly code to reserve stack space for the registers to avoid that. Untested. It seems that the lzma-loader is not used at all? Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49062 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: lzma-loader: fix O32 ABI conformanceGabor Juhos2016-03-211-0/+3
| | | | | | | | | | | | | | | | | | | According to the calling convention of the o32 ABI the caller function must reserve stack space for $a0-$a3 registers in case the callee needs to save its arguments. The assembly startup code does not reserve stack space for these registers thus when the main C function needs to save its arguments, that will cause a stack overflow. Fix the assembly code to reserve stack space for the registers to avoid that. Compile tested only. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49061 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: lzma-loader: fix cache invalidationGabor Juhos2016-03-211-4/+4
| | | | | | | | | | | | | | | The current code only partially invalidates both caches because the cache size and cache-line size values are incorrectly passed to the C code. Fix the assembly code to pass the arguments in the correct order. Compile tested only. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49060 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: lzma-loader: remove trailing whitespaces from head.SGabor Juhos2016-03-211-9/+9
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49059 3c298f89-4303-0410-b956-a3cf2f4a3e73
* adm5120: lzma-loader: fix cache invalidationGabor Juhos2016-03-211-4/+4
| | | | | | | | | | | | | | | The current code only partially invalidates both caches because the cache size and cache-line size values are incorrectly passed to the C code. Fix the assembly code to pass the arguments in the correct order. Compile tested only. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49058 3c298f89-4303-0410-b956-a3cf2f4a3e73
* adm5120: lzma-loader: remove trailing whitespaces from head.SGabor Juhos2016-03-211-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49057 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: lzma-loader: fix cache invalidationGabor Juhos2016-03-211-4/+4
| | | | | | | | | | | | | | | The current code only partially invalidates both caches because the cache size and cache-line size values are incorrectly passed to the C code. Fix the assembly code to pass the arguments in the correct order. Tested on RB532. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49056 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: lzma-loader: remove trailing whitespaces from start.SGabor Juhos2016-03-211-4/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49055 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c : Silence mtu write error warningsJohn Crispin2016-03-201-1/+1
| | | | | | | | | | Silence warning "daemon.notice netifd: wan6 (1139): sh: write error: Invalid argument" when an invalid MTU is received via RA as kernel refuses to accept IPv6 mtu values which are smaller than 1280 and bigger than the device mtu. Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49054 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: WNR1000v2: fix for random WLAN MACJohn Crispin2016-03-201-2/+7
| | | | | | | | | | | Fix for invalid/random WLAN MAC address in WNR1000v2. Permanent platform MAC is calculated and assigned during system startup. WLAN MAC follows wired Ethernet interface addresses. This is the same fix as for WNR2000v3 and WNR612v2. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49051 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: use upstream mechanism to append device tree fileJohn Crispin2016-03-206-69/+91
| | | | | | | | | | | Instead of using our patch-dtb program just place the device tree behind the kernel binary and then let the in kernel mechanism fetch it. This also adds support for having the device tree file in the boot loader. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49050 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wireless: remove rtl8188eu (staging)John Crispin2016-03-201-18/+0
| | | | | | | | | | | | | - depends on CFG80211 (upstream: 9da4aa48d04bbdbae3c959809e14da2bf0c53f61) in os_dep/mon.c This removes rtl8188eu completely from OpenWrt since mac80211/compat-wireless/backports does not provide staging wireless drivers Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49049 3c298f89-4303-0410-b956-a3cf2f4a3e73
* wireless: add vendor dirsJohn Crispin2016-03-201-1/+3
| | | | | | | | Kernel 4.5 changes wireless driver organisation Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49048 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: add cisco airoJohn Crispin2016-03-201-0/+17
| | | | | | | | airo depends on cfg80211, move it to mac80211 Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49047 3c298f89-4303-0410-b956-a3cf2f4a3e73