Commit graph

788 commits

Author SHA1 Message Date
Jonas Gorski
1315058bda brcm63xx: fix spi flash setup on (at least) some reference boards
CFE seems to leave the SPI flash mapping in an invalid state after
loading the kernel on some reference boards, so fix it up on boot.

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

SVN-Revision: 39273
2014-01-13 12:14:12 +00:00
Jonas Gorski
4aa92df0d8 brcm63xx: add initial support for BCM6318
Add inital support for BCM6318, but keep it disabled for now until
most things are supported.

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

SVN-Revision: 39272
2014-01-13 12:14:02 +00:00
Jonas Gorski
3bdcf040aa brcm63xx: add initial support for BCM63268
Add initial support for the BCM63268 family of SoCs, but keep it
disabled for now as most things don't work yet.

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

SVN-Revision: 39271
2014-01-13 12:13:51 +00:00
Jonas Gorski
ab8897045c brcm63xx: fix the pcie window size
The low PCIe window on BCM6328 and BCM6362 is actually only 1 MiB big,
not 16 MiB.

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

SVN-Revision: 39270
2014-01-13 12:13:39 +00:00
Jonas Gorski
76164e1a36 brcm63xx: add support for chip variants
Some SoCs have variants which are mostly the same, but use a different
chip id (or not). Add code for detecting them and handling them as
their standard counterparts.

This adds support for e.g. BCM6369.

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

SVN-Revision: 39269
2014-01-13 12:13:26 +00:00
Jonas Gorski
db36359f48 brcm63xx: remove non runtime detect and refresh affinity patches
Remove the non runtime detect code since its effectiveness is dubious
and almost never used.
Also update affinity patches to work on top of it.

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

SVN-Revision: 39268
2014-01-13 12:13:15 +00:00
Jonas Gorski
d8ac24b325 brcm63xx: update bmips patches with upstream submission
Update bmips cleanup patches with upstream submission and backport a few
bmips fixes.

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

SVN-Revision: 39267
2014-01-13 12:13:05 +00:00
Jonas Gorski
d9a20b6f46 brcm63xx: spi flash on legacy spi controller needs the workaround
Fixes generic SPI flash accesses on BCM6358/BCM6368. BCM6338 still needs
additional fixes for M25P80, so it remains broken for now.

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

SVN-Revision: 39266
2014-01-13 12:12:50 +00:00
Jonas Gorski
af7e570c3b brcm63xx: fix legacy spi tranfers >= 256 bytes
Fixes e.g. SPI flash access on BCM6358/BCM6368. Transfers < 256 bytes
are not affected.

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

SVN-Revision: 39265
2014-01-13 12:11:58 +00:00
Jonas Gorski
f08f0cafc2 brcm63xx: update HSSPI driver with upstream submission
Update the HSSPI driver with the upstream submitted one that has a
workaround for the auto cs down issue.

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

SVN-Revision: 39264
2014-01-13 12:11:45 +00:00
Gabor Juhos
0e2586a774 kernel: update 3.10 to 3.10.26
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39220
2014-01-11 16:06:37 +00:00
Hauke Mehrtens
952db22551 kernel: update kernel 3.10 to 3.10.24
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39059
2013-12-15 19:16:30 +00:00
Gabor Juhos
f1ef0b92be kernel: update 3.10 to 3.10.21
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38972
2013-12-01 09:59:53 +00:00
Gabor Juhos
35656042f1 kernel: update 3.10 to 3.10.18
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38652
2013-11-05 08:25:45 +00:00
Gabor Juhos
b6b06000eb kernel: update 3.10 to 3.10.17
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38506
2013-10-23 12:51:05 +00:00
Hauke Mehrtens
81e2f00367 kernel: update kernel to 3.10.15
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38384
2013-10-13 19:28:29 +00:00
Gabor Juhos
9c8a5ef115 kernel: update 3.10 to 3.10.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38228
2013-09-27 07:19:21 +00:00
Hauke Mehrtens
c75a970337 kernel: b53: add Register Access Bridge Registers (SRAB) interface
The SRAB interface is used on BCM4707 and BCM5301X SoCs.

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

SVN-Revision: 38198
2013-09-25 21:44:28 +00:00
Gabor Juhos
554772a665 kernel: update 3.10 to 3.10.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38000
2013-09-15 16:00:41 +00:00
Jonas Gorski
f8cd14921d brcm63xx: drop linux 3.9 support
It is EOL since quite a while, so no need to keep it around.

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

