Commit graph

15043 commits

Author SHA1 Message Date
Jonas Gorski
9d7e058a23 brcm63xx: drop 3.18 support
Drop 3.18 support; it will live on in CC.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 47696
2015-12-02 22:16:37 +00:00
Jonas Gorski
e9390dcf23 ipq806x: ap148/r7500: fix eth0 for non gige speeds
Eth0 is attached to mac0 of the switch with a fixed link and and not to
phy4 in single phy mode, so configuring it to anything but 1000FD will
break the connection, which will happen if a only 100 Mbit capapble device
is plugged into the wan port.

Fix this by not taking the state from phy4 and just configuring a fixed link
for eth0.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 47695
2015-12-02 22:16:23 +00:00
Hauke Mehrtens
f0a5f24217 kernel: update 4.1 to 4.1.13
- two upstreamed patches removed
- compile tested all targets using 4.1
- run tested ar71xx

Signed-off-by: Roman Yeryomin <roman@advem.lv>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47694
2015-12-02 21:52:41 +00:00
Jo-Philipp Wich
c4ea02cc69 bcm53xx: switch to ucidef_add_switch_ports()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47692
2015-12-02 18:51:12 +00:00
Felix Fietkau
e2999a8e5f mpc85xx: fix up m25p80 device id (#21286)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47691
2015-12-02 17:35:37 +00:00
Felix Fietkau
46112609d0 lantiq: fix up m25p80 device ids (#20975)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47690
2015-12-02 17:20:39 +00:00
Hauke Mehrtens
f17be5617a bcm53xx: update PCIe driver
This updates the iProc PCIe driver to the version currently submitted
for kernel 4.5.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47688
2015-12-02 15:24:53 +00:00
Hauke Mehrtens
0e73da37d5 bcm53xx: update SMP patches
Broadcom submitted new SMP patches for this SoC to upstream Linux, add
them to OpenWrt.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47687
2015-12-02 15:23:08 +00:00
Hauke Mehrtens
c03f264f6d bcm53xx: activate workarounds for erratas
This also deactivates some workaround for erratas only seen in older
CPU cores and L2 cores not used in this SoC.

This partly reverts commit r44947.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47686
2015-12-02 15:19:29 +00:00
Hauke Mehrtens
1d1c9d56dd bcm53xx: move patch 132-ARM-BCM5301X-Add-missing-Netgear-R8000-LEDs.patch
This patch is currently placed directly behind the SMP patches and has
nothing to do with SMP, move it to an other position.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47685
2015-12-02 15:14:58 +00:00
Rafał Miłecki
db7f2d9531 brcm47xx: add Netgear WN2500RP support
We generate V1 image only for now. We lack buttons support for V2.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47682
2015-12-02 09:24:52 +00:00
Jo-Philipp Wich
0c250ad4cc mpc85xx: fix typo added in r47676
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47681
2015-12-01 09:22:53 +00:00
Jo-Philipp Wich
c977dfbec3 mpc85xx: record board id and model name in /etc/board.json
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47680
2015-11-30 12:49:19 +00:00
Jo-Philipp Wich
b4531995c8 mpc85xx: convert to ucidef_add_switch_ports()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47676
2015-11-30 11:09:29 +00:00
Jo-Philipp Wich
fff1a82180 mvebu: switch network and led config defaults to board detection framework
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47674
2015-11-30 10:43:31 +00:00
Jo-Philipp Wich
81f603dfb8 ar71xx: record board id and model name in /etc/board.json
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47672
2015-11-30 10:17:20 +00:00
John Crispin
06af966094 ramips: remove duplicate patch
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47670
2015-11-28 23:26:03 +00:00
John Crispin
82557aee85 ramips: adapt VoCore to new second spi device code
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47667
2015-11-28 23:24:52 +00:00
John Crispin
af14fa011c ramips: add second SPI clocks
These clocks were missing in the changes introduced in r47573-47580

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47666
2015-11-28 23:24:40 +00:00
Rafał Miłecki
3ced1d6bb7 kernel: add fix for missing include in spi-nor.h (#20973)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47665
2015-11-26 17:13:05 +00:00
Felix Fietkau
b44a27885f kernel: revert a faulty upstream commit that was added with the spi-nor/m25p80 backport (fixes #20971)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47664
2015-11-26 16:40:11 +00:00
Jo-Philipp Wich
963fc89df2 ar71xx: switch network and led defaults to board detection framework
Also translate ucidef_add_switch_vlan() to ucidef_add_switch_ports() for better
switch topology mapping and improved default config generation.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47663
2015-11-26 14:42:28 +00:00
Jo-Philipp Wich
ecf5b4fab7 ramips: hg255d: replace ucidef_set_led_interface() with ucidef_set_led_netdev()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47657
2015-11-26 12:46:04 +00:00
Rafał Miłecki
055ee48ab0 bcm53xx: update bcm53xxspiflash to match spi-nor backported from 4.4-rc1
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47653
2015-11-26 11:43:16 +00:00
Jo-Philipp Wich
3fac6dde85 Revert "ar71xx: migrate led and network setup to board detection framework"
The board detect code needs more fixes in order to work properly.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47641
2015-11-25 11:53:59 +00:00
John Crispin
7b4acdeff6 ralink: renable nand support
CONFIG_MTK_MTD_NAND was incorrectly disabled by r47619.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47640
2015-11-24 22:00:55 +00:00
Hauke Mehrtens
34e0d3cb5a lantiq: fix compile error
This fixes a problem introduced in r47624.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47628
2015-11-24 20:12:21 +00:00
Felix Fietkau
d8a62fdbc2 ramips: fix typo in image makefile (#18712)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47627
2015-11-24 19:29:56 +00:00
Felix Fietkau
c3fc2a7a35 kernel: disable software protection bits for macronix flash chips at init
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47626
2015-11-24 19:09:56 +00:00
Felix Fietkau
bb1c915f1e kernel: update m25p80 in 4.1 to the latest version from 4.4-rc1
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47624
2015-11-24 18:59:28 +00:00
John Crispin
1a092ce0e0 ar71xx: add GL-Domino Pi support V3
This is the patch for GL-Domino Pi V3. Updated against the latest trunk.

Signed-off-by: alzhao<alzhao@gmail.com>

SVN-Revision: 47622
2015-11-24 18:30:50 +00:00
John Crispin
a04c3e73a3 ar71xx: add GL-AR300 support V3
This is the patch for GL-AR300 V3, tested against the latest trunk.

Signed-off-by: alzhao<alzhao@gmail.com>

SVN-Revision: 47621
2015-11-24 18:30:19 +00:00
John Crispin
72093bd528 ar71xx: add GL-AR150 support V3
This is the 3rd version. Modified against the latest trunk.

Signed-off-by: alzhao<alzhao@gmail.com>

SVN-Revision: 47620
2015-11-24 18:29:59 +00:00
John Crispin
8c1f5141ce ralink: add support for netis WF-2881
netis WF-2881 is an MT7621AT based router with MT7602EN, MT7612EN.
It has 128MB DDR3, 128MB SLC NAND FLASH, 5-port Gbps switch and 1x USB 3.0.
The following patch adds support for this device.

this device only works on top of UBI.

Tested and working:
* ethernet
* both WiFi radios
* USB 3.0
* buttons (reset button)
* ethernet switch and USB diag LEDs
* UART
* GPIOs
* sysupgrade

Tested and not working
* failsafe

Signed-off-by: YounJae Rho <luxflow@live.com>

SVN-Revision: 47619
2015-11-24 18:29:26 +00:00
John Crispin
4223e47c19 oxnas: set irq of usb&sata to cpu1
V2:
The KD-20 also has USB 3.0.I modiy the set_irq_affinity usb 2 to set_irq_affinity ?hci_hcd 2 to bind usb 2.0&3.0 to cpu1.

Signed-off-by: Shonn Lu <countrysideboy@qq.com>

SVN-Revision: 47618
2015-11-24 18:29:14 +00:00
John Crispin
e9baf8265b ramips: add support for Youku YK1
Changes since V1:
I resend this patch for current trunk.The former V1 patch is for CC branch.

Signed-off-by: Shonn Lu <countrysideboy@qq.com>

SVN-Revision: 47617
2015-11-24 18:29:02 +00:00
John Crispin
12b6f4cf71 ramips: add second spi master sysclk
for mt7620, rt3883 and rt5350

Signed-off-by: Michael Lee <igvtee@gmail.com>

SVN-Revision: 47616
2015-11-24 18:28:54 +00:00
John Crispin
8ef96b3e6f ar71xx: Build initramfs by default for Mikrotik devices
Signed-off-by: Baptiste Jonglez <git@bitsofnetworks.org>

SVN-Revision: 47612
2015-11-24 18:28:05 +00:00
John Crispin
c7bcdac82e brcm2708: fix multi-device image generation
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47610
2015-11-24 18:27:43 +00:00
Felix Fietkau
c52d6d4f45 ipq806x: another fix to the stmmac DMA configuration to fix remaining data corruption issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47603
2015-11-22 21:59:22 +00:00
Jo-Philipp Wich
fc64fd8712 Revert "mvebu: migrate led and network setup to board detection framework"
Roll back the mvebu conversion to board detection code as we need to fix
some strcutural issues first.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47597
2015-11-22 20:52:10 +00:00
Jo-Philipp Wich
7fc4a4581b ar71xx: fix network default config of the TEW-732BR
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47595
2015-11-22 20:00:13 +00:00
Felix Fietkau
a32f301b62 ipq806x: fix a nasty stmmac data corruption bug caused by faulty DMA initialization
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47594
2015-11-22 19:07:00 +00:00
Felix Fietkau
3789b1f5a0 ipq806x: update stmmac to the version from linux 4.3
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47593
2015-11-22 19:06:51 +00:00
Felix Fietkau
576621f1e3 linux: add support of Synopsys ARC770-based boards
This patch introduces support of new boards with ARC cores.

 [1] Synopsys SDP board
     This is a new-generation development board from Synopsys that
     consists of base-board and CPU tile-board (which might have a real
     ASIC or FPGA with CPU image).
     It sports a lot of DesignWare peripherals like GMAC, USB, SPI, I2C
     etc and is intended to be used for early development of ARC-based
     products.

 [2] nSIM
     This is a virtual board implemented in Synopsys proprietary
     software simulator (even though available for free for open source
     community). This board has only serial port as a peripheral and so
     it is meant to be used for runtime testing which is especially
     useful during bring-up of new tools and platforms.
     What's also important ARC cores are very configurable so there're
     many variations of options like cache sizes, their line lengths,
     additional hardware blocks like multipliers, dividers etc. And this
     board could be used to make sure built software still runs on
     different HW configurations.

Cc: Felix Fietkau <nbd@openwrt.org>
Cc: Jo-Philipp Wich <jow@openwrt.org>
Cc: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>

SVN-Revision: 47589
2015-11-22 19:06:07 +00:00
Felix Fietkau
3a0266b471 kernel: mtd: Backport GD25Q128B support to 3.18
Support is present in 3.19 and above as kernel commit:
fcc87a95195236b0935183361a72e4a98bf577d8

Changes to other existing patches are a result of "make target/linux/refresh".

Signed-off-by: Srdjan Rosic <srdjan.rosic@gmail.com>
Signed-off-by: Srdjan Rosic <rosic@google.com>

SVN-Revision: 47588
2015-11-22 19:05:53 +00:00
John Crispin
c550ad3d3a ramips: update dtsi files to support second spi device
Signed-off-by: Michael Lee <igvtee@gmail.com>

SVN-Revision: 47580
2015-11-22 11:49:13 +00:00
John Crispin
a941b34008 ramips: use transfer_one instead of transfer_one_message on rt2880 spi
* use kernel buildin transfer_one_message. we only need to implement
transfer_one and set_cs function
* should support use gpio as cs pin
* deselected the spi device when setup and add debug info
* only reset device when first driver probe

Signed-off-by: Michael Lee <igvtee@gmail.com>

SVN-Revision: 47579
2015-11-22 11:49:04 +00:00
John Crispin
95aa28da81 ramips: move rt2880 spi clock and reset init code to spi_prepare_message
before spi transfer. use spi_prepare_message to setup spi hardware. it
will setup MSB, spi mode and speed
remove sys_freq member and speed check code

Signed-off-by: Michael Lee <igvtee@gmail.com>

SVN-Revision: 47578
2015-11-22 11:48:57 +00:00
John Crispin
a58dec6275 ramips: improve rt2880 spi setup
* check clock rate, SPI mode, and word sizes
* setup spi polarity
* enable spi1 hw if need

Signed-off-by: Michael Lee <igvtee@gmail.com>

SVN-Revision: 47577
2015-11-22 11:48:51 +00:00