1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-25 07:01:51 +02:00
Commit Graph

513 Commits

Author SHA1 Message Date
jogo
fff36017cf linux: update 3.0 to 3.0.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-19 18:39:12 +00:00
florian
caca8eaab1 [brcm63xx] build images for D-Link DSL-2650U (#9003)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-18 10:37:03 +00:00
florian
5c52fb2bb6 [brcm63xx] build images for Pirelli A226M (#10409)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29045 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 19:19:22 +00:00
florian
3b6e0584f5 [brcm63xx] register uart0 on DWV-S0 boards (#10409)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 19:19:18 +00:00
florian
48f5336885 [brcm63xx] rename 456-board_DWV-S0_ehci.patch to 456-board_DWV-S0_fixes.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 19:19:05 +00:00
jogo
85ec5ce98d linux: update 3.1 to 3.1.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29007 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-11-13 10:48:05 +00:00
jow
3275a393fc target: globally disable BSD process accounting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-10-25 16:18:36 +00:00
hauke
4bf096096c kernel: update kernel to version 2.6.39.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-16 22:04:10 +00:00
florian
cce9a35355 [brcm63xx] fix ehci build on 3.0+
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-10 11:37:25 +00:00
florian
c3e75d5014 [kernel] add ignore_oc in struct ehci_hcd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-10 11:37:21 +00:00
jogo
4282cc86e6 bcm63xx: add support for linux 3.1-rc1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-09 12:19:49 +00:00
florian
c600b8c141 [brcm63xx] add support for BCM6345 Ethernet DMA engine
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-02 18:55:55 +00:00
florian
e386996557 [brcm63xx] 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-08-02 18:55:46 +00:00
jogo
d983336e06 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27774 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-25 19:52:47 +00:00
florian
9ee9f66b5f [brcm63xx] add ehci support to DWV-S0 board (#9059)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-16 08:39:04 +00:00
florian
e43c771244 [brcm63xx] fix GEN_SPI_RSET_BASE macro (#9697)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-13 09:33:11 +00:00
florian
d8a46ca40e [brcm63xx] move board_HW553 inside the ifdef ..BCM6358 .. endif block
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 10:00:39 +00:00
cshore
da0ae64a3e [brcm63xx] Makefile: fixed inclusion of kmod-leds-gpio as a module (breaks Image Generator) - the module is built into the kernel.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 06:35:24 +00:00
cshore
e6ee47fd40 [brcm63xx] profiles: GW6X00: fixed inclusion of both wl and wlc wireless tools...should be just wlc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-06 06:35:22 +00:00
florian
b18307a84f [brcm63xx] hw553: fix missing has_uart0 in board definition (#9533)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-07-04 15:04:58 +00:00
hauke
e2e4e12a9a kernel: update kernel to 2.6.39.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-28 19:30:58 +00:00
hauke
7072b1e240 kernel: update ssb and bcma to linux-next next-20110627
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-27 21:28:40 +00:00
florian
4fa8e1979c [brcm63xx] remove gpiodev, prefer sysfs gpio
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-25 19:26:17 +00:00
florian
cf43489095 [brcm63xx] 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-22 12:32:03 +00:00
florian
80db4b51be [brcm63xx] fix tab damage in 141-led_count.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-21 20:52:58 +00:00
florian
07d9a1e199 [kernel] fix and make usable kmod-pcmcia-rsrc
This module is also needed for e.g: kmod-bcm63xx-pcmcia

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-21 20:52:53 +00:00
florian
7954e2cc55 [brcm63xx] use macros to generate SPI registers table and switches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-21 10:05:51 +00:00
florian
e13c1d256f [brcm63xx] dev-spi.c checks for running CPU, not board code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-19 20:46:00 +00:00
florian
be166690fa [brcm63xx] fixup patches after r27234
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-19 20:28:38 +00:00
florian
64c718f223 [brcm63xx] remove accidental bcm6345 related patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-19 20:16:59 +00:00
florian
ea57f00705 [brcm63xx] remove support for 2.6.37 and 2.6.38
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27233 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-19 20:14:22 +00:00
florian
df49c5b247 [brcm63xx] switch to 2.6.39
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-19 20:12:45 +00:00
florian
bba43a8dab bcm63xx: Add support for Linux 3.0-rc3
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-06-16 14:34:40 +00:00
florian
50d9b77c8c 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-27 09:54:52 +00:00
florian
4ffe2a8029 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27018 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-27 09:54:48 +00:00
florian
540c634db7 [brcm63xx] fold 446-board-D4PW_correction.patch in 440-board-D4PW.patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-26 13:53:00 +00:00
florian
a18e55e2d0 [brcm63xx] renumber patches accordingly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-26 13:52:56 +00:00
florian
ba86e7162d [brcm63xx] renumber board patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-26 12:09:15 +00:00
florian
65302aa5bc [brcm63xx] add support for BT Voyager 2110 (#8810)
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-20 10:06:25 +00:00
florian
233a4cab5d [brcm63xx] add support for DSL-2640B rev B2
Signed-off-by: Adrian Feliks <mexit@o2.pl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-20 10:06:22 +00:00
florian
c86364399e [brcm63xx] refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-20 10:06:18 +00:00
florian
547875d0c9 [brcm63xx] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-20 10:06:15 +00:00
florian
3523230780 [brcm63xx] add support for BT Voyager 2500 (#9070)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-20 10:06:07 +00:00
florian
552666835d [brcm63xx] add support for USR9108 LEDs (#9372)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-20 10:06:04 +00:00
florian
4b838055c4 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-11 13:34:14 +00:00
florian
4b5057ec0f 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-11 13:33:50 +00:00
florian
65b306d01e bcm63xx: Accept any led with power in its name as power led
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-11 13:33:45 +00:00
florian
a49f5b3910 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-11 13:33:41 +00:00
florian
9db1daeb99 [kernel] fill maintainer infos for a couple of targets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-06 12:37:36 +00:00
hauke
a921520508 brcm47xx: when detecting a ssb pci device without an own sprom write the sprom data from the platform device to the correct pointer.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26829 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-05 14:05:21 +00:00
hauke
374bb82f67 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)


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-05-01 20:28:35 +00:00
nbd
76383a0da0 brcm63xx: remove patches/configs for 2.6.35
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-17 18:39:46 +00:00
cshore
530f098176 [brcm63xx] Fixed directory error: added ra1320 patches to trunk/target... subdir instead if target.... in trunk branch.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-17 01:15:47 +00:00
cshore
bc859928e3 [brcm63xx] Generate images for RTA1320_16M-based routers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 14:31:36 +00:00
cshore
f5c866b902 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-15 12:18:25 +00:00
hauke
84b3048574 kernel: Update to version 2.6.37.6
Thank you Peter Wagner for the patch


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-04-03 13:59:07 +00:00
cshore
525ba9fbea [brcm63xx] Updated kernel version to 2.6.37.4. Tested with 6348 and 6358 devices.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-31 06:16:23 +00:00
florian
b7660536c6 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-07 16:55:01 +00:00
florian
4c45806d30 [brcm63xx] fix patches after 2.6.37 update, patch from KanjiMonster
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-03-01 16:02:38 +00:00
florian
57b9051544 [brcm63xx] add support for 2.6.37, patches from KanjiMonster
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-20 19:59:22 +00:00
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
31ed958204 [kernel] update to 2.6.35.11
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-19 12:44:16 +00:00
florian
c4ee4e8bc8 [brcm63xx] fix T-Com Speedport W 500V default config
The device is called SPW500V, not SP500W.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-02-09 13:09:02 +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
c91e2ce710 base-files: Added uci-defaults script to run mtd fixtrx on firstboot for devices that need it.
Signed-off-by: Daniel Dickinson <daniel@cshore.neomailbox.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-26 04:18:04 +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
deb8dba13c [brcm63xx] Profiles: GW6X00: Replace ext2 module with ext4 as ext2 and 3 are going away. Remove kmod-loop as the need for it has been superseded by block-extroot, and remove kmod-fs-vfat as it takes space and is rarely needed.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 00:40:31 +00:00
cshore
a2e7591047 [brcm63xx] Profiles: Make buttons and led modules included by default so that failsafe will work in the case of builds for releases.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 00:40:28 +00:00
cshore
860ae4cdbc [brcm63xx] Profiles: Move wpad-mini to the profiles that use it, rather than default for all profiles (because -wpad-mini means it's not selectable, which isn't what we always want for the No WiFi profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-08 00:40:24 +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
91050b8f9f [brcm63xx] base-files: Added the preinit information for reset button and preinit indication led, and preinit interface
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 06:46:03 +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
87689d1064 [bcm63xx] base-files: Added network defconfig because board only has one ethernet (4-port switch)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24273 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-12-06 02:01:08 +00:00
cshore
191062a0ed [brcm63xx] image Makefile: Corrected router imagename length limiting. Thanks KanjiMonster for reminding me.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 22:13:00 +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
36faccabad bcm63xx: Allow 'colored' power leds.
Since some devices have more than one power led, they might be separated by
their color in the name. To also allow them to be on after leaving preinit,
set any status led starting with 'power' to on instead of only those with
the exact name of 'power'.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 22:04:30 +00:00
cshore
74fd46691e bcm63xx: Don't hardcode the switch ethernet interface in preinit.
Currently eth1 is hardcoded as the expected interface switches in diagmode.
This patch replaces the eth1 with the ifname, and also directly tests if
the interface specified by ifname has a switch attached.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 22:04:26 +00:00
cshore
2ce35911df bcm63xx: Add defconfigs.
Port the mechanism for different default configurations from ar71xx and
use the old configuration as the default configuration. This should have
no functional differences to before.
While we are at it, remove the obsolete nat option.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24185 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 22:04:19 +00:00
kaloz
d053fa7af0 update to the latest stable kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 18:50:11 +00:00
cshore
0760ba4d65 [brcm63xx] image Makefile: Removed extraneous tab from Image/LimitName16 macro definition. The solves the strange whitespace in front of the image name in the info1 section
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 11:06:13 +00:00
cshore
97de625a9b [brcm63xx] image: Limited image name put into the info1 field to 16 characters and eliminted the OpenWRT revision. This makes using the image (router) name as the board name possible, so that boards with same real boardid but different GPIOs can be detected and the correct GPIOs used.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-23 20:17:08 +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
cshore
33d20e9dce [tools/firmware-utils] imagetag: Significantly updated brcm63xx imagetag writing tool.
* Rewrote commandline parsing code using gengetopt
		- We now get long options
		- We have more options including use of the info section for 
			board information (e.g. to add the same boardid but
			different GPIOs on different routers)
	* Added back the ability to write stock images (this is useful, for example,
		when copying the firmware from the in-memory flash, and then being
		able to create an image that will let you revert to/test stock firmware
	* Fixed copying of CRCs to use memcpy instead of strncpy (strncpy stops at 0)
	* Added ability to use all sections of the imagetag, including custom magic 
	 	signatures (e.g. for the Telsey router I'm adding soon), info sections,
		and reserved sections
	* Added putting the router type (as defined in the image generating Makefile)
		into the info1 section and the filesystem type in the info2 section.
		This will be used by mtd (when I add the code) to return the name of
		image used to flash this router.  (As requested by Jo, as well as being
		useful for same boardid different board scenario described above).



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-16 06:46:53 +00:00