Commit Graph

9557 Commits (cde71c305cde8722dd3c81aae8a2800fcedcb3bc)

Author SHA1 Message Date
Florian Fainelli fa1afc1fa9 mvebu: add support for RTC
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35176
2013-01-15 19:55:19 +00:00
Felix Fietkau b3b04e9fb1 kernel: port 203-kallsyms_uncompressed.patch and 305-mips_module_reloc.patch to 3.8
SVN-Revision: 35162
2013-01-14 18:55:36 +00:00
Gabor Juhos 78dc69e1d4 generic: remove EHCI platform driver fix from 3.8
It is not needed on 3.8.

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

SVN-Revision: 35160
2013-01-14 17:53:55 +00:00
Gabor Juhos b035c594ae generic: add EHCI|OHCI platform driver fix from the cns21xx target
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35159
2013-01-14 17:47:23 +00:00
Florian Fainelli 1e103b2ecc target: enable XZ BCJ decompressor code after r35097
Required to actually be able to mount squashfs xz compressed
filesystems.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35156
2013-01-14 16:34:25 +00:00
Felix Fietkau e0e3509b5c kernel: add a config option for keeping the kallsyms table uncompressed, saving ~9kb kernel size after lzma on ar71xx
SVN-Revision: 35154
2013-01-14 16:08:18 +00:00
Felix Fietkau 1474359bd3 ar71xx: fix unaligned access in cls_u32
SVN-Revision: 35132
2013-01-13 16:48:23 +00:00
Felix Fietkau e67b6ee395 ar71xx: fix unaligned access in a few more places
SVN-Revision: 35130
2013-01-13 15:37:58 +00:00
Felix Fietkau b5bcbdfbb5 ar71xx: improve unaligned access patches, add a net_hdr_word() macro which assumes 2-byte aligned access and generates better code than {get,put}_unaligned_cpu32
SVN-Revision: 35129
2013-01-13 14:54:39 +00:00
Felix Fietkau 53e0ba49b9 ar71xx: avoid __packed define in the unaligned access hack patch, make the ipv6 address struct also 2-byte-aligned/packed
SVN-Revision: 35127
2013-01-13 13:06:09 +00:00
Felix Fietkau 5d55cece6e kernel: add back the mips module relocation patch
SVN-Revision: 35126
2013-01-13 12:23:42 +00:00
Felix Fietkau 764520975c ar71xx: add more cpu feature overrides, slightly reduces kernel size
SVN-Revision: 35125
2013-01-13 11:33:48 +00:00
Felix Fietkau 310724c14d ar71xx: extend the unaligned access hacks to a few more places that showed up in the new kernel
SVN-Revision: 35124
2013-01-13 11:33:44 +00:00
Hauke Mehrtens 2bf03f971d brcm47xx: BCMA - Update default IRQ assignment per upstream change
Update the default IRQ assignment for unrecognized devices per
the upstream change.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 35121
2013-01-12 15:00:01 +00:00
Gabor Juhos 5d1ecfc26d refresh kernel configs with kconfig.pl
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35119
2013-01-12 12:29:55 +00:00
Gabor Juhos ef75e6c71a malta: remove 3.6 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35118
2013-01-12 12:29:53 +00:00
Gabor Juhos 3d057de4db malta: build lzma and gzip compressed uImages
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35117
2013-01-12 12:29:52 +00:00
Gabor Juhos df8a8f2515 adm5120: remove 3.6 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35116
2013-01-12 12:25:42 +00:00
Gabor Juhos d472567997 adm5120: switch to 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35115
2013-01-12 12:25:40 +00:00
Gabor Juhos eb2188c0e2 ar71xx: remove 3.6 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35114
2013-01-12 12:25:38 +00:00
Gabor Juhos fe86bc9370 ar71xx: switch to 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35113
2013-01-12 12:25:36 +00:00
Gabor Juhos ca882f230d mpc83xx: remove 3.6 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35112
2013-01-12 12:25:34 +00:00
Gabor Juhos eba037cd1f mpc83xx: switch to 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35111
2013-01-12 12:25:32 +00:00
Gabor Juhos ff2ce330a5 ramips: remove 3.6 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35110
2013-01-12 12:25:30 +00:00
Gabor Juhos d53f8c3ded ramips: switch to 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35109
2013-01-12 12:25:28 +00:00
Gabor Juhos f8f009ca43 rb532: remove 3.6 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35108
2013-01-12 12:25:26 +00:00
Gabor Juhos cd71dcdab7 rb532: switch to 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35107
2013-01-12 12:25:24 +00:00
Gabor Juhos 7098354885 ppc44x: remove 3.6 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35106
2013-01-12 12:25:21 +00:00
Gabor Juhos 83fccacec2 ppc44x: switch to 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35105
2013-01-12 12:25:20 +00:00
Gabor Juhos 9d3bae8f0e ppc40x: remove 3.6 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35104
2013-01-12 12:25:18 +00:00
Gabor Juhos 06fea75afb ppc40x: switch to 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35103
2013-01-12 12:25:16 +00:00
Gabor Juhos a51f602494 cns21xx: remove 3.6 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35102
2013-01-12 12:25:14 +00:00
Gabor Juhos bdc6ec4974 cns21xx: switch to 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35101
2013-01-12 12:25:12 +00:00
Gabor Juhos c19c30cefd kernel: update linux 3.7 to 3.7.2
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35100
2013-01-12 11:43:08 +00:00
Florian Fainelli ecf230710f mvebu: update to 3.8-rc3
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35086
2013-01-10 17:20:25 +00:00
Hauke Mehrtens 548cb59826 brcm47xx: update bgmac driver to the version in mainline kernel
SVN-Revision: 35083
2013-01-10 14:22:19 +00:00
Hauke Mehrtens 885eea1842 kernel: update bcma and ssb to master-2013-01-09 from wireless-testing
SVN-Revision: 35080
2013-01-10 14:05:18 +00:00
Imre Kaloz a2950fabd4 clean up PCI bus topology
This makes the PCI bus topology more standard for devices behind a bridge

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