SVN-Revision: 37911
2013-09-06 19:01:17 +00:00
Jonas Gorski
dc028776f0 brcm63xx: switch to linux 3.10
3.10 is stable enough, and 3.9 is EOL since a while.

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

SVN-Revision: 37910
2013-09-06 19:01:13 +00:00
Gabor Juhos
043edd8074 kernel: update 3.10 to 3.10.9
Also refresh 3.10 patches.

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

SVN-Revision: 37832
2013-08-23 17:31:04 +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
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
Felix Fietkau
9a9d97b749 bcm63xx: update ralink wlan firmware hotplug script for new eeprom size
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37337
2013-07-15 11:07:59 +00:00
Hauke Mehrtens
e574f75d16 kernel: update to kernel 3.9.10 and refresh patches
SVN-Revision: 37274
2013-07-13 22:43:10 +00:00
Jonas Gorski
0d9f760f27 kernel: update linux 3.9 to 3.9.8
Includes memory allocation fixes as well as several networking fixes.

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

SVN-Revision: 37103
2013-06-30 13:10:12 +00:00
Jonas Gorski
6a4e78dca6 brcm63xx: Fixes and additions to the GPIO assignment of Huawei HW556 leds
- Some fixes for the incorrect GPIO assignment of leds on Huawei HW556.
- Addition of unassigned (LAN) leds which can be found on the back of the device.

Signed-off-by: Angga Reza Fardana <angga@norture.com>
Patchwork: http://patchwork.openwrt.org/patch/3744/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37102
2013-06-30 13:10:08 +00:00
Jonas Gorski
7d1cd9dfab bcm63xx: Improve CFE version mod patch.
Fix "cfe-" string length copy.
Check if there's an extra byte a.b.c-d.e / a.b.c-d.e-f.
Add support for Huawei CFE versions ("cfe-vd").

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3766/
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37101
2013-06-30 13:10:05 +00:00
Jonas Gorski
6df83c3f89 bcm63xx: enable all SoCs for both subtargets
Now that SMP kernels also work on older SoCs, also enable them for SMP.

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

SVN-Revision: 37100
2013-06-30 13:10:03 +00:00
Jonas Gorski
e7d93889d7 bcm63xx: make smp kernels boot on older SoCs
Enhance BMIPS support so SMP kernels work on older chips.

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

SVN-Revision: 37099
2013-06-30 13:10:00 +00:00
Jonas Gorski
66f8f30f47 bcm63xx: update patches
Update patches with their upstream versions.

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

SVN-Revision: 37098
2013-06-30 13:09:50 +00:00
Florian Fainelli
6a4f2922f6 targets: prepare for supporting normal and initramfs images
In order to support both normal images and initramfs, ensure that each
target sets KERNELNAME properly so that the generic kernel building code
can copy the corresponding files over $(KDIR) with the appropriate
extension. Update the various paths to the kernel and wrapper images
from $(LINUX_DIR)/arch/$(ARCH)/boot/$(foo) to $(KDIR)/$(foo).

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

SVN-Revision: 37049
2013-06-27 19:58:31 +00:00
Jonas Gorski
9a077f70de bcm63xx: fix DSL-274xB F1 default network config
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37032
2013-06-24 20:35:54 +00:00
John Crispin
67f5f188b1 base-files: input/button drivers get loaded before preinit by procd
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37000
2013-06-21 16:53:47 +00:00
John Crispin
e6ef318802 base-files: diag does not need to insmod any drivers, procd already did it for us
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36999
2013-06-21 16:53:43 +00:00
Florian Fainelli
4ef56823e0 brcm63xx: reduce the number of Ethernet DMA channels from 16 to 8
We currently used 16 DMA Ethernet channels, but the hardware only
supports up to 8 (with 2 per enet and the remaining for USB slave).

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

SVN-Revision: 36979
2013-06-20 18:47:36 +00:00
Florian Fainelli
28535aad38 brcm63xx: refresh 3.9 patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36958
2013-06-18 10:54:28 +00:00
Florian Fainelli
a9d4bdee43 brcm63xx: provide a default sane MAC address for Cable Modem devices
Cable modem devices currently poke at some random location in RAM and
may end up having an invalid MAC address which is not suitable. Provide
a default one which is sane.

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

