Commit graph

392 commits

Author SHA1 Message Date
Daniel Dickinson
6ee5411686 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>

SVN-Revision: 24836
2010-12-26 04:18:04 +00:00
Daniel Dickinson
31f7259e3e 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>

SVN-Revision: 24834
2010-12-26 04:17:56 +00:00
Daniel Dickinson
44e22cbd49 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.
SVN-Revision: 24442
2010-12-10 18:59:58 +00:00
Daniel Dickinson
7224337d71 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.
SVN-Revision: 24316
2010-12-08 00:40:31 +00:00
Daniel Dickinson
2a86dcc3d6 Profiles: Make buttons and led modules included by default so that failsafe will work in the case of builds for releases.
SVN-Revision: 24315
2010-12-08 00:40:28 +00:00
Daniel Dickinson
c6ef9a0720 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
SVN-Revision: 24314
2010-12-08 00:40:24 +00:00
Daniel Dickinson
f8ed133c0a 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.
SVN-Revision: 24310
2010-12-07 17:32:29 +00:00
Daniel Dickinson
0e839ea40d Revert "[brcm63xx] patches-2.6.35: Added flash chip definition for Macronix MX29LV640T."
This reverts commit 43511418ae2771a6662a83a254f06e37f4ac19e5.

It belongs in generic not brcm63xx.

SVN-Revision: 24308
2010-12-07 17:02:31 +00:00
Daniel Dickinson
183d628485 patches-2.6.35: Added flash chip definition for Macronix MX29LV640T. Thanks blunoise
SVN-Revision: 24307
2010-12-07 16:42:23 +00:00
Daniel Dickinson
8f9b14dafe 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.
SVN-Revision: 24305
2010-12-07 15:15:54 +00:00
Daniel Dickinson
3baa168e09 patches: Refreshed patches after led_count
SVN-Revision: 24304
2010-12-07 15:15:51 +00:00
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