SVN-Revision: 35079
2013-01-10 13:25:12 +00:00
Imre Kaloz b63b970866 clean up PCI bus topology
This makes the PCI bus topology more standard for devices behind a bridge

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

SVN-Revision: 35078
2013-01-10 13:23:33 +00:00
John Crispin 64910f4490 fixes USB reset on ARV7518
SVN-Revision: 35077
2013-01-10 06:44:58 +00:00
John Crispin 4834d09a3f fixes none-pci build
SVN-Revision: 35062
2013-01-09 09:04:09 +00:00
Florian Fainelli 25475a095e mvebu: add inital support for Marvell Armada XP/370 SoCs
This brings in the initial support for the Marvell Armada XP/370 SoCs.
Successfully tested on RD-A370-A1 and DB-MV784MP-GP boards the following
interfaces:

- Ethernet
- SDIO
- GPIOs
- SATA

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35058
2013-01-08 22:20:16 +00:00
Florian Fainelli 97acd10458 add support for 3.8 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35057
2013-01-08 22:20:11 +00:00
Florian Fainelli 9b601b79d0 add support for 3.8 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35056
2013-01-08 22:20:06 +00:00
Florian Fainelli 8dbed04ec9 kernel: add support for 3.8-rc2
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35055
2013-01-08 22:19:31 +00:00
Hauke Mehrtens 7b0af8193b brcm47xx: BGMAC Driver corrections
1) Fix what appears to be a logic error in bgmac_phy_advertise.

