1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-17 02:29:43 +02:00
Commit Graph

40 Commits

Author SHA1 Message Date
florian
7d4f6e1faa [brcm63xx] add support for HW553 bcm6358-based boards (#8844)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-19 15:44:06 +00:00
florian
25d3ab69c4 [brcm63xx] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-19 12:44:27 +00:00
florian
339b4f6867 [brcm63xx] fix build of brcm-wl
The fallback needs to be exported for bcm63xx, too. Runtime tested with a
BCM4322 on a BCM6358.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25420 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-08 13:46:12 +00:00
florian
8b733f9f79 [brcm63xx] give some credits to Tanguy Bouzeloc in the spi driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-01-27 02:11:08 +00:00
florian
7ce92bc6e8 [brcm63xx] multiple SPI driver fixes
- fix platform device registration
- fix chipselect, command register defines, add missing clock
- make slave select proper
- fix multibytes transferts

Signed-off-by: Tanguy Bouzéloc <tanguy.bouzeloc@efixo.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-29 16:19:59 +00:00
cshore
64e304feb6 [brcm63xx] patches-2.6.35: mtd flashmap: Really fixed sparelen and rootfslen. The real rootfslen for OpenWRT images comes from a bigendian uint32_t in reserved1 of the bcm_tag, which is now used to correctly calculate the rootfslen (and thus the sparelen).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-28 08:10:32 +00:00
cshore
8688d050d6 [brcm63xx] patches-2.6.36: Fix flashmap spare length calculation from previous commit (for rootfs and rootfs_data mtd partitions). Apparently the interruption in working on it resulted in an incorrect memory of getting it working.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-28 04:05:04 +00:00
florian
ac2bc89bb8 [brcm63xx] spi driver: remove bcm_rset usage
Since bcm636x platform embeds two spi master device,
the attached patch removes static bcm_rset usage, replaced  by
"bs->regs" field for all I/O operation.

Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-28 00:24:50 +00:00
cshore
612cc293e1 Added OpenWRT-specific field to imagetag so that we can record the real root length, so that when the CRC fixup is applied and the root length is recorded as zero we can still calculate the rootfs mtd partition size.
Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-26 04:18:13 +00:00
cshore
cafdb5f942 mtd flashmap: Switched to calculating the rootfs size rather than depending on being given the size in the imagetag. This is because solving the problem of second boot CRC errors requires changeing the rootfs size in the image to zero.
Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-26 04:17:56 +00:00
cshore
636113691a [brcm63xx] Fixed Comtrend CT536_CT5621 board settings. These boards are based on the 96348GW-11 reference design but have different GPIOs therefore we use the board fixups now availabed (thanks the patches by Jonas Gorski) to create a separate board entry for these boards and leave the reference design with reference GPIOs. Also these boards only have enet1 (no enet0) so we set that in the board definition, and use a defconfig for a single interface network.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-10 18:59:58 +00:00
cshore
87b570ee61 [brcm63xx] patches: Renamed 150-led_count to 141-led_count so it comes before the 15-alice_gate2_leds.patch as which led count was mistakenly given the same number.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-07 17:32:29 +00:00
cshore
c73f40600d Revert "[brcm63xx] patches-2.6.35: Added flash chip definition for Macronix MX29LV640T."
This reverts commit 43511418ae2771a6662a83a254f06e37f4ac19e5.

It belongs in generic not brcm63xx.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-07 17:02:31 +00:00
cshore
eea5cc41dc [brcm63xx] patches-2.6.35: Added flash chip definition for Macronix MX29LV640T.
Thanks blunoise

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-07 16:42:23 +00:00
cshore
6e4ddb80d8 [brcm63xx] boards: Added GW6x00 fixups and GPIOs. The GW6200 GPIOs are different than the reference design 96348GW so we use fixup to allow us to define the correct ones, also the GW6000 has no GPIO-controlled leds.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-07 15:15:54 +00:00
cshore
332453076d [brcm63xx] patches: Refreshed patches after led_count
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-07 15:15:51 +00:00
cshore
164cf26c5b [brcm63xx] board definitions: Added patch for calculating led count, which was part of the patch removed in the previous commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-07 15:15:47 +00:00
cshore
27a7d97c15 [brcm63xx] Remove patch 140-new_bcm96348gw_leds because it is really the GW6200 leds, not the generic 96348GW. Another commit will add the GW6200 specific boardid and leds. This removal reverts the 96348GW leds to the reference design GPIOs.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-07 15:15:41 +00:00
cshore
d2ca272aee [brcm63xx] board definition: Fixed CPVA642 LED definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 06:45:57 +00:00
cshore
cbe5202762 [brcm63xx] board definitions: Added CPVA642 GPIO leds and buttons and refreshed patches later in series due to fuzz
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 04:31:23 +00:00
cshore
f7a2edf410 bcm63xx: Add support for the T-Com Speedport W 500V.
Add support for the T-Com Speedport W 500V using a special tagged image as it
identifies itself as a 96348GW, but has some gpios wired differently, and also
has only one ethernet port without a switch attached to it.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 22:04:44 +00:00
cshore
9dd6c43103 bcm63xx: Add board id override fixup.
Add a fixup for the kernel to check the bcm tag of the image for a boardid in
the information1 field, and use that instead of the supplied one by cfe. This
is triggered by a + at the start of the information1 field.

Also modify the image generation to generate apropriately tagged images.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 22:04:40 +00:00
cshore
d26482830e bcm63xx: Finalize support for DSL-274xB, rev C2.
The DSL-2740B/DSL-2741B rev C2 support was missing the board definition,
resulting in a kernel panic on boot.
This patch adds it, and also renames the generated image name to properly
reflect that it is for the revision C2, and for both the DSL-2740B and
DSL-2741B.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24188 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 22:04:36 +00:00
cshore
01a2513287 [brcm63xx] Initial support for Telsey CPVA642 boards (no vlans, no DSL, GPIO led/buttons not known).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-19 13:41:54 +00:00
claudio
3b3e5ba8ae [brcm63xx] Add wps button on alice gate
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-06 21:08:44 +00:00
florian
85c0522658 [brcm63xx] register uart driver on livebox (#8013)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-27 10:02:13 +00:00
florian
944809a05e [brcm63xx] refresh 2.6.35 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-27 10:02:08 +00:00
claudio
1baa5e8c46 [brcm63xx] Fix nxp_74hc164 driver compile error (builbot)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-24 16:10:41 +00:00
florian
db84fc3025 [brcm63xx] fix platform_devices registration
Signed-off-by: Tanguy Bouzéloc <tanguy.bouzeloc@efixo.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-18 19:49:54 +00:00
florian
4ef493dcf3 [brcm63xx] add bcm96338W2 e7t board (D-Link 2640U/BRU/C, #7558)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-17 17:45:50 +00:00
florian
f8c314a245 [brcm63xx] fix SPI driver, move register out of driver code
Signed-off-by: Tanguy Bouzéloc <tanguy.bouzeloc@efixo.com

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-17 14:09:30 +00:00
florian
1e6479e887 [brcm63xx] refresh patches
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-17 14:09:04 +00:00
florian
063d17004c [brcm63xx] refresh nb4 support. Register 74x164 device
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-17 14:08:57 +00:00
florian
9f3b72d7a9 [brcm63xx] add spi devices board info int bcm63xx_boards
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-17 14:08:51 +00:00
florian
f47a07dfda [brcm63xx] add 74x164 SPI chip support
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-17 14:08:45 +00:00
florian
238839d6be [kernel] backport SPI master with no RXTX support (from 2.6.36)
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-17 14:08:39 +00:00
florian
980668b362 [brcm63xx] register earlier extended platform devices
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-17 14:08:34 +00:00
florian
9f1ce385e1 [brcm63xx] register udc and spi devices at the correct init level
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23035 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-12 21:23:35 +00:00
florian
70cdaf7073 [brcm63xx] refresh 2.6.35 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-12 21:23:29 +00:00
florian
e212aad78a [brcm63xx] add 2.6.35 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-25 19:56:08 +00:00