Commit Graph

15297 Commits

Author SHA1 Message Date
Felix Fietkau
8b30afb005 lantiq: fix a race condition in the SPI driver leading to rx FIFO overflows (and subsequent timeouts)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47770
2015-12-04 20:26:22 +00:00
Felix Fietkau
9330296932 lantiq: re-enable spi-xway for TD-W89X0 now that it is fixed
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47768
2015-12-04 18:35:20 +00:00
Felix Fietkau
b963cec01c lantiq: fix xway spi driver timeout issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47767
2015-12-04 18:35:12 +00:00
Felix Fietkau
ae10274239 lantiq: clean up the xrx200 ethernet driver and fix stability issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47766
2015-12-04 17:44:06 +00:00
Felix Fietkau
435e7fb295 lantiq: move esi calls to dsl_cpe_control scripts to fix ordering wrt. loading vr9 drivers
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47764
2015-12-04 17:42:51 +00:00
Jo-Philipp Wich
cc59f31e44 ar71xx: convert gpio switch config to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47763
2015-12-04 15:02:42 +00:00
Jo-Philipp Wich
ba8a44995f mcs814x: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47761
2015-12-04 15:02:13 +00:00
Jo-Philipp Wich
8298dfef5c sunxi: fix board.d permissions
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47760
2015-12-04 14:39:20 +00:00
Jo-Philipp Wich
2f042b452e orion: convert initial network configuration to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47759
2015-12-04 14:39:14 +00:00
Jo-Philipp Wich
b6a9c5c400 sunxi: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47758
2015-12-04 14:32:52 +00:00
Jo-Philipp Wich
ca00bd2be4 ar7: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47757
2015-12-04 14:27:47 +00:00
Jo-Philipp Wich
1e4478e83a ath25: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47756
2015-12-04 14:15:09 +00:00
Jo-Philipp Wich
5ebc5de49d lantiq: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47755
2015-12-04 12:32:44 +00:00
Jo-Philipp Wich
708c0212e7 brcm63xx: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Acked-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 47754
2015-12-04 12:32:36 +00:00
Jo-Philipp Wich
08848936dd all: remove redundant board.d/00_model files
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47753
2015-12-04 11:07:06 +00:00
Jonas Gorski
f961a3826e kernel: drop bridge hack for removing ipv6 dependency
Now that IPV6 isn't build as a module anymore, we don't need to decouple
bridge from ipv6 anymore.

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

SVN-Revision: 47751
2015-12-04 10:06:03 +00:00
Jonas Gorski
813227d992 kernel: mvswitch: merge 3.10+ compile fix into the code
The lowest we support is 3.18, so no need to keep it as a separate
patch.

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

SVN-Revision: 47749
2015-12-04 09:45:07 +00:00
Rafał Miłecki
304c3411ba kernel: drop unneeded modification of mtd_add_partition function
In old days mtd_add_partition was checking for partitions overlapping
which was breaking our splitting feature. We had to modify this function
by adding an extra bool dup_check parameter. Upstream commit:
3a434f66e6da ("mtd: part: Remove partition overlap checks")
removed that check so we don't need our modification anymore.

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

SVN-Revision: 47748
2015-12-04 09:33:08 +00:00
Rafał Miłecki
416243107b kernel: drop old uimage splitter from 4.4
For a long time we have a dedicated firmware splitter for uimage as a
replacement for the one builtin into mtd subsystem. For a year we got a
proper warning for users sticking to the old one (r43700). It should be
really safe to drop it now, especially since we do it for 4.4 only.

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

