Commit Graph

451 Commits (11c412877095f3d6e754038a6c83be278d613393)

Author SHA1 Message Date
Florian Fainelli 11c4128770 improve BCM6345 support
- runtime detect the amount of memory available
- define EBI_BASE as MPI_BASE to get rid of chip-select specific hacks
- fix GPIO control

SVN-Revision: 27880
2011-08-02 18:55:46 +00:00
Jonas Gorski 4e6c93bef1 bcm63xx: Fix SPI commands and register offsets for BCM6348
In 240-spi.patch, spi registers for bcm6348 were all messed up. This patch fixes that.
It also fixes some spi commands for all bcm63xx.

Signed-off-by: Anthony Blakemore <stokie-ant@raverbaby.co.uk>

SVN-Revision: 27774
2011-07-25 19:52:47 +00:00
Florian Fainelli 9c7294f7c7 add ehci support to DWV-S0 board (#9059)
SVN-Revision: 27622
2011-07-16 08:39:04 +00:00
Florian Fainelli 930485561c fix GEN_SPI_RSET_BASE macro (#9697)
SVN-Revision: 27604
2011-07-13 09:33:11 +00:00
Florian Fainelli 00ad56b73e move board_HW553 inside the ifdef ..BCM6358 .. endif block
SVN-Revision: 27484
2011-07-06 10:00:39 +00:00
Daniel Dickinson 1141165bb9 Makefile: fixed inclusion of kmod-leds-gpio as a module (breaks Image Generator) - the module is built into the kernel.
SVN-Revision: 27471
2011-07-06 06:35:24 +00:00
Daniel Dickinson 9dc72505a2 profiles: GW6X00: fixed inclusion of both wl and wlc wireless tools...should be just wlc
SVN-Revision: 27470
2011-07-06 06:35:22 +00:00
Florian Fainelli 7c3bbe150a hw553: fix missing has_uart0 in board definition (#9533)
SVN-Revision: 27448
2011-07-04 15:04:58 +00:00
Hauke Mehrtens c5821c1a3a kernel: update kernel to 2.6.39.2
SVN-Revision: 27298
2011-06-28 19:30:58 +00:00
Hauke Mehrtens ca979845cc kernel: update ssb and bcma to linux-next next-20110627
SVN-Revision: 27295
2011-06-27 21:28:40 +00:00
Florian Fainelli 3f40c0f7df remove gpiodev, prefer sysfs gpio
SVN-Revision: 27284
2011-06-25 19:26:17 +00:00
Florian Fainelli f6e4eb15bc register SSB sprom after ethernet devices
In case the MAC address pool is not big enough to also register a SSB SPROM
prefer registering the Ethernet devices.

SVN-Revision: 27258
2011-06-22 12:32:03 +00:00
Florian Fainelli 5a76c6bdd7 fix tab damage in 141-led_count.patch
SVN-Revision: 27254
2011-06-21 20:52:58 +00:00
Florian Fainelli 3f0f8d9c87 fix and make usable kmod-pcmcia-rsrc
This module is also needed for e.g: kmod-bcm63xx-pcmcia

SVN-Revision: 27253
2011-06-21 20:52:53 +00:00
Florian Fainelli 9bdf6abb9d use macros to generate SPI registers table and switches
SVN-Revision: 27246
2011-06-21 10:05:51 +00:00
Florian Fainelli ab74628c10 dev-spi.c checks for running CPU, not board code
SVN-Revision: 27236
2011-06-19 20:46:00 +00:00
Florian Fainelli 4dd4cbeb43 fixup patches after r27234
SVN-Revision: 27235
2011-06-19 20:28:38 +00:00
Florian Fainelli 7819b530da remove accidental bcm6345 related patches
SVN-Revision: 27234
2011-06-19 20:16:59 +00:00
Florian Fainelli 12db3df666 remove support for 2.6.37 and 2.6.38
SVN-Revision: 27233
2011-06-19 20:14:22 +00:00
Florian Fainelli 6bb0a608dc switch to 2.6.39
SVN-Revision: 27232
2011-06-19 20:12:45 +00:00
Florian Fainelli 426dccd019 bcm63xx: Add support for Linux 3.0-rc3
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 27192
2011-06-16 14:34:40 +00:00
Florian Fainelli 016e8dee34 bcm63xx: Add support for 2.6.39
Add support for Kernel 2.6.39. Boots fine on a BCM6358.

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

SVN-Revision: 27019
2011-05-27 09:54:52 +00:00
Florian Fainelli 590c82cec1 bcm63xx: Add support for 2.6.38
Add support for Kernel 2.6.38, based on 2.6.38.6. Boots fine on a BCM6358.

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

SVN-Revision: 27018
2011-05-27 09:54:48 +00:00
Florian Fainelli 68cb138154 fold 446-board-D4PW_correction.patch in 440-board-D4PW.patch
SVN-Revision: 27014
2011-05-26 13:53:00 +00:00
Florian Fainelli 762885081a renumber patches accordingly
SVN-Revision: 27013
2011-05-26 13:52:56 +00:00
Florian Fainelli 2785e3fc12 renumber board patches
SVN-Revision: 27012
2011-05-26 12:09:15 +00:00
Florian Fainelli 16dfe8b4d1 add support for BT Voyager 2110 (#8810)
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>

SVN-Revision: 26959
2011-05-20 10:06:25 +00:00
Florian Fainelli 6c8387fe15 add support for DSL-2640B rev B2
Signed-off-by: Adrian Feliks <mexit@o2.pl>

SVN-Revision: 26958
2011-05-20 10:06:22 +00:00
Florian Fainelli 031ea08ef0 refresh patches
SVN-Revision: 26957
2011-05-20 10:06:18 +00:00
Florian Fainelli 3e83f60a66 add support for D-Link DVA-G3810BN/TL
This patch adds support for D-Link's DVA-G3810BN/TL product.

Signed-off-by: Roman Dumycz <roman@secureas.com>

SVN-Revision: 26956
2011-05-20 10:06:15 +00:00
Florian Fainelli f0a99c1692 add support for BT Voyager 2500 (#9070)
SVN-Revision: 26954
2011-05-20 10:06:07 +00:00
Florian Fainelli acf0ec224f add support for USR9108 LEDs (#9372)
SVN-Revision: 26953
2011-05-20 10:06:04 +00:00
Florian Fainelli 9c8a2d5961 bcm63xx: Add support for the T-Home Speedport W 303V
Add the required board definition, default config and image generation for
the T-Home Speedport W 303V Typ B.

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

SVN-Revision: 26878
2011-05-11 13:34:14 +00:00
Florian Fainelli 7d3b735854 bcm63xx: Update support for the DSL-274xB revision C
Rename the DSL-274xB rev C2's board ID to "AW4139" to match the one used
for the rev C3 (same hardware) and add a fixup for C2. Also generate
images for C3.

While we are at it, rename the LEDs to conform to the Linux LED naming
conventions.

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

SVN-Revision: 26876
2011-05-11 13:33:50 +00:00
Florian Fainelli 0fb1c2d537 bcm63xx: Accept any led with power in its name as power led
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 26875
2011-05-11 13:33:45 +00:00
Florian Fainelli c6af9c23b7 bcm63xx: Decouple Board ID and image name for fixup
Make the fixup board ID independent from the image name to allow using
the same board ID for similar devices.

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

SVN-Revision: 26874
2011-05-11 13:33:41 +00:00
Florian Fainelli de02a2795b fill maintainer infos for a couple of targets
SVN-Revision: 26836
2011-05-06 12:37:36 +00:00
Hauke Mehrtens fcb1557a3e brcm47xx: when detecting a ssb pci device without an own sprom write the sprom data from the platform device to the correct pointer.
SVN-Revision: 26829
2011-05-05 14:05:21 +00:00
Hauke Mehrtens 3dbb8c5088 brcm47xx: add fallback sprom for pci devices without an own sprom.
If there is no sprom on an ssb based pci device on the brcm47xx
architecture ssb now asks the architecture code to look into the nvram
to get some sprom data for this device. Now we are able to read out
pci/1/1/ foo or pci/1/3/ foo config options.

This will fix some problems where the wireless devices does not got an
mac address and the following message was show:
ssb: WARNING: Invalid SPROM CRC (corrupt SPROM)

SVN-Revision: 26801
2011-05-01 20:28:35 +00:00
Felix Fietkau 1fcd26091b brcm63xx: remove patches/configs for 2.6.35
SVN-Revision: 26709
2011-04-17 18:39:46 +00:00
Daniel Dickinson 8b18ce6807 Fixed directory error: added ra1320 patches to trunk/target... subdir instead if target.... in trunk branch.
SVN-Revision: 26699
2011-04-17 01:15:47 +00:00
Daniel Dickinson 0d722113b9 Generate images for RTA1320_16M-based routers
SVN-Revision: 26681
2011-04-15 14:31:36 +00:00
Daniel Dickinson f83c5938d2 bcm63xx: Move the OpenWrt rootfs length field
Dual image capable CFEs store an image sequence at the same place as
currently OpenWrt stores the actual rootfs length, so it will get
overwritten when flashing through such a CFE.

To prevent this from happening, move the rootfs length field to the next
four bytes, thus completely using the reserved1 field.

Since the reserved1 field is now completely in use, it does not make sense
to allow it to be set from the imagetag utility, so remove the option.

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

SVN-Revision: 26680
2011-04-15 12:18:25 +00:00
Hauke Mehrtens 50c743e79e kernel: Update to version 2.6.37.6
Thank you Peter Wagner for the patch

SVN-Revision: 26441
2011-04-03 13:59:07 +00:00
Daniel Dickinson 33b864e899 Updated kernel version to 2.6.37.4. Tested with 6348 and 6358 devices.
SVN-Revision: 26387
2011-03-31 06:16:23 +00:00
Florian Fainelli aa580d336b bcm63xx: Really fix the flash driver in 2.6.37
Read back the actual rootfs length from the image tag.

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

SVN-Revision: 25938
2011-03-07 16:55:01 +00:00
Florian Fainelli 9dd1454044 fix patches after 2.6.37 update, patch from KanjiMonster
SVN-Revision: 25810
2011-03-01 16:02:38 +00:00
Florian Fainelli 94a22b91fc add support for 2.6.37, patches from KanjiMonster
SVN-Revision: 25629
2011-02-20 19:59:22 +00:00
Florian Fainelli 8cc16aa14e add support for HW553 bcm6358-based boards (#8844)
SVN-Revision: 25590
2011-02-19 15:44:06 +00:00
Florian Fainelli b7f8e1276d add support for 'MAGIC' bcm6348-based board
I wrote a patch to add 96348SV board (aka MAGIC) support to trunk.
In my case I've found it in a Telsey "Alice W-Gate" router, fairly common
(in the past) in Italy.

I used the board definition (GPIOs, leds, ...) from the Broadcom GPL-2
relased code (here is a mirror: http://beghiero.myftp.org/sorgenti/boardparms.c )

Thanks to KanjiMonster for the support on the IRC channel.

Signed-off-by: Laurento Frittella <laurento.frittella@gmail.com>

SVN-Revision: 25584
2011-02-19 12:44:27 +00:00