Commit graph

10616 commits

Author SHA1 Message Date
Felix Fietkau
58e049ea80 ar71xx: ethernet: reduce tx and rx DMA ring size to improve cache footprint
256 entries is a bit excessive, even for gigabit speeds

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

SVN-Revision: 37762
2013-08-12 17:26:03 +00:00
Felix Fietkau
f43b4ea962 ar71xx: ethernet: cache skb->len in the tx function to avoid accessing it again in completion
Improves ethernet performance, especially during bridging

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

SVN-Revision: 37761
2013-08-12 17:26:00 +00:00
Felix Fietkau
e5fd991c6c rtl8367: add support for configuring the VLAN FID
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37760
2013-08-12 17:25:25 +00:00
Felix Fietkau
53c3b2a193 ar71xx: fix typo
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37759
2013-08-12 12:41:53 +00:00
Felix Fietkau
f18fd5512e ar71xx: ethernet: skip calls to netdev_completed_queue and netif_wake_queue if no tx cleanup was done
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37758
2013-08-12 11:44:35 +00:00
Felix Fietkau
81cfb9e5ed ar71xx: ethernet: do not update the unused dev->last_rx field
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37757
2013-08-12 11:44:31 +00:00
Felix Fietkau
104ff48e25 ar71xx: add missing return statement in ethernet mtu change op
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37756
2013-08-12 11:44:28 +00:00
Luka Perkov
acb9bc0f5e kernel: remove imx-sdma-fw because of license issues
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37755
2013-08-12 10:48:05 +00:00
Luka Perkov
3258334e79 imx6: use kmod-imx-sdma-fw-imx6 by default
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37754
2013-08-11 15:10:44 +00:00
Luka Perkov
5337af031e imx6: fix sdma
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37752
2013-08-11 15:10:38 +00:00
Felix Fietkau
09f4018b2e x86: Fix CONFIG_X86_GRUB_SERIAL=""
With

    .config:CONFIG_X86_GRUB_SERIAL=""

which (AFAICT) is the way to tell GRUB not to use a serial console, in

    target/linux/x86/image/Makefile:ifneq ($(CONFIG_X86_GRUB_SERIAL),)