SVN-Revision: 47747
2015-12-04 09:33:04 +00:00
Jo-Philipp Wich
03292739e0 malta: board.d: fix typo
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47746
2015-12-04 09:05:43 +00:00
Jo-Philipp Wich
296212c301 kirkwood: add missing board_config_flush(), remove dead code
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47745
2015-12-03 23:13:04 +00:00
Jo-Philipp Wich
527ec2af59 all: remove dummy ucidef_set_interface_loopback() from board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47744
2015-12-03 23:13:00 +00:00
Jo-Philipp Wich
3348308afd arc770: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47743
2015-12-03 23:08:02 +00:00
Jo-Philipp Wich
dc4b0037ab mxs: convert from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47742
2015-12-03 23:07:53 +00:00
Jo-Philipp Wich
60dbff6a5f malta: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47741
2015-12-03 23:07:46 +00:00
Jo-Philipp Wich
81f1ccbf96 at91: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47740
2015-12-03 23:07:38 +00:00
Jo-Philipp Wich
adbe47380e realview: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47739
2015-12-03 23:07:30 +00:00
Jo-Philipp Wich
7cf1ff8a75 imx6: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47738
2015-12-03 23:07:20 +00:00
Jo-Philipp Wich
57014a284f netlogic: fix typo, copyright in board.d script
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47737
2015-12-03 23:06:57 +00:00
Jo-Philipp Wich
99cf19dfc2 netlogic: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47736
2015-12-03 22:46:54 +00:00
Jo-Philipp Wich
80a3e65a9d kirkwood, ipq806x: fix board.d script permissions
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47735
2015-12-03 22:42:13 +00:00
Jo-Philipp Wich
21ea086bd3 octeon: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47734
2015-12-03 22:42:09 +00:00
Jo-Philipp Wich
7514b6d73b kirkwood: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47733
2015-12-03 22:27:18 +00:00
Jo-Philipp Wich
4615944c71 ipq806x: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47730
2015-12-03 21:13:12 +00:00
Jo-Philipp Wich
feb8bf5ddc ar71xx: board.d: add missing include (#21296)
Include /lib/functions/system.sh in 02_network to define missing
mtd_get_mac_binary() procedure.

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

SVN-Revision: 47723
2015-12-03 19:23:44 +00:00
Jo-Philipp Wich
8f8b702f85 board.d: remove redundant ucidef_set_interfaces_lan_wan() calls
This removes calls to ucidef_set_interfaces_lan_wan() and
ucidef_set_interfaces_lan() on boards where all relevant info can be
inferred from the switch definition.

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

SVN-Revision: 47722
2015-12-03 17:30:56 +00:00
Jo-Philipp Wich
9b02e73188 board.d: merge ucidef_add_switch() and ucidef_add_switch_ports()
This changes uci-defaults-new.sh, config_generate and all relevant board.d
files in order combine ucidef_add_switch() and ucidef_add_switch_ports() into
a single function.

Also removes now superfluous enable and reset arguments.

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

SVN-Revision: 47721
2015-12-03 17:30:24 +00:00
Jo-Philipp Wich
d17a64c7c0 base-files: uci-defaults-new: remove reset/enable args of ucidef_add_switch()
Out of 69 switch definitions, only 3 pass something different than "1" as
values for reset and enable, with one of those three being invalid.

This change ...

 * removes the reset and enable arguments from ucidef_add_switch()
 * unconditionally writes reset:1 and enable:1 to JSON
 * converts the three users of nonstandard values to ucidef_add_switch_attr()

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

SVN-Revision: 47720
2015-12-03 17:30:08 +00:00
Jo-Philipp Wich
de51026515 ramips: switch ucidef_add_switch_vlan() to ucidef_add_switch_ports()
This migrates the final board.d user of ucidef_add_switch_vlan() to the new
ucidef_add_switch_ports() approach, fixing some logic errors for a few boards
along the way.

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

SVN-Revision: 47717
2015-12-03 15:46:29 +00:00
Felix Fietkau
2a68bea073 kernel: backport support for m25p80 compatible="jedec,spi-nor" in DT
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47716
2015-12-03 14:47:37 +00:00
Felix Fietkau
b9849f286b kernel: add overlayfs stacking fix from upstream
Overlayfs stacking was broken in 4.1.12 but now fixed in upstream branch.
Stacking allows experimenting with configurations without the need to
reset a device to factory config.

Signed-off-by: Roman Yeryomin <roman@advem.lv>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47714
2015-12-03 13:54:33 +00:00
Rafał Miłecki
2bcbe28580 bcm53xx: move BCM5301X patches to use 08x prefix
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47713
2015-12-03 11:03:07 +00:00
Rafał Miłecki
9f3300393a bcm53xx: use backported versiions or R8000 & dt-bindings patches
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47711
2015-12-03 10:51:52 +00:00
Rafał Miłecki
0dda38b472 bcm53xx: fix typo in BCM5310X (patch name and subject)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47710
2015-12-03 10:51:42 +00:00
Rafał Miłecki
4333cb73f7 bcm53xx: move & update accepted USB patch for GPIO control
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47709
2015-12-03 10:51:32 +00:00
Rafał Miłecki
448bf7819b bcm53xx: use backported BCM5301X patches from stblinux devicetree/next
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47708
2015-12-03 10:19:16 +00:00
Rafał Miłecki
7eed5caecd bcm53xx: use backported BCM5301X patches from stblinux soc/next
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47707
2015-12-03 10:18:57 +00:00
Rafał Miłecki
4e837fa130 bcm53xx: set vcc-gpio properties in one patch
No reason to handle Buffalo WXR-1900DHP in separated patch.

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

SVN-Revision: 47706
2015-12-03 08:36:41 +00:00
Rafał Miłecki
0641728fa2 bcm53xx: drop fixed clock from DTS for Buffalo WXR-1900DHP
We don't use fixed clock in 4.4 (and 4.3) anymore.

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

SVN-Revision: 47705
2015-12-03 08:36:34 +00:00
Rafał Miłecki
2766887751 bcm53xx: update linux 4.4 config
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47704
2015-12-03 08:19:30 +00:00
Rafał Miłecki
d90561c929 bcm53xx: add linux 4.4 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47703
2015-12-03 08:19:25 +00:00
Jonas Gorski
e395433178 brcm63xx: add linux 4.4 support
Only netboot tested. Flash at your own risk.

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

SVN-Revision: 47702
2015-12-02 22:24:46 +00:00
Jonas Gorski
621677154f kernel: add linux 4.4 support
Based on 4.4-rc3. Runtime tested on MIPS.

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

SVN-Revision: 47701
2015-12-02 22:23:22 +00:00
Jonas Gorski
d12502b666 brcm63xx: Add NuCom R5010UNv2 support
This patch adds support for the NuCom R5010UNv2.

It's a BCM6328 based board. It has an onboard BCM43217 wifi chip. For this
wifi chip looks like the brcmsmac driver isn't still supported, b43 drivers are used
for the profile of the router.

It's worth mentioning this board was affected by a bug solved with
https://dev.openwrt.org/changeset/46707

Tested-by: Angel Fontan <angel.fontan@gmail.com>
Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 47697
2015-12-02 22:18:20 +00:00
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
John Crispin
2ce886f149 ramips: clean up rt2880 spi probe/remove
* fill struct according to the member order
* add error clean up
* set min/max spi speed. so we don't need to check again

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

SVN-Revision: 47576
2015-11-22 11:48:45 +00:00
John Crispin
bf89d139e1 ramips: improve rt2880 spi wait ready function
use loops_per_jiffy, spi clock speed and write bytes to get the
spi loop count. if loop to 0 than spi operation timeout.
remove usleep. we only write 1 byte to spi device. use busy loop
would be better.

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

SVN-Revision: 47575
2015-11-22 11:48:34 +00:00
John Crispin
702c480dfe ramips: remove rt2880 spi lock and clean bit operation
Signed-off-by: Michael Lee <igvtee@gmail.com>

SVN-Revision: 47574
2015-11-22 11:48:21 +00:00
John Crispin
13fbd6fea7 ramips: add rt2880/mt7620 spi register defines
Signed-off-by: Michael Lee <igvtee@gmail.com>

SVN-Revision: 47573
2015-11-22 11:48:10 +00:00
John Crispin
cd9d0ee0d0 brcm2708: add device detection and use it for network, leds and preinit
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47572
2015-11-22 08:04:37 +00:00
John Crispin
058275197b kernel/generic: 3.18, 4.y: Add support for Quectel EC20 Mini PCIe module
* both patches (qcserial/qmi_wwan) were submitted upstream[1,2]
* build tested on 3.18 and 4.1
* run tested on imx6 platform with 4.1

1. http://article.gmane.org/gmane.linux.usb.general/132998
2. http://article.gmane.org/gmane.linux.usb.general/133113

Signed-off-by: Petr Štetiar <ynezz@true.cz>

SVN-Revision: 47567
2015-11-21 21:25:54 +00:00
John Crispin
570c35a599 lantiq: add phy led config support over devicetree bindings
This patch adds the posibility to config the led behaviour of the lantiq phys
over the devicetree bindings.It patches the 0023-NET-PHY-adds-driver-for-lantiq-PHY11G
for 3.18 and 4.1. I have also added a register description overview for
applicable values. This goes to the documentation folder in the linux kernel.

Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>

SVN-Revision: 47566
2015-11-21 21:25:43 +00:00
John Crispin
55ee2e0ef7 ralink: add missing nand layer hack
It turned out that mtk_nand driver uses some sophisticated accounting and a
general nand code must be patched.

This patch adds required read and erase calls to a general nand code. I
used a  code  for re6500 released by Linksys as a reference.

All required operations (erase, write and read) are usable. However I found
that jffs2 filesystem can be created only on top of a ubi volume. I tried
to create jffs2 directly on mtd device but pages with clean markers are
became uncorrectable.

Signed-off-by: Kirill Berezin <fyiwdt@gmail.com>

SVN-Revision: 47565
2015-11-21 21:25:33 +00:00
John Crispin
0206a400cf lantiq: tweak DWC2 default parameters
This patch improves the default configuration of DWC2 on lantiq SoCs
somewhat:
 * Set maximum packet count to largest allowed value by the DWC2 (511)
 * Use 16-bit DMA bursts
 * Divide fifo buffers more evenly

Default fifo buffer sizes from original ltq-hcd driver seem really
irrational. For example according to DWC2 data book rxfifo size of 240
will not fit even a single full length USB packet. On the other hand
non-periodic tx fifo size of 240 is more than enough to fit one complete
packet.

Change the sizes around to improve the situation and to fix some issues
especially with isochronous USB transfers.

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>

SVN-Revision: 47563
2015-11-21 21:25:20 +00:00
John Crispin
1f51472346 brcm2708: enable hard float ABI
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47562
2015-11-21 21:25:13 +00:00
John Crispin
31f9aec7d6 brcm2708: add support for multi-device images
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47561
2015-11-21 21:25:04 +00:00
John Crispin
a429d6998e brcm2708: rename image device definition
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47560
2015-11-21 21:24:57 +00:00
John Crispin
edff980107 brcm2708: revert sd image extension to .img
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47559
2015-11-21 21:24:50 +00:00
John Crispin
223d88f843 brcm2708: simplify gzip image generation
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47558
2015-11-21 21:24:44 +00:00
John Crispin
40ddc71cc9 ramips: init usb power for Lenovo Y1S
Signed-off-by: Shonn Lu <countrysideboy@qq.com>

SVN-Revision: 47557
2015-11-21 21:24:38 +00:00
John Crispin
d6550887a9 ar71xx: fix the SingleProfile kernel size limit for dLAN devices
it ends up as $(2) of CatFiles and must be a plain decimal value.

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>

SVN-Revision: 47555
2015-11-21 21:24:23 +00:00
John Crispin
99fd9a7041 ar71xx: add support for the devolo dLAN Hotspot
Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>

SVN-Revision: 47554
2015-11-21 21:24:18 +00:00
John Crispin
ac23207803 ar71xx: fix AR71XX_MODEL on TP-Link TL-WR703N
The hwid check was wrong, causing the AR71XX_MODEL value to end with a
space (as $hwver was unset).

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 47553
2015-11-21 21:24:11 +00:00
John Crispin
a46292c0dc oxnas: add missing platform bindings for stmmac glue
r47218 was missing needed changes which were accidentally
ommitted from the patch.

This should fix #20878

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 47552
2015-11-21 21:24:03 +00:00
Hauke Mehrtens
9f87a0d352 kernel: add missing config option
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47549
2015-11-21 17:35:59 +00:00
Felix Fietkau
4018f15e21 ipq806x: fix PCIe reset gpio handling - the core already handles the active-low flag
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47547
2015-11-21 10:55:29 +00:00
Felix Fietkau
155469b1f9 ipq806x: assert AHB PCIe reset during init
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47546
2015-11-21 10:55:17 +00:00
Felix Fietkau
9c114740ef ipq806x: reduce PCIe buffer size setting to fix potential data corruption issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47545
2015-11-21 10:55:05 +00:00
Felix Fietkau
49d4a980d7 ipq806x: fix pcie reset gpio definions and move them to the common .dtsi file
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47544
2015-11-21 10:54:58 +00:00
Felix Fietkau
575413a779 ipq806x: fix pcie tx0-term-offset setting
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47543
2015-11-21 10:54:53 +00:00
Felix Fietkau
44b8472f16 ipq806x: fix device tree nodes for PCI to get rid of I/O and memory offsets
Fixes QCA99x0 detection issues

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47542
2015-11-21 10:54:48 +00:00
Jo-Philipp Wich
e20b689249 mvebu: migrate led and network setup to board detection framework
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47541
2015-11-20 23:59:31 +00:00
Jo-Philipp Wich
8e79f25991 mpc85xx: migrate network setup to board detection framework
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47540
2015-11-20 23:52:31 +00:00
Jo-Philipp Wich
605621fc3f ar71xx: fix wndr3700_board_detect for some NETGEAR WNDR3700v2 (again)
When fixing the model string for WNDR3700v2 which contain a model string
followed by 0xff in r46455, the match for other versions of the WNDR3700v2
which just contain lots of 0xff broke (as the 0xff $model is checked for
is stripped off).

Fix by stripping off non-printable characters only for the actual output
string, but not for the internal matching.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 47538
2015-11-20 23:34:11 +00:00
Hauke Mehrtens
70a9188d18 kernel: add missing config option
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47536
2015-11-20 22:33:59 +00:00
Jo-Philipp Wich
ade2c06d61 ar71xx: migrate led and network setup to board detection framework
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47534
2015-11-20 22:14:36 +00:00
Luka Perkov
8d8ef5288c imx6: ventana: remove invalid video options from bootscript
Removed video related kernel params that are only appropriate for the
Freescale downstream vendor kernel and not appriate for mainline linux.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 47532
2015-11-20 05:21:19 +00:00
Luka Perkov
d8d318f344 imx6: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 47513
2015-11-19 08:00:17 +00:00
Luka Perkov
71a92988e3 imx6: remove obsolete VENTANA_DTS from profile
The device-tree files are now specified in the image Makefile

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 47512
2015-11-18 22:53:43 +00:00
Luka Perkov
baa8b933ec imx6: add Vetnana LVDS support
These patches have been submitted to upstream Linux and are pending acceptance.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 47511
2015-11-18 22:06:54 +00:00
Luka Perkov
7b931ba95c imx6: ventana: fix GW16083 device-tree patch
The 206-ARM-imx-ventana-added-GW16083-to-device-tree.patch merged wrong in
the conversion from 3.18 to 4.1. This patch resolves that and puts the
device-tree nodes in the correct place.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 47510
2015-11-18 22:06:50 +00:00
Luka Perkov
5f3d29f4e6 imx6: drop support for kernel 3.18
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 47509
2015-11-18 21:36:36 +00:00
Luka Perkov
03401fed5e imx6: convert ventana images to squashfs+ubifs overlay
Replace the ventana ubi images from a single rootfs volume containing the
rootfs as well as kernel+dtbs in the boot/ subdir to a multi-volume ubi
containing kernel+dtbs+bootscript in 'root' ubifs volume, rootfs in 'rootfs'
squasfs volume, and rootfs_data an empty ubifs volume.

At the same time move ventana image creation over to using the new
TARGET_DEVICE syntax as a cleanup.

Additionally removed FIT image creation as it is recommended that this be
done manually to produce signed FIT images if needed.

Note that a bootscript is needed for Ventana to change its default mtdparts
to rename the 2nd partition from 'rootfs' to 'ubi'. This is because there
are patches in OpenWrt kernels that try to auto-attach and auto-mount and these
get in the way if the mtd partition is named 'rootfs'.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 47508
2015-11-18 21:35:24 +00:00
Luka Perkov
ca26bf8932 imx6: kernel: add UBI_BLOCK support
UBI_BLOCK support is needed for mounting squashfs over UBI

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 47507
2015-11-18 21:35:16 +00:00
Luka Perkov
486dc85e72 imx6: switch to v4.1
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

SVN-Revision: 47506
2015-11-18 21:35:12 +00:00
Luka Perkov
8c65560497 imx6: add Gateworks GW551x support
Upstream patch: e9d6d6b62f306ba83e1441af5daf2809a6167474

Add support for the Gateworks GW5510 board featuring:
 * i.MX6 SoC
 * up to 512MB DDR3
 * up to 2GB NAND flash
 * 1x miniPCIe socket (with USB)
 * HDMI out (micro-HDMI)
 * HDMI in (micro-HDMI) (currently supported by only vendor kernel)
 * TTL level I/O (supported by GW16111 breakout board):
  * I2C
  * 2x UART
  * CAN
  * 2x DIO (GPIO/PWM)
  * USB OTG

Also add support to OpenWrt build system

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

SVN-Revision: 47505
2015-11-18 21:35:09 +00:00
Luka Perkov
84c7a31535 kirkwood: nsa310s: fix partition size
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 47504
2015-11-18 21:35:04 +00:00
Rafał Miłecki
ce7bf20101 kernel: add CONFIG_SSB_HOST_SOC symbol
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47486
2015-11-16 12:22:47 +00:00
Rafał Miłecki
f8692a4b88 brcm47xx: backport BCM47xx MIPS commits from 4.3 and 4.4-rc1
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47484
2015-11-16 07:18:37 +00:00
Rafał Miłecki
b2dab45aa7 kernel: backport ssb changes from 4.4-rc1
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47483
2015-11-16 06:55:38 +00:00
Felix Fietkau
acd0e4b8dd octeon: remove 3.18 support
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 47474
2015-11-15 21:33:33 +00:00
Felix Fietkau
3cb722b875 octeon: switch to 4.3
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 47473
2015-11-15 21:33:28 +00:00
Felix Fietkau
33305b56a2 octeon: add support for 4.3
Runtime tested on Ubiquiti EdgeRouter Lite.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 47472
2015-11-15 21:33:23 +00:00
Felix Fietkau
1f8864c046 kernel: add patch to fix prefsrc lookups
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 47471
2015-11-15 21:33:14 +00:00
Felix Fietkau
06f79fe841 ipq806x: enable vfpv4 support and set cpu type to cortex-a9
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47468
2015-11-14 14:22:24 +00:00
Hauke Mehrtens
cb0c8da7c2 kernel: take bcm47xx_nvram.h from kernel and not backports
compat-wireless/backports now contains a bcm47xx_nvram.h file to
backport some of the functions in it which are used by the bcmfmac
driver. This file just checks for the kernel versions and provide an
empty implementations on older kernel versions. This is OK on most
systems, but on bcm47xx / bcm53xx systems we want to call the real
functions here. This commit removes the file from backports in our
build process like we do it with the bcma and ssb header files. Instead
we add a recent version into our kernel so all code uses only one
header file. On bcm47xx / bcm53xx the real implementations of this code
will be used.

Reported-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47467
2015-11-13 23:51:31 +00:00
Felix Fietkau
8a2a1c1d71 kernel: fix an af_packet regression that was breaking PPPoE on 4.1+ (#20707)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47459
2015-11-11 14:12:51 +00:00
Luka Perkov
4e239d9fdb kirkwood: add Linksys routers to default profile
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 47458
2015-11-11 12:48:30 +00:00
Hauke Mehrtens
f38dbb89c2 kernel: add missing config options
This was seen by the buildbot on arm64.

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

SVN-Revision: 47452
2015-11-10 23:21:10 +00:00
Hauke Mehrtens
fa137d51f5 ar71xx: add Arduino Yun
This is based on patches from Federico Fissore <f.fissore@arduino.cc>
especially this one:
7e2976fa83

The console is running with 250000 baud which is a non standard baud
rate and needs an extra patch to be applied, I will try to get this
patch upstream or something else which accomplish the same.

Some upstream code looks like there are many different versions of this
SoC, are these only internal versions and all versions on the consumer
market are the same? I saw different GPIO configuration and flash sizes
of 8MB and 16MB?

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

SVN-Revision: 47451
2015-11-10 23:13:09 +00:00
Hauke Mehrtens
1bfbf2de6d ar71xx: serial: core: add support for boot console with arbitrary baud rates
The Arduino Yun uses a baud rate of 250000 by default. The serial is
going over the Atmel ATmega and is used to connect to this chip.
Without this patch Linux wants to switch the console to 230400 Baud.

With this patch Linux will use the configured baud rate and not some
standard one which is near by.

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

SVN-Revision: 47450
2015-11-10 23:11:10 +00:00
Hauke Mehrtens
abea1127c9 ar71xx: add function to access the GPIO function2 register
Add access to the function2 gpio register. This probably has to be
converted into a pimux driver later on. This is needed for some setup
functions on the Arduino Yun.

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

SVN-Revision: 47449
2015-11-10 23:10:11 +00:00
Felix Fietkau
99af1cf410 kernel: fix breakage in the 4.3 version of 611-netfilter_match_bypass_default_table.patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47447
2015-11-10 21:11:25 +00:00
Felix Fietkau
8b5d644bb3 toolchain: add support of ARC architecture
This includes binutils, gcc, gdb and uClibc-ng.

Latest release of ARC gcc (as of today it is "arc-2015.06")
is based on upstream gcc 4.8.4.

Sources are available on GitHub, see:
https://github.com/foss-for-synopsys-dwc-arc-processors/gcc

Latest release of ARC binutils (as of today it is "arc-2015.06")
is based on upstream binutils 2.23.

Sources are available on GitHub, see:
https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06

Latest release of ARC GDB (as of today this is "arc-2015.06-gdb")
is based on upstream gdb 7.9.1.

Sources are available on GitHub, see:
https://github.com/foss-for-synopsys-dwc-arc-processors/binutils-gdb/releases/tag/arc-2015.06-gdb

Note that for binutils and gdb that come from unified git repository
(which is the case for upstream binutils/gdb today) we need to disable
building of gdb in binutils and binutils in gdb hence in binutils:
------>8------
--disable-sim
--disable-gdb
------>8------

and in gdb:
------>8------
--disable-binutils
--disable-ld
--disable-gas
------>8------

Also in gdb we disable sim because if the following breakage while
building with it:
------------>8------------
/usr/bin/env bash ./../common/genmloop.sh -shell /usr/bin/env bash \
        -mono -fast -pbb -switch sem5-switch.c \
        -cpu a5f -infile ./mloop5.in \
        -outfile-suffix 5
unknown option: bash
Makefile:699: recipe for target 'stamp-5mloop' failed
make[7]: *** [stamp-5mloop] Error 1
------------>8------------

Cc: Felix Fietkau <nbd@openwrt.org>
Cc: John Crispin <blogic@openwrt.org>
Cc: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>

SVN-Revision: 47438
2015-11-10 12:03:59 +00:00
Luka Perkov
ba26e9f60f kirkwood: rename EA3500/EA4500 profiles
Match the engineering board names now used elsewhere.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 47436
2015-11-10 00:17:01 +00:00
Luka Perkov
31c7de0313 kirkwood: add diag LED on Linksys EA3500
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 47435
2015-11-10 00:16:56 +00:00
Luka Perkov
b0e7ca4f8f kirkwood: support sysupgrade on Linksys EA[34]500
This automatically writes to the alternate firmware partition
(on Linksys's dual firmware layout) using code borrowed from
the WRT1900AC port.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 47434
2015-11-10 00:16:42 +00:00
Luka Perkov
ea8ac0999c kirkwood: support Linksys boot counter on EA[34]500
This is done with existing code from the WRT1900AC port.
It makes sure the "auto_recovery" bootloader option is set,
and resets the s_env boot counter after a successful boot.

This gives users without a serial console connection some
measure of safety.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 47433
2015-11-10 00:16:37 +00:00
Luka Perkov
6acb552eee kirkwood: generate factory images for Linksys EA[34]500
This is done with the new image generation system and board names.
It also generates a sysupgrade.tar image.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 47432
2015-11-10 00:16:35 +00:00
Luka Perkov
5d4bbb5f5b kirkwood: find active Linksys root partition
This is imported verbatim from the mvebu WRT1900AC port.

It picks up the current boot partition from the kernel command line,
then renames that partition "ubi" so that it auto-mounts.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 47431
2015-11-10 00:16:33 +00:00
Luka Perkov
ad8f6370de kirkwood: consistently use engineering board names
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 47430
2015-11-10 00:16:28 +00:00
Luka Perkov
3ef14d0c3d kirkwood: rework Linksys EA[34]500 DTS
- Use board engineering names rather than marketing names

- Linksys uses a dual firmware layout, where the bootloader
  will switch to the other stored image when one fails to
  boot three consecutive times.

  In order to make this firmware compatible with the factory
  images and the stock bootloader we must match this layout.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 47429
2015-11-10 00:16:24 +00:00
Luka Perkov
49db4924d7 kirkwood: enable squashfs-on-ubiblock support
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 47428
2015-11-10 00:16:14 +00:00
Felix Fietkau
23fbd97649 x86: add generic profiles to x86_64, kvm_guest and xen_domu
The imagebuilder requires a profile for every subtarget to work.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47421
2015-11-08 20:39:24 +00:00
Felix Fietkau
7f75961e38 ar71xx: add support for TP-LINK TL-WR941ND v6 (international version)
The international version is completely different from the already
supported Chinese version. The WLAN of the QCA956x SoC used by this router
has been fixed in r46948.

This patch looks like it changes a lot in
700-MIPS-ath79-openwrt-machines.patch; that is not the case. Unfortunately,
quilt decided to completely reorganize the Kconfig patch even though only
a single section has been added.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 47420
2015-11-08 20:39:18 +00:00
Felix Fietkau
0a96564f9b ar71xx: fix typo in r47416
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47417
2015-11-07 18:33:45 +00:00
Felix Fietkau
9dd5c79c47 ar71xx: fix alignment of struct arpt_arp (fixes #14577)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47416
2015-11-07 16:22:38 +00:00
Felix Fietkau
ad133b57a9 kernel: remove linux 4.0 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47412
2015-11-07 16:22:08 +00:00
Felix Fietkau
b95aed986a ramips: minor fixes for mt7621 profiles
* remove references to non-existing kmod-usb3-mt7621
 * ZTB WG2626 doesn't have an RTC (thanks to Piotr Dymacz!)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 47407
2015-11-07 12:51:48 +00:00
Felix Fietkau
846b8593fc ar71xx: add support for the TP-LINK TL-WR1043ND v3
The hardware of the v3 is identical to the v2.

Based-on-patch-by: Andreas Ziegler <github@andreas-ziegler.de>
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 47406
2015-11-07 12:51:43 +00:00
Felix Fietkau
ae7e7239b8 ar71xx: Add support for ZyXEL NBG6616.
Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net>

SVN-Revision: 47405
2015-11-07 12:51:39 +00:00
Felix Fietkau
46f6626052 include/image.mk: Introduce generic option to wrap kernel into JFFS2
Some devices require the kernel to be in a JFFS2 file system. Make the
support for this more generic so that it can be used by other devices.

Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net>

SVN-Revision: 47404
2015-11-07 12:51:31 +00:00
John Crispin
aebf73f045 ramips: fix previous commit
r47388 accidentially changed 2 files too many

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

SVN-Revision: 47389
2015-11-05 10:03:58 +00:00
John Crispin
dc699dd547 ramips: minor tweak to the lks7688 baord name
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47388
2015-11-05 10:01:23 +00:00
Luka Perkov
47668ffd8e kirkwood: add support for 4.3
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 47386
2015-11-04 22:28:47 +00:00
Luka Perkov
805492bda9 kirkwood: pogo_e02: use mainline led definitions
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 47385
2015-11-04 22:28:42 +00:00
Luka Perkov
122fadaa00 kernel: update kernel 4.3-rc7 to version 4.3
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 47384
2015-11-04 22:28:40 +00:00
Jonas Gorski
d9197d8b0c ipq806x: fix BOARD_NAME spellings
the board names used by the upgrade check differ from the device names
in case, so always set them. We can't rely on tolower or similar since
different locales might have different rules for lower case letters, so
set them explicitily.

Fixes sysupgrade rejecting *-sysupgrade.tar because of the difference.

Signed-off-by: Kaspar Schleiser <kaspar@schleiser.de>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 47381
2015-11-04 11:33:31 +00:00
Jonas Gorski
1e43316cb9 brcm63xx: fix brcm, bcm6345-ext-intc interrupt controller
brcm,field-width is read but unused

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 47379
2015-11-04 11:33:16 +00:00
Jonas Gorski
64af3295cd brcm63xx: fix Netgear CVG834G HCS magic bytes
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 47378
2015-11-04 11:33:10 +00:00
Jonas Gorski
8f3cfe4ba2 brcm63xx: lzma-loader: add BCM3380 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 47377
2015-11-04 11:33:07 +00:00
Jonas Gorski
4c43b05dac brcm63xx: lzma-loader: add BCM3368 support
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 47376
2015-11-04 11:33:03 +00:00
Jonas Gorski
a15f148cf8 brcm63xx: fix BCM3368 external interrupts
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 47375
2015-11-04 11:32:55 +00:00
John Crispin
2350c149b5 ramips: add feature to blink led on sysupgrade
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 47373
2015-11-03 13:32:02 +00:00
Felix Fietkau
0b296d3808 ar71xx: use correct PLL configuration register bitmask for QCA956x SoC.
Incorrect value causes clock inaccuracy as huge as 1/60.

Signed-off-by: Dmitry Ivanov <dima@ubnt.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47363
2015-11-02 18:20:51 +00:00
John Crispin
25afe99b31 mediatek: add support for the new MT7623 Arm SoC
the support is still WIP. next steps are to make the pmic and ethernet work.
this is the first commit to make sure nothing gets lost.

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

SVN-Revision: 47354
2015-11-02 10:18:50 +00:00
John Crispin
165244a222 ramips: add support for ZBT WG2626
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 47351
2015-11-02 10:18:19 +00:00
John Crispin
0f4b153e3d ramips: add eeprom mtd partition to the Asus RP-N53 dts
This patch adds the eeprom property to the dts for the Asus RP-N53. It is necessary to get the wifi in the soc working.

Signed-off-by:  Alberto Mattea <alberto@mattea.info>

SVN-Revision: 47350
2015-11-02 10:18:09 +00:00
John Crispin
907c67fa87 ramips: preinit: use iproute2 instead of vconfig
Replace use of vconfig with the corresponding iproute2 syntax in
/lib/preinit/07_set_preinit_iface_ramips

The switch reset work-around needed on some ramips targets used the
deprecated vconfig tool to bring up the pre-init/failsafe interface.
This doesn't work on recent builds where vconfig is no longer being
deployed, resulting in the device being unreachable when triggered
into failsafe mode.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 47349
2015-11-02 10:18:02 +00:00
John Crispin
3760b95702 ramips: add support for Dovado tiny AC
Add support for Dovado tiny AC wifi router.

Soc: mt7620a
ram: 64MB
flash: 8MB
1x usb 2.0
two gigabit lan ports

5ghz wlan is not supported on this board since there is no gpl driverfor mt7610e wifi chip.

Signed-off-by: Andrej Vlasic <andrej.vlasic0@gmail.com>

SVN-Revision: 47348
2015-11-02 10:17:51 +00:00
John Crispin
83693c911a ramips: add function to change rt2x00 wifi eeprom mac
Some boards like dovado tiny ac have generic ralink mac in onflash wifi eeprom.
Add eeprom_set_macaddr function to rt2x00 eeprom extract script which changes mac addr insde eeprom dump.

Signed-off-by: Andrej Vlasic <andrej.vlasic0@gmail.com>

SVN-Revision: 47347
2015-11-02 10:17:41 +00:00
John Crispin
a76de8e7b3 ramips: mt7620 add icplus phy driver kernel config symbol
Add missing icplus phy driver kernel config symbol to mt7620 subtarget.
This is needed since some mt7620 devices have icplus ip1001 ethernet transceiver

Signed-off-by: Andrej Vlasic <andrej.vlasic0@gmail.com>

SVN-Revision: 47346
2015-11-02 10:17:35 +00:00
John Crispin
8fa6927415 ramips: add support for the Asus RP-N53 in the "02_network" boot script
This patch adds a case for the Asus RP-N53 in the "02_network" boot script. Without this, the lan interface does not get configured on startup, effectively bricking the device.

Signed-off-by:  Alberto Mattea <alberto@mattea.info>

SVN-Revision: 47345
2015-11-02 10:17:26 +00:00
John Crispin
7cc3beff32 ar71xx: Add support for wdr7500v3
The device is similar to Archer C7 v2, but with 8M of flash, and 6 external
antennas.  Reason for breaking the naming pattern is that sticker on the back
mentions "WDR7500" and has no mention of "Archer".

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

SVN-Revision: 47344
2015-11-02 10:17:15 +00:00
John Crispin
e5e196b5b9 omap/Beagleboard: remove FEATURES override
It overrides the feature list of the whole target.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47343
2015-11-02 10:17:09 +00:00
John Crispin
ed30ca8e39 ramips: rt305x: enable seama mtdsplit parser
D-Link DIR-610 A1 needs seama mtdsplit parser.
This patch should fix #18046.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>

SVN-Revision: 47341
2015-11-02 10:16:56 +00:00
John Crispin
6dcbf74a94 ramips: rt305x: update kernel config symbols
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>

SVN-Revision: 47340
2015-11-02 10:16:48 +00:00
John Crispin
4f9fcd94bd package/devel/perf: fix build for kernel 4.1
This fix contains 2 parts:
 - kernel 4.1: backport upstream patch "perf build: Do not fail on missing Build file"
 - add NO_LZMA=1 to perf MAKE_FLAGS to disable LZMA support

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>

SVN-Revision: 47338
2015-11-02 10:16:28 +00:00
Rafał Miłecki
d2c1087536 bcm53xx: Netgear R8000: define GPIO powering USB ports
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47337
2015-11-01 22:21:59 +00:00
Rafał Miłecki
c348b3317a bcm53xx: replace USB patch fixing power control with the most recent version
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47336
2015-11-01 22:21:49 +00:00
Hauke Mehrtens
55a912f43e kernel: update kernel 3.18 to version 3.18.23
Changelog:
 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.22
 * https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.23

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

SVN-Revision: 47334
2015-11-01 13:45:57 +00:00
Felix Fietkau
9130e4dc32 ar71xx: fix regression in building TL-WDR6500-v2 images
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47333
2015-11-01 12:38:44 +00:00
Felix Fietkau
6bc9a6d0a8 imx6: add v4.1 support
Build and boot tested on the following hardware:
 * GW54xx
 * GW53xx
 * GW52xx
 * GW51xx

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

SVN-Revision: 47331
2015-11-01 12:19:32 +00:00
Luka Perkov
6a18146206 kirkwood: add initial support for NSA310s
Signed-off-by: Tony Dinh <mibodhi@gmail.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 47330
2015-11-01 01:13:16 +00:00
Luka Perkov
013a114691 generic: 3.18: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 47329
2015-11-01 00:04:21 +00:00
Felix Fietkau
faabe8e8e6 malta: make eth0 the wan interface by default
Many packages for OpenWrt currently assume that lan is the "internal"
side of the network map, e.g. if installed, dnsmasq will hand out DHCP
leases on lan, firewall will allow forwarding on lan.

While at it, also configure a lan interface if eth1 exists.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 47326
2015-10-31 09:30:57 +00:00
Felix Fietkau
8ddca59465 malta: use as a default type device
There is currently no relevant definition for developerboard device type
in include/target.mk, thus packages like iptables, firewall, dnsmasq
etc. are missing in the default images, rendering it almost useless
for regular testing or normal use.

With this change, currently a default set of packages for "router" will
be installed to malta firmware images.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 47325
2015-10-31 09:30:37 +00:00
Felix Fietkau
c5c2eb5fd6 malta: set CPU_TYPE:=24kc.
There are instructions (e.g. wsbh) only available in MIPS32R2 which is
the isa level used by many MIPS targets in OpenWrt.  As we use the malta
target mostly for development and testing purposes, setting the CPU_TYPE
to 24Kc will make the emulation more real.

The following is output from qemu-system-mipsel 2.3.0

    root@OpenWrt:/# cat /proc/cpuinfo  | grep 'cpu model\|isa'
    cpu model               : MIPS 24Kc V0.0  FPU V0.0
    isa                     : mips1 mips2 mips32r1 mips32r2

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 47324
2015-10-31 09:30:14 +00:00
Felix Fietkau
93efeef9b3 generic: fix unrecognized opcode wsbh when building for MIPS16.
The issue was found and reported by hynman [1] when compiling reaver for ar71xx
(Big Endian MIPS).

    {standard input}: Assembler messages:
    {standard input}:79: Error: unrecognized opcode `wsbh $2,$2'
    {standard input}:90: Error: unrecognized opcode `wsbh $3,$17'
    {standard input}:208: Error: unrecognized opcode `wsbh $2,$2'
    make[3]: *** [builder.o] Error 1

The patch was already in upstream since kernel release 4.3-rc5.

 [1] 1e29676a8a (commitcomment-12901931)

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 47322
2015-10-31 09:29:57 +00:00
Felix Fietkau
180713b89b ar71xx/image: remove old unused build code for TPLINK
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47321
2015-10-31 09:29:48 +00:00
Felix Fietkau
958c785868 ar71xx/image: remove old unused build code for TPLINKOLD
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47320
2015-10-31 09:29:38 +00:00
Felix Fietkau
24eb0d1ba1 ar71xx/image: migrate tl-wr841nd-v1.5 to new build step using squashfs+jffs2 instead of squashfs-only
All other tplink images use squashfs+jffs2. I don't see any reason why
this board should use squashfs-only

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47319
2015-10-31 09:29:25 +00:00
Felix Fietkau
ebea23b49f ar71xx/image: remove old unused build step TPLINK-64K
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47318
2015-10-31 09:29:18 +00:00
Felix Fietkau
c3350394a5 ar71xx/image: migrate tl-wdr6500-v2 to new image build steps
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47317
2015-10-31 09:29:09 +00:00
Felix Fietkau
1bd87413e6 ar71xx/image: refactor templates tplink-chn-v2
SVN-Revision: 47316
2015-10-31 09:29:01 +00:00
Felix Fietkau
153ed674b3 ar71xx/image: introduce TPLINK_HEADER_VERSION variable for tplink image
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47315
2015-10-31 09:28:50 +00:00
Felix Fietkau
ea23d796f6 oxnas: image: Remove custom mkfs targz override as base should be fine now
It was wrong anyway, missing file sort order parameter which was fixed
in base month ago.

Signed-off-by: Petr Štetiar <ynezz@true.cz>

SVN-Revision: 47314
2015-10-31 09:28:42 +00:00
Felix Fietkau
2e7df6312d kirkwood: image: Remove custom mkfs targz override as base should be fine now
It was wrong anyway, missing file sort order parameter which was fixed
in base month ago.

Signed-off-by: Petr Štetiar <ynezz@true.cz>

SVN-Revision: 47313
2015-10-31 09:28:34 +00:00
Felix Fietkau
f5683a0a86 imx6: image: Remove custom mkfs targz override as base should be fine now
It was wrong anyway, missing file sort order parameter which was fixed
in base month ago.

Signed-off-by: Petr Štetiar <ynezz@true.cz>

SVN-Revision: 47312
2015-10-31 09:28:25 +00:00
Felix Fietkau
74d9ef96f1 oxnas: image: Refactor sanitize_profile_name using PROFILE_SANITIZED variable
Signed-off-by: Petr Štetiar <ynezz@true.cz>

SVN-Revision: 47310
2015-10-31 09:28:05 +00:00
Felix Fietkau
8a237d1f03 kirkwood: image: Refactor sanitize_profile_name using PROFILE_SANITIZED var
Signed-off-by: Petr Štetiar <ynezz@true.cz>

SVN-Revision: 47309
2015-10-31 09:27:56 +00:00
Felix Fietkau
e09d32dd96 imx6: image: Refactor sanitize_profile_name using PROFILE_SANITIZED variable
Signed-off-by: Petr Štetiar <ynezz@true.cz>

SVN-Revision: 47308
2015-10-31 09:27:49 +00:00
Felix Fietkau
b100027a83 ramips: fix for kernel 4.0 napi repoll need return budgets number
Signed-off-by: Michael Lee <igvtee@gmail.com>

SVN-Revision: 47306
2015-10-30 22:32:49 +00:00
Felix Fietkau
9cd525a7fa x86/generic: enable radeon drm driver
This enables modesetting for radeon based boards.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 47305
2015-10-30 22:32:41 +00:00
Felix Fietkau
63f2b8afbf x86/generic: enable pata_atiixp driver
This enables booting from devices that use an ATI PATA controller for
the boot device, such as the embedded CF cards in Fujitsu-Siemens Futro
thin-clients.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 47304
2015-10-30 22:32:19 +00:00
Felix Fietkau
05d6b87cfb x86/generic: refresh subtarget kernel config
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 47303
2015-10-30 22:32:12 +00:00
Felix Fietkau
0365ce46df kernel: add some missing symbols for 4.3
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 47302
2015-10-30 22:32:04 +00:00
Felix Fietkau
61366c95e2 realview: Create ext4 image by default
Following the additions in r46924, enable the 'ext4' feature for
realview target so the ext4 image is created by default.

Signed-off-by: Dov Murik <dov.murik@gmail.com>

SVN-Revision: 47301
2015-10-30 22:31:47 +00:00
Felix Fietkau
65558ba722 kernel: backport some bcma header file definitions from wireless-testing
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47284
2015-10-30 15:17:41 +00:00
Felix Fietkau
e2ebbfab40 kernel: add missing config symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47283
2015-10-30 15:17:34 +00:00
Rafał Miłecki
0a8196818d bcm53xx: add missing Netgear R8000 LEDs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47282
2015-10-30 14:44:06 +00:00
Rafał Miłecki
e6944a3490 bcm53xx: add workaround for Netgear R8000 network
According to the info from NVRAM we should use port 8 for the CPU (and
interface eth2). Unfortunately it doesn't work right now, so lets switch
to the port 5.

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

Forwardport of r46586 from 15.05

SVN-Revision: 47281
2015-10-30 12:55:37 +00:00
John Crispin
7fe0940c69 generic: fix adm6996 init
Kernel 3.14 added aditional genphy_soft_reset phy reset to phy_init_hw in drivers/net/phy/phy_device.c
Since adm6996 does in driver soft reset and doesn't use BMCR_RESET for soft reset
add dummy soft_reset callback to adm6996 driver, like it is done in ar8216.

This fixes ticket #20147

Signed-off-by: Andrej Vlasic <andrej.vlasic0@gmail.com>

SVN-Revision: 47272
2015-10-26 10:39:53 +00:00
John Crispin
c89fc7a75a kernel: Fix environment pointer setup in ar71xx/ath79
Observed on ar71xx/ath79 platforms such as Ubiquiti RouterStations.Reported in #20642.:
(https://dev.openwrt.org/ticket/20642).

If embedded command-line text exists with CONFIG_IMAGE_CMDLINE_HACK=y,firmware
init doesn't initialize environment pointer (fw_init_cmdline not called).

arcs_cmdline is not initialized before calling strlcat.

Signed-off-by: Ted Hess <thess@kitschensync.net>
Tested-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 47270
2015-10-26 10:39:41 +00:00
John Crispin
c466a46a77 ar71xx: add support for TP-LINK TL-WR841N/ND v10
The TL-WR841N/ND v10 is mostly identical to the v9. Apart from some minor
changes, it contains a newer revision of the QCA9533 SoC and the CPU clock
is significantly higher.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 47263
2015-10-26 09:01:41 +00:00
John Crispin
c9426352ce ar71xx: fix ath79_soc_rev value for QCA9531 ver. 2
ath9k expects to get revision id 2 for the QCA9531 ver. 2 rev. 0. This
fixes the very low TX power on some devices like the TP-LINK
TL-WR841ND v10.

As ath79_soc_rev is only used to get the revision number to ath9k on the
QCA9533, just set it to the expected value on the ver. 2.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Tested-by: Felix Kaechele <felix@kaechele.ca>

SVN-Revision: 47262
2015-10-26 09:01:34 +00:00
John Crispin
632c92094a ar71xx: Bitmain Antminer S1/S3 set GPIO for USB Power
Antminers using the stock bootloader will not hash without this GPIO set.
Applies to DD and CC

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

SVN-Revision: 47261
2015-10-26 09:01:28 +00:00
John Crispin
f080f2aa8e brcm2708: copy overlays README to boot partition
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47260
2015-10-26 09:01:21 +00:00
John Crispin
71ca5b1cc5 brcm2708: update modules
- Add support for DAC+ Pro.
- Add kmod-smi-bcm2835 and kmod-smi-bcm2835-dev modules.

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

SVN-Revision: 47259
2015-10-26 09:01:12 +00:00
John Crispin
bf28fb50bf brcm2708: update 4.1 patches
As usual, this patches were taken (and rebased) from
https://github.com/raspberrypi/linux/commits/rpi-4.1.y

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

SVN-Revision: 47258
2015-10-26 09:01:05 +00:00
John Crispin
228eeb647e ramips: make the alsa driver register the codec
this allows using the codec even if it is not listed in the DTS

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

SVN-Revision: 47256
2015-10-26 09:00:42 +00:00