SVN-Revision: 36957
2013-06-18 10:54:24 +00:00
Florian Fainelli
8ae2b1155d brcm63xx: create initramfs HCS images
Cable Modem devices cannot load an ELF file directly so we need to
provide them with a HCS image even when targetting initramfs.

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

SVN-Revision: 36954
2013-06-17 22:57:04 +00:00
Florian Fainelli
0ce75bc440 brcm63xx: simplify HCS image creation
$(KDIR)/vmlinux is already a binary image, there is no need to create
another one.

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

SVN-Revision: 36949
2013-06-17 19:32:56 +00:00
Florian Fainelli
78a66975d6 brcm63xx: remove support for 3.8 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36948
2013-06-17 19:32:47 +00:00
Florian Fainelli
d2894412d8 brcm63xx: switch to 3.9 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36947
2013-06-17 19:32:42 +00:00
Florian Fainelli
f03bbaf065 brcm63xx: fix missing antislash in BCM6345 ethernet patch
This would cause build failure when disabling support for particular
CPUs.

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

SVN-Revision: 36946
2013-06-17 19:32:35 +00:00
Florian Fainelli
2b9d084af9 brcm63xx: add user-space support for Netgear CVG834G
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36877
2013-06-06 22:22:20 +00:00
Florian Fainelli
42e69f45c7 brcm63xx: add kernel space and image support for the Netgear CVG834G
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36876
2013-06-06 22:22:14 +00:00
Florian Fainelli
966d47989b brcm63xx: add Broadcom cable modem firmware format header
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36875
2013-06-06 22:22:09 +00:00
Florian Fainelli
600b59642e brcm63xx: add support for BCM3368
Add support for the Broadcom BCM3368 cable modem chipset, includes:
- Ethernet
- SPI
- UARTs
- GPIOs
- PCI

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

SVN-Revision: 36874
2013-06-06 22:21:58 +00:00
Jonas Gorski
1beaf031d1 target: don't build jffs2 nor images by default
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36863
2013-06-05 20:58:59 +00:00
Gabor Juhos
46225b99d9 kernel: update linux 3.8 to 3.8.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36724
2013-05-26 16:02:31 +00:00
Jonas Gorski
4d0fcd0c49 kernel: add some missing symbols/move them to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36670
2013-05-20 12:42:32 +00:00
Jonas Gorski
0a62b7c148 bcm63xx: add 3.9 support
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36660
2013-05-19 18:32:13 +00:00
Jonas Gorski
1f4e5f77a0 bcm63xx: Simplify CFE detection.
Check bootloader argument in mtd.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo@openwrt.org: split into two patches, one for detection,
                   one letting bcm63xxpart use it.]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36659
2013-05-19 18:32:02 +00:00
Jonas Gorski
526aedb705 kernel: move CONFIG_MIPS_SEAD3 to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36617
2013-05-12 21:41:55 +00:00
Jonas Gorski
ed06d2ad5c bcm63xx: don't build CRAMFS
Don't build the CRAMFS file system module in the kernel, and save some bytes.

No bcm63xx board needs this obsolete file system, neither those ones using
the Redboot bootloader (liveboxes). Thus, there is no need to build it, since it has
been replaced long time ago by squashfs.

Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>

SVN-Revision: 36616
2013-05-12 21:41:52 +00:00
Jonas Gorski
ccd7fbba87 led and buttons support for board DWV-S0
Signed-off-by: Gianluca Agliozzo <gianluca05@hotmail.it>
[jogo@openwrt.org: fixup patch so it actually applies]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36615
2013-05-12 21:41:50 +00:00
Jonas Gorski
0a907fdb8a bcm63xx: remove defconfig support
All boards use uci-defaults, no need to keep defconfig support.

SVN-Revision: 36610
2013-05-12 11:54:38 +00:00
Gabor Juhos
e57c7d6c12 kernel: update linux 3.8 to 3.8.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36576
2013-05-08 08:53:53 +00:00
Jonas Gorski
24636fcabf bcm63xx: split into two subtargets, generic and SMP
Make SMP a subtarget, since it only supports BCM6362 and BCM6368.

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

SVN-Revision: 36527
2013-05-02 15:28:31 +00:00
Jonas Gorski
d11efa1428 bcm63xx: add SMP support for BCM6362 and BCM6368
BCM6358 requires further work due to its shared TLB.

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

