Commit graph

431 commits

Author SHA1 Message Date
Daniel Dickinson
b963cbde33 board definitions: Added patch for calculating led count, which was part of the patch removed in the previous commit
SVN-Revision: 24303
2010-12-07 15:15:47 +00:00
Daniel Dickinson
e5ca4d81f4 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.
SVN-Revision: 24302
2010-12-07 15:15:41 +00:00
Daniel Dickinson
ad24e14b35 base-files: Added the preinit information for reset button and preinit indication led, and preinit interface
SVN-Revision: 24276
2010-12-06 06:46:03 +00:00
Daniel Dickinson
244db5ac6a board definition: Fixed CPVA642 LED definitions
SVN-Revision: 24275
2010-12-06 06:45:57 +00:00
Daniel Dickinson
8316194016 board definitions: Added CPVA642 GPIO leds and buttons and refreshed patches later in series due to fuzz
SVN-Revision: 24274
2010-12-06 04:31:23 +00:00
Daniel Dickinson
7129521696 base-files: Added network defconfig because board only has one ethernet (4-port switch)
SVN-Revision: 24273
2010-12-06 02:01:08 +00:00
Daniel Dickinson
9677b65cb6 image Makefile: Corrected router imagename length limiting. Thanks KanjiMonster for reminding me.
SVN-Revision: 24191
2010-11-28 22:13:00 +00:00
Daniel Dickinson
314bce63e6 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>

SVN-Revision: 24190
2010-11-28 22:04:44 +00:00
Daniel Dickinson
3a49f669f2 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>

SVN-Revision: 24189
2010-11-28 22:04:40 +00:00
Daniel Dickinson
c51d772e62 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>

SVN-Revision: 24188
2010-11-28 22:04:36 +00:00
Daniel Dickinson
8fa9b24a4c 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>

SVN-Revision: 24187
2010-11-28 22:04:30 +00:00
Daniel Dickinson
fec30c8c80 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>

SVN-Revision: 24186
2010-11-28 22:04:26 +00:00
Daniel Dickinson
b1b318750a 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>

