Daniel Dickinson
68981f5d8e
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24189 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 22:04:40 +00:00
Daniel Dickinson
e96cc39f19
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24188 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 22:04:36 +00:00
Daniel Dickinson
e21b57d529
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24187 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 22:04:30 +00:00
Daniel Dickinson
94a1adaf05
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 22:04:26 +00:00
Daniel Dickinson
f78d9eebba
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24185 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-28 22:04:19 +00:00
Imre Kaloz
1ae1fb6b50
update to the latest stable kernels
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 18:50:11 +00:00
Daniel Dickinson
ed589945f0
[brcm63xx] 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
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-24 11:06:13 +00:00
Daniel Dickinson
53af0d5fbb
[brcm63xx] 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.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-23 20:17:08 +00:00
Daniel Dickinson
4470bf532c
[brcm63xx] Initial support for Telsey CPVA642 boards (no vlans, no DSL, GPIO led/buttons not known).
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-19 13:41:54 +00:00
Daniel Dickinson
caefcca898
[tools/firmware-utils] 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).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24011 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-16 06:46:53 +00:00
Claudio Mignanti
dcc7bd0d17
[brcm63xx] Add wps button on alice gate
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-06 21:08:44 +00:00
Imre Kaloz
a497060e39
update kernels to 2.6.32.25 and 2.6.35.8
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-11-04 09:01:08 +00:00
Florian Fainelli
27c9658984
[brcm63xx] register uart driver on livebox ( #8013 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-27 10:02:13 +00:00
Florian Fainelli
b024c3f927
[brcm63xx] refresh 2.6.35 patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-27 10:02:08 +00:00
Claudio Mignanti
307bfbe677
[brcm63xx] Fix nxp_74hc164 driver compile error (builbot)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-24 16:10:41 +00:00
Florian Fainelli
4701c8448b
[brcm63xx] fix platform_devices registration
...
Signed-off-by: Tanguy Bouzéloc <tanguy.bouzeloc@efixo.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-18 19:49:54 +00:00
Florian Fainelli
6591e5b4dd
[brcm63xx] add bcm96338W2 e7t board (D-Link 2640U/BRU/C, #7558 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-17 17:45:50 +00:00
Florian Fainelli
f46ab7dcae
[brcm63xx] remove 2.6.32 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-17 16:32:35 +00:00
Florian Fainelli
f320f07d40
[brcm63xx] fix SPI driver, move register out of driver code
...
Signed-off-by: Tanguy Bouzéloc <tanguy.bouzeloc@efixo.com
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-17 14:09:30 +00:00
Florian Fainelli
a52f0a386a
[brcm63xx] restore kernel oldconfig
...
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-17 14:09:24 +00:00
Florian Fainelli
bfa00c8c0b
[brcm63xx] refresh patches
...
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-17 14:09:04 +00:00
Florian Fainelli
5eb60cbbf7
[brcm63xx] refresh nb4 support. Register 74x164 device
...
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-17 14:08:57 +00:00
Florian Fainelli
43a07c2197
[brcm63xx] add spi devices board info int bcm63xx_boards
...
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-17 14:08:51 +00:00
Florian Fainelli
193172120b
[brcm63xx] add 74x164 SPI chip support
...
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-17 14:08:45 +00:00
Florian Fainelli
7475affd50
[kernel] backport SPI master with no RXTX support (from 2.6.36)
...
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-17 14:08:39 +00:00
Florian Fainelli
292e6071e4
[brcm63xx] register earlier extended platform devices
...
Signed-off-by: Miguel Gaio <miguel.gaio@efixo.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-17 14:08:34 +00:00
Lars-Peter Clausen
dd2a52b3a0
[kernel] update 2.6.35.x to 2.6.35.7
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-10-04 07:42:32 +00:00
Florian Fainelli
2e243c343e
[brcm63xx] remove wpa-supplicant and iw from the Tecom GW6x00 profile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-13 08:30:35 +00:00
Florian Fainelli
36ab483f47
[brcm63xx] default to using 2.6.35
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-12 21:23:53 +00:00
Florian Fainelli
97a561ae31
[brcm63xx] remove 2.6.33 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23037 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-12 21:23:47 +00:00
Florian Fainelli
e79fccc1da
[brcm63xx] change the Tecom GW6x00 profile to use wl instead of b43
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-12 21:23:41 +00:00
Florian Fainelli
61db512e5c
[brcm63xx] register udc and spi devices at the correct init level
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23035 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-12 21:23:35 +00:00
Florian Fainelli
3506323f4a
[brcm63xx] refresh 2.6.35 patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23034 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-09-12 21:23:29 +00:00
Jo-Philipp Wich
229d390a6c
[linux] enable SYSRQ for all targets, remove overrides from brcm63xx, octeon and omap35xx
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-30 22:59:20 +00:00
Florian Fainelli
79cda87dc5
[brcm63xx] add 2.6.35 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-25 19:56:08 +00:00
Florian Fainelli
53fe275b46
[kernel] update to 2.6.32.20
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-22 17:07:37 +00:00
Daniel Dickinson
dfda352bca
[brcm63xx]: base-files: diag.sh: For power button as preinit status led, end with led left on, not off
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-02 19:33:08 +00:00
Daniel Dickinson
8b6a51edad
[brcm63xx] base-files: brcm63xx.sh: Added comtrend (96348GW-11) to routers with buttons and leds on preinit
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22465 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-02 19:32:59 +00:00
Daniel Dickinson
ba4b087197
[brcm63xx] patches-2.6.32/33: Reset button on Comtrend routers is GPIO 33 not GPIO 32
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22464 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-08-02 19:32:40 +00:00
Jo-Philipp Wich
514d70b175
[brcm63xx] reorder profiles
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-26 18:58:35 +00:00
Jo-Philipp Wich
80edf72017
[brcm63xx] fix a typo in 040-bcm963xx_flashmap.patch
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-25 00:10:37 +00:00
Imre Kaloz
0b47979d12
update kernel versions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-19 11:34:03 +00:00
Florian Fainelli
c8c989694d
[brcm63xx] fix alice gate2 internet:green led ( #6743 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22273 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-18 10:29:44 +00:00
Jo-Philipp Wich
1cff76c4b1
[brcm63xx] add required exports for wl.ko
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 17:03:56 +00:00
Claudio Mignanti
33990405fb
massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 14:06:13 +00:00
Jo-Philipp Wich
dc8d0d6700
[brcm63xx] add a wifi profile for proprietary wl
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22009 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-01 01:39:04 +00:00
Florian Fainelli
e5e370a876
[brcm63xx] add missing alice gate2 leds ( #6743 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-13 12:20:53 +00:00
Florian Fainelli
924c09e04c
[brcm63xx] do not override cfg80211-related config symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-12 18:10:16 +00:00
Gabor Juhos
93df402589
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
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 10:45:51 +00:00
Gabor Juhos
9ac326cb5e
generic: move some common symbols to generic configuration
...
* CONFIG_MUTEX_SPIN_ON_OWNER
* CONFIG_DEFAULT_HYDLA
* CONFIG_DEFAULT_VENO
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-06-10 08:58:14 +00:00