SVN-Revision: 36526
2013-05-02 15:28:26 +00:00
Jonas Gorski
a80a4f3ec2 bcm63xx: fix hsspi flash registration for BCM6362
Use busnum 1 for HSSPI so it won't conflict on chips having both SPI
controllers.

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

SVN-Revision: 36524
2013-05-02 15:28:10 +00:00
Jonas Gorski
999a956f4c bcm63xx: fix/enable livebox minipci
Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>

SVN-Revision: 36523
2013-05-02 15:28:07 +00:00
Gabor Juhos
8a9fe26f20 kernel: update linux 3.8 to 3.8.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36507
2013-05-01 22:15:18 +00:00
Florian Fainelli
db02b0e4ee brcm63xx: fix typo and missing BCM6328 check in BCM6345 ethernet patch
And while at it, also include a define check for BCM6328, thanks to
Gabor for spotting this.

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

SVN-Revision: 36506
2013-05-01 21:52:25 +00:00
Florian Fainelli
292368409e brcm63xx: add missing binary operands to BCM6345 ethernet patch
Thanks to Emilio Arias for reporting it.

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

SVN-Revision: 36505
2013-05-01 21:12:40 +00:00
Florian Fainelli
6f48ccea02 brcm63xx: remove 3.7 kernel support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36504
2013-05-01 21:12:26 +00:00
Gabor Juhos
f718179af5 kernel: update linux 3.8 to 3.8.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36493
2013-04-30 10:43:59 +00:00
Gabor Juhos
36d4fd70bc kernel: update linux 3.8 to 3.8.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36453
2013-04-26 16:55:42 +00:00
Jonas Gorski
90986b5581 bcm63xx: update patches with upstream submissions
SVN-Revision: 36407
2013-04-23 13:55:36 +00:00
Jonas Gorski
2a1a16d2d5 bcm63xx: switch to linux 3.8
SVN-Revision: 36406
2013-04-23 13:55:17 +00:00
Gabor Juhos
604395650a kernel: update linux 3.8 to 3.8.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36332
2013-04-14 09:25:53 +00:00
Florian Fainelli
b412a81524 brcm63xx: fix LED names for various boards
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35880
2013-03-04 13:42:35 +00:00
Gabor Juhos
23b3b3a194 kernel: update linux 3.7 to 3.7.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35860
2013-03-03 13:57:40 +00:00
Jonas Gorski
ff20c0e1fc bcm63xx: Fix sysupgrade for tag-version 7 and 8
Fix sysupgrade for tag-version 7 and 8.

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

SVN-Revision: 35724
2013-02-21 11:45:41 +00:00
Florian Fainelli
d7092aceb8 brcm63xx: migrate platform to common led helper functions
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35661
2013-02-18 10:37:55 +00:00
Gabor Juhos
3f749d1e8e kernel: update linux 3.7 to 3.7.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35644
2013-02-17 21:32:42 +00:00
Jonas Gorski
485e52e1d8 bcm63xx: make nvram checksum failures non fatal
fixes #12982.

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

SVN-Revision: 35605
2013-02-15 12:23:49 +00:00
Gabor Juhos
162b8e23a5 kernel: update linux 3.7 to 3.7.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35604
2013-02-15 07:36:15 +00:00
Gabor Juhos
bae4bfe3f8 kernel: update linux 3.7 to 3.7.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35571
2013-02-12 09:51:11 +00:00
Jonas Gorski
200359a520 bcm63xx: handle huawei nvram layout
Use a different length for calculating the nvram checksum on hauwei
boards. Fixes boot on HW553 and HW556.

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

SVN-Revision: 35533
2013-02-10 12:31:31 +00:00
Florian Fainelli
6b0da6db6a remove support for 3.6 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35506
2013-02-05 22:36:54 +00:00
Florian Fainelli
e22926a46b make default version 3.7.6
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35505
2013-02-05 22:36:50 +00:00
Florian Fainelli
57803a98ec remove superfluous calls to /lib/brcm63xx.sh
The first preinit script 03_do_brcm63xx.sh does the right job of
exporting variables for the other subsequent preinit scripts to use
them.

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

