Commit graph

9744 commits

Author SHA1 Message Date
John Crispin
5eb43d4cf8 Add support for ARV4518PW R01 and rename R01A.
There are two different versions of SMC7908A-ISP: R01 and R01A.
R01 has an internal clock for PCI, meanwhile R01A has an external clock.

This fixes: https://dev.openwrt.org/ticket/12884

Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 35352
2013-01-28 17:42:59 +00:00
Felix Fietkau
1dc9c8ef69 kernel: disable CONFIG_CRYPTO_MANAGER2, it is not needed
SVN-Revision: 35342
2013-01-27 23:23:39 +00:00
Hauke Mehrtens
68aeb7af8e brcm47xx: load pps_core and ptp before tg3 to make the interface available for failsafe.
SVN-Revision: 35341
2013-01-27 21:48:28 +00:00
Hauke Mehrtens
a9175c90cf kernel: b53: the b53 spi driver depends on spi
SVN-Revision: 35340
2013-01-27 21:39:53 +00:00
Hauke Mehrtens
62554217fc kernel: add packages for pps and ptp, they are needed by tg3 in kernel 3.8
SVN-Revision: 35336
2013-01-27 21:18:52 +00:00
Felix Fietkau
8193bbe59a netfilter: add support for flushing conntrack via /proc
SVN-Revision: 35330
2013-01-27 19:02:38 +00:00
Felix Fietkau
156a6e7999 kernel: clean up crypto kconfig options on 3.8
SVN-Revision: 35329
2013-01-27 17:49:09 +00:00
Hauke Mehrtens
721bf97863 kernel: remove __devinit, __devexit and __devexit_p for kernel 3.8
These attributes where removed with kernel 3.8 and are now causing compile errors.

SVN-Revision: 35328
2013-01-27 17:48:48 +00:00
Felix Fietkau
ed7ca5d44e kernel: clean up crypto related kconfig options
SVN-Revision: 35327
2013-01-27 17:23:12 +00:00
Felix Fietkau
8a1091ad53 ar71xx: disable support for unsupported mtd configuration, saves about 5K kernel size after lzma
SVN-Revision: 35326
2013-01-27 16:38:27 +00:00
Felix Fietkau
044c316167 kernel: prevent cryptomgr from pulling in useless extra dependencies for tests that are not run
Reduces kernel size after LZMA by about 5k on MIPS

SVN-Revision: 35325
2013-01-27 16:21:08 +00:00
Hauke Mehrtens
e083c7926b brcm47xx: create image for Netgear WNDR3400 V1
SVN-Revision: 35323
2013-01-26 20:34:38 +00:00
Hauke Mehrtens
05623aebef brcm47xx: add initial board detection code
SVN-Revision: 35322
2013-01-26 20:34:00 +00:00
Hauke Mehrtens
a83d7bb109 brcm47xx: add gpio to irq function again
SVN-Revision: 35321
2013-01-26 20:33:23 +00:00
Felix Fietkau
8933b918cd kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips
in combination with kernel symbol export stripping this significantly reduces
the kernel image size

SVN-Revision: 35320
2013-01-26 16:26:13 +00:00
Gabor Juhos
15be1c9ee7 kernel: update linux 3.7 to 3.7.4
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35318
2013-01-24 17:08:37 +00:00
Florian Fainelli
680f460861 kernel: refresh 3.8 patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35317
2013-01-24 17:04:52 +00:00
Florian Fainelli
9781461a3d mvebu: update to 3.8-rc4
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35316
2013-01-24 17:04:46 +00:00
Hauke Mehrtens
4a69e20a10 kernel: add missing config options for 3.8
SVN-Revision: 35315
2013-01-24 14:48:15 +00:00
Hauke Mehrtens
76c12ff797 brcm47xx: change generic profiles
The default profile now contains Ethernet drivers for all the types
found on supported boards. There are other profiles for each Ethernet
driver.