2) Fix bgmac_ioctl to use passed phy_id; needed for switch-robo
interface w/ the driver to work correctly.  I still have the issue
with the interface always being HD when the speed/duplex is set
manually (e.g., echo "100FD" > /proc/switch/eth0/port/N/media).

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 35052
2013-01-07 22:51:39 +00:00
Florian Fainelli 4ec57bdc06 update to 3.7
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35045
2013-01-07 18:16:36 +00:00
Gabor Juhos ba4de984b9 ar71xx: disable PHY_SWAP and PHY_ADDR_SWAP bits on TL-WR703N/MR3020/MR3040/MR11U boards
The PHY_SWAP and PHY_ADDR_SWAP bits are initialized
differently by different versions of the bootloader.
This leads to broken ethernet connection with OpenWrt
on some boards.

Turn both SWAP bits OFF on these boards to make it
consistent regardless of the bootloader used.

Based on a patch by Michel Stempin <michel.stempin@wanadoo.fr>.

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

SVN-Revision: 35037
2013-01-07 14:30:37 +00:00
Gabor Juhos 251e4608b0 ar71xx: add missing Makefile entry to the 74HC153 GPIO patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35035
2013-01-07 14:14:41 +00:00
Felix Fietkau 5154270694 orion: debloat the kernel some more
SVN-Revision: 35023
2013-01-06 15:09:47 +00:00
Felix Fietkau 75657ff8a9 kernel: add missing config symbol
SVN-Revision: 35021
2013-01-06 15:09:39 +00:00
John Crispin f2f9332350 adds support for Edimax BR-6524N
fixes #12754

Signed-off-by: <rq@akl.lt>

SVN-Revision: 35020
2013-01-06 11:11:42 +00:00
John Crispin d5d2e8b4db missing underscore in 3.3 regmap patch
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 35018
2013-01-06 10:01:53 +00:00
Felix Fietkau 2e8409cce3 kernel: port the regmap fix to 3.6 (#12749), refresh patches for other versions
SVN-Revision: 35016
2013-01-05 13:33:44 +00:00
John Crispin e6aac19237 fix regmap debloat patch
SVN-Revision: 35015
2013-01-05 00:20:05 +00:00
Jonas Gorski e952eaa112 bcm63xx: Add Huawei HG556a support
Add Huawei EchoLife HG556a support.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo@openwrt.org: added some code style fixes]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35011
2013-01-04 14:47:57 +00:00
Jonas Gorski 0e58173fa5 bcm63xx: Fix caldata partition mtd patch
Allow bcm63xxpart to receive a caldata offset if calibration data is contained in flash.

Tested-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

SVN-Revision: 35010
2013-01-04 14:47:50 +00:00
Jonas Gorski 10fc07daac bcm63xx: remove 3.3 support
3.6 is tested enough to be considered stable.

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

SVN-Revision: 35009
2013-01-04 14:47:43 +00:00
Felix Fietkau 96f3911981 kernel: move regmap bloat out of the kernel image if it is only being used in modules
SVN-Revision: 34999
2013-01-03 18:39:50 +00:00
Hauke Mehrtens a105eea1a1 brcm47xx: various fixes and code cleanups for irq code
This is based on a patch send by Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 34997
2013-01-03 16:56:54 +00:00
Hauke Mehrtens 4443997fd8 brcm47xx: add bgmac driver
This Ethernet driver is in early development stage and still has some problems.
This was working on my bcm4716 based device.

Thanks to Rafał Miłecki <zajec5@gmail.com> for writing this driver.

SVN-Revision: 34995
2013-01-03 02:05:22 +00:00
Hauke Mehrtens 8f6bdcffa1 brcm47xx: build b44 as a module
SVN-Revision: 34994
2013-01-03 02:00:25 +00:00
Hauke Mehrtens 22d62d311a brcm47xx: run ifup before starting the switch
In addition check_module is not needed, nobody checks the return value.

SVN-Revision: 34993
2013-01-03 01:59:43 +00:00
Hauke Mehrtens 97b2b601c7 brcm47xx: BCMA - IRQ Update - Fix IRQ Flag for I2S Core
Adjust the IRQ Flag value from 8 to 7 for I2S Core for BCM4716 and
BCM4748 (per the Broadcom SDK).  IRQ Flag values greater than 7 are
ignored when setting the interrupt masks.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 34990
2013-01-03 01:56:13 +00:00
Hauke Mehrtens f74e847301 brcm47xx: improve IRQ handling for bcma based devices
This was party inspirited by patches send by Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 34989
2013-01-03 01:55:34 +00:00
Hauke Mehrtens 25afeba608 brcm47xx: add a new version of the nvram rewrite patch
This is the version like it was send for mainline inclusion.

