1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-19 05:14:06 +02:00
Commit Graph

528 Commits

Author SHA1 Message Date
florian
4666e9b56d [brcm63xx] 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-17 16:17:29 +00:00
jogo
d8ff69c0da bcm63xx: readd accidentially dropped ignore_oc in ehci driver
fixes overcurrent warning spam on 3.3 kernels for bcm63xx again.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-11 22:24:58 +00:00
florian
816d0cbd39 [brcm63xx] fix 553-board_96348w3.patch patch wrt gpio-keys-polled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 20:58:45 +00:00
florian
d19ba29311 [brcm63xx] fix alarm led color for board 96348A-122
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32089 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 16:07:46 +00:00
florian
0e5685072e [brcm63xx] add 96348w3 board (#10764)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 15:45:04 +00:00
florian
84fcf0bb00 [brcm63xx] 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 15:44:56 +00:00
florian
adfadea95e [brcm63xx] fix leds naming for all bcm63xx boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 15:44:52 +00:00
florian
3d0fed711e [brcm63xx] backport upstream spi-bcm63xx fixes
* message pump conversion
* not using stopping state
* setting spi driver mode bits

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 13:31:33 +00:00
florian
a7a19483fb [brcm63xx] increase led number in patch 301-led_count.patch
So that board patches are only touching board-related code

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-06 13:31:24 +00:00
florian
6255930f93 [brcm63xx] 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 13:40:41 +00:00
florian
a6691cb6b1 [brcm63xx] 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32058 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 13:40:35 +00:00
blogic
466d98bf88 [kernel] bump to 3.3.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32055 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-05 06:57:51 +00:00
jogo
43bdeca579 bcm63xx: fix ethernet on 96328avng and 963281TAN
The internal switch did not get registered.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-04 08:35:25 +00:00
jogo
f91824b22d 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-30 10:27:46 +00:00
jogo
99b853b6b3 bcm63xx: readd accidentially dropped network config for SPW303V
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32003 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-30 10:27:42 +00:00
jogo
878544bb07 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:51 +00:00
jogo
092e90e1ef bcm63xx: add ath9k to atheros wifi profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:48 +00:00
jogo
f095146c5d 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)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:46 +00:00
jogo
cbdf1f350a bcm63xx: add support for DSL-274XB rev F1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:43 +00:00
jogo
5a482fc8b3 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:40 +00:00
jogo
0bdb7cbf98 bcm63xx: add a fixup for ath9k devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:37 +00:00
jogo
d1683ec919 bcm63xx: add support for the HSSPI controller
Add support for the HSSPI controller found on bcm6328 and SPI attached
flash.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:33 +00:00
jogo
35f8e31243 bcm63xx: add preliminary support for bcm6328
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:29 +00:00
jogo
c9204063aa bcm63xx: add flash type detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:25 +00:00
jogo
fdbaed3349 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:22 +00:00
jogo
34f9a0d745 bcm63xx: add a default switch configuration for DSL-274XB
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:17 +00:00
jogo
3df0e1587c bcm63xx: setup network config through uci-defaults
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:14 +00:00
jogo
acbbcb35b8 bcm63xx: move the board name workaround to /lib/brcm63xx.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:11 +00:00
jogo
2c54f4168e 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-27 13:22:08 +00:00
juhosg
530802ba69 kernel: update linux 3.3 to 3.3.7
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-23 21:05:32 +00:00
juhosg
5cc763c7b2 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-15 10:58:52 +00:00
juhosg
298dcd23d1 kernel: update linux 3.3 to 3.3.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 09:18:32 +00:00
juhosg
fe2be6a9a3 kernel: update linux 3.3 to 3.3.5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-07 20:11:43 +00:00
jogo
35009bdf80 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 21:25:34 +00:00
florian
a1c9b29340 [brcm63xx] use a define for the poll and debounce interval
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-02 15:40:26 +00:00
juhosg
e51f7c5d1b kernel: update linux 3.3 to 3.3.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-30 08:38:11 +00:00
florian
8812c9e533 [brcm63xx] switch to gpio-keys-polled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-27 16:44:48 +00:00
jogo
50d9e73cdf bcm63xx: drop linux 3.2 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 11:49:27 +00:00
jogo
7a0767fe77 bcm63xx: drop linux 3.0 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 11:49:24 +00:00
jogo
30f433f1b9 bcm63xx: switch kernel to 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-04-24 11:49:19 +00:00
jogo
af89f0c95c bcm63xx: enable bcm6368 for linux 3.3 and build images
Only build bcm6368 images when building for linux 3.3.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31133 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-28 20:42:37 +00:00
jogo
b8d5619ca8 bcm63xx: add initial support for bcm6368 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-28 20:42:34 +00:00
jogo
03e726c2ae bcm63xx: add driver for the internal hw trng on bcm6368
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-28 20:42:30 +00:00
jogo
769a390d81 bcm63xx: replace SPI driver with latest upstream version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-28 20:42:25 +00:00
jogo
9bb8c69134 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-28 20:42:20 +00:00
jogo
c5a8e48574 bcm63xx: add missing bits from extirq support
Add missing external IRQ code parts for older chips in the new code.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-28 20:42:15 +00:00
jogo
f3b449288b bcm63xx: reorder patches
Reorder patches for a clearer distinction between the purposes of
the different patches.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-28 20:42:09 +00:00
nbd
c746848b47 targets: replace madwifi in profiles with ath5k, madwifi is unmaintained
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-19 09:58:13 +00:00
florian
2564046cdc [brcm63xx] remove udc patch since it is unused
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-13 14:06:44 +00:00
florian
51118e2cb8 [brcm63xx] remove 3.1 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-03-05 16:50:42 +00:00