Commit graph

552 commits

Author SHA1 Message Date
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
Florian Fainelli
31709b2c76 update to 2.6.35.11
SVN-Revision: 25582
2011-02-19 12:44:16 +00:00
Florian Fainelli
2d3ed6dc2d 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>

SVN-Revision: 25431
2011-02-09 13:09:02 +00:00
Florian Fainelli
e75274de89 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>

SVN-Revision: 25420
2011-02-08 13:46:12 +00:00
Florian Fainelli
bed53c93d6 give some credits to Tanguy Bouzeloc in the spi driver
SVN-Revision: 25133
2011-01-27 02:11:08 +00:00
Florian Fainelli
c6d9ec5173 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>

SVN-Revision: 24849
2010-12-29 16:19:59 +00:00
Daniel Dickinson
dc9c1ac1f7 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).
SVN-Revision: 24843
2010-12-28 08:10:32 +00:00
Daniel Dickinson
5ee2a6c696 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.
SVN-Revision: 24842
2010-12-28 04:05:04 +00:00
Florian Fainelli
093ebfe217 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>

SVN-Revision: 24840
2010-12-28 00:24:50 +00:00
Daniel Dickinson
fc3a1d0ba3 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>

SVN-Revision: 24838
2010-12-26 04:18:13 +00:00
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
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
Florian Fainelli
f2e91995ea refresh 2.6.32 patches, fix livebox support (#6821)
SVN-Revision: 20204
2010-03-14 16:21:28 +00:00
Nicolas Thill
e1863691d9 do *not* enable CONFIG_PCI in generic config, but on targets where it makes sense instead (partially revert [18370])
SVN-Revision: 20136
2010-03-11 09:50:11 +00:00
Florian Fainelli
2c13d45b29 do not register devices in device_initcall level, this breaks the SSB SPROM registration
SVN-Revision: 19957
2010-03-02 21:49:37 +00:00
Florian Fainelli
0cd5b9983f remove mail headers from patches
SVN-Revision: 19935
2010-03-01 14:55:34 +00:00
Florian Fainelli
4f4066d3e0 add support for 2.6.33
SVN-Revision: 19921
2010-02-28 21:24:34 +00:00
Florian Fainelli
984ac762e4 add support for 2.6.32, dropped the SPI patch for now
SVN-Revision: 19919
2010-02-28 20:50:51 +00:00
Florian Fainelli
ada5848ba6 build images for RG100A (bcm6358-based boards) (#6755)
SVN-Revision: 19894
2010-02-28 11:09:39 +00:00
Florian Fainelli
12a2f9b7b8 fix gpio-leds registration for boards having less than 8 LEDs (#6528)
SVN-Revision: 19793
2010-02-21 14:27:17 +00:00
Florian Fainelli
8a1f7817d1 fix the receiving of packets with a 1500 mtu and vlan enabled (#6698)
SVN-Revision: 19753
2010-02-19 11:56:13 +00:00
Imre Kaloz
825b37cc56 clean up handling of some kernel symbols
SVN-Revision: 19581
2010-02-11 09:33:16 +00:00
Florian Fainelli
e716256d86 fix printing of mtd offsets, remove whitespaces.
SVN-Revision: 19475
2010-01-31 21:37:25 +00:00
Florian Fainelli
b8d99458ff move files to files-2.6.30, to ease newer kernel integration
SVN-Revision: 19471
2010-01-31 21:00:50 +00:00
Daniel Dickinson
022594b0ed brcm63xx: Fix gpio-buttons and add LED and buttons for Tecom IGW6200 and Comtrend CT-5261
SVN-Revision: 19361
2010-01-28 16:54:00 +00:00
Felix Fietkau
2aa0d20756 replace the hostapd preselection with a wpad preselection to enable proper client mode support in the default images
SVN-Revision: 19293
2010-01-23 17:21:18 +00:00
Daniel Dickinson
f623119680 Fix typo in AGPF_S0 reset button definition
SVN-Revision: 19160
2010-01-16 03:13:56 +00:00
Claudio Mignanti
b031e14bf0 bcm63xx: add gpio leds to alice gate
SVN-Revision: 19152
2010-01-15 13:30:46 +00:00
Florian Fainelli
a47b8566a1 update to 2.6.30, refresh patches
SVN-Revision: 18635
2009-12-04 14:52:45 +00:00
Felix Fietkau
fa0396c530 kernel: move CONFIG_MIPS_FPU_EMU to generic kernel config
SVN-Revision: 18603
2009-11-29 14:31:55 +00:00
Florian Fainelli
0adbdf6409 add support for the RTA1025W_16 board (#5979)
SVN-Revision: 18476
2009-11-22 14:53:20 +00:00
Imre Kaloz
6b280112f2 some more Kconfig symbol move..
SVN-Revision: 18371
2009-11-11 11:52:41 +00:00
Imre Kaloz
1d62d9a95c another round of kernel config cleanups
SVN-Revision: 18370
2009-11-11 11:42:24 +00:00
Imre Kaloz
ef42fb4c13 sort all target config files
SVN-Revision: 18367
2009-11-11 09:27:13 +00:00
Florian Fainelli
e9a02ff509 merge upstream fixes on mdio loop
SVN-Revision: 18335
2009-11-07 12:48:17 +00:00
Florian Fainelli
9a84de9e01 images without tagid now fallback to the untouched partition layout (#6093)
SVN-Revision: 18288
2009-11-03 19:59:04 +00:00
Florian Fainelli
5e7b871d8a remove no longer used configs and patches
SVN-Revision: 18221
2009-10-30 09:55:53 +00:00
Florian Fainelli
411d1ba1bb do not generate trx images, this is useless
SVN-Revision: 18204
2009-10-29 13:39:29 +00:00
Florian Fainelli
338490bd50 remove 2.6.28 support, we never really used it
SVN-Revision: 18156
2009-10-25 21:13:46 +00:00
Florian Fainelli
7100c1efd9 switch to 2.6.30.9
SVN-Revision: 18155
2009-10-25 21:10:53 +00:00
Florian Fainelli
46c66bba36 update to 2.6.27.35
SVN-Revision: 18125
2009-10-23 09:12:17 +00:00
Nicolas Thill
f22156bf9e brcm63xx: fix cardbus support with BCM6358 (closes: #5918)
SVN-Revision: 17935
2009-10-05 20:40:05 +00:00
Andy Boyett
c85a89348f move IMAGE_CMDLINE_HACK default to generic from targets
SVN-Revision: 17905
2009-10-05 17:05:34 +00:00
Imre Kaloz
85fcc97a13 update to latest 2.6.27 and 2.6.30 kernels
SVN-Revision: 17602
2009-09-17 11:22:33 +00:00
Florian Fainelli
031e6f65ba update to 2.6.27.33
SVN-Revision: 17569
2009-09-11 07:45:08 +00:00
Gabor Juhos
47c0d7419f kernel: get rid of the simple_prom_emulator, it is not really useful
SVN-Revision: 17567
2009-09-10 18:30:20 +00:00
Gabor Juhos
d59f5b3a98 kernel: add generic image_cmdline hack to MIPS targets
SVN-Revision: 17563
2009-09-10 18:30:01 +00:00
Florian Fainelli
43d0be69d7 update to 2.6.27.32
SVN-Revision: 17548
2009-09-09 07:13:09 +00:00
Florian Fainelli
b9c0291e32 prevent gpio-buttons registration failure
SVN-Revision: 17542
2009-09-08 15:24:06 +00:00
Florian Fainelli
8ceff55a08 fix typos against the gpio buttons driver (#5804)
SVN-Revision: 17538
2009-09-07 18:17:45 +00:00
Florian Fainelli
65fa1debda add infrastructure to register gpio-input reset button
SVN-Revision: 17526
2009-09-06 13:54:17 +00:00
Florian Fainelli
294ec33e47 fix reboot hang on bcm6345, thanks AndyI
SVN-Revision: 17465
2009-09-02 08:32:00 +00:00
Florian Fainelli
63b86723b1 switch to 2.6.27.30
SVN-Revision: 17291
2009-08-17 09:17:06 +00:00
Florian Fainelli
3fd180eb53 add missing patch which fakes a cardbus controller on top of PCI, thanks SGDA
SVN-Revision: 17234
2009-08-12 08:41:47 +00:00
Florian Fainelli
7610c78205 fix typo, INT_MASK is writable, INT_STATUS is not
SVN-Revision: 17229
2009-08-11 18:57:04 +00:00
Florian Fainelli
dd8b0f9fb9 more bcm63xx definition fixes, thanks AndyI
SVN-Revision: 17227
2009-08-11 18:50:07 +00:00
Florian Fainelli
85698765da add support for the Pirelli AG226G board (#5337)
SVN-Revision: 17190
2009-08-09 10:19:47 +00:00
Florian Fainelli
2d629e3a01 remove useless hard reset in the SPI controller driver
SVN-Revision: 17189
2009-08-09 10:18:30 +00:00
Florian Fainelli
2437f53f1d fix assignment instead of comparison in the mtd driver (#5649)
SVN-Revision: 17188
2009-08-09 10:08:07 +00:00
Florian Fainelli
8866ab8a02 merge upstream fixes for bcm63xx_enet
SVN-Revision: 17175
2009-08-08 11:25:36 +00:00
Florian Fainelli
5138aa203e bcm6345 fixes from AndyI
SVN-Revision: 17153
2009-08-06 20:33:42 +00:00
Florian Fainelli
48c1634d3e fix off-by-one maximum timeout in the wathchdog default counter for bcm6345, thanks AndyI
SVN-Revision: 17149
2009-08-06 18:53:44 +00:00
Florian Fainelli
dd78f746a5 disable watchdog for bcm6345 until it gets fixed
SVN-Revision: 17148
2009-08-06 18:44:20 +00:00
Florian Fainelli
39c22483bd fix printing of offsets
SVN-Revision: 17099
2009-08-02 13:50:39 +00:00
Florian Fainelli
85119470d2 add experimental support for 2.6.30.4
SVN-Revision: 17081
2009-08-01 16:56:36 +00:00
Florian Fainelli
e58d0f346d more bcm6345 fixes and definitions, thanks to AndyI
SVN-Revision: 17066
2009-07-31 20:15:43 +00:00
Florian Fainelli
c5879ba76d refresh 2.6.27 patches
SVN-Revision: 17061
2009-07-31 11:10:20 +00:00
Florian Fainelli
252607a79c update to 2.6.27.29
SVN-Revision: 17060
2009-07-31 11:09:27 +00:00
Florian Fainelli
dd622864e1 generate images for RTA1025W_16-based routers (#5594)
SVN-Revision: 17058
2009-07-31 10:47:00 +00:00
Florian Fainelli
9887dc6100 add experimental support for 2.6.28.10, tested on bcm6338
SVN-Revision: 17054
2009-07-30 21:29:25 +00:00
Florian Fainelli
3c806e767e enable 6345 support now that it boots up to user-space
SVN-Revision: 17033
2009-07-27 23:04:58 +00:00
Florian Fainelli
dabf5e71a6 fix typo for the flash start address on bcm6345
SVN-Revision: 17032
2009-07-27 22:31:28 +00:00
Florian Fainelli
103c99b960 switch to 2.6.27.28
SVN-Revision: 17027
2009-07-27 10:01:33 +00:00
Florian Fainelli
4d38620058 fix malformed patch
SVN-Revision: 16975
2009-07-25 16:18:02 +00:00
Florian Fainelli
755aae526a bcm6345 does not seem to handle r4k_wait correctly, disable it (#5474)
SVN-Revision: 16971
2009-07-24 20:25:31 +00:00
Florian Fainelli
c4d517c7bb use 2.6.27.7
SVN-Revision: 16968
2009-07-24 17:03:03 +00:00
Florian Fainelli
5df0606265 fix typos introduced in 16942
SVN-Revision: 16943
2009-07-21 12:22:01 +00:00
Florian Fainelli
8b17c74376 make the ethernet driver compile with newer kernels
SVN-Revision: 16942
2009-07-21 11:48:08 +00:00
Florian Fainelli
43a3f9555a request irq with the platform driver name instead of bus_id which is being removed in newer kernels
SVN-Revision: 16932
2009-07-20 10:52:08 +00:00
Florian Fainelli
a0a85ba7c6 we are using the default-on trigger for power LEDs, no need to change their state from userspace
SVN-Revision: 16892
2009-07-18 09:27:33 +00:00
Florian Fainelli
ecad504c39 register GPIO-connected LEDs for known boards
SVN-Revision: 16887
2009-07-18 00:40:23 +00:00
Florian Fainelli
fe05e1f37a mask the USB_EHCI_ROOT_HUB_TT symbol since brcm63xx ehci does not implement it at all, fixes usb 2.0 issues on bcm6358
SVN-Revision: 16882
2009-07-17 15:58:06 +00:00
Florian Fainelli
d0fdf2c5ed fix comment only valid for bcm6345
SVN-Revision: 16881
2009-07-17 15:57:09 +00:00
Florian Fainelli
349d57eee4 resync kernel configuration and enable kexec
SVN-Revision: 16795
2009-07-12 11:31:00 +00:00
Florian Fainelli
9d2522748f add bcm47xx lzma initramfs patch which is useful to workaround some CFE limitations when ramdisk kernels are too big
SVN-Revision: 16709
2009-07-06 11:28:34 +00:00
Florian Fainelli
9a387036d2 add a profile with no Wi-Fi drivers enabled, useful for bcm6338
SVN-Revision: 16708
2009-07-06 11:21:22 +00:00
Florian Fainelli
fefeecf52f update to latest 2.6.27.26 stable kernel
SVN-Revision: 16659
2009-07-03 09:31:52 +00:00
Florian Fainelli
0bda624fc7 add the infrastructure to use a MPI/GPIO connected VoIP DSP
SVN-Revision: 16650
2009-07-01 21:00:41 +00:00
Florian Fainelli
8a8943671a fixes for the bcm6338 clocks, thanks Maxime
SVN-Revision: 16640
2009-07-01 13:49:20 +00:00
Florian Fainelli
5a7c5b2d36 a couple of more fixes to get 6345 booting up to the console handover
SVN-Revision: 16636
2009-06-30 13:45:49 +00:00
Florian Fainelli
8179904540 shared DMA zone is twice smaller on 6338
SVN-Revision: 16608
2009-06-28 20:06:44 +00:00