Commit graph

658 commits

Author SHA1 Message Date
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