SVN-Revision: 24185
2010-11-28 22:04:19 +00:00
Imre Kaloz
ead8ab8403 update to the latest stable kernels
SVN-Revision: 24136
2010-11-24 18:50:11 +00:00
Daniel Dickinson
195d1d7446 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
SVN-Revision: 24127
2010-11-24 11:06:13 +00:00
Daniel Dickinson
0c0c1f017f 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.
SVN-Revision: 24118
2010-11-23 20:17:08 +00:00
Daniel Dickinson
049e59a27b Initial support for Telsey CPVA642 boards (no vlans, no DSL, GPIO led/buttons not known).
SVN-Revision: 24040
2010-11-19 13:41:54 +00:00
Daniel Dickinson
eadb5c84fa 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).
SVN-Revision: 24011
2010-11-16 06:46:53 +00:00
Claudio Mignanti
7583fe8668 Add wps button on alice gate
SVN-Revision: 23903
2010-11-06 21:08:44 +00:00
Imre Kaloz
0a5da348d1 update kernels to 2.6.32.25 and 2.6.35.8
SVN-Revision: 23851
2010-11-04 09:01:08 +00:00
Florian Fainelli
ffc84cf75c register uart driver on livebox (#8013)
SVN-Revision: 23653
2010-10-27 10:02:13 +00:00
Florian Fainelli
7bf5647070 refresh 2.6.35 patches
SVN-Revision: 23652
2010-10-27 10:02:08 +00:00
Claudio Mignanti
697d3e7066 Fix nxp_74hc164 driver compile error (builbot)
SVN-Revision: 23623
2010-10-24 16:10:41 +00:00
Florian Fainelli
20d28f7685 fix platform_devices registration
Signed-off-by: Tanguy Bouzéloc <tanguy.bouzeloc@efixo.com>

SVN-Revision: 23517
2010-10-18 19:49:54 +00:00
Florian Fainelli
af0e5167bc add bcm96338W2 e7t board (D-Link 2640U/BRU/C, #7558)
SVN-Revision: 23508
2010-10-17 17:45:50 +00:00
Florian Fainelli
9d9e3fed62 remove 2.6.32 support
SVN-Revision: 23505
2010-10-17 16:32:35 +00:00
Florian Fainelli
a1ea84dbb6 fix SPI driver, move register out of driver code
Signed-off-by: Tanguy Bouzéloc <tanguy.bouzeloc@efixo.com

SVN-Revision: 23504
2010-10-17 14:09:30 +00:00
Florian Fainelli
1a13c39f76 restore kernel oldconfig
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>

SVN-Revision: 23503
2010-10-17 14:09:24 +00:00
Florian Fainelli
265bf2ccb0 refresh patches
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>

SVN-Revision: 23502
2010-10-17 14:09:04 +00:00
Florian Fainelli
9f4c51acb7 refresh nb4 support. Register 74x164 device
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>

SVN-Revision: 23501
2010-10-17 14:08:57 +00:00
Florian Fainelli
8cbd9d5a2e add spi devices board info int bcm63xx_boards
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>

SVN-Revision: 23500
2010-10-17 14:08:51 +00:00
Florian Fainelli
b65e494976 add 74x164 SPI chip support
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>

SVN-Revision: 23499
2010-10-17 14:08:45 +00:00
Florian Fainelli
cd9b90235c backport SPI master with no RXTX support (from 2.6.36)
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>

SVN-Revision: 23498
2010-10-17 14:08:39 +00:00
Florian Fainelli
d5854cfd4d register earlier extended platform devices
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>

SVN-Revision: 23497
2010-10-17 14:08:34 +00:00
Lars-Peter Clausen
83d6a36019 update 2.6.35.x to 2.6.35.7
SVN-Revision: 23213
2010-10-04 07:42:32 +00:00
Florian Fainelli
bbca651e1b remove wpa-supplicant and iw from the Tecom GW6x00 profile
SVN-Revision: 23051
2010-09-13 08:30:35 +00:00
Florian Fainelli
d3e206ad96 default to using 2.6.35
SVN-Revision: 23038
2010-09-12 21:23:53 +00:00
Florian Fainelli
dc1302fdf9 remove 2.6.33 support
SVN-Revision: 23037
2010-09-12 21:23:47 +00:00
Florian Fainelli
327ac42dca change the Tecom GW6x00 profile to use wl instead of b43
SVN-Revision: 23036
2010-09-12 21:23:41 +00:00
Florian Fainelli
f4f789f211 register udc and spi devices at the correct init level
SVN-Revision: 23035
2010-09-12 21:23:35 +00:00
Florian Fainelli
fab2e77357 refresh 2.6.35 patches
SVN-Revision: 23034
2010-09-12 21:23:29 +00:00
Jo-Philipp Wich
867ac59ff9 enable SYSRQ for all targets, remove overrides from brcm63xx, octeon and omap35xx
SVN-Revision: 22846
2010-08-30 22:59:20 +00:00
Florian Fainelli
2e343d9760 add 2.6.35 support
SVN-Revision: 22800
2010-08-25 19:56:08 +00:00
Florian Fainelli
b1becffa5b update to 2.6.32.20
SVN-Revision: 22766
2010-08-22 17:07:37 +00:00
Daniel Dickinson
a5fdf57a1b base-files: diag.sh: For power button as preinit status led, end with led left on, not off
SVN-Revision: 22466
2010-08-02 19:33:08 +00:00
Daniel Dickinson
d391ca2c8c base-files: brcm63xx.sh: Added comtrend (96348GW-11) to routers with buttons and leds on preinit
SVN-Revision: 22465
2010-08-02 19:32:59 +00:00
Daniel Dickinson
99d0f9ea05 patches-2.6.32/33: Reset button on Comtrend routers is GPIO 33 not GPIO 32
SVN-Revision: 22464
2010-08-02 19:32:40 +00:00
Jo-Philipp Wich
00cc52f14b reorder profiles
SVN-Revision: 22390
2010-07-26 18:58:35 +00:00
Jo-Philipp Wich
7831006360 fix a typo in 040-bcm963xx_flashmap.patch
SVN-Revision: 22386
2010-07-25 00:10:37 +00:00
Imre Kaloz
ca8f45b142 update kernel versions
SVN-Revision: 22289
2010-07-19 11:34:03 +00:00
Florian Fainelli
f6935a4bdb fix alice gate2 internet:green led (#6743)
SVN-Revision: 22273
2010-07-18 10:29:44 +00:00
Jo-Philipp Wich
abdf25b045 add required exports for wl.ko
SVN-Revision: 22174
2010-07-13 17:03:56 +00:00
Claudio Mignanti
2d86ea7bf3 massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950
SVN-Revision: 22145
2010-07-12 14:06:13 +00:00
Jo-Philipp Wich
1650f33f97 add a wifi profile for proprietary wl
SVN-Revision: 22009
2010-07-01 01:39:04 +00:00
Florian Fainelli
fb94196462 add missing alice gate2 leds (#6743)
SVN-Revision: 21785
2010-06-13 12:20:53 +00:00
Florian Fainelli
145fd381d7 do not override cfg80211-related config symbols
SVN-Revision: 21769
2010-06-12 18:10:16 +00:00
Gabor Juhos
9bc1e548a1 generic: move more common options to generic configuration
* CONFIG_ABX500_CORE
 * CONFIG_ATOMIC64_SELFTEST
 * CONFIG_BRIDGE_IGMP_SNOOPING
 * CONFIG_CAIF
 * CONFIG_CEPH_FS
 * CONFIG_CRYSTALHD
 * CONFIG_DEFAULT_SECURITY_SELINUX
 * CONFIG_DEFAULT_SECURITY_SMACK
 * CONFIG_DEFAULT_SECURITY_TOMOYO
 * CONFIG_DT3155
 * CONFIG_IP_MROUTE_MULTIPLE_TABLES
 * CONFIG_L2TP
 * CONFIG_LOGFS
 * CONFIG_LPC_SCH
 * CONFIG_MFD_JANZ_CMODIO
 * CONFIG_MFD_RDC321X
 * CONFIG_N_GSM
 * CONFIG_RAMOOPS
 * CONFIG_SERIAL_ALTERA_JTAGUART
 * CONFIG_SERIAL_ALTERA_UART
 * CONFIG_SERIAL_TIMBERDALE
 * CONFIG_SM_FTL
 * CONFIG_SQUASHFS_XATTRS

SVN-Revision: 21750
2010-06-10 10:45:51 +00:00
Gabor Juhos
2f328ce488 generic: move some common symbols to generic configuration
* CONFIG_MUTEX_SPIN_ON_OWNER
 * CONFIG_DEFAULT_HYDLA
 * CONFIG_DEFAULT_VENO

SVN-Revision: 21748
2010-06-10 08:58:14 +00:00
Gabor Juhos
5cad9d5c73 generic: standardize CONFIG_INLINE_* symbols usage
SVN-Revision: 21746
2010-06-10 08:09:41 +00:00
Daniel Dickinson
f296eeab53 brcm63xx: Fixed 96348GW (Tecom Gx00) LED definitions to match reality (vs reference design)
SVN-Revision: 21631
2010-05-30 02:04:56 +00:00
Daniel Dickinson
6a267cfa76 brcm63xx: Tecom GW6x00 profile: Added hotplug button events and gpio-leds kmods
SVN-Revision: 21630
2010-05-30 01:44:37 +00:00
Daniel Dickinson
40c53c6556 brcm63xx: Fixed vlan packet leakage in preinit for known devices with a switch on eth1 (currently only 96348GW - Tecom 6x00)
SVN-Revision: 21629
2010-05-30 01:33:20 +00:00
Daniel Dickinson
82edb6eafa brcm63xx: Added preinit reset button module loading for devices known to support it and for which /lib/brcm63xx.sh has the definitions (currently only 96348GW - Tecom 6x00)
SVN-Revision: 21628
2010-05-30 01:33:09 +00:00
Daniel Dickinson
cc8fba8441 brcm63xx: Added LED code for preinit (/etc/diag.sh) for 96348GW (Tecom 6x00)
SVN-Revision: 21627
2010-05-30 01:32:58 +00:00
Daniel Dickinson
bd8cfa63f4 brcm63xx: Added preinit board-type detection (currently only 96348GW - Tecom 6x00)
SVN-Revision: 21626
2010-05-30 01:32:47 +00:00
Nicolas Thill
e74e289fa8 update linux kernel to 2.6.32.14
SVN-Revision: 21583
2010-05-27 18:09:09 +00:00
Nicolas Thill
46e2eea1ef target/linux: refresh 2.6.32 patches
SVN-Revision: 21566
2010-05-24 20:35:46 +00:00
Hauke Mehrtens
b18a1d217b kernel: update kernel to version 2.6.32.13 and 2.6.33.4
SVN-Revision: 21540
2010-05-23 13:16:51 +00:00
Florian Fainelli
f89ff525ee revert r21085, fixes #7282
SVN-Revision: 21352
2010-05-04 08:07:39 +00:00
Florian Fainelli
1017215649 do not write to per-port over-current register, which is bogus (#6898)
SVN-Revision: 21306
2010-05-02 19:14:10 +00:00
Raphaël Huck
f87eac79bb rename reset_buttons to buttons
SVN-Revision: 21255
2010-04-29 12:54:24 +00:00
Raphaël Huck
ccfe1f7886 add WPS button support for nb4 boards
SVN-Revision: 21254
2010-04-29 12:51:41 +00:00
Raphaël Huck
b29ef93886 fix gpio button key code, match button-hotplug code
SVN-Revision: 21253
2010-04-29 12:51:02 +00:00
Raphaël Huck
5af6e7724b fix gpio_button device register
SVN-Revision: 21252
2010-04-29 12:50:09 +00:00
Raphaël Huck
73e450f44a fix the setup of MII clock in the case enet1 is linked to external switch for 6358 boards, thx Miguel
SVN-Revision: 21231
2010-04-28 12:30:32 +00:00
Raphaël Huck
1a07f81239 extend bcm63xx_wdt driver for debugging purposes, thx Miguel
SVN-Revision: 21199
2010-04-27 15:45:03 +00:00
Alexandros C. Couloumbis
fdac9ae836 sync to kernel 2.6.32.12
SVN-Revision: 21195
2010-04-27 14:30:08 +00:00
Raphaël Huck
8df378a918 add neufbox 4 board support, thx Miguel & Florian
SVN-Revision: 21193
2010-04-27 13:49:31 +00:00
Raphaël Huck
266c0bf900 add NXP 74HC164 chip driver support, thx Miguel & Florian
SVN-Revision: 21192
2010-04-27 13:48:26 +00:00
Raphaël Huck
cf1654354b add extended platform devices patch, thx Miguel & Florian
SVN-Revision: 21191
2010-04-27 13:46:22 +00:00
Florian Fainelli
d15e136deb fix spi chip select configuration
SVN-Revision: 21164
2010-04-26 13:33:48 +00:00
Florian Fainelli
84dd37d930 fix bcm6358 spi base register address (#7234)
SVN-Revision: 21163
2010-04-26 09:22:27 +00:00
Florian Fainelli
52231f694d the SPI_CMD register is 16-bits wide
SVN-Revision: 21162
2010-04-26 09:22:23 +00:00
Nicolas Thill
b1b2b04639 package/kernel: move PCMCIA modules to their own file & submenu
SVN-Revision: 21136
2010-04-24 13:53:31 +00:00
Nicolas Thill
484051d055 package/kernel: move target specific modules to their own target files
SVN-Revision: 21132
2010-04-24 13:34:51 +00:00
Florian Fainelli
2bab1a43be register spi controller, remove whitespaces
SVN-Revision: 21096
2010-04-22 16:35:49 +00:00
Florian Fainelli
6b423d5ecb resync 2.6.33 mtd patch with the one for 2.6.32
SVN-Revision: 21095
2010-04-22 16:35:44 +00:00
Florian Fainelli
41836b16bb fix wrong refresh on flashmap patch
SVN-Revision: 21094
2010-04-22 16:35:01 +00:00
Florian Fainelli
ca3e07d639 re-instate SPI support
SVN-Revision: 21087
2010-04-22 15:27:51 +00:00
Florian Fainelli
0b47141194 refresh 2.6.32 patches
SVN-Revision: 21086
2010-04-22 15:27:46 +00:00
Florian Fainelli
be2a5389e6 alwasy read imagetag with 64K erase block size
SVN-Revision: 21085
2010-04-22 15:27:42 +00:00
Gabor Juhos
81062a12ac kernel: refresh patches for 2.6.33.2, and drop md5sum for older 2.6.32 kernels
SVN-Revision: 21081
2010-04-22 07:12:09 +00:00
Daniel Dickinson
fe5d55977e tools/firmware-utils/imagetag: Fixed Pirelli Alice Gate CRC calculation in imagetag (was invalid strings in bcm_tag.h). Closes #7120
SVN-Revision: 20850
2010-04-14 00:45:48 +00:00
Nicolas Thill
e2b57ecf5f define a shared IMG_PREFIX variable used as a basename for image files, it contains board & subtarget infos (if appropriate) allowing subtargets to share the same bin directory without overwriting each other's files
SVN-Revision: 20834
2010-04-12 23:15:56 +00:00
Florian Fainelli
b87e590b24 do not overwrite ENET_CTL_REG, fixes ethernet on bcm6338
SVN-Revision: 20765
2010-04-09 18:43:36 +00:00
Florian Fainelli
2a4fb82289 flashmap and image generation: reduced union bcm_tag to a single struct combining the elements so that it is no longer necessary to create an openwrt-only tagid and tagcrc, and elimate the tagid detection and switch statements which made dealing with imagetags overly complicated, especially since the logic would need analogs in all code that touched the imagetag. Patch from cshore.
SVN-Revision: 20652
2010-04-01 21:20:43 +00:00
Florian Fainelli
dad85cddac move bcm_tag.h out of the flashmap patch so that user-land tools can re-use it
SVN-Revision: 20548
2010-03-28 18:11:06 +00:00
Gabor Juhos
e66a368bd1 kernel: update to 2.6.32.10
SVN-Revision: 20444
2010-03-26 10:45:25 +00:00
Florian Fainelli
10d4e5b4b0 drop support for 2.6.30 kernel
SVN-Revision: 20438
2010-03-26 10:12:48 +00:00
Florian Fainelli
928dfc550f add support for D4PW board, patch from mexit
SVN-Revision: 20420
2010-03-25 12:06:01 +00:00