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