summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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> SVN-Revision: 49076
* ar71xx: Add QCA955X GPIO mux and function definitionsJohn Crispin2016-03-238-76/+176
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> SVN-Revision: 49075
* ar71xx: Add support for ath79_gpio_function_* on QCA955XJohn Crispin2016-03-232-5/+21
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> SVN-Revision: 49074
* 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> SVN-Revision: 49073
* 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> SVN-Revision: 49072
* 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> SVN-Revision: 49071
* 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> SVN-Revision: 49070
* 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> SVN-Revision: 49069
* 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> SVN-Revision: 49068
* mediatek: patch block2mtd to allow cmdlineparts to workJohn Crispin2016-03-232-1/+34
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 49067
* 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> SVN-Revision: 49066
* mt76: fix compile errorJohn Crispin2016-03-211-0/+11
| | | | | | | | gcc complained about uninitialized variables Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 49065
* mediatek: bump to v4.4John Crispin2016-03-21132-49267/+22597
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 49064
* 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> SVN-Revision: 49063
* 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> SVN-Revision: 49062
* 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> SVN-Revision: 49061
* 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> SVN-Revision: 49060
* brcm47xx: lzma-loader: remove trailing whitespaces from head.SGabor Juhos2016-03-211-9/+9
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 49059
* 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> SVN-Revision: 49058
* adm5120: lzma-loader: remove trailing whitespaces from head.SGabor Juhos2016-03-211-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 49057
* 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> SVN-Revision: 49056
* generic: lzma-loader: remove trailing whitespaces from start.SGabor Juhos2016-03-211-4/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 49055
* odhcp6c : Silence mtu write error warningsblogic2016-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+ssh://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> SVN-Revision: 49051
* 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> SVN-Revision: 49050
* 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> SVN-Revision: 49049
* wireless: add vendor dirsJohn Crispin2016-03-201-1/+3
| | | | | | | | Kernel 4.5 changes wireless driver organisation Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 49048
* 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> SVN-Revision: 49047
* wireless: remove cisco airoJohn Crispin2016-03-201-16/+0
| | | | | | | | | it depends on cfg80211 cfg80211 & wext drivers don't mix on OpenWrt Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 49046
* ramips: MiWifi-Nano - change gpios to leds, add to default build groupJohn Crispin2016-03-203-23/+21
| | | | | | | | | | | | 1) Use leds to indicate: Red - Power Amber - Radio On Blue - Wifi associated 2) Add profile to default build group for MT7628 subtarget Signed-off-by: Noble Pepper <openwrtmail@noblepepper.com> SVN-Revision: 49045
* oxnas: sync cpu-hotplug with mach-realviewJohn Crispin2016-03-201-4/+3
| | | | | | | | | Make mach-oxnas/hotplug.c look more similar to mach-realview/hotplug.c, just cosmetics and maintainability concerns, no functional changes. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 49044
* oxnas: add spinlock in pinctrl driverJohn Crispin2016-03-201-2/+16
| | | | | | | | Try to address a race-condition in pinctrl-oxnas.c Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 49043
* oxnas: also reset GPIO B registers on bootJohn Crispin2016-03-201-6/+6
| | | | | | | | | | Clear both, SYS_CTRL_*_SEL and SEC_CTRL_*_SEL on boot instead of writing to SYS_CTRL_*_SEL twice which looks like a copy-paste error. Thanks to anonymous to bring this up in #21892! Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 49042
* oxnas: switch to new image generation templateJohn Crispin2016-03-201-86/+44
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 49041
* oxnas: add Default profile and reorganize device profilesJohn Crispin2016-03-204-23/+52
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 49040
* include/image.mk: allow including U-Boot environment in UBIJohn Crispin2016-03-201-0/+1
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 49039
* linux-firmware: fix rt73-usb-firmware packageHauke Mehrtens2016-03-191-2/+2
| | | | | | | | | | | | | Some parts of this package were named rt73-pci-firmware before which looks like a copy and past error. This renames all parts to rt73-usb- firmware and then the firmware gets build and the dependencies from the package with the kernel module are also working correctly. This fixes #22069 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49037
* kernel: update kernel 4.1 to version 4.1.20Hauke Mehrtens2016-03-1832-188/+190
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49035
* mac80211: libertas-spi: deactivate for UML targetHauke Mehrtens2016-03-171-1/+1
| | | | | | | | | The UML target does not have spi support. This fixes a build problem found by the build bot. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49034
* kernel: add missing kernel optionsHauke Mehrtens2016-03-172-0/+2
| | | | | | | | This was found by the build bot. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49033
* kernel: update kernel 4.4 to version 4.4.6Hauke Mehrtens2016-03-1711-57/+12
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49032
* ar71xx: Use PHY fixups for Open Mesh MR1750John Crispin2016-03-161-3/+22
| | | | | | | | | | | | | | | | | | The delays of PHY/MAC on the MR1750 are done by u-boot and OpenWrt in different ways. u-boot only modifies the ETH_CFG of the QCA955x based on the link speed. But OpenWrt can only modify the PHY delays based on the link speed. This can lead to communication problems when u-boot initializes the ETH_CFG for a specific link speed (e.g. 10BASE-T) but then OpenWrt the sets the PHY delays to an incompatible value. Instead reset the ETH_CFG delay bits of the QCA955x to a specific value and only rely on the AT803x PHY settings. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> SVN-Revision: 49031
* ar71xx: Use PHY fixups for Open Mesh MR900John Crispin2016-03-161-3/+22
| | | | | | | | | | | | | | | | | | The delays of PHY/MAC on the MR900 are done by u-boot and OpenWrt in different ways. u-boot only modifies the ETH_CFG of the QCA955x based on the link speed. But OpenWrt can only modify the PHY delays based on the link speed. This can lead to communication problems when u-boot initializes the ETH_CFG for a specific link speed (e.g. 10BASE-T) but then OpenWrt the sets the PHY delays to an incompatible value. Instead reset the ETH_CFG delay bits of the QCA955x to a specific value and only rely on the AT803x PHY settings. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> SVN-Revision: 49030
* ar71xx: Allow to set the RXDV, RXD, TXD, TXE delays for QCA955xJohn Crispin2016-03-1619-21/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some u-boot versions for QCA955x change the delays based on the link speed during boot. This usually breaks the support of other linkspeeds when OpenWrt is booted. It also conflicts with the at803x_platform_data::fixup_rgmii_tx_delay. OpenWrt has to set its own values in QCA955X_GMAC_REG_ETH_CFG. The default RGMII values from the Atheros u-boot are currently used to preset the existing mach files. These may have to be adjusted for boards using different values but which are not currently set them explicitely in OpenWrt. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> Cc: Gabor Juhos <juhosg@openwrt.org> Cc: Imre Kaloz <kaloz@openwrt.org> Cc: Christian Beier <cb@shoutrlabs.com> Cc: Chris R Blake <chrisrblake93@gmail.com> Cc: Benjamin Berg <benjamin@sipsolutions.net> Cc: Heiner Kallweit <hkallweit1@gmail.com> Cc: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Cc: Matthias Schiffer <mschiffer@universe-factory.net> Cc: Dirk Neukirchen <dirkneukirchen@web.de> Cc: Christian Mehlis <christian@m3hlis.de> Cc: Luka Perkov <luka@openwrt.org> Cc: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 49029
* ar71xx: Clear bits in ath79_setup_qca955x_eth_cfgJohn Crispin2016-03-161-3/+13
| | | | | | | | | | | Some u-boot versions for QCA955x set currently not cleared bits depending on the used link speed. This breaks the rx/tx under OpenWrt. The mach-*.c file is responsible to select the correct configuration bits and thus the ath79_setup_qca955x_eth_cfg has to clear the unset. Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> SVN-Revision: 49028
* ar71xx: Extend the list of bits in QCA955X_GMAC_REG_ETH_CFGJohn Crispin2016-03-164-30/+36
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> SVN-Revision: 49027
* ar71xx: Add support for the OMYlink OMY-X1John Crispin2016-03-1613-0/+164
| | | | | | | | | | | | This patch adds support for the OMYlink OMY-X1 https://wiki.openwrt.org/toh/omylink/omy-x1 http://www.omylink.com/ Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 49026
* tools/flex: update to 2.6.1John Crispin2016-03-163-24/+18
| | | | | | | | | | | | Update flex to 2.6.1 * Flex has moved to Github, adjust download link * Remove patch that has been applied upstream * Disable building tests to avoid circular dependency to bison - disable also docs and examples at the same time Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 49025
* ramips: Add support for Xiaomi MiWiFi NanoJohn Crispin2016-03-167-1/+128
| | | | | | | | | | | | | | | Xiaomi MiWiFi Nano is based on Mediatek MT7628 with 64MB ram 16MB flash Signed-off-by: Noble Pepper <openwrtmail@noblepepper.com> v3 includes changes suggested by L. D. Pinney & Karl Palsson- Eliminate en25q64 (4MB) flash chip Alphabetization Remove hyphen in model Rename profile from miwifinano.mk to xiaomi.mk Add gpios that are attached to leds SVN-Revision: 49024
* brcmfmac: Add Raspberry Pi 3 supportJohn Crispin2016-03-163-0/+29
| | | | | | | | | | - Enable SDIO support on brcmfmac. - Disable power managment for brcm2708 target. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Reviewed-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49023