SVN-Revision: 34988
2013-01-03 01:53:30 +00:00
Hauke Mehrtens edc7ab525f brcm47xx: move patches already in the mainline kernel to the front
SVN-Revision: 34987
2013-01-03 01:51:31 +00:00
Hauke Mehrtens 76c767f122 brcm47xx: remove support for kernel version 3.3
SVN-Revision: 34986
2013-01-03 01:48:43 +00:00
Jo-Philipp Wich 7a73c2f91f generic: add some missing kernel config symbols spotted on x86
SVN-Revision: 34981
2013-01-02 19:10:24 +00:00
Felix Fietkau 741f6ba7ef x86: fix typo in alix2/net5501 default packages
SVN-Revision: 34972
2013-01-02 16:09:23 +00:00
John Crispin 569bbe4970 rt5350 switch support fix
RT5350 frame engine need reset frame engine and embedded switch together.

Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>

SVN-Revision: 34969
2013-01-02 11:28:21 +00:00
Gabor Juhos 373b0b9ad1 generic: fix UBIFS build error if XZ compression is disabled
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34959
2013-01-02 08:53:07 +00:00
Gabor Juhos d91117459c adm5120: add support for 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34954
2013-01-01 13:15:49 +00:00
Gabor Juhos f0520f1714 adm5120: nuke 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34953
2013-01-01 13:15:44 +00:00
Gabor Juhos b4315df8e1 adm5120: switch to 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34952
2013-01-01 13:15:41 +00:00
Gabor Juhos edd36342e5 adm5120: add support for 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34951
2013-01-01 13:15:36 +00:00
Gabor Juhos 92cd48e9ea adm5120: remove NAND_NO_AUTOINCR flag from rb1xx.c
Also add a compatibility patch for 3.3.

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

SVN-Revision: 34950
2013-01-01 13:15:30 +00:00
Gabor Juhos 03e09078dc adm5120: use mtd_read helper in trxsplit.c
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34949
2013-01-01 13:15:20 +00:00
Gabor Juhos e1b13e15b2 adm5120: don't include asm/system.h in adm5120-hcd.c
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34948
2013-01-01 13:15:16 +00:00
Gabor Juhos cbe5d664e1 generic: add missing symbol for 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34947
2013-01-01 13:15:11 +00:00
Gabor Juhos e1965a1d1a ar71xx: register the NAND flash controller device on the AP135/136 boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34946
2013-01-01 13:10:41 +00:00
Gabor Juhos 66efec6783 ar71xx: allow to register the NAND flash controller on the QCA955x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34945
2013-01-01 13:10:36 +00:00
Gabor Juhos 2c77e5d7b3 ar71xxx: allow to select ATH79_DEV_NFC for QCA955x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34944
2013-01-01 13:10:34 +00:00
Gabor Juhos d8446d65fe ar71xxx: allow to build the ar934x_nfc driver for QCA955x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34943
2013-01-01 13:10:29 +00:00
Gabor Juhos 93c322cacc ar71xx: fix NAND controller base for QCA955x SoCs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34942
2013-01-01 13:10:26 +00:00
Gabor Juhos b57cc9a538 ar71xx: fold AP135 patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34941
2013-01-01 13:10:22 +00:00
John Crispin 624eb36fff adds missing symbol
SVN-Revision: 34939
2012-12-30 21:31:10 +00:00
John Crispin ce57efa3ea fixes usb port on arv 4518
SVN-Revision: 34935
2012-12-30 12:38:40 +00:00
Gabor Juhos fb07876f25 ramips: rt305x: fix garbled name in mach-mzk-w300nh2.c
Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34934
2012-12-30 08:23:48 +00:00
Gabor Juhos 6708d68c24 ramips: build firmware image for the Planex MZK-W300NH2 Router
Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3077/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34927
2012-12-29 17:50:40 +00:00
Gabor Juhos 8b1ac2ae37 ramips: add user-space support for the Planex MZK-W300NH2 Router
Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3077/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34926
2012-12-29 17:50:38 +00:00
Gabor Juhos d6d06aceb0 ramips: rt305x: add kernel support for the Planex MZK-W300NH2 Router
This is a Japanese market router, for details check
http://www.planex.co.jp/product/router/mzk-w300nh2/. It has only 16MB
RAM, but base OpenWRT install worked fine for days without issues.
Even an image with built-in Luci worked, but don't expect smooth
experience, due to the lack of RAM. Wifi was not extensively tested,
but seems it is working. GPIO LEDs & buttons, factory flash image and
switch config are confirmed working. Tested against revision 34882 +
this patch.