SVN-Revision: 35314
2013-01-24 14:38:10 +00:00
Felix Fietkau
b60fc82ce5 kernel: remove the cisco sip phone patch for 3.7 and 3.8 as well
SVN-Revision: 35310
2013-01-23 16:31:38 +00:00
Felix Fietkau
8ce8960959 ar71xx: sync kernel sizes where possible to fix images for some devices (#12874)
SVN-Revision: 35309
2013-01-23 16:29:25 +00:00
Jonas Gorski
8411e5c06e bcm63xx: switch to b53 and swconfig
Switch to using the B53 switch driver where appropriate.

Use a non-tagged default config where it isn't confirmed to be
working.

Remove the switch configuration in preinit as the switch will now
be configured by the driver  to use port isolation to prevent leakage
between lan and wan.

While at it, also provide a switch config for Neufbox 6.

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

SVN-Revision: 35307
2013-01-23 10:12:40 +00:00
Jonas Gorski
17d51121a6 bcm63xx: expose the internal switch to b53
Allow b53 access to the internal switch of BCM6328, BCM6362 and BCM6368.

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

SVN-Revision: 35306
2013-01-23 10:12:37 +00:00
Jonas Gorski
bb0118c66f generic: add b53 swconfig switch driver
Add swconfig switch driver for Broadcom BCM53XX switch chips. Supports
switches connected through MDIO, SPI or memory mapped registers, and
supports BCM5325, BCM539x, BCM531x5 and the BCM63XX internal switch
chips.

Tested are BCM5325 trough MDIO, BCM53115 through SPI, and BCM6328.

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

SVN-Revision: 35305
2013-01-23 10:12:33 +00:00
Jonas Gorski
3e998d9cf9 bcm63xx: move bcm63xx-spi into the kernel
The SPI driver is needed for supporting to boot from SPI flash on BCM6358
and BCM6368, and for SPI connected switches.

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

SVN-Revision: 35304
2013-01-23 10:12:13 +00:00
Felix Fietkau
46e4246d61 kernel: remove 340-module_alloc_size_check.patch from linux 3.8, it is not necessary anymore
SVN-Revision: 35248
2013-01-19 19:14:37 +00:00
Gabor Juhos
ed6d399f8d ramips: add profile and build image for the Tenda 3G300M
Factory image should be used to flash from
original firmware.

[juhosg: use the GENERIC_4M template]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35246
2013-01-19 17:05:07 +00:00
Gabor Juhos
9891603eb5 ramips: add user-space support for the Tenda 3G300M
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35245
2013-01-19 17:05:06 +00:00
Gabor Juhos
7eff5d2df0 ramips: add kernel support for the Tenda 3G300M
Ralink RT3052F, 4MB flash, 32MB ram, one USB 2.0, two buttons
and seven leds.

Factory image should be used to flash from original firmware.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35244
2013-01-19 17:05:03 +00:00
Gabor Juhos
f7a943694f ramips: use MkImage for Hauppauge Broadway, Netcore NW718 and Tenda W306R V2.0
These targets need custom image names specified in the uImage header.
MkImage accepts an optional 4th argument to do exactly that. Reuse the
facility to generate factory images.

Compile-tested, the generated files inspected with "file" utility.

[juhosg:
 - keep the factory.bin images to avoid users confusion,
 - use GENERIC_4M template for the W306R V2.0
 - update commit log]

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35243
2013-01-19 15:36:13 +00:00
Gabor Juhos
6aebe6a65d ramips: allow to override image name/suffix in GENERIC_{4,8}M macros
Sysupgrade/KRuImage and BuildFirmware/Generic macros
are changed as well.

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

SVN-Revision: 35242
2013-01-19 15:36:11 +00:00
Gabor Juhos
60dde219d4 ramips: do not stop the build if some targets fail
This becomes crucial when you are using a generic profile to build an image
larger than 4M, e.g. for w502u.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35238
2013-01-19 08:51:45 +00:00
Jonas Gorski
c3eeff807f generic: rtl8366_smi: only assign pvid if no pvid was set yet
Only assign a pvid if the current pvid is 0. Fixes using mixed tagged
and untagged traffic on a port and the untagged vlan isn't the last one
of which the port is a member.

Tested on RTL8366S and RTL8367R.

Fixes #8501.

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

SVN-Revision: 35227
2013-01-18 15:19:11 +00:00
Jo-Philipp Wich
3a2cccda2e all targets: use numerically prefixed uci-defaults file names to better control order of execution
SVN-Revision: 35217
2013-01-18 12:42:53 +00:00
Gabor Juhos
0de21d9747 kernel: update linux 3.7 to 3.7.3
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35216
2013-01-18 11:44:42 +00:00
Florian Fainelli
c8215775f3 mvebu: enable PCI in kernel configuration
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35214
2013-01-17 22:29:26 +00:00
Florian Fainelli
5e45a4344c mvebu: enable PCIe on Marvell Armada 370 Reference Design
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35213
2013-01-17 22:29:22 +00:00
Florian Fainelli
cf9343ac86 mvebu: enable USB on Armada 370 Reference Design
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35212
2013-01-17 22:29:18 +00:00
Florian Fainelli
7e1e7063c2 mvebu: add preliminary support for PCI express
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35211
2013-01-17 22:29:13 +00:00
Florian Fainelli
29c21b973b mvebu: refresh patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35210
2013-01-17 22:28:58 +00:00
Florian Fainelli
28acc6588d kernel: refresh 3.8 patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35209
2013-01-17 22:28:53 +00:00
Florian Fainelli
a286a55c6f mvebu: add board detection scripts
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35208
2013-01-17 22:28:48 +00:00
Florian Fainelli
f7858466e2 mvebu: enable /proc/devicetree usage
This is going to be used for proper user-space board identification (ala
mcs814x).

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

SVN-Revision: 35207
2013-01-17 22:28:37 +00:00
Florian Fainelli
15b4681e3e mvebu: add default profile
Such that relevant kernel modules are selected (USB, I2C, SATA, RTC,
SDIO)

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

SVN-Revision: 35206
2013-01-17 22:28:33 +00:00
Jo-Philipp Wich
7399df1d69 x86: explicitely pass staging directory to grub-mkimage instead of relying on build time defaults (#12821)
SVN-Revision: 35200
2013-01-17 15:46:26 +00:00
Gabor Juhos
57f7408b8a generic: add EHCI|OHCI platform driver fix to 3.[36]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35194
2013-01-17 13:54:14 +00:00
Felix Fietkau
576aa2af0c ramips: enable BR6425N in kernel config
Though originally contained in the patch applied in r35020, the move to 3.7 in
r34845 lost the kernel .config option. Reintroduce it to config-3.7.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 35191
2013-01-17 09:39:44 +00:00
Florian Fainelli
05466923b8 mvebu: add support for EHCI controller
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35181
2013-01-15 19:55:50 +00:00
Florian Fainelli
c53a347034 mvebu: add support for the Marvell Armada 370 Reference Design board
Keep the patches in sync with the upstream developments.

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

SVN-Revision: 35179
2013-01-15 19:55:40 +00:00
Florian Fainelli
58f8c5d87a mvebu: enable SMP with SMP on UP enabled
The same kernel works ok for both Armada 370 (UP) and Armada XP (SMP)

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

SVN-Revision: 35178
2013-01-15 19:55:31 +00:00
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