Commit graph

831 commits

Author SHA1 Message Date
Florian Fainelli
4cdc4b1f36 refresh patches
SVN-Revision: 32581
2012-07-03 09:45:46 +00:00
Florian Fainelli
52bae2d2bd fix watchdog and rng drivers section mismatch (#11767)
SVN-Revision: 32522
2012-06-29 09:07:54 +00:00
Florian Fainelli
1d7878a38b fix SPI clock frequency selection
SVN-Revision: 32512
2012-06-27 22:14:50 +00:00
Florian Fainelli
b89c81929e fix SPI message control handling for BCM6338/6348
BCM6338 and BCM6338 have their MSG_CONTROL register width of 8-bits instead of
16-bits. We were previously using a 16-bits write which corrupted the first
byte of the TX FIFO. Also the message type was always set to Full-duplex even
in the case of half-duplex messages.

SVN-Revision: 32409
2012-06-17 16:17:29 +00:00
Jonas Gorski
f2271efc4e bcm63xx: readd accidentially dropped ignore_oc in ehci driver
fixes overcurrent warning spam on 3.3 kernels for bcm63xx again.

SVN-Revision: 32221
2012-06-11 22:24:58 +00:00
Florian Fainelli
6e5242952c fix 553-board_96348w3.patch patch wrt gpio-keys-polled
SVN-Revision: 32096
2012-06-06 20:58:45 +00:00
Florian Fainelli
4c25e42fa8 fix alarm led color for board 96348A-122
SVN-Revision: 32089
2012-06-06 16:07:46 +00:00
Florian Fainelli
2f63f097de add 96348w3 board (#10764)
SVN-Revision: 32088
2012-06-06 15:45:04 +00:00
Florian Fainelli
9d38989d1f update livebox board support (#8677)
Merge most fixes from #8677:

- add basic hardware detection of Livebox Blue 5g revisions
- register leds and gpio buttons
- fix boot address location
- properly parse mac addresses

Plus some more fixes:
- make board_livebox.c more in line with board_bcm963xx.c

SVN-Revision: 32087
2012-06-06 15:44:56 +00:00
Florian Fainelli
c69a2cdfbb fix leds naming for all bcm63xx boards
SVN-Revision: 32086
2012-06-06 15:44:52 +00:00
Florian Fainelli
23fc737b9d backport upstream spi-bcm63xx fixes
* message pump conversion
* not using stopping state
* setting spi driver mode bits

SVN-Revision: 32078
2012-06-06 13:31:33 +00:00
Florian Fainelli
4112094dbb increase led number in patch 301-led_count.patch
So that board patches are only touching board-related code

SVN-Revision: 32076
2012-06-06 13:31:24 +00:00
Florian Fainelli
9a61b249c5 fix board patches so that new boards are withing appropriate ifdef
Some new board definitions were added within the #ifdef CONFIG_CPU_6338
section while some other were added within #ifdef CONFIG_CPU_6345, fix this

SVN-Revision: 32060
2012-06-05 13:40:41 +00:00
Florian Fainelli
36c99bcc42 fix bisectability of patch 303-spi-board-info.patch
It uses spi_register_board_info() from linux/spi/spi.h but does not include it
explicitely.

SVN-Revision: 32058
2012-06-05 13:40:35 +00:00
John Crispin
a4d96aae8d bump to 3.3.8
SVN-Revision: 32055
2012-06-05 06:57:51 +00:00
Jonas Gorski
ffea8eb913 bcm63xx: fix ethernet on 96328avng and 963281TAN
The internal switch did not get registered.

SVN-Revision: 32041
2012-06-04 08:35:25 +00:00
Jonas Gorski
3fc76fb781 bcm63xx: build images for 6328 reference boards with various flash sizes
Build images for 96328avng and 963281TAN (untested) for three different
flash sizes: 4MB, 8MB, and 16MB.

Known issues:
 * Button setup unknown, thus no fail-safe available.
 * All other BCM6328 and BCM63XX issues

SVN-Revision: 32004
2012-05-30 10:27:46 +00:00
Jonas Gorski
c454ba3657 bcm63xx: readd accidentially dropped network config for SPW303V
SVN-Revision: 32003
2012-05-30 10:27:42 +00:00
Jonas Gorski
ec7786c2ec bcm63xx: build images for DSL-274XB revision F1
Build images for D-Link DSL-274XB revision F1. Flashing
through original web UI as well as CFE works.

Known issues:
  * wifi led inverted (on when wifi is off and vice cersa)
  * same issues as generic bcm6328 support

SVN-Revision: 31885
2012-05-27 13:22:51 +00:00
Jonas Gorski
8aac009cc9 bcm63xx: add ath9k to atheros wifi profile
SVN-Revision: 31884
2012-05-27 13:22:48 +00:00
Jonas Gorski
4aa43122ab bcm63xx: enable bcm6328 support and required drivers
BCM6328 support is in a usable state, with the following issues

 * internal switch port not configurable
 * external phys not supported
 * broadcom wifis will probably not work correctly
 * and all other generic bcm63xx issues (so yes, still no ADSL)

SVN-Revision: 31883
2012-05-27 13:22:46 +00:00
Jonas Gorski
e5575fe335 bcm63xx: add support for DSL-274XB rev F1
SVN-Revision: 31882
2012-05-27 13:22:43 +00:00
Jonas Gorski
a7a82db16f bcm63xx: fix port state after network down
bcm_enetsw_probe did not properly reset port states, resulting in
connected ports staying disabled after bringing up the interface the
second time.

SVN-Revision: 31881
2012-05-27 13:22:40 +00:00
Jonas Gorski
e19ed52fd1 bcm63xx: add a fixup for ath9k devices
SVN-Revision: 31880
2012-05-27 13:22:37 +00:00
Jonas Gorski
e34018cc9e bcm63xx: add support for the HSSPI controller
Add support for the HSSPI controller found on bcm6328 and SPI attached
flash.

SVN-Revision: 31879
2012-05-27 13:22:33 +00:00
Jonas Gorski
099d5eec06 bcm63xx: add preliminary support for bcm6328
SVN-Revision: 31878
2012-05-27 13:22:29 +00:00
Jonas Gorski
7dbb132c88 bcm63xx: add flash type detection
SVN-Revision: 31877
2012-05-27 13:22:25 +00:00
Jonas Gorski
b0ffeb0021 bcm63xx: pad Speedport W303 V images to 4 MiB
Prevents CFE from flashing to the second image offset. Fix up the rootfs
length on first boot else CFE will complain.

SVN-Revision: 31876
2012-05-27 13:22:22 +00:00
Jonas Gorski
226b030e44 bcm63xx: add a default switch configuration for DSL-274XB
SVN-Revision: 31874
2012-05-27 13:22:17 +00:00
Jonas Gorski
db1ff5c6fa bcm63xx: setup network config through uci-defaults
SVN-Revision: 31873
2012-05-27 13:22:14 +00:00
Jonas Gorski
72b4fdecc9 bcm63xx: move the board name workaround to /lib/brcm63xx.sh
SVN-Revision: 31872
2012-05-27 13:22:11 +00:00
Jonas Gorski
dd37687de0 bcm63xx: use the exact board id as board identification string
No need to keep the bcm63xx/ at the start or the chipid info at the end.

SVN-Revision: 31871
2012-05-27 13:22:08 +00:00
Gabor Juhos
2ae5581447 kernel: update linux 3.3 to 3.3.7
SVN-Revision: 31848
2012-05-23 21:05:32 +00:00
Gabor Juhos
39994008cb linux: move certain disabled symbols to the generic configs
* CONFIG_ARCH_DMA_ADDR_T_64BIT
  * CONFIG_ARCH_HAS_ILOG2_U32
  * CONFIG_ARCH_HAS_ILOG2_U64
  * CONFIG_ARCH_PHYS_ADDR_T_64BIT
  * CONFIG_ARCH_SUPPORTS_MSI
  * CONFIG_GENERIC_CPU_DEVICES
  * CONFIG_HWMON_DEBUG_CHIP
  * CONFIG_I2C_PXA_PCI
  * CONFIG_LEDS_GPIO
  * CONFIG_MINIX_FS_NATIVE_ENDIAN
  * CONFIG_MLX4_CORE
  * CONFIG_POWER_SUPPLY
  * CONFIG_POWER_SUPPLY_DEBUG
  * CONFIG_QUOTACTL
  * CONFIG_SDIO_UART
  * CONFIG_SENSORS_K10TEMP
  * CONFIG_SENSORS_SCH56XX_COMMON
  * CONFIG_SENSORS_VIA_CPUTEMP
  * CONFIG_SERIO_AMBAKMI
  * CONFIG_SERIO_I8042
  * CONFIG_SERIO_LIBPS2
  * CONFIG_SERIO_PCIPS2
  * CONFIG_SERIO_RAW
  * CONFIG_SERIO_SERPORT
  * CONFIG_SPI_BITBANG
  * CONFIG_SPI_GPIO

SVN-Revision: 31737
2012-05-15 10:58:52 +00:00
Gabor Juhos
b472e5d12e kernel: update linux 3.3 to 3.3.6
SVN-Revision: 31709
2012-05-14 09:18:32 +00:00
Gabor Juhos
34018a630f kernel: update linux 3.3 to 3.3.5
SVN-Revision: 31645
2012-05-07 20:11:43 +00:00
Jonas Gorski
b218b15709 bcm63xx: fix a race between PCI bus scan and fallback sprom registration
The fallback sprom handler was installed too late, resulting in ssb
failing to get a valid sprom on some devices.

Fixes #11384.

SVN-Revision: 31638
2012-05-06 21:25:34 +00:00
Florian Fainelli
5d9b44d110 use a define for the poll and debounce interval
SVN-Revision: 31550
2012-05-02 15:40:26 +00:00
Gabor Juhos
cbfce53831 kernel: update linux 3.3 to 3.3.4
SVN-Revision: 31541
2012-04-30 08:38:11 +00:00
Florian Fainelli
e047cf1899 switch to gpio-keys-polled
SVN-Revision: 31491
2012-04-27 16:44:48 +00:00
Jonas Gorski
8a38c62c07 bcm63xx: drop linux 3.2 support
SVN-Revision: 31464
2012-04-24 11:49:27 +00:00
Jonas Gorski
77219290e1 bcm63xx: drop linux 3.0 support
SVN-Revision: 31463
2012-04-24 11:49:24 +00:00
Jonas Gorski
49de6c1714 bcm63xx: switch kernel to 3.3
SVN-Revision: 31462
2012-04-24 11:49:19 +00:00
Jonas Gorski
f7df1eafc4 bcm63xx: enable bcm6368 for linux 3.3 and build images
Only build bcm6368 images when building for linux 3.3.

SVN-Revision: 31133
2012-03-28 20:42:37 +00:00
Jonas Gorski
c7ae2fccb6 bcm63xx: add initial support for bcm6368 boards
SVN-Revision: 31132
2012-03-28 20:42:34 +00:00
Jonas Gorski
68f268a5eb bcm63xx: add driver for the internal hw trng on bcm6368
SVN-Revision: 31131
2012-03-28 20:42:30 +00:00
Jonas Gorski
78fb818f7c bcm63xx: replace SPI driver with latest upstream version
SVN-Revision: 31130
2012-03-28 20:42:25 +00:00
Jonas Gorski
a2adca6ee9 bcm63xx: add ethernet support for bcm6368
Add basic support for the internal ethernet switch on bcm6368. It behaves
as a dumb switch for now, but allows basic connectivity.

Also drop the ethernet patch for bcm6345 for now, it needs rework.

SVN-Revision: 31129
2012-03-28 20:42:20 +00:00
Jonas Gorski
0876972850 bcm63xx: add missing bits from extirq support
Add missing external IRQ code parts for older chips in the new code.

SVN-Revision: 31128
2012-03-28 20:42:15 +00:00
Jonas Gorski
44d546290a bcm63xx: reorder patches
Reorder patches for a clearer distinction between the purposes of
the different patches.

SVN-Revision: 31127
2012-03-28 20:42:09 +00:00
Felix Fietkau
db6e326c56 targets: replace madwifi in profiles with ath5k, madwifi is unmaintained
SVN-Revision: 31015
2012-03-19 09:58:13 +00:00
Florian Fainelli
07486c4d96 remove udc patch since it is unused
SVN-Revision: 30920
2012-03-13 14:06:44 +00:00
Florian Fainelli
1029786936 remove 3.1 support
SVN-Revision: 30823
2012-03-05 16:50:42 +00:00
Florian Fainelli
75b5f4a6b4 rename 96348GW-1{0,1}-gen to 96348GW-1{0,1}-generic
SVN-Revision: 30822
2012-03-05 14:49:34 +00:00
Florian Fainelli
c327915156 generate generic images for BCM96358VW and BCM96358VW2 (#10666)
SVN-Revision: 30821
2012-03-05 14:49:31 +00:00
Florian Fainelli
ca1e59660e wire bcm96348gw-10 reset button (#10854)
SVN-Revision: 30820
2012-03-05 14:23:45 +00:00
Florian Fainelli
631a035a76 Merge branch 'bcm63xx'
SVN-Revision: 30819
2012-03-05 13:29:54 +00:00
Jonas Gorski
778e5d4fa5 brcm63xx: add support for linux 3.3
SVN-Revision: 30027
2012-02-04 10:17:27 +00:00
Jonas Gorski
e67f4477bb kernel: update linux 3.0 to 3.0.18
SVN-Revision: 29965
2012-01-31 09:43:53 +00:00
Florian Fainelli
882eddbf92 build 96348R images
SVN-Revision: 29960
2012-01-30 21:12:32 +00:00
Florian Fainelli
0700644b16 remove support for 2.6.39
SVN-Revision: 29959
2012-01-30 21:12:28 +00:00
Florian Fainelli
038fc8eac3 bump to 3.0.17
SVN-Revision: 29958
2012-01-30 21:12:25 +00:00
Jonas Gorski
3883e71097 brcm63xx: add support for linux 3.2
SVN-Revision: 29731
2012-01-13 14:59:50 +00:00
Jonas Gorski
c560444a58 kernel: update linux 3.1 to 3.1.9
SVN-Revision: 29726
2012-01-13 14:38:28 +00:00
Jonas Gorski
e49d3e1d5b kernel: update linux 3.0 to 3.0.17
SVN-Revision: 29725
2012-01-13 14:10:44 +00:00
Daniel Dickinson
034b7f0ef5 Remove invalid LED GPIO from GW6200 board definition. GPIO 35 isn't intended to control ethernet LED (the led behaviour is a side effect) and using the gpio as an led causes kernel panics.
SVN-Revision: 29712
2012-01-11 13:47:48 +00:00
Florian Fainelli
718907b661 don't package gpioctl by default
SVN-Revision: 29288
2011-11-21 16:36:39 +00:00
Jo-Philipp Wich
b5739aabd9 fix D-Link DSL-2650U image generation
SVN-Revision: 29266
2011-11-19 21:34:51 +00:00
Jonas Gorski
8bac0df4ae linux: update 3.0 to 3.0.9
SVN-Revision: 29264
2011-11-19 18:39:12 +00:00
Florian Fainelli
ae90aa4efd build images for D-Link DSL-2650U (#9003)
SVN-Revision: 29238
2011-11-18 10:37:03 +00:00
Florian Fainelli
7f787707de build images for Pirelli A226M (#10409)
SVN-Revision: 29045
2011-11-13 19:19:22 +00:00
Florian Fainelli
5dc2098448 register uart0 on DWV-S0 boards (#10409)
SVN-Revision: 29044
2011-11-13 19:19:18 +00:00
Florian Fainelli
717a4391d7 rename 456-board_DWV-S0_ehci.patch to 456-board_DWV-S0_fixes.patch
SVN-Revision: 29041
2011-11-13 19:19:05 +00:00
Jonas Gorski
d8acb75009 linux: update 3.1 to 3.1.1
SVN-Revision: 29007
2011-11-13 10:48:05 +00:00
Jo-Philipp Wich
a9e64493d8 target: globally disable BSD process accounting
SVN-Revision: 28584
2011-10-25 16:18:36 +00:00
Hauke Mehrtens
09b1073f9b kernel: update kernel to version 2.6.39.4
SVN-Revision: 28022
2011-08-16 22:04:10 +00:00
Florian Fainelli
b59ab7d13b fix ehci build on 3.0+
SVN-Revision: 27946
2011-08-10 11:37:25 +00:00
Florian Fainelli
0e40c19b45 add ignore_oc in struct ehci_hcd
SVN-Revision: 27945
2011-08-10 11:37:21 +00:00
Jonas Gorski
6b5f483efa bcm63xx: add support for linux 3.1-rc1
SVN-Revision: 27941
2011-08-09 12:19:49 +00:00
Florian Fainelli
c37a9544bf add support for BCM6345 Ethernet DMA engine
SVN-Revision: 27881
2011-08-02 18:55:55 +00:00
Florian Fainelli
11c4128770 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

SVN-Revision: 27880
2011-08-02 18:55:46 +00:00
Jonas Gorski
4e6c93bef1 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>

SVN-Revision: 27774
2011-07-25 19:52:47 +00:00
Florian Fainelli
9c7294f7c7 add ehci support to DWV-S0 board (#9059)
SVN-Revision: 27622
2011-07-16 08:39:04 +00:00
Florian Fainelli
930485561c fix GEN_SPI_RSET_BASE macro (#9697)
SVN-Revision: 27604
2011-07-13 09:33:11 +00:00
Florian Fainelli
00ad56b73e move board_HW553 inside the ifdef ..BCM6358 .. endif block
SVN-Revision: 27484
2011-07-06 10:00:39 +00:00
Daniel Dickinson
1141165bb9 Makefile: fixed inclusion of kmod-leds-gpio as a module (breaks Image Generator) - the module is built into the kernel.
SVN-Revision: 27471
2011-07-06 06:35:24 +00:00
Daniel Dickinson
9dc72505a2 profiles: GW6X00: fixed inclusion of both wl and wlc wireless tools...should be just wlc
SVN-Revision: 27470
2011-07-06 06:35:22 +00:00
Florian Fainelli
7c3bbe150a hw553: fix missing has_uart0 in board definition (#9533)
SVN-Revision: 27448
2011-07-04 15:04:58 +00:00
Hauke Mehrtens
c5821c1a3a kernel: update kernel to 2.6.39.2
SVN-Revision: 27298
2011-06-28 19:30:58 +00:00
Hauke Mehrtens
ca979845cc kernel: update ssb and bcma to linux-next next-20110627
SVN-Revision: 27295
2011-06-27 21:28:40 +00:00
Florian Fainelli
3f40c0f7df remove gpiodev, prefer sysfs gpio
SVN-Revision: 27284
2011-06-25 19:26:17 +00:00
Florian Fainelli
f6e4eb15bc 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.

SVN-Revision: 27258
2011-06-22 12:32:03 +00:00
Florian Fainelli
5a76c6bdd7 fix tab damage in 141-led_count.patch
SVN-Revision: 27254
2011-06-21 20:52:58 +00:00
Florian Fainelli
3f0f8d9c87 fix and make usable kmod-pcmcia-rsrc
This module is also needed for e.g: kmod-bcm63xx-pcmcia

SVN-Revision: 27253
2011-06-21 20:52:53 +00:00
Florian Fainelli
9bdf6abb9d use macros to generate SPI registers table and switches
SVN-Revision: 27246
2011-06-21 10:05:51 +00:00
Florian Fainelli
ab74628c10 dev-spi.c checks for running CPU, not board code
SVN-Revision: 27236
2011-06-19 20:46:00 +00:00
Florian Fainelli
4dd4cbeb43 fixup patches after r27234
SVN-Revision: 27235
2011-06-19 20:28:38 +00:00
Florian Fainelli
7819b530da remove accidental bcm6345 related patches
SVN-Revision: 27234
2011-06-19 20:16:59 +00:00
Florian Fainelli
12db3df666 remove support for 2.6.37 and 2.6.38
SVN-Revision: 27233
2011-06-19 20:14:22 +00:00
Florian Fainelli
6bb0a608dc switch to 2.6.39
SVN-Revision: 27232
2011-06-19 20:12:45 +00:00
Florian Fainelli
426dccd019 bcm63xx: Add support for Linux 3.0-rc3
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 27192
2011-06-16 14:34:40 +00:00
Florian Fainelli
016e8dee34 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>

SVN-Revision: 27019
2011-05-27 09:54:52 +00:00
Florian Fainelli
590c82cec1 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>

SVN-Revision: 27018
2011-05-27 09:54:48 +00:00
Florian Fainelli
68cb138154 fold 446-board-D4PW_correction.patch in 440-board-D4PW.patch
SVN-Revision: 27014
2011-05-26 13:53:00 +00:00
Florian Fainelli
762885081a renumber patches accordingly
SVN-Revision: 27013
2011-05-26 13:52:56 +00:00
Florian Fainelli
2785e3fc12 renumber board patches
SVN-Revision: 27012
2011-05-26 12:09:15 +00:00
Florian Fainelli
16dfe8b4d1 add support for BT Voyager 2110 (#8810)
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>

SVN-Revision: 26959
2011-05-20 10:06:25 +00:00
Florian Fainelli
6c8387fe15 add support for DSL-2640B rev B2
Signed-off-by: Adrian Feliks <mexit@o2.pl>

SVN-Revision: 26958
2011-05-20 10:06:22 +00:00
Florian Fainelli
031ea08ef0 refresh patches
SVN-Revision: 26957
2011-05-20 10:06:18 +00:00
Florian Fainelli
3e83f60a66 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>

SVN-Revision: 26956
2011-05-20 10:06:15 +00:00
Florian Fainelli
f0a99c1692 add support for BT Voyager 2500 (#9070)
SVN-Revision: 26954
2011-05-20 10:06:07 +00:00
Florian Fainelli
acf0ec224f add support for USR9108 LEDs (#9372)
SVN-Revision: 26953
2011-05-20 10:06:04 +00:00
Florian Fainelli
9c8a2d5961 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>

SVN-Revision: 26878
2011-05-11 13:34:14 +00:00
Florian Fainelli
7d3b735854 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>

SVN-Revision: 26876
2011-05-11 13:33:50 +00:00
Florian Fainelli
0fb1c2d537 bcm63xx: Accept any led with power in its name as power led
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 26875
2011-05-11 13:33:45 +00:00
Florian Fainelli
c6af9c23b7 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>

SVN-Revision: 26874
2011-05-11 13:33:41 +00:00
Florian Fainelli
de02a2795b fill maintainer infos for a couple of targets
SVN-Revision: 26836
2011-05-06 12:37:36 +00:00
Hauke Mehrtens
fcb1557a3e brcm47xx: when detecting a ssb pci device without an own sprom write the sprom data from the platform device to the correct pointer.
SVN-Revision: 26829
2011-05-05 14:05:21 +00:00
Hauke Mehrtens
3dbb8c5088 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)

SVN-Revision: 26801
2011-05-01 20:28:35 +00:00
Felix Fietkau
1fcd26091b brcm63xx: remove patches/configs for 2.6.35
SVN-Revision: 26709
2011-04-17 18:39:46 +00:00
Daniel Dickinson
8b18ce6807 Fixed directory error: added ra1320 patches to trunk/target... subdir instead if target.... in trunk branch.
SVN-Revision: 26699
2011-04-17 01:15:47 +00:00
Daniel Dickinson
0d722113b9 Generate images for RTA1320_16M-based routers
SVN-Revision: 26681
2011-04-15 14:31:36 +00:00
Daniel Dickinson
f83c5938d2 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>

SVN-Revision: 26680
2011-04-15 12:18:25 +00:00
Hauke Mehrtens
50c743e79e kernel: Update to version 2.6.37.6
Thank you Peter Wagner for the patch

SVN-Revision: 26441
2011-04-03 13:59:07 +00:00
Daniel Dickinson
33b864e899 Updated kernel version to 2.6.37.4. Tested with 6348 and 6358 devices.
SVN-Revision: 26387
2011-03-31 06:16:23 +00:00
Florian Fainelli
aa580d336b 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>

SVN-Revision: 25938
2011-03-07 16:55:01 +00:00
Florian Fainelli
9dd1454044 fix patches after 2.6.37 update, patch from KanjiMonster
SVN-Revision: 25810
2011-03-01 16:02:38 +00:00
Florian Fainelli
94a22b91fc add support for 2.6.37, patches from KanjiMonster
SVN-Revision: 25629
2011-02-20 19:59:22 +00:00
Florian Fainelli
8cc16aa14e add support for HW553 bcm6358-based boards (#8844)
SVN-Revision: 25590
2011-02-19 15:44:06 +00:00
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
Florian Fainelli
e6d307ab4b turn on size optimization for bcm63xx
SVN-Revision: 16607
2009-06-28 20:06:13 +00:00
Florian Fainelli
4096da301d off-by-one gpio numbers for bcm6338
SVN-Revision: 16597
2009-06-28 04:23:11 +00:00
Florian Fainelli
8813961e86 bcm6338 can support PCI since it has MPI
SVN-Revision: 16592
2009-06-27 21:43:55 +00:00
Florian Fainelli
ca5de76ed3 more fixes for bcm6338, no need not to prevent reads from MPI registers now that we have it defined correctly
SVN-Revision: 16589
2009-06-27 20:32:43 +00:00
Florian Fainelli
d02d75ba02 fix the flash address comment and register the flash device again with its proper physical address on 6338/6345
SVN-Revision: 16587
2009-06-27 18:58:00 +00:00
Florian Fainelli
0bb3a46217 fix a stupid typo preventing the board from being detected
SVN-Revision: 16586
2009-06-27 18:30:45 +00:00
Florian Fainelli
bcc1dd7f99 prevent bcm6338 and bcm6345 from crashing very early
SVN-Revision: 16585
2009-06-27 18:23:58 +00:00
Florian Fainelli
7da8855c79 only register fallback sprom and enable PCI if we actually have support for PCI
SVN-Revision: 16581
2009-06-27 16:17:18 +00:00
Florian Fainelli
bf0942ce5c do not bloat the kernel with experimental bcm6345 for now
SVN-Revision: 16580
2009-06-27 15:52:03 +00:00
Florian Fainelli
13a8ed9ca0 more missing register definitions for bcm6338
SVN-Revision: 16579
2009-06-27 15:51:27 +00:00
Florian Fainelli
287a2c0ba9 more bcm6338 and bcm6345 related fixes
SVN-Revision: 16568
2009-06-26 12:34:35 +00:00
Florian Fainelli
8c4137900c define bcm6338 SDRAM base register and make sure that the right CPU id will be used to detect a bcm6338
SVN-Revision: 16567
2009-06-26 11:08:12 +00:00
Florian Fainelli
45c25ff988 generate images for the bcm6338w
SVN-Revision: 16566
2009-06-26 10:27:37 +00:00
Florian Fainelli
e86e91380a add board definitions for the bcm6338w
SVN-Revision: 16565
2009-06-26 10:27:13 +00:00
Florian Fainelli
1795111337 add imagetag support for BT Voyager 2500V, patch from Daniel Dickinson (#5364)
SVN-Revision: 16506
2009-06-18 15:00:32 +00:00
Florian Fainelli
606193fc1f generate experimental images for bcm6338 boards, thanks to Daniel Dickinson
SVN-Revision: 16490
2009-06-17 13:16:59 +00:00
Florian Fainelli
a68fe5655e use 2.6.27.5
SVN-Revision: 16486
2009-06-17 08:46:47 +00:00
Imre Kaloz
c83b031b84 use the same i/o schedulers for all targets
SVN-Revision: 16479
2009-06-15 20:43:02 +00:00
Florian Fainelli
cc12508ee3 use build system REVISION variable (#5317)
SVN-Revision: 16400
2009-06-10 13:43:48 +00:00
Florian Fainelli
ca16accfbb The attached patch adds building of firmware images for more routers based on the brcm63xx chipset.
Signed-Off By: Daniel Dickinson <crazycshore@gmail.com>

SVN-Revision: 16396
2009-06-10 08:24:13 +00:00
Florian Fainelli
e9c22f7939 cleanup the watchdog driver a bit
SVN-Revision: 16395
2009-06-09 21:35:51 +00:00