[juhosg: move user-space support and image generation changes into
separate patches]

Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3077/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34925
2012-12-29 17:50:35 +00:00
Gabor Juhos 76537041eb ramips: build image for Airlive AIR3GII
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/2913/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34924
2012-12-29 17:50:34 +00:00
Gabor Juhos 3aad9b4c9b ramips: add user-space support for Airlive AIR3GII
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/2913/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34923
2012-12-29 17:50:32 +00:00
Gabor Juhos 3fcb8bb0dd ramips: rt305x: add kernel support for AirLive AIR3GII
AirLive AIR3GII is Ralink RT5350F based device with
100Mbps switch, USB port, 4MB flash and 32MB ram.

Works: ethernet (LAN & WAN), wps button, led, USB, sysupgrade
Does not work: wifi (chip RT5350), reset button

[   13.390000] phy0 -> rt2800_init_eeprom: Error - Invalid RT chipset 0x5350 detected.
[   13.400000] phy0 -> rt2x00lib_probe_dev: Error - Failed to allocate device.

Other problem: LAN leds is reverse (lights when not cable
connected and vice versa)

[juhosg: move user-space support and image generation changes into
separate patches]

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

SVN-Revision: 34922
2012-12-29 17:50:28 +00:00
Gabor Juhos 87271e9f28 ar71xx: add support for 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34920
2012-12-29 16:02:31 +00:00
Gabor Juhos a3a6e0f039 ar71xx: Build the AP135 images
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34919
2012-12-29 16:02:28 +00:00
Gabor Juhos dddf05bde2 ar71xx: Add userspace support for AP135
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34918
2012-12-29 16:02:27 +00:00
Gabor Juhos 1a379c5112 ar71xx: Add support for AP135
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34917
2012-12-29 16:02:24 +00:00
Gabor Juhos c6580f64b8 ar71xx: use a backported patch to fix AR933x UART baud rate calculation
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34915
2012-12-29 13:52:38 +00:00
Felix Fietkau 348dc70c8c ar71xx: change the unaligned access hack to assume an alignment of 2 bytes, slightly improves performance and code size
SVN-Revision: 34912
2012-12-28 21:30:24 +00:00
Felix Fietkau 41a039f464 mips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel size after lzma and ~12k squashfs size in the default configuration
SVN-Revision: 34909
2012-12-28 19:17:19 +00:00
Felix Fietkau 9bb8b9fadb kernel: remove the cisco SIP NAT patch, at least on 3.6 it crashes
SVN-Revision: 34901
2012-12-27 22:59:51 +00:00
Hauke Mehrtens 981b7410f8 brcm47xx: bcma: correct M25P32 serial flash ID
Thank you Rafał Miłecki.

