Commit Graph

638 Commits (24c39ddcf720bb8c692038d32f479a1df08ffdcc)

Author SHA1 Message Date
Gabor Juhos 2581173660 kernel: update linux 3.6 to 3.6.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34578
12 years ago
Florian Fainelli d9d0814fc2 Fix Comtrend AR-5381u Power LED
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34471
12 years ago
Gabor Juhos c2f018fca2 remove common symbols from 3.6 configs
The removed symbols are present in the generic configuration.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34404
12 years ago
Gabor Juhos 1f516235ea remove common symbols from 3.3 configs
The removed symbols are present in the generic configuration.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34403
12 years ago
Gabor Juhos 3a4d0ebd5c kernel: update linux 3.6 to 3.6.8
Also refresh the affected patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34402
12 years ago
Florian Fainelli 0588d13a3e Fix typo in 96338GW power LED.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34396
12 years ago
Jonas Gorski 60e0e0d6e6 bcm63xx: Add a fixup for rt2x00 devices.
This patch adds support for defining rt2x00 eeprom data.
This eeprom data can be extracted from flash or loaded directly from a firmware file.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 34322
12 years ago
Jonas Gorski 746b4cec06 bcm63xx: Enable LED pin support for ath9k pci fixup.
Some boards need specifying LED pin in order to get it working.
For example, in board HW556 (Huawei HG556a) "led_pin" must be "2".
By default led_pin is "0", so dsl_274xb_rev_f is changed to "-1".

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 34321
12 years ago
Jonas Gorski 1baeede939 bcm63xx: fix spi transfer handling
* Accept transfers without bits_per_word set.

* Work around the inability of the hardware of keeping CS asserted.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 34320
12 years ago
Jonas Gorski 8dc72c5c4d Revert "target specific patches have nothing to do in generic.."
This reverts commit r34230, as it is causing build failures:

 make[3] -C package/mtd compile
imagetag.c:35:32: fatal error: linux/bcm963xx_tag.h: No such file or directory
compilation terminated.
make[4]: *** [imagetag.o] Error 1

Any patches modifying exported kernel headers need to reside in generic
as toolchain/kernel-headers only applies generic patches.

SVN-Revision: 34255
12 years ago
Imre Kaloz b220071cd2 target specific patches have nothing to do in generic..
SVN-Revision: 34230
12 years ago
Gabor Juhos ff1e854511 kernel: update linux 3.6 to 3.6.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34227
12 years ago
Jonas Gorski 306894b88f bcm63xx: switch to 3.6.6
SVN-Revision: 34160
12 years ago
Jonas Gorski c54fa281b1 bcm63xx: fix compilation with kmod-ohci enabled with 3.6
Fixes the following error:

drivers/usb/host/ohci-bcm63xx.c: In function 'ohci_bcm63xx_start':
drivers/usb/host/ohci-bcm63xx.c:33:3: error: implicit declaration of function 'err' [-Werror=implicit-function-declaration]

Reported-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 34138
12 years ago
Jonas Gorski 15519bec9c bcm63xx: add two missing usb patches to 3.6
SVN-Revision: 34137
12 years ago
Jonas Gorski 06ad6ffe16 bcm63xx: fix Ethernet DMA for 636x and 6328 for 3.6
SVN-Revision: 34136
12 years ago
Jonas Gorski f2bb7754f5 bcm63xx: Enable endian check support for ath9k pci fixup.
Some ath9k caldatas need to be "endian checked".
This patch allows selecting wether to enable endian check or not.
Endian check is disabled by default.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 34105
12 years ago
Jonas Gorski a50d121d8e linux: export bcm963xx_tag.h to userspace
Export bcm963xx_tag.h so mtd can use it without using kernel includes.

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
[jonas.gorski@gmail.com: fixup bcm63xx patches, completely remove header
 from original location, refresh patches, use  a more matching patch
 number, port to 3.6]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

SVN-Revision: 34103
12 years ago
Jonas Gorski 5bc7d81a20 bcm63xx: fix SPW303V images
SPW303V also needs its CRC fixed up since increasing the image size to
4MB to prevent the dual image mode of CFE.

SVN-Revision: 34091
12 years ago
Gabor Juhos e91dc2e5b3 target: refresh all target configs with kconfig.pl
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33987
12 years ago
Florian Fainelli 9af90aa80c add missing 6345 clock bits patch to 3.6 patches
SVN-Revision: 33941
12 years ago
Florian Fainelli 8d69af7c9f add preliminary support for 3.6 kernel
SVN-Revision: 33936
12 years ago
Florian Fainelli dea2da55df fix Ethernet DMA for 636x and 6328 after r33916
SVN-Revision: 33918
12 years ago
Florian Fainelli 917670922b add support for the Dynalink RTA770BW board
This board id is used by the Siemens Gigaset SE515 router.

SVN-Revision: 33917
12 years ago
Florian Fainelli bdfcbb8bee make BCM6345 Ethernet DMA changes runtime checks
The semantics of the DMA engine are identical, we just have a couple of
special case handling.

SVN-Revision: 33916
12 years ago
Jonas Gorski 0cc4bed41c add support for Comtrend AR5381u.
Router: Comtrend AR5381u.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix subject, indentation in patch]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

SVN-Revision: 33895
12 years ago
Jonas Gorski d73871fb18 add support for Comtrend AR5387un.
Router: Comtrend AR5387un.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix subject, indentation in patch]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