SVN-Revision: 35504
2013-02-05 22:25:30 +00:00
Florian Fainelli
84d306d23c remove references to the old switch driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35503
2013-02-05 22:25:19 +00:00
Mirko Vogt
ec19a23bae fix trx checksum after first boot and add led/button definitions for boards RTA770BW and RTA770W
SVN-Revision: 35501
2013-02-05 14:57:43 +00:00
Mirko Vogt
f460388ce2 add support for board named RTA770W
Actually this board is the very same as the rta770bw,
where the additional 'b' within the name just
indicates 'Annex B'. The ADSL Modem itself is able
to handle both, Annex A as well as Annex B -
the loaded firmware makes the only difference

SVN-Revision: 35500
2013-02-05 14:57:40 +00:00
Jonas Gorski
8506964e6d bcm63xx: add support for linux 3.8
Based on 3.8-rc6

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

SVN-Revision: 35482
2013-02-04 10:19:55 +00:00
Jonas Gorski
3b4fced67d bcm63xx: add support for linux 3.7
Based on 3.7.6.

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

SVN-Revision: 35481
2013-02-04 10:19:50 +00:00
Jonas Gorski
a15e1a950d bcm63xx: refresh 3.6 patches
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35477
2013-02-04 10:19:24 +00:00
Jonas Gorski
ce8b226046 bcm63xx: replace kmod-switch with swconfig in default package set
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35407
2013-01-30 00:19:21 +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
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
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
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
Mirko Vogt
e34a4e0c7b Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
SVN-Revision: 34793
2012-12-19 16:07:50 +00:00
Gabor Juhos
44b9898251 kernel: update linux 3.6 to 3.6.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34748
2012-12-18 14:41:16 +00:00
Gabor Juhos
2b378d11c8 kernel: update linux 3.6 to 3.6.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34639
2012-12-11 20:14:39 +00:00
Gabor Juhos
2581173660 kernel: update linux 3.6 to 3.6.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34578
2012-12-08 15:01:33 +00:00
Florian Fainelli
d9d0814fc2 Fix Comtrend AR-5381u Power LED
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34471
2012-12-04 15:19:50 +00:00
Gabor Juhos
c2f018fca2 remove common symbols from 3.6 configs
The removed symbols are present in the generic configuration.

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

SVN-Revision: 34404
2012-11-29 15:21:41 +00:00
Gabor Juhos
1f516235ea remove common symbols from 3.3 configs
The removed symbols are present in the generic configuration.

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

SVN-Revision: 34403
2012-11-29 15:21:35 +00:00
Gabor Juhos
3a4d0ebd5c kernel: update linux 3.6 to 3.6.8
Also refresh the affected patches.

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

SVN-Revision: 34402
2012-11-29 07:42:19 +00:00
Florian Fainelli
0588d13a3e Fix typo in 96338GW power LED.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34396
2012-11-27 18:42:42 +00:00
Jonas Gorski
60e0e0d6e6 bcm63xx: Add a fixup for rt2x00 devices.
This patch adds support for defining rt2x00 eeprom data.
This eeprom data can be extracted from flash or loaded directly from a firmware file.

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

SVN-Revision: 34322
2012-11-24 14:19:22 +00:00
Jonas Gorski
746b4cec06 bcm63xx: Enable LED pin support for ath9k pci fixup.
Some boards need specifying LED pin in order to get it working.
For example, in board HW556 (Huawei HG556a) "led_pin" must be "2".
By default led_pin is "0", so dsl_274xb_rev_f is changed to "-1".

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

SVN-Revision: 34321
2012-11-24 14:19:16 +00:00
Jonas Gorski
1baeede939 bcm63xx: fix spi transfer handling
* Accept transfers without bits_per_word set.

* Work around the inability of the hardware of keeping CS asserted.

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

SVN-Revision: 34320
2012-11-24 14:19:09 +00:00
Jonas Gorski
8dc72c5c4d Revert "target specific patches have nothing to do in generic.."
This reverts commit r34230, as it is causing build failures:

 make[3] -C package/mtd compile
imagetag.c:35:32: fatal error: linux/bcm963xx_tag.h: No such file or directory
compilation terminated.
make[4]: *** [imagetag.o] Error 1

Any patches modifying exported kernel headers need to reside in generic
as toolchain/kernel-headers only applies generic patches.