SVN-Revision: 34900
2012-12-27 19:18:40 +00:00
Gabor Juhos 386c37b4c2 mpc83xx: add support for 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34892
2012-12-26 10:40:54 +00:00
Gabor Juhos f67a7a479e mpc83xx: nuke 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34891
2012-12-26 10:40:51 +00:00
Gabor Juhos 36af140fe4 mpc83xx: switch to 3.6.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34890
2012-12-26 10:40:50 +00:00
Gabor Juhos c4c8307ca1 mpc83xx: add support for 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34889
2012-12-26 10:40:48 +00:00
Gabor Juhos e537b8a093 mpc83xx: create package for the rbppc_cf module
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34888
2012-12-26 10:40:47 +00:00
Gabor Juhos fff75fe5b6 generic: more missing symbols for 3.{6,7}
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34887
2012-12-26 10:40:41 +00:00
Gabor Juhos f5b1cba606 ar71xx: build image for the AP136-020
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34886
2012-12-26 09:50:37 +00:00
Gabor Juhos f3f05d86fe ar71xx: add user-space support for AP136-020
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34885
2012-12-26 09:50:36 +00:00
Gabor Juhos ed1889db33 ar71xx: add kernel support for the AP136-020 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34884
2012-12-26 09:50:34 +00:00
Gabor Juhos c887a7fe4e ar71xx: rename AP136 to AP136-010
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34883
2012-12-26 09:50:31 +00:00
Gabor Juhos f8b4dfd172 ar71xx: dynamically set AR8327's PAD configuration on AP136
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34882
2012-12-25 18:45:32 +00:00
Gabor Juhos d4b4c7d102 generic: ar8216: add sgmii_delay_en field to ar8327_platform_data
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34881
2012-12-25 18:45:31 +00:00
Gabor Juhos 1dc2b6e8fa ar71xx: ag71xx: show PHY interface mode in dmesg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34880
2012-12-25 18:45:29 +00:00
Gabor Juhos 69da894432 ramips: fix ASUS WL-330N3G MAC address
The ASUS WL-330N and WL-330N3G has the MAC address stored at
offset 4, not 40. This is verified by reading original ASUS
firmware GPL_WL-330N3G_source.1028/user/rc/common_ex.c and
GPL_WL-330N_source.1021/user/rc/common_ex.c.

Tested on WL-330N3G, it now gets the same MAC as is printed on
the label on the router.

Signed-off-by: Jan Kardell <jan.kardell@arkub.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34877
2012-12-24 06:52:41 +00:00
Gabor Juhos c5a36f13f0 ramips: fix wifi EEPROM extraction on DIR-615-Dx models
Patch from #12636.

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

SVN-Revision: 34876
2012-12-24 06:52:38 +00:00
Imre Kaloz 2c05915b24 add nol2x0 cmdline to disable l2x0 cache
L2 cache via L2X0 cache controller available on some ARM boards can
provide a performance boost in some situations but decrease performance
in others.  This adds a kernel cmdline to disable L2X0 for cns3xxx based
boards.

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

SVN-Revision: 34874
2012-12-23 18:53:38 +00:00
Gabor Juhos c3cb63661f generic: ar8216: don't use 0 as default VID on AR8327
VID0 is reserved for priority-tagged packets.

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

SVN-Revision: 34862
2012-12-22 18:30:04 +00:00
Gabor Juhos fa9d06c7f4 generic: more missing symbols for 3.{6,7}
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34861
2012-12-22 17:22:41 +00:00
Gabor Juhos 8105c6badd ramips: unify eeprom file name for the built-in wireless MAC
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34860
2012-12-22 16:09:03 +00:00
Gabor Juhos c81b4475c9 ramips: rt3883: fix build error
The cpuport_cfg field has been renamed to port0_cfg.

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

SVN-Revision: 34859
2012-12-22 13:50:47 +00:00
Gabor Juhos 64d31e6c6b ar71xx: register the second ethernet interface on the AP136
Also fix the default network configuration
according to the new setup.

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