SVN-Revision: 33894
12 years ago
Jonas Gorski e93725a743 add support for HomeStation ADB P.DG A4001N.
Router: HomeStation ADB P.DG A4001N.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix subject, indentation in patch]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

SVN-Revision: 33893
12 years ago
Florian Fainelli 61686a1514 add back support for BCM6345 Ethernet DMA engine
SVN-Revision: 33889
12 years ago
Florian Fainelli eeed82c04e fix clocks bits for BCM6345
SVN-Revision: 33888
12 years ago
Jonas Gorski e6171dfb2c Add F@ST2604 board support.
Add Sagem F@ST2604 board support.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 33886
12 years ago
Jonas Gorski fbe0af3237 bcm63xx: remove bcm_tag usage in kernel
Fixes #12292.

SVN-Revision: 33670
12 years ago
Jonas Gorski 6a000ba37a bcm63xx: fix 963281TAN image names
it's a 6328, not a 6348.

SVN-Revision: 33665
12 years ago
Jonas Gorski 997ace7e5e firmware-utils: move bcm_tag.h here
Since there is only one user of bcm_tag.h left, we can safely move it
into the firmware-utils directory, replacing the symlink.

SVN-Revision: 33655
12 years ago
Jonas Gorski f16ea6be3f bcm63xx: fix entering failsafe through button
gpio_keys_polled needs to be loaded in preinit for buttons to work for
entering failsafe.

SVN-Revision: 33653
12 years ago
Florian Fainelli caf900f0e4 remove kmod-spi-bitbang
This is no longer a dependency of kmod-spi-bcm63xx

SVN-Revision: 33562
12 years ago
Jonas Gorski 7708138183 bcm63xx: fix WPS button polarity for Alice Gate VoIP 2 + Wifi
Fixes booting the device with button hotplug enabled (#10785).

SVN-Revision: 33340
12 years ago
Florian Fainelli f164b71189 leds: do not register device if no leds defined
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>

SVN-Revision: 33158
12 years ago
Florian Fainelli f0f10014a0 BCM6358 fix enet MII clk definitions
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>

SVN-Revision: 33157
12 years ago
Florian Fainelli 9b91c62917 nb4: fix support, add support for SVC and CLIP BTN
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>

SVN-Revision: 33156
12 years ago
Jonas Gorski 4feeda756e bcm63xx: fix USB base registers and IRQs for BCM6328
SVN-Revision: 33005
12 years ago
Jonas Gorski 07c4524d33 bcm63xx: Add nb6 support (BCM6362 SoC base boards)
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
[jonas.gorski@gmail.com: add network config for nb6, make switch fix a
platform patch]

SVN-Revision: 32924
12 years ago
Jonas Gorski 820c224029 bcm63xx: add basic bcm6362 support
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 32923
12 years ago
Jonas Gorski dcd339ac9d bcm63xx: enable usb for bcm6328
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 32922
12 years ago
Jonas Gorski 94d257a851 bcm63xx: update enetswitch driver
Update enetswith driver with latest fixes and additions.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 32921
12 years ago
Jonas Gorski fa75bd977a bcm63xx: reorder patches
Fix the order and names of patches.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 32920
12 years ago
Florian Fainelli a4d699ccf0 fix DVA-G3810BN image generation
Attached patch fixes a typo in the image Makefile, and overrides the
board name for DVA-G3810BN to set the correct board properties

Signed-Off-By: Jeroen van Bemmel <jbemmel@zonnet.nl>

SVN-Revision: 32894
12 years ago
Florian Fainelli c6813d33f3 add D-link DVA-G3810BN-TL-1 support
Signed-Off-By: Jeroen van Bemmel <jbemmel@zonnet.nl>

SVN-Revision: 32893
12 years ago
Florian Fainelli 18206793b2 Add CT6376-1 board support
Added CT6373 devices instead of using NB4's devices, as Florian suggested.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 32892
12 years ago
Florian Fainelli 4acdbb1d87 Add brcmsmac profile
Add brcmsmac profile (kmod-brcmsmac + wpad-mini).

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 32890
12 years ago
Florian Fainelli b94d9eb302 remove bcm63xx_pci_register() call in livebox board
SVN-Revision: 32661
12 years ago
Florian Fainelli f8446c3d4c use physmap-flash on livebox (#8677)
SVN-Revision: 32660
12 years ago
Florian Fainelli bb1488e5e7 Detect alternative "cfe-" version bootloaders (found in 963281T_TEF board)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 32643
12 years ago
Jonas Gorski 0a3e9c3148 bcm63xx: bcm63xx-spi does not depend on spi-bitbang
SVN-Revision: 32594
12 years ago
Jonas Gorski fad888a85c bcm63xx: 96348A-122 improvements (Comtrend 5365)
1) Improve WLAN button.
2) Add 96348A-122 image.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 32593
12 years ago
Jonas Gorski 0c7e676342 bcm63xx: fix second caldata address calculation
thanks Noltari for spotting this.

SVN-Revision: 32592
12 years ago
Jonas Gorski 988147111c bcm63xx: update patches to latest upstream versions
SVN-Revision: 32591
12 years ago
Florian Fainelli 4cdc4b1f36 refresh patches
SVN-Revision: 32581
12 years ago
Florian Fainelli 52bae2d2bd fix watchdog and rng drivers section mismatch (#11767)
SVN-Revision: 32522
12 years ago
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