Commit Graph

579 Commits (14ed3f0f22f34b337bb58b2a5fd09e887df3331f)

Author SHA1 Message Date
Florian Fainelli 1d7878a38b fix SPI clock frequency selection
SVN-Revision: 32512
12 years ago
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
12 years ago
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
12 years ago
Florian Fainelli 6e5242952c fix 553-board_96348w3.patch patch wrt gpio-keys-polled
SVN-Revision: 32096
12 years ago
Florian Fainelli 4c25e42fa8 fix alarm led color for board 96348A-122
SVN-Revision: 32089
12 years ago
Florian Fainelli 2f63f097de add 96348w3 board (#10764)
SVN-Revision: 32088
12 years ago
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
12 years ago
Florian Fainelli c69a2cdfbb fix leds naming for all bcm63xx boards
SVN-Revision: 32086
12 years ago
Florian Fainelli 23fc737b9d backport upstream spi-bcm63xx fixes
* message pump conversion
* not using stopping state
* setting spi driver mode bits

SVN-Revision: 32078
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
John Crispin a4d96aae8d bump to 3.3.8
SVN-Revision: 32055
12 years ago
Jonas Gorski ffea8eb913 bcm63xx: fix ethernet on 96328avng and 963281TAN
The internal switch did not get registered.

SVN-Revision: 32041
12 years ago
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
12 years ago
Jonas Gorski c454ba3657 bcm63xx: readd accidentially dropped network config for SPW303V
SVN-Revision: 32003
12 years ago
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
12 years ago
Jonas Gorski 8aac009cc9 bcm63xx: add ath9k to atheros wifi profile
SVN-Revision: 31884
12 years ago
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
12 years ago
Jonas Gorski e5575fe335 bcm63xx: add support for DSL-274XB rev F1
SVN-Revision: 31882
12 years ago
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
12 years ago
Jonas Gorski e19ed52fd1 bcm63xx: add a fixup for ath9k devices
SVN-Revision: 31880
12 years ago
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
12 years ago
Jonas Gorski 099d5eec06 bcm63xx: add preliminary support for bcm6328
SVN-Revision: 31878
12 years ago
Jonas Gorski 7dbb132c88 bcm63xx: add flash type detection
SVN-Revision: 31877
12 years ago
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
12 years ago
Jonas Gorski 226b030e44 bcm63xx: add a default switch configuration for DSL-274XB
SVN-Revision: 31874
12 years ago
Jonas Gorski db1ff5c6fa bcm63xx: setup network config through uci-defaults
SVN-Revision: 31873
12 years ago
Jonas Gorski 72b4fdecc9 bcm63xx: move the board name workaround to /lib/brcm63xx.sh
SVN-Revision: 31872
12 years ago
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
12 years ago
Gabor Juhos 2ae5581447 kernel: update linux 3.3 to 3.3.7
SVN-Revision: 31848
12 years ago
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
12 years ago
Gabor Juhos b472e5d12e kernel: update linux 3.3 to 3.3.6
SVN-Revision: 31709
12 years ago
Gabor Juhos 34018a630f kernel: update linux 3.3 to 3.3.5
SVN-Revision: 31645
12 years ago
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
12 years ago
Florian Fainelli 5d9b44d110 use a define for the poll and debounce interval
SVN-Revision: 31550
12 years ago
Gabor Juhos cbfce53831 kernel: update linux 3.3 to 3.3.4
SVN-Revision: 31541
12 years ago
Florian Fainelli e047cf1899 switch to gpio-keys-polled
SVN-Revision: 31491
12 years ago
Jonas Gorski 8a38c62c07 bcm63xx: drop linux 3.2 support
SVN-Revision: 31464
12 years ago
Jonas Gorski 77219290e1 bcm63xx: drop linux 3.0 support
SVN-Revision: 31463
12 years ago
Jonas Gorski 49de6c1714 bcm63xx: switch kernel to 3.3
SVN-Revision: 31462
12 years ago
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
12 years ago
Jonas Gorski c7ae2fccb6 bcm63xx: add initial support for bcm6368 boards
SVN-Revision: 31132
12 years ago
Jonas Gorski 68f268a5eb bcm63xx: add driver for the internal hw trng on bcm6368
SVN-Revision: 31131
12 years ago
Jonas Gorski 78fb818f7c bcm63xx: replace SPI driver with latest upstream version
SVN-Revision: 31130
12 years ago
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
12 years ago
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
12 years ago
Jonas Gorski 44d546290a bcm63xx: reorder patches
Reorder patches for a clearer distinction between the purposes of
the different patches.

SVN-Revision: 31127
12 years ago
Felix Fietkau db6e326c56 targets: replace madwifi in profiles with ath5k, madwifi is unmaintained
SVN-Revision: 31015
12 years ago
Florian Fainelli 07486c4d96 remove udc patch since it is unused
SVN-Revision: 30920
13 years ago
Florian Fainelli 1029786936 remove 3.1 support
SVN-Revision: 30823
13 years ago
Florian Fainelli 75b5f4a6b4 rename 96348GW-1{0,1}-gen to 96348GW-1{0,1}-generic
SVN-Revision: 30822
13 years ago
Florian Fainelli c327915156 generate generic images for BCM96358VW and BCM96358VW2 (#10666)
SVN-Revision: 30821
13 years ago
Florian Fainelli ca1e59660e wire bcm96348gw-10 reset button (#10854)
SVN-Revision: 30820
13 years ago
Florian Fainelli 631a035a76 Merge branch 'bcm63xx'
SVN-Revision: 30819
13 years ago
Jonas Gorski 778e5d4fa5 brcm63xx: add support for linux 3.3
SVN-Revision: 30027
13 years ago
Jonas Gorski e67f4477bb kernel: update linux 3.0 to 3.0.18
SVN-Revision: 29965
13 years ago
Florian Fainelli 882eddbf92 build 96348R images
SVN-Revision: 29960
13 years ago
Florian Fainelli 0700644b16 remove support for 2.6.39
SVN-Revision: 29959
13 years ago
Florian Fainelli 038fc8eac3 bump to 3.0.17
SVN-Revision: 29958
13 years ago
Jonas Gorski 3883e71097 brcm63xx: add support for linux 3.2
SVN-Revision: 29731
13 years ago
Jonas Gorski c560444a58 kernel: update linux 3.1 to 3.1.9
SVN-Revision: 29726
13 years ago
Jonas Gorski e49d3e1d5b kernel: update linux 3.0 to 3.0.17
SVN-Revision: 29725
13 years ago
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
13 years ago
Florian Fainelli 718907b661 don't package gpioctl by default
SVN-Revision: 29288
13 years ago
Jo-Philipp Wich b5739aabd9 fix D-Link DSL-2650U image generation
SVN-Revision: 29266
13 years ago
Jonas Gorski 8bac0df4ae linux: update 3.0 to 3.0.9
SVN-Revision: 29264
13 years ago
Florian Fainelli ae90aa4efd build images for D-Link DSL-2650U (#9003)
SVN-Revision: 29238
13 years ago
Florian Fainelli 7f787707de build images for Pirelli A226M (#10409)
SVN-Revision: 29045
13 years ago
Florian Fainelli 5dc2098448 register uart0 on DWV-S0 boards (#10409)
SVN-Revision: 29044
13 years ago
Florian Fainelli 717a4391d7 rename 456-board_DWV-S0_ehci.patch to 456-board_DWV-S0_fixes.patch
SVN-Revision: 29041
13 years ago
Jonas Gorski d8acb75009 linux: update 3.1 to 3.1.1
SVN-Revision: 29007
13 years ago
Jo-Philipp Wich a9e64493d8 target: globally disable BSD process accounting
SVN-Revision: 28584
13 years ago
Hauke Mehrtens 09b1073f9b kernel: update kernel to version 2.6.39.4
SVN-Revision: 28022
13 years ago
Florian Fainelli b59ab7d13b fix ehci build on 3.0+
SVN-Revision: 27946
13 years ago
Florian Fainelli 0e40c19b45 add ignore_oc in struct ehci_hcd
SVN-Revision: 27945
13 years ago
Jonas Gorski 6b5f483efa bcm63xx: add support for linux 3.1-rc1
SVN-Revision: 27941
13 years ago
Florian Fainelli c37a9544bf add support for BCM6345 Ethernet DMA engine
SVN-Revision: 27881
13 years ago
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
13 years ago
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
13 years ago
Florian Fainelli 9c7294f7c7 add ehci support to DWV-S0 board (#9059)
SVN-Revision: 27622
13 years ago
Florian Fainelli 930485561c fix GEN_SPI_RSET_BASE macro (#9697)
SVN-Revision: 27604
13 years ago
Florian Fainelli 00ad56b73e move board_HW553 inside the ifdef ..BCM6358 .. endif block
SVN-Revision: 27484
13 years ago
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
13 years ago
Daniel Dickinson 9dc72505a2 profiles: GW6X00: fixed inclusion of both wl and wlc wireless tools...should be just wlc
SVN-Revision: 27470
13 years ago
Florian Fainelli 7c3bbe150a hw553: fix missing has_uart0 in board definition (#9533)
SVN-Revision: 27448
13 years ago
Hauke Mehrtens c5821c1a3a kernel: update kernel to 2.6.39.2
SVN-Revision: 27298
13 years ago
Hauke Mehrtens ca979845cc kernel: update ssb and bcma to linux-next next-20110627
SVN-Revision: 27295
13 years ago
Florian Fainelli 3f40c0f7df remove gpiodev, prefer sysfs gpio
SVN-Revision: 27284
13 years ago
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
13 years ago
Florian Fainelli 5a76c6bdd7 fix tab damage in 141-led_count.patch
SVN-Revision: 27254
13 years ago
Florian Fainelli 3f0f8d9c87 fix and make usable kmod-pcmcia-rsrc
This module is also needed for e.g: kmod-bcm63xx-pcmcia

SVN-Revision: 27253
13 years ago
Florian Fainelli 9bdf6abb9d use macros to generate SPI registers table and switches
SVN-Revision: 27246
13 years ago
Florian Fainelli ab74628c10 dev-spi.c checks for running CPU, not board code
SVN-Revision: 27236
13 years ago
Florian Fainelli 4dd4cbeb43 fixup patches after r27234
SVN-Revision: 27235
13 years ago
Florian Fainelli 7819b530da remove accidental bcm6345 related patches
SVN-Revision: 27234
13 years ago
Florian Fainelli 12db3df666 remove support for 2.6.37 and 2.6.38
SVN-Revision: 27233
13 years ago
Florian Fainelli 6bb0a608dc switch to 2.6.39
SVN-Revision: 27232
13 years ago
Florian Fainelli 426dccd019 bcm63xx: Add support for Linux 3.0-rc3
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 27192
13 years ago
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
13 years ago