SVN-Revision: 34854
2012-12-22 12:12:50 +00:00
Gabor Juhos 5dec87afef ar71xx: fix ethernet device registration for QCA9558
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34853
2012-12-22 12:12:48 +00:00
Gabor Juhos 84a7051cef ar71xx: rename QCA9558 ETH_CFG bit defines
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34852
2012-12-22 12:12:46 +00:00
Gabor Juhos 4085a5773d ar71xx: fixup allowed PHY interface types for QCA9558
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34851
2012-12-22 12:12:44 +00:00
Gabor Juhos f01a786825 ar71xx: don't assign any MII bus device on QCA9558 by default
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34850
2012-12-22 12:12:43 +00:00
Gabor Juhos 9edcd9d3a3 ar71xx: ag71xx: fix mii_bus_dev sanity check
The mii_bus device is not required if phy_mask is zero.
The driver will use a fixed connection if it is not
specified.

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

SVN-Revision: 34849
2012-12-22 12:12:41 +00:00
Gabor Juhos ad0f03d250 ar71xx: ag71xx: don't start/stop built-in switch w/o mii_bus_dev
Trying to do that causes a NULL pointer dereference:

CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 801d170c, ra == 801d18d4
Oops[#1]:
Cpu 0
$ 0   : 00000000 00000000 00000000 00000001
$ 4   : 00000000 802e6390 ffff8f45 00000001
$ 8   : 804b5360 ffffff80 802f93bc 00000000
$12   : 802f93e8 00000000 00000000 00000000
$16   : 8381aba0 8381aba0 00000000 00000000
$20   : 8295eff0 00000032 80000000 004101b8
$24   : 00000000 777265b0
$28   : 82936000 82937cf0 00420000 801d18d4
Hi    : 00000000
Lo    : 00000001
epc   : 801d170c ar7240sw_reset+0x1c/0x19c
    Tainted: G           O
ra    : 801d18d4 ag71xx_ar7240_start+0x28/0xc0
Status: 1100fc03    KERNEL EXL IE
Cause : 00800008
BadVA : 00000000
PrId  : 00019750 (MIPS 74Kc)
Modules linked in: ath79_wdt ohci_hcd ledtrig_usbdev ledtrig_netdev
nf_nat_irc nf_nat_ftp nf_conntrack_irc nf_conntrack_ftp
 ipt_MASQUERADE iptable_nat nf_nat pppoe xt_conntrack xt_CT xt_NOTRACK
iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack
ehci_hcd pppox ipt_REJECT xt_TCPMSS xt_LOG xt_comment xt_multiport
xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tab
les ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) ath9k_hw(O)
ath(O) mac80211(O) usbcore usb_common nls_base crc_ccitt cfg80211(O) c
ompat(O) arc4 aes_generic crypto_blkcipher cryptomgr aead crypto_hash
crypto_algapi ledtrig_timer ledtrig_default_on leds_gpio gpio_button
_hotplug(O)
Process netifd (pid: 677, threadinfo=82936000, task=82cbe140, tls=77803750)
Stack : ffffffff 80087900 00000001 82937d74 8381aba0 8381aba0 00000000 00000000
        8295eff0 801d18d4 8295eff0 801fa4a4 00420000 80092158 00000002 8381aba0
        8381a800 00000000 00000080 801cf900 8027e720 00000000 00000000 8009223c
        8381a800 8381a82c 8027e720 00000000 00000000 7f9d14f0 00420000 801ec08c
        8381a800 801ebfb0 33000000 82937e30 00000001 8381a800 00001003 801ec348
        ...
Call Trace:
[<801d170c>] ar7240sw_reset+0x1c/0x19c
[<801d18d4>] ag71xx_ar7240_start+0x28/0xc0
[<801cf900>] ag71xx_open+0x1d0/0x258
[<801ec08c>] __dev_open+0xcc/0x130
[<801ec348>] __dev_change_flags+0xc0/0x160
[<801ec490>] dev_change_flags+0x20/0x6c
[<801ec5c8>] dev_ifsioc+0xec/0x348
[<801ecdb8>] dev_ioctl+0x594/0x67c
[<800ec00c>] do_vfs_ioctl+0x598/0x5ec
[<800ec0b0>] sys_ioctl+0x50/0x90
[<8006a3c4>] stack_done+0x20/0x40
Code: afbf0024  afb40020  afb10014 <8c910000> 00809021  24100104 24130704  8e440000  02002821

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

