summaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* oxnas: clean-up NAND driver to fix probing issueJohn Crispin2016-03-101-13/+5
| | | | | | | | | | | A re-write of the driver based on xway_nand.c and constants as well as the cmd_ctrl() function from the original oxnas_nand.c resulted in a extremely similar looking file (see diffsize), and fixes the issue of NAND not being detected on newer kernels. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 48986
* brcm2708: update patches to latest versionJohn Crispin2016-03-1013-6/+763
| | | | | | | | | | | | As usual these patches were extracted from the raspberry repo: https://github.com/raspberrypi/linux/commits/rpi-4.4.y - Disable unused MFD RPISENSE driver. - Disable ethernet HW checksums in order to avoid kernel exceptions. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 48985
* ar71xx: Arduino Yun board 'WLAN RST' button supportJohn Crispin2016-03-101-0/+21
| | | | | | | | This patch adds support for Arduino Yun board "WLAN RST" button. Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com> SVN-Revision: 48983
* brcm63xx: fix BCM3368 interrupt controller addressesJohn Crispin2016-03-101-2/+2
| | | | | | | | | Looks like the addresses for BCM3368 were wrongly defined when DT support was introduced. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 48980
* brcm63xx/lzma-loader: fix O32 ABI conformanceJohn Crispin2016-03-101-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 code of the loader does not reserve stack space for these registers thus when the 'loader_main' function needs to save its arguments, those will be stored in the 'workspace' area instead of the stack. Because the workspace area is also used by other part of the code, the saved register values gets overwritten and this often leads to failed kernel boots. Fix the code to reserve stack space for the registers to avoid this error. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> [noltari: apply the fix for brcm63xx too] Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 48979
* ar71xx: add support for the Telldus TellStick ZNet LiteJohn Crispin2016-03-1013-0/+189
| | | | | | Signed-off-by: Micke Prag <micke.prag@telldus.se> SVN-Revision: 48977
* brcm47xx: image: move disabled devices to the new building systemRafał Miłecki2016-03-091-13/+3
| | | | | | | | | This only drops WGR614 V9 which has 2 MiB flash and it's unlikely to get any interest. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48975
* brcm47xx: image: switch Linksys WRT54G3GV2-VF to the new building systemRafał Miłecki2016-03-091-45/+28
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48974
* brcm47xx: image: switch Netgear WGT634U to the new building systemRafał Miłecki2016-03-081-6/+13
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48973
* brcm47xx: image: switch rest of 64k block devices to the new building systemRafał Miłecki2016-03-081-28/+45
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48972
* brcm47xx: image: switch Motorola devices to the new building systemRafał Miłecki2016-03-081-7/+22
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48971
* brcm47xx: image: switch D-Link DWL-3150 to the new building systemRafał Miłecki2016-03-081-7/+13
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48970
* ramips: add support for Planex MZK-WDPR.John Crispin2016-03-085-0/+84
| | | | | | | | | | | add support for Planex MZK-WDPR. MZK-WDPR(MZK-WDPR-R01) is internet radio tuner. This patch is "network board" in MZK-WDPR. LCD board is non OpenWrt Platform. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> SVN-Revision: 48968
* brcm2708: add Raspberry Pi 3 supportJohn Crispin2016-03-0811-20/+443
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 48967
* brcm2708: update linux 4.4 patches to latest versionJohn Crispin2016-03-08170-314/+2268
| | | | | | | | | As usual these patches were extracted from the raspberry pi repo: https://github.com/raspberrypi/linux/tree/rpi-4.4.y Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 48966
* bcm53xx: update bcm47xx_sprom to the latest 4.6 queued versionRafał Miłecki2016-03-083-104/+6
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48963
* bcm53xx: fix SPROM driver compilation with ssb/bcma as moduleRafał Miłecki2016-03-082-0/+98
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48962
* bcm53xx: revert patch removing imprecise abort workaroundRafał Miłecki2016-03-081-0/+66
| | | | | | | | It seems it still happens on some devices. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48961
* kernel: backport bcma 4.6 changes for flashesRafał Miłecki2016-03-073-39/+855
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48960
* kernel: add MIPS kernel fix for an uninitialized CPU mapFelix Fietkau2016-03-071-0/+31
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48956
* kernel: remove linux 4.3 supportFelix Fietkau2016-03-07190-27825/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48955
* ramips: convert the remaining subtargets to 4.4Felix Fietkau2016-03-0789-35482/+65
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48954
* ramips: fix subtarget kernel version assignment (only mt7621 is ready for now)Felix Fietkau2016-03-072-1/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48953
* ramips: add linux 4.4 support, update mt7621 subtarget to 4.4Felix Fietkau2016-03-0769-13/+30076
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48951
* lantiq: print profile name in dsl lucistatFelix Fietkau2016-03-071-0/+1
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48949
* lantiq: add dsl firmware to default packagesFelix Fietkau2016-03-072-5/+5
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48942
* lantiq: do not set default firmware fileFelix Fietkau2016-03-071-1/+1
| | | | | | | | | We are now shipping a DSL firmware, do not set it by default to some file name. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48941
* ar71xx: fix qca956x ethernet initializationFelix Fietkau2016-03-071-3/+18
| | | | | | | | | Complete internal switch initialization for QCA956X. Set default mdio device if the interface mode of GE0 is not SGMII (fix ticket #21520). Signed-off-by: Weijie Gao <hackpascal@gmail.com> SVN-Revision: 48937
* ar71xx: enable USB packages for WNR2200 (fixes #21984)Felix Fietkau2016-03-061-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48936
* bcm53xx: use SPROM driver queued for 4.6Rafał Miłecki2016-03-067-224/+137
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48935
* kernel: update kernel 4.4 to version 4.4.4Hauke Mehrtens2016-03-0517-48/+37
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48933
* kernel: fix section mismatch in crashlogHauke Mehrtens2016-03-054-4/+4
| | | | | | | | | | | | | | | The function memblock_insert_region() is in the section __init_memblock, also put crashlog_init_memblock there. This fixes this section mismatch warning: The function memblock_insert_region.isra.1() references the function __meminit crashlog_init_memblock(). This is often because memblock_insert_region.isra.1 lacks a __meminit annotation or the annotation of crashlog_init_memblock is wrong. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48931
* kernel: add missing config optionsHauke Mehrtens2016-03-056-4/+8
| | | | | | | | | | The buildbots complained about these config options being missing for arm64: CONFIG_DUMMY_CONSOLE_COLUMNS=80 CONFIG_DUMMY_CONSOLE_ROWS=25 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48929
* ar71xx: WNR612v2: enable control of all LEDs and buttonsFelix Fietkau2016-03-052-2/+74
| | | | | | | | | This patch provides full GPIO support for WNR612v2 (LEDs and buttons). It exposes all LEDs to operating system, including Ethernet ones. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> SVN-Revision: 48924
* ar71xx: WNR2000v3: add speed_mask to Ethernet port LED initializationFelix Fietkau2016-03-051-8/+8
| | | | | | | | | | This patch add speed_mask parameter to Ethernet port LED initialization during system startup. LEDs are configured to show amber light for 10 Mbps link and green for 100 Mbps as described on device label. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> SVN-Revision: 48923
* ar71xx: WNR2000v3: enable control of all LEDs and buttonsFelix Fietkau2016-03-053-10/+143
| | | | | | | | | This patch provides full GPIO support for WNR2000v3 (LEDs and buttons). It exposes all LEDs to operating system, including Ethernet ones. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> SVN-Revision: 48922
* mac80211: ath9k: enable GPIO buttonsFelix Fietkau2016-03-053-0/+25
| | | | | | | | | | Enable platform-defined GPIO button support for ath9k device. Key poller is activated for attached platform buttons. Requires ath9k GPIO chip access. Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl> SVN-Revision: 48921
* AP121 target: fix board detection in ar71xx.shJohn Crispin2016-03-041-1/+1
| | | | | | Signed-off-by: Attila Lendvai <attila@lendvai.name> SVN-Revision: 48916
* AR8216: improve mmd register accessJohn Crispin2016-03-043-13/+17
| | | | | | | | | | | Combine all bus operations for one MMD access in one function. Protecting all these bus operations with one lock also helps to avoid potential issues due to bus operations intercepting the register and data write. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 48914
* AR8216: make ARL age time configurableJohn Crispin2016-03-044-4/+80
| | | | | | | | | | | | | | | | | The default TTL for address resolution table entries is 5 minutes for all members of the AR8216 family. This can cause issues if e.g. Wifi clients roam to another AP and their MAC appears on another switch port suddenly. Then the client may not be reachable until the old ARL entry expires. I would have expected the switch to invalidate old entries if it detects the same MAC on another port. But that's not the case. Therefore make the TTL for ARL entries configurable. The effective TTL will always be a multiple of 7 seconds. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 48913
* AR8216: remove redundant port number in MIB header lineJohn Crispin2016-03-041-2/+1
| | | | | | | | | The line before includes the port number anyway so there's no need to duplicate the port number in the MIB info header. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 48912
* AR8216: complement MIB counters with info in GiB / MiB / KiBJohn Crispin2016-03-041-5/+40
| | | | | | | | | | The decimal values especially for TxByte and RxGoodByte are hard to read once bigger amounts of data have been transferred. Therefore complement the decimal values with info in GiB / MiB / KiB. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 48911
* AR8216: don't display MIB counters if all are emptyJohn Crispin2016-03-041-1/+8
| | | | | | | | | | | | For unused switch ports all MIB values are zero. Displaying ~40 empty MIB counters is just confusing and makes it hard to read the output of swconfig dev <dev> show. Therefore, if all MIB counters for a port are zero, just display an info that the MIB counters are empty. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 48910
* imx6: image: Add missing kernel prefixJohn Crispin2016-03-041-0/+1
| | | | | | Signed-off-by: Petr Štetiar <ynezz@true.cz> SVN-Revision: 48909
* ramips: mt7621: fix WF-2881 for ubi splitJohn Crispin2016-03-042-14/+5
| | | | | | | | This patch fix firmware split for WF-2881 which was previously manually partitioned. Signed-off-by: YounJae Rho <luxflow@live.com> SVN-Revision: 48908
* ramips: Add profiles for JCG routersJohn Crispin2016-03-042-0/+60
| | | | | | | | | | This patch adds profiles and support for building factory and sysupgrade images for JHR-N805R, JHR-N825R and JHR-N926R. Signed-off-by: Reinhard Max <reinhard@m4x.de> Reviewed-by: Torsten Duwe <duwe@lst.de> SVN-Revision: 48906
* ramips: Add JCG routers to base-filesJohn Crispin2016-03-044-0/+18
| | | | | | | | | | This patch adds support for JHR-N805R, JHR-N825R and JHR-N926R to various scripts in the base-files directory. Signed-off-by: Reinhard Max <reinhard@m4x.de> Reviewed-by: Torsten Duwe <duwe@lst.de> SVN-Revision: 48905
* ramips: Add device tree for JCG JHR-N926RJohn Crispin2016-03-041-0/+127
| | | | | | | | | | | | | | | | Add a device tree for JCG JHR-N825R This router is based on a RT3052 and has 4MB of CFI flash and 32MB of SDRAM. As a special feature, it comes with a two digit seven segment display that is connected to a pair of daisy-chained 74164 shift registers that can be controlled via GPIOs. For details, see https://wikidevi.com/wiki/JCG_JHR-N825R . Signed-off-by: Reinhard Max <reinhard@m4x.de> Reviewed-by: Torsten Duwe <duwe@lst.de> SVN-Revision: 48904
* ramips: Add device tree for JCG JHR-N825RJohn Crispin2016-03-041-0/+81
| | | | | | | | | | | | Add a device tree for JCG JHR-N825R This router is based on a RT3052 and has 4MB of CFI flash and 32MB of SDRAM. For details, see https://wikidevi.com/wiki/JCG_JHR-N825R . Signed-off-by: Reinhard Max <reinhard@m4x.de> Reviewed-by: Torsten Duwe <duwe@lst.de> SVN-Revision: 48903
* ramips: Add device tree for JCG JHR-N805RJohn Crispin2016-03-041-0/+89
| | | | | | | | | | | | Add a device tree for JCG JHR-N805R This router is based on a RT3050 and has 4MB of SPI flash and 16MB of SDRAM. For details, see https://wikidevi.com/wiki/JCG_JHR-N805R . Signed-off-by: Reinhard Max <reinhard@m4x.de> Reviewed-by: Torsten Duwe <duwe@lst.de> SVN-Revision: 48902