SVN-Revision: 34255
2012-11-19 12:38:26 +00:00
Imre Kaloz
b220071cd2 target specific patches have nothing to do in generic..
SVN-Revision: 34230
2012-11-18 09:22:38 +00:00
Gabor Juhos
ff1e854511 kernel: update linux 3.6 to 3.6.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34227
2012-11-18 08:41:31 +00:00
Jonas Gorski
306894b88f bcm63xx: switch to 3.6.6
SVN-Revision: 34160
2012-11-11 19:57:17 +00:00
Jonas Gorski
c54fa281b1 bcm63xx: fix compilation with kmod-ohci enabled with 3.6
Fixes the following error:

drivers/usb/host/ohci-bcm63xx.c: In function 'ohci_bcm63xx_start':
drivers/usb/host/ohci-bcm63xx.c:33:3: error: implicit declaration of function 'err' [-Werror=implicit-function-declaration]

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

SVN-Revision: 34138
2012-11-10 22:10:47 +00:00
Jonas Gorski
15519bec9c bcm63xx: add two missing usb patches to 3.6
SVN-Revision: 34137
2012-11-10 19:59:16 +00:00
Jonas Gorski
06ad6ffe16 bcm63xx: fix Ethernet DMA for 636x and 6328 for 3.6
SVN-Revision: 34136
2012-11-10 19:59:07 +00:00
Jonas Gorski
f2bb7754f5 bcm63xx: Enable endian check support for ath9k pci fixup.
Some ath9k caldatas need to be "endian checked".
This patch allows selecting wether to enable endian check or not.
Endian check is disabled by default.

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

SVN-Revision: 34105
2012-11-07 09:01:03 +00:00
Jonas Gorski
a50d121d8e linux: export bcm963xx_tag.h to userspace
Export bcm963xx_tag.h so mtd can use it without using kernel includes.

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
[jonas.gorski@gmail.com: fixup bcm63xx patches, completely remove header
 from original location, refresh patches, use  a more matching patch
 number, port to 3.6]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

SVN-Revision: 34103
2012-11-06 15:21:46 +00:00
Jonas Gorski
5bc7d81a20 bcm63xx: fix SPW303V images
SPW303V also needs its CRC fixed up since increasing the image size to
4MB to prevent the dual image mode of CFE.

SVN-Revision: 34091
2012-11-05 22:50:29 +00:00
Gabor Juhos
e91dc2e5b3 target: refresh all target configs with kconfig.pl
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33987
2012-10-29 10:11:05 +00:00
Florian Fainelli
9af90aa80c add missing 6345 clock bits patch to 3.6 patches
SVN-Revision: 33941
2012-10-26 15:24:14 +00:00
Florian Fainelli
8d69af7c9f add preliminary support for 3.6 kernel
SVN-Revision: 33936
2012-10-25 21:16:51 +00:00
Florian Fainelli
dea2da55df fix Ethernet DMA for 636x and 6328 after r33916
SVN-Revision: 33918
2012-10-25 11:54:41 +00:00
Florian Fainelli
917670922b add support for the Dynalink RTA770BW board
This board id is used by the Siemens Gigaset SE515 router.

SVN-Revision: 33917
2012-10-24 21:25:22 +00:00
Florian Fainelli
bdfcbb8bee make BCM6345 Ethernet DMA changes runtime checks
The semantics of the DMA engine are identical, we just have a couple of
special case handling.

SVN-Revision: 33916
2012-10-24 21:25:10 +00:00
Jonas Gorski
0cc4bed41c add support for Comtrend AR5381u.
Router: Comtrend AR5381u.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix subject, indentation in patch]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

SVN-Revision: 33895
2012-10-23 10:57:47 +00:00
Jonas Gorski
d73871fb18 add support for Comtrend AR5387un.
Router: Comtrend AR5387un.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix subject, indentation in patch]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

SVN-Revision: 33894
2012-10-23 10:57:44 +00:00
Jonas Gorski
e93725a743 add support for HomeStation ADB P.DG A4001N.
Router: HomeStation ADB P.DG A4001N.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix subject, indentation in patch]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

SVN-Revision: 33893
2012-10-23 10:57:39 +00:00
Florian Fainelli
61686a1514 add back support for BCM6345 Ethernet DMA engine
SVN-Revision: 33889
2012-10-22 12:57:22 +00:00
Florian Fainelli
eeed82c04e fix clocks bits for BCM6345
SVN-Revision: 33888
2012-10-22 12:57:14 +00:00
Jonas Gorski
e6171dfb2c Add F@ST2604 board support.
Add Sagem F@ST2604 board support.

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