SVN-Revision: 34848
2012-12-22 12:12:40 +00:00
Gabor Juhos 3931c9524c generic: ar8316: allow to configure port 6 via platform data on AR8327
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34847
2012-12-22 12:12:37 +00:00
Gabor Juhos a0b31f97bb generic: ar8216: rename cpuport_cfg to port0_cfg in ar8327_platform_data
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34846
2012-12-22 12:12:35 +00:00
Gabor Juhos b44cdcde8e ramips: add support for 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34845
2012-12-22 12:11:13 +00:00
Gabor Juhos b81667cb23 ramips: convert to use {e,o}hci-platform driver
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34843
2012-12-22 12:11:08 +00:00
Gabor Juhos c0e1a6f342 generic/3.6: add platform specific power callbacks to {e,o}hci_platform drivers
Backport of upstream commits:

86e4cb35f2260374df4139c2352afe7fe247cb60 usb: host: ehci-platform: BUG_ON() to WARN_ON() on probe
b6dd245c4594482d46507a0bfd100439be367952 usb: host: ohci-platform: BUG_ON() to WARN_ON() on probe
04216bedafb1b3992a6c2b7f1518281d2ba5fc7b usb: host: ehci-platform: add platform specific power callback
e4d37aeb373a5edceecc1dadc76fabbe8bc18e44 usb: host: ohci-platform: addplatform specific power callback

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

SVN-Revision: 34842
2012-12-22 12:11:06 +00:00
John Crispin efe3225e2b ar9 did not load atm driver properly
SVN-Revision: 34840
2012-12-22 10:16:52 +00:00
John Crispin 379cd6e25e dont use input layer for gpio buttons
SVN-Revision: 34839
2012-12-21 20:04:20 +00:00
John Crispin 90a3761b0b default switch setup for WBMR
SVN-Revision: 34838
2012-12-21 20:04:12 +00:00
John Crispin ae0b9ff1ce Setting the MDC clock to 2.5MHz and changing the mii mode to rgmii seems to fix the communication issues with the ar8316 switch. (ticket #11143)
Tested only on the wbmr-hp-g300h, could affect/break other devices.

Signed-off-by: Sebastian Mayr <sebastian.mayr@student.uibk.ac.at>

SVN-Revision: 34837
2012-12-21 20:04:04 +00:00
John Crispin 9818a1f00b adds script to set wps info on boards with a wps button
SVN-Revision: 34836
2012-12-21 20:03:59 +00:00
John Crispin 3134205dfd minor tweaks to WBMR image
SVN-Revision: 34835
2012-12-21 20:03:54 +00:00
John Crispin f4b2439554 add missing PHY_BASIC_FEATURES to 100mbit phys
SVN-Revision: 34826
2012-12-21 14:41:35 +00:00
John Crispin 861bf6af49 fix typo inside fritz3370 devicetree file
SVN-Revision: 34825
2012-12-21 14:41:30 +00:00
John Crispin 54c096527a more devicetree fixes
SVN-Revision: 34824
2012-12-21 13:47:55 +00:00
John Crispin 59cc6d9ddd improve button handling
SVN-Revision: 34823
2012-12-21 13:47:50 +00:00
John Crispin 7ce4c81647 add phy-reset gpio handling to xrx200-net
SVN-Revision: 34822
2012-12-21 13:47:44 +00:00
John Crispin 42d668174e add more lantiq phy ids based on daniels uboot code
SVN-Revision: 34821
2012-12-21 13:47:40 +00:00
John Crispin 16c5946f8b refresh patch and install v1.1 gphy blobs
SVN-Revision: 34820
2012-12-21 13:47:35 +00:00
John Crispin 123343d424 make to rtl8366_smi of binding use gpio_is_valid
SVN-Revision: 34816
2012-12-21 13:47:14 +00:00