$(CONFIG_X86_GRUB_SERIAL) expands to `""' (a literal double double-quote),
making the condition unconditionally false.

This patch fixes the situation by passing CONFIG_X86_GRUB_SERIAL through
qstrip before testing.

Signed-off-by: Tamas TEVESZ <ice@extreme.hu>

SVN-Revision: 37749
2013-08-10 18:35:29 +00:00
Felix Fietkau
7b05fe59a4 ar71xx: allow mtu > 1500 based on the configured tx/rx mtu register value
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37748
2013-08-10 15:31:38 +00:00
Florian Fainelli
007bd290ea mcs814x: enable POSIX file locking
opkg (and possible other tools) are currently broken as it requires
file locking support enabled in the kernel.
Without this results in a message like:

root@OpenWrt:/etc/config# opkg update
Collected errors:
 * opkg_conf_load: Could not lock /var/lock/opkg.lock: Permission denied.

With this patch opkg is fully functional on this platform.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37745
2013-08-09 20:45:17 +00:00
John Crispin
94666dad1c lantiq: fix TD-W8970 image generation to work with the new tool
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37727
2013-08-06 16:25:45 +00:00
John Crispin
f835cb6cc4 ar71xx: remove duplicate dir505 entry from board detection code
https://dev.openwrt.org/ticket/14006

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

SVN-Revision: 37723
2013-08-06 14:12:02 +00:00
John Crispin
d13cbb04ad lantiq: add support for tplink images to .../image/Makefile
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37722
2013-08-06 12:31:25 +00:00
John Crispin
5001afdc37 lantiq: make the split patch recognize the tplink header
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37721
2013-08-06 12:31:20 +00:00
John Crispin
7f2eaac407 lantiq: fix TDW8970.dts commandline and partition name
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37720
2013-08-06 12:31:16 +00:00
John Crispin
e993e0c2cf lantiq: add tplink header id to sysupgrade and fix a comment
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37719
2013-08-06 12:31:10 +00:00
Luka Perkov
27fa640548 lantiq: add (incomplete) support for Aztech GR7000
*) can not connect to switch chip
*) only one usb port is working
*) wifi is not working

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37712
2013-08-06 10:17:16 +00:00
Florian Fainelli
d1914b4939 kernel: add some missing config symbols
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37710
2013-08-05 20:58:05 +00:00
Hauke Mehrtens
9d4145efe5 kernel: fix DMA error when BCM4331 is connected to BCM4706
The BCM4331 supports a PCIe max request size of 512 bytes and uses
that, but the PCIe controller in the BCM4706 just supports 128 Bytes
and that causes a DMA error for packages bigger than 126 bytes. This
fixes the problem by setting the BCM4331 also to 128 Bytes.

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

SVN-Revision: 37709
2013-08-05 16:17:05 +00:00
Gabor Juhos
9257d556c2 ramips: re-implement PCI mux
Parallel flash access on RT3662/RT3883 based devices
is broken without that. It was fixed already some time
ago, but that change seems lost somewhere.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37708
2013-08-05 12:49:19 +00:00
Gabor Juhos
c80dd34924 ramips: allow to build Seama firmware images with arbitrary size
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37707
2013-08-05 12:35:22 +00:00
John Crispin
267810f73a ar71xx: add usb modules to dir 505 profile
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37706
2013-08-05 11:08:30 +00:00
John Crispin
c83e665a2c octeon: add a few missing symbols to the kernel config file
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37705
2013-08-05 10:42:09 +00:00
John Crispin
288adb6634 lantiq: several a803 related fixes
based on work from Matti Laasko that he posted in the wiki

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

SVN-Revision: 37704
2013-08-05 10:42:00 +00:00
John Crispin
553a469728 ar71xx: add support for dir 505 a1
this patch is based on ...

-> https://forum.openwrt.org/viewtopic.php?pid=179902#p179902

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

SVN-Revision: 37703
2013-08-05 10:41:48 +00:00
Gabor Juhos
99a12119ca ar71xx: fix tl-wa901nd buttons code
This patch fixes the code of the buttons for TP-Link WA901ND.

Signed-off-by: Rocco Folino <lordzen@autistici.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37696
2013-08-05 09:09:39 +00:00
Gabor Juhos
ccec78beaa ar71xx: ubnt unifi outdoor register gpio button
This patch register the gpio buttons for the Ubiquiti UniFi Outdoor.

Signed-off-by: Rocco Folino <lordzen@autistici.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37695
2013-08-05 09:09:37 +00:00
John Crispin
f0b5e7d419 x86: change /dev/console to tty to fix job control
Job control is turned off because it cannot obtain controlling terminal on
/dev/console, so it is impossible to do any job control operation behind
real x86 device (keyboard+monitor or virtualized).

This patch switches /dev/console to tty devices for ash on x86 generic target.

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>

SVN-Revision: 37693
2013-08-04 17:05:33 +00:00
Luka Perkov
f5b9555cdc imx6: sync usb chipidea with upstream
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37686
2013-08-04 14:20:15 +00:00
John Crispin
db083a41cf generic: make the module reloc pacth work on mips64
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37685
2013-08-04 13:54:42 +00:00
John Crispin
3a2040ffee octeon: add support for the octeon mips64 SoC
This is the SoC used be the ESR Lite made by ubnt.com

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

SVN-Revision: 37684
2013-08-04 13:54:32 +00:00
Luka Perkov
8a4726bca8 imx6: remove sdma binary
SVN-Revision: 37682
2013-08-04 13:28:26 +00:00
Hauke Mehrtens
2fcaba306e brcm47xx: change board detection for some Asus devices
This closes #13316

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

SVN-Revision: 37680
2013-08-04 12:36:13 +00:00
Hauke Mehrtens
cccc9e214b kernel: do not build FW_LOADER as a module.
CONFIG_FW_LOADER=y is set in the generic config and our packages in
packages/kernel/linux are depending on it to be compiled into the
kernel.
This fixes some dependency problem where kmod-r8169 misses
firmware_class.ko.

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

SVN-Revision: 37672
2013-08-04 09:41:10 +00:00
Zoltan Herpai
36cc8cc856 imx23: add missing DTS config for lradc
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 37663
2013-08-03 10:37:25 +00:00
Zoltan Herpai
370ad94576 imx23: add hw crypto (dcp) support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 37662
2013-08-03 10:35:18 +00:00
Hauke Mehrtens
b2d2ca4bbd kernel: add missing config options
SVN-Revision: 37660
2013-08-02 20:13:54 +00:00
Hauke Mehrtens
219eac1856 kernel: add missing config option
SVN-Revision: 37657
2013-08-02 16:51:47 +00:00
Hauke Mehrtens
c47a55dd0d kernel: add missing config option
brcm47xx does not use CONFIG_B53_SPI_DRIVER, but it could be selected if spi is build as a module

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

SVN-Revision: 37656
2013-08-02 16:16:23 +00:00
Jonas Gorski
3e9ad14992 kernel: ocf: add missing kernel dependencies
OCF_CRYPTOSOFT uses both symbols form crypto_hash and crypto_blkcipher,
so let it select these through kernel config.

Fixes the following build error:

ERROR: "crypto_alloc_ahash" [crypto/ocf/cryptosoft.ko] undefined!
ERROR: "crypto_ahash_digest" [crypto/ocf/cryptosoft.ko] undefined!
ERROR: "crypto_ahash_setkey" [crypto/ocf/cryptosoft.ko] undefined!
make[6]: *** [__modpost] Error 1
make[5]: *** [modules] Error 2

Reported-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37652
2013-08-01 23:04:42 +00:00
Hauke Mehrtens
290dade033 brcm47xx: switch to kernel 3.10.4
This uses a new switch driver.
The old ADMTEK Adm6996 switch is not supported any more.

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

SVN-Revision: 37650
2013-08-01 21:01:59 +00:00
Hauke Mehrtens
7e14fd55fd brcm47xx: use lib phy when tg3 is in use
This is untested, but probably needed to make it work with the phy lib switch driver.

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

SVN-Revision: 37649
2013-08-01 20:47:55 +00:00
Hauke Mehrtens
8966b86067 kernel: b53: use devm_gpio_request_one() to request gpio
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37648
2013-08-01 20:46:56 +00:00
Hauke Mehrtens
2b55968f5d brcm47xx: improve detection of Linksys WRTSL54GS
This closes #13319

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

SVN-Revision: 37647
2013-08-01 19:33:59 +00:00
Hauke Mehrtens
6d7f796b52 brcm47xx: remove support for kernel 3.9
This is not needed any more.

SVN-Revision: 37646
2013-08-01 19:17:51 +00:00
Hauke Mehrtens
e1127aca07 kernel: b53: add support for GPIO reset
This is needed for some switches used on bcm47xx SoCs like the one on the Asus RT-N66U.

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

SVN-Revision: 37645
2013-08-01 19:05:34 +00:00
Hauke Mehrtens
2363cb3893 brcm47xx: add function to get a gpio pin by name
bcm47xx_nvram_gpio_pin() returns a gpio pin number for a given name based
on configuration data in nvram.

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

SVN-Revision: 37644
2013-08-01 19:04:12 +00:00
John Crispin
169e184521 ramips: add Poray IP2202 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37640
2013-08-01 14:31:15 +00:00
John Crispin
ce4228b417 ramips: add Poray X8 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37639
2013-08-01 14:31:09 +00:00
John Crispin
54968110f1 ramips: add Poray X5/X6 Support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37638
2013-08-01 14:31:04 +00:00
John Crispin
0dc3b44b0d ramips: add Poray M4 4M/8M support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37637
2013-08-01 14:30:58 +00:00
John Crispin
23d3b705df ramips: add Poray M3 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37636
2013-08-01 14:30:53 +00:00
John Crispin
aaedf6c8c6 ramips: add basics for Poray devices
This commit adds the basic elements to support Poray brand routers.
It contains a tool to do the encryption/obfuscation that is used in
Poray routers.

Support for Poray devices was worked on by:

Felix Kaechele <heffer@fedoraproject.org>
Luis Soltero <lsoltero@globalmarinenet.com>
Michel Stempin <michel.stempin@wanadoo.fr>

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

SVN-Revision: 37635
2013-08-01 14:30:46 +00:00
John Crispin
b4c722267e lantiq: fix VG3503J ethernet/gphy led support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37634
2013-08-01 14:30:40 +00:00
John Crispin
046b282429 ralink: add mt7620a_mt7610e profile
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37633
2013-08-01 14:30:33 +00:00
Zoltan Herpai
9eb3572b7b imx23: add lradc support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 37632
2013-08-01 09:36:37 +00:00
Zoltan Herpai
91e8082e2d kernel: add missing iio config symbols for 3.10
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 37631
2013-08-01 06:58:08 +00:00
Hauke Mehrtens
e2b2e3886b brcm47xx: run mtd fixtrx linux every time
With this patch it is possible to boot a device with kernel 3.10 a second time.

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

SVN-Revision: 37625
2013-07-31 17:41:52 +00:00
Zoltan Herpai
0a6e0228d9 imx23: add SoC sound support
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 37622
2013-07-31 09:52:46 +00:00
Felix Fietkau
28d03a9983 kernel: update remaning platforms accidentally left out of r37617
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37619
2013-07-30 08:00:25 +00:00
Felix Fietkau
8f04792531 kernel: update to linux 3.10.4, refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37617
2013-07-29 22:42:22 +00:00
John Crispin
336c94c32d lantiq: setup gphy leds on TPlink TDW8970
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37612
2013-07-29 13:10:42 +00:00
John Crispin
c3b5ee96b9 lantiq: add gphy pinmux definitions
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37611
2013-07-29 13:10:37 +00:00
John Crispin
61e6be686f lantiq: set sane default for phy leds
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37610
2013-07-29 13:10:32 +00:00
John Crispin
c2600d13d1 ramips: fix indenting of spi partitions inside dts files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37609
2013-07-29 13:10:26 +00:00
Felix Fietkau
99e3616dac kernel: add missing config symbols for 3.10
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37602
2013-07-29 12:48:57 +00:00
Felix Fietkau
73c4d73d6d build: unify target independent optimization options
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37600
2013-07-29 09:38:29 +00:00
Felix Fietkau
cc26f768e4 kernel: stop patching -funit-at-a-time into CFLAGS, it has no effect on recent compilers
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37598
2013-07-29 09:38:21 +00:00
Hauke Mehrtens
ad59c4e646 bcm53xx: compile b53 switch driver
SVN-Revision: 37587
2013-07-28 22:14:55 +00:00
Hauke Mehrtens
1377916ea7 bcm53xx: update patches
This reorders the patchs and adds some new ones.

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

SVN-Revision: 37586
2013-07-28 22:13:52 +00:00
Hauke Mehrtens
333252e493 bcm53xx: use clocksource patch as it was committed upstream
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37585
2013-07-28 21:22:50 +00:00
Hauke Mehrtens
3e8c39f239 bcm53xx: add initial bgmac patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37584
2013-07-28 21:20:15 +00:00
Hauke Mehrtens
24628e4ce7 bcm53xx: activate pci and usb in kernel config
This is not working, just compiling

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

SVN-Revision: 37583
2013-07-28 21:10:42 +00:00
Luka Perkov
d6a23e1ae9 imx6: update default packages
SVN-Revision: 37582
2013-07-28 20:34:21 +00:00
Luka Perkov
a08eab3ce8 imx6: add support for EHCI USB
SVN-Revision: 37581
2013-07-28 20:34:19 +00:00
Gabor Juhos
65584ed54f ar71xx: add profile and build image for the WNR612 v2 board
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3876/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37577
2013-07-28 10:23:38 +00:00
Gabor Juhos
41d136f2c8 ar71xx: add user-space support for the WNR612 v2 board
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3876/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37576
2013-07-28 10:23:37 +00:00
Gabor Juhos
6d8163505e ar71xx: add kernel support for the Netgear WNR612 v2 board
Netgear WNR612 v2:
 - cpu Atheros AR7240 (Python) @400MHz
 - flash 4MB
 - ram 32MB
 - ethernet 10/100: 1xwan + 2xlan (only two)
 - radio AR9285

[juhosg: use a separate kernel patch]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3876/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37575
2013-07-28 10:23:36 +00:00
Gabor Juhos
ede1587ed8 ar71xx: add profile and build image for the TL-WR710N board
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3873/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37574
2013-07-28 10:23:34 +00:00
Gabor Juhos
5f5257e234 ar71xx: add user-space support for the TL-WR710N board
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3873/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37573
2013-07-28 10:23:33 +00:00
Gabor Juhos
c5029c2ebf ar71xx: add kernel support for the TP-LINK TL-WR710N v1 board
Small router sold in EU: AR9330@400MHz, 1x USB2.0,
2x ethernet, 8MB flash, 32MB ram, one led, one button.

See: http://galeria.tech-blog.pl/TP-Link_TL-WR710N-EU/

[juhosg: use a separate kernel patch]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3873/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37572
2013-07-28 10:23:32 +00:00
Gabor Juhos
af1dd57a37 ar71xx: build image for the MERCURY MW4530R board
Mercury MW4530R is a TP-Link TL-WDR4310 clone but
with a much lower price tag (~ $40). This patch
is tested to work at trunk r37525.

Signed-off-by: Leon Xu <ylxu72@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3856/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37571
2013-07-28 10:23:31 +00:00
Gabor Juhos
8b6f392b72 ar71xx: add model detection for the MERCURY MW4530R board
Mercury MW4530R is a TP-Link TL-WDR4310 clone but
with a much lower price tag (~ $40). This patch
is tested to work at trunk r37525.

Signed-off-by: Leon Xu <ylxu72@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3856/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37570
2013-07-28 10:23:29 +00:00
Gabor Juhos
b49dc036e8 ar71xx: TEW632BRP has buttons 'active low', fix board config
Looks like trunk@37090 has changed the logic that determines
if router's button was pressed. This resulted in TEW632BRP
always booting into failsafe mode because it detected pressed
button (which was not pressed).

Measure with voltmeter has shown that buttons on this router
are actually active-low. This patch reflects this fact in
board configuration and fixes 'load info failsafe mode' issue.

Note: it looks like Trendnet TEW632BRP and a close relative
to TEW-652BRP V1.0 and D-Link DIR-615C1, so same problem may
exist on those routers as well. This patch doesn't affect
routers other than 632BRP and unfortunately I do not have
hardware to test this issue with other routers.

This patch fixes #13893 and is tested on actuall Trendnet
TEW632BRP.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37569
2013-07-28 10:23:22 +00:00
John Crispin
8dd30fa775 ramips: add MPR-A1 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37568
2013-07-27 09:23:52 +00:00
John Crispin
13b7ab81cf ralink: gpio driver should not set gpio to input when irq is querired
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37567
2013-07-27 09:23:45 +00:00
John Crispin
eb089abd28 ramips: add back dwc_otg driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37566
2013-07-27 09:23:40 +00:00
John Crispin
718b47f0b4 ramips: MPR-A2 should use memory auto detection
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37565
2013-07-27 09:23:34 +00:00
John Crispin
115c6f85cf ramips: enable usb phy support on rt5350
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37564
2013-07-27 09:23:29 +00:00
John Crispin
f4c4ca0b00 ralink: switch back to dwc_otg ... dwc2 seems to not work well with 3G modems
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37563
2013-07-27 09:23:24 +00:00
John Crispin
4176b6fdd3 strict_strtoul is obsolete, use kstrtoul instead
based on http://patchwork.openwrt.org/patch/3827/

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

SVN-Revision: 37562
2013-07-27 09:23:18 +00:00
John Crispin
c4413b6e08 ramips: unbreak asiarf dts files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37561
2013-07-26 15:19:19 +00:00
Gabor Juhos
f093cda481 ar71xx: add profile and fixup image generation for the TL-MR10U board
Create a separate board profile and update the profile
name in image/makefile. Also use the correct machtype
string in kernel command line.

Based on andelf's patch:
http://andelf.diandian.com/post/2013-05-22/40050677370

Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37550
2013-07-26 07:32:01 +00:00
Gabor Juhos
f4d5ecdb9f ar71xx: add user-space support for the TL-MR10U board
Based on andelf's patch:
http://andelf.diandian.com/post/2013-05-22/40050677370

Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37548
2013-07-26 07:31:59 +00:00
Gabor Juhos
ec7fe3fab7 ar71xx: add kernel support for the TL-MR10U board
Based on andelf's patch:
http://andelf.diandian.com/post/2013-05-22/40050677370

[juhosg: extend WR703N code to handle the TL-MR10U
instead of adding a separate mach-tl-mr10u file]]

Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37547
2013-07-26 07:31:57 +00:00
Gabor Juhos
e9688455f6 kernel: update 3.10 to 3.10.3
Also refresh 3.10 patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37546
2013-07-26 07:19:58 +00:00
John Crispin
bfe65eaf7a lantiq: remove stale phy register setup properties from dts files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37544
2013-07-25 20:54:51 +00:00
John Crispin
54b4074074 lantiq: add TP-Link TDW8970 image generation
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37543
2013-07-25 20:29:24 +00:00
John Crispin
a2c5540727 lantiq: add profile for TP-Link TDW8970
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37542
2013-07-25 20:29:20 +00:00
John Crispin
a99042c6a4 lantiq: add devicetree for TP-Link TDW8970
Signed-of-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37541
2013-07-25 20:29:15 +00:00
John Crispin
313636c1e4 lantiq: fix initramfs image generation for lzmaloader based images
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37540
2013-07-25 20:29:10 +00:00
John Crispin
a4d31c0353 lantiq: make macs loadable from mtd partitions
This is a really ugly hack but it will have to do until we copy the ramips patches to the lantiq tree

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

SVN-Revision: 37539
2013-07-25 20:29:05 +00:00
John Crispin
32f7ae4ce6 lantiq: add a hook to make leds work on the secondary usb bus
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37538
2013-07-25 20:29:01 +00:00
John Crispin
4036be4408 lantiq: update pcie driver
This is an intermediate commit until the new OF driver is functional.

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

SVN-Revision: 37537
2013-07-25 20:28:56 +00:00
Lars-Peter Clausen
dee22d069f xburst: Add missing kernel config symbol
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>

SVN-Revision: 37534
2013-07-25 18:39:34 +00:00
John Crispin
04aaf7a03e ramips: disable hg255d
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37532
2013-07-25 17:03:08 +00:00
John Crispin
7feebeb193 ramipe: disable HG255D support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37531
2013-07-25 16:55:48 +00:00
John Crispin
9b2c7be0c4 ramips: important patch for HG255D
r37505 add support for Huawei HG255D, but it only tested under a community hacked u-boot ("lintel u-boot"), which has a different mtd layout compared to origin one. If you install it on a box with origin u-boot, the origin factory part will be destroyed, and your wifi interface will never up!!!

This patch shrink firmware part in mtd layout to exclude origin factory part, and  I will prepare another patch to fix the eeprom extract issue for box with origin u-boot.

Signed-off-by: Leon Xu <ylxu72@gmail.com>

SVN-Revision: 37530
2013-07-25 16:01:58 +00:00
John Crispin
3ad136d9e3 ramips: Basic support for the AsiaRF RT5350 based AWM002 module and evaluation board.
Basic support for the AsiaRF RT5350 based AWM002 module and evaluation board.
http://www.asiarf.com/Smallest-Tiny-Ralink-802-11n-Wireless-AP-Router-Module-Board-AWM002-product-view-375.html

Signed-off-by Jon Smirl <jonsmirl@gmail.com>

SVN-Revision: 37521
2013-07-24 08:54:41 +00:00
John Crispin
3f3cac6136 ramips: fix HG255D VLAN initial detect issue
Signed-off-by: Leon Xu <ylxu72@gmail.com>

SVN-Revision: 37517
2013-07-23 13:07:00 +00:00
John Crispin
9181c569c4 linux/atheros: add 3.10 kernel support
SVN-Revision: 37513
2013-07-22 19:10:59 +00:00
Lars-Peter Clausen
db32da6b16 xburst: Unmark broken
3.10 support is working fine for this platform, so unmark it broken.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>

SVN-Revision: 37512
2013-07-22 18:44:05 +00:00
Lars-Peter Clausen
44745f714e xburst: Remove 3.8 support
3.8 support for this platform is broken, so remove it.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>

SVN-Revision: 37511
2013-07-22 18:42:36 +00:00
Lars-Peter Clausen
32a83db347 xburst: Add 3.10 support
Missing files from the previous commit.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>

SVN-Revision: 37510
2013-07-22 18:41:23 +00:00
Lars-Peter Clausen
e7d77883c7 xburst: Add 3.10 support
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>

SVN-Revision: 37509
2013-07-22 18:40:32 +00:00
Gabor Juhos
ea55883a51 ar71xx: fix switch port map for the Archer C7
The correct port number for the WAN port is 1.
Update the VLAN port maps to reflect that.

https://forum.openwrt.org/viewtopic.php?pid=203755#p203755

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37507
2013-07-22 16:02:13 +00:00
Gabor Juhos
bc91bec9f6 kernel/3.10: rework MIPS FPU emulation disable patch
Get rid of some ifdefs, and make sure that the microMIPS
specific code is disabled as well.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37506
2013-07-22 16:02:12 +00:00
John Crispin
0cc1e2acb4 ramips: Add support for Huawei HG255D in trunk
HG255D is a kind of popular low-end home gateway in China, this patch bring the the trunk support for it. It is adapted from a local Chinese community (www.right.com.cn), so credit should given to them.

This patch is tested to work except trivial LED issues.

Signed-off-by: Leon Xu <ylxu72@gmail.com>

SVN-Revision: 37505
2013-07-22 15:36:39 +00:00
Gabor Juhos
ef944dcb85 kernel: update 3.10 to 3.10.2
Also refresh 3.10 patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37502
2013-07-22 15:31:13 +00:00
Gabor Juhos
6a5b4ec7dc kernel: update 3.9 to 3.9.11
Also refresh 3.9 patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37501
2013-07-22 15:30:56 +00:00
John Crispin
8d0cd50f30 ralink: set remove dwc_otg from default packages and use dwc2 instead
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37499
2013-07-22 13:52:52 +00:00
John Crispin
ffe389c4c5 ralink: remove dwc_otg from modules.mk
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37498
2013-07-22 13:52:44 +00:00
John Crispin
5525b2136e ralink: set v3.10 as default
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37497
2013-07-22 13:52:32 +00:00
Felix Fietkau
a50c18c632 kernel: fix crash in act_connmark in 3.9 and 3.10 (fixes #13916, #13876)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37493
2013-07-21 13:53:54 +00:00
Hauke Mehrtens
a1ec175d7b kernel: add missing config option CONFIG_SND_MXS_SOC
This is needed by imx23 target.

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

SVN-Revision: 37492
2013-07-21 12:27:22 +00:00
Lars-Peter Clausen
8fc44d1f5f kernel: Remove gpio-pwm patches
There is no platform using the gpio-pwm driver, yet these patches break the
generic PWM framework that is in upstream. So just remove them.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>

SVN-Revision: 37490
2013-07-21 11:43:16 +00:00
Felix Fietkau
bb141e06a2 kernel: merge a proposed fix from LKML for fixing infinite data returned by /proc/timer_list
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37484
2013-07-20 18:35:54 +00:00
Jonas Gorski
7ef37c8e3e brcm63xx: add linux 3.10 support
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37481
2013-07-20 11:30:26 +00:00
Gabor Juhos
205f7248ae Revert "ar71xx: override cpu_has_mmips feature"
This reverts r37477. A generic patch is used to fix
this globally, so revert the ar71xx specific change.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37480
2013-07-20 10:14:08 +00:00
Gabor Juhos
a2d12049e0 kernel/3.10: add a generic patch for cpu_has_mmips override
Backport of commit 3ddc14add5e6341cf8ef4058c34c67ba7fd15317
from 3.11-rc1

Suggested-by: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37479
2013-07-20 10:14:05 +00:00
Gabor Juhos
f5f9bce168 kernel/3.10: make emulate_load_store_microMIPS static
This allows the compiler to remove the emulate_load_store_microMIPS
function if cpu_has_mmips is defined as zero.

Backport of commit 74338805ec6869594d583535f941cb478c94dd73
from 3.11-rc1.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37478
2013-07-20 09:53:54 +00:00
Gabor Juhos
2d8fd8b58c ar71xx: override cpu_has_mmips feature
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37477
2013-07-20 09:40:32 +00:00
Gabor Juhos
8a6575cf53 ar71xx: use mtd_get_part_size helper
Drop the local get_mtd_part_size implementation and use
the equivalent function provided by lib/functions.sh.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37476
2013-07-20 09:26:57 +00:00
Gabor Juhos
7ee96847cf mpc85xx: remove 3.8 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37474
2013-07-20 09:13:04 +00:00
Gabor Juhos
294d7611c8 mpc85xx: switch to 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37473
2013-07-20 09:13:01 +00:00
Gabor Juhos
5803e27005 mpc85xx: add 3.10 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37472
2013-07-20 09:12:57 +00:00
Gabor Juhos
4a9d4271d0 ar71xx: build image for the TP-LINK TL-WR941N v6 board
TL-WR941N v6 use almost same IC as WDR3500.

[juhosg: change subject, and change fw layout from 4M to 4Mlzma]

Patchwork: http://patchwork.openwrt.org/patch/3719/
Signed-off-by: ShuYu Wang <andelf@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37471
2013-07-20 08:54:45 +00:00
Gabor Juhos
187a69c631 linux: move more ARM_ERRATA symbols to the generic config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37470
2013-07-20 07:43:54 +00:00
Gabor Juhos
a9de3a851a linux: remove 3.7 support
It is not used by any target.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37469
2013-07-20 07:37:27 +00:00
Gabor Juhos
c8933c968f linux: remove duplicated 3.10 symbols from target config files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37467
2013-07-20 07:21:52 +00:00
Jonas Gorski
b1b4e7db13 kernel: move CONFIG_NET_IP_TUNNEL to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37465
2013-07-19 22:58:01 +00:00
Gabor Juhos
9e14f9df5f malta: remove CONFIG_NET_CLS* overrides
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37464
2013-07-19 22:51:37 +00:00
Gabor Juhos
f4242a4324 malta: remove CONFIG_NET_SCH_* overrides
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37463
2013-07-19 22:51:36 +00:00
Gabor Juhos
2dee293d02 malta: remove CONFIG_*_PHY overrides
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37462
2013-07-19 22:51:35 +00:00
Gabor Juhos
e47a2a24a7 malta: remove 3.8 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37457
2013-07-19 17:12:53 +00:00
Gabor Juhos
784311eec3 malta: switch to 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37456
2013-07-19 17:12:52 +00:00
Gabor Juhos
64977a70de malta: add support for 3.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37455
2013-07-19 17:12:51 +00:00