SVN-Revision: 33886
2012-10-21 14:35:06 +00:00
Jonas Gorski
fbe0af3237 bcm63xx: remove bcm_tag usage in kernel
Fixes #12292.

SVN-Revision: 33670
2012-10-09 08:08:49 +00:00
Jonas Gorski
6a000ba37a bcm63xx: fix 963281TAN image names
it's a 6328, not a 6348.

SVN-Revision: 33665
2012-10-08 13:08:40 +00:00
Jonas Gorski
997ace7e5e firmware-utils: move bcm_tag.h here
Since there is only one user of bcm_tag.h left, we can safely move it
into the firmware-utils directory, replacing the symlink.

SVN-Revision: 33655
2012-10-08 09:59:50 +00:00
Jonas Gorski
f16ea6be3f bcm63xx: fix entering failsafe through button
gpio_keys_polled needs to be loaded in preinit for buttons to work for
entering failsafe.

SVN-Revision: 33653
2012-10-08 09:59:44 +00:00
Florian Fainelli
caf900f0e4 remove kmod-spi-bitbang
This is no longer a dependency of kmod-spi-bcm63xx

SVN-Revision: 33562
2012-09-26 20:11:37 +00:00
Jonas Gorski
7708138183 bcm63xx: fix WPS button polarity for Alice Gate VoIP 2 + Wifi
Fixes booting the device with button hotplug enabled (#10785).

SVN-Revision: 33340
2012-09-09 11:54:56 +00:00
Florian Fainelli
f164b71189 leds: do not register device if no leds defined
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>

SVN-Revision: 33158
2012-08-13 09:55:10 +00:00
Florian Fainelli
f0f10014a0 BCM6358 fix enet MII clk definitions
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>

SVN-Revision: 33157
2012-08-13 09:55:07 +00:00
Florian Fainelli
9b91c62917 nb4: fix support, add support for SVC and CLIP BTN
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>

SVN-Revision: 33156
2012-08-13 09:55:04 +00:00
Jonas Gorski
4feeda756e bcm63xx: fix USB base registers and IRQs for BCM6328
SVN-Revision: 33005
2012-08-05 23:18:22 +00:00
Jonas Gorski
07c4524d33 bcm63xx: Add nb6 support (BCM6362 SoC base boards)
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
[jonas.gorski@gmail.com: add network config for nb6, make switch fix a
platform patch]

SVN-Revision: 32924
2012-07-31 14:27:47 +00:00
Jonas Gorski
820c224029 bcm63xx: add basic bcm6362 support
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 32923
2012-07-31 14:27:42 +00:00
Jonas Gorski
dcd339ac9d bcm63xx: enable usb for bcm6328
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 32922
2012-07-31 14:27:34 +00:00
Jonas Gorski
94d257a851 bcm63xx: update enetswitch driver
Update enetswith driver with latest fixes and additions.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 32921
2012-07-31 14:27:31 +00:00
Jonas Gorski
fa75bd977a bcm63xx: reorder patches
Fix the order and names of patches.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 32920
2012-07-31 14:27:25 +00:00
Florian Fainelli
a4d699ccf0 fix DVA-G3810BN image generation
Attached patch fixes a typo in the image Makefile, and overrides the
board name for DVA-G3810BN to set the correct board properties

Signed-Off-By: Jeroen van Bemmel <jbemmel@zonnet.nl>

SVN-Revision: 32894
2012-07-27 15:35:12 +00:00
Florian Fainelli
c6813d33f3 add D-link DVA-G3810BN-TL-1 support
Signed-Off-By: Jeroen van Bemmel <jbemmel@zonnet.nl>

SVN-Revision: 32893
2012-07-27 15:35:09 +00:00
Florian Fainelli
18206793b2 Add CT6376-1 board support
Added CT6373 devices instead of using NB4's devices, as Florian suggested.

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

SVN-Revision: 32892
2012-07-27 15:35:05 +00:00
Florian Fainelli
4acdbb1d87 Add brcmsmac profile
Add brcmsmac profile (kmod-brcmsmac + wpad-mini).

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

SVN-Revision: 32890
2012-07-27 15:34:57 +00:00