Commit graph

877 commits

Author SHA1 Message Date
John Crispin
ba63338d3f kernel: update to 3.10.49 Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41776
2014-07-20 17:31:11 +00:00
Hauke Mehrtens
7435b628c6 brcm47xx: fix switch detection with kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41706
2014-07-17 20:34:18 +00:00
Hauke Mehrtens
1636bc6704 brcm47xx: remove kmod-bgmac from profile
bgmac will be compiled into the kernel since r41594.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41667
2014-07-15 21:57:13 +00:00
Hauke Mehrtens
f5955c2e6b brcm47xx: fix LEDs on WRT54GL 1.1
Ticket: #17062
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 41666
2014-07-15 21:54:38 +00:00
Hauke Mehrtens
6f417d5b4b brcm47xx: fix special board handling for some devices
Some devices were renamed when converted from diag to in kernel board detection and it was not changed in netconfig. Devices not in the
kernel board detection are removed now.

This should close: #17111, #16968, #13202

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41663
2014-07-14 22:16:19 +00:00
Hauke Mehrtens
7dbea92a9c brcm47xx: improve board detection for some devices
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41662
2014-07-14 22:03:59 +00:00
Hauke Mehrtens
ba54356d49 brcm47xx: deactivate ssb and old phy code for new devices
This deactivates ssb and G-PHY code in b43 for the mips74k profile in
brcm47xx.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41594
2014-07-12 15:39:31 +00:00
John Crispin
32e93efc73 target/linux/*: more dead package cleanups
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41571
2014-07-10 20:05:43 +00:00
John Crispin
0f76f8a16e target/linux/*: kmod-fs-ext{2,3} RIP
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41560
2014-07-10 19:16:15 +00:00
Hauke Mehrtens
0a5145e851 brcm47xx: make reboot a more reliable
A reboot is issued by setting the watchdog timer to a low value, when
the value is decreased from 1 to 0 by the hardware the system will
reboot. Setting this value to 1 does not work every time, it is a
little bit more reliable when setting it to 3. This timer runs with
some MHz or KHz so nobody will notice the increased waiting.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41548
2014-07-07 20:12:40 +00:00
Hauke Mehrtens
f42c36ea60 brcm47xx: add buttons support for Netgear WNR3500L
Ticket: #14406

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 41547
2014-07-07 19:14:22 +00:00
Hauke Mehrtens
4632347879 brcm47xx: remove unneeded images from generic target
broadcom-wl now builds in the mips74k profile, so remove these chips
from the generic profile.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41546
2014-07-07 17:47:24 +00:00
Hauke Mehrtens
3597b7d456 brcm47xx: image: legacy: take over old devices images
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 41530
2014-07-06 17:21:37 +00:00
Hauke Mehrtens
0eb3c26e7d brcm47xx: image: mips74k: take over some device images
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41529
2014-07-06 17:14:29 +00:00
Hauke Mehrtens
c3b3df1da8 brcm47xx: image: prepare for using mips74k subtarget
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 41528
2014-07-06 17:14:06 +00:00
Hauke Mehrtens
df8741f92b brcm47xx: fix bcm4705 rebooting when initializing the switch.
When the Ethernet controller is powered down and someone wants to
access the mdio bus like the witch driver (b53) the system crashed if
PCI_D3hot was set before. This patch deactivates this power sawing mode
when a switch driver is in use.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41527
2014-07-06 13:45:43 +00:00
Hauke Mehrtens
356663cdc8 brcm47xx: add LEDs for Netgear WNR3500L
https://dev.openwrt.org/ticket/14406

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41520
2014-07-05 23:25:26 +00:00
Hauke Mehrtens
8e4efd42d9 brcm47xx: make it possible to unregister the adm switch
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41517
2014-07-05 21:35:15 +00:00
Hauke Mehrtens
03e2310a38 brcm47xx: fix LEDs on WRTSL54GS
https://dev.openwrt.org/ticket/16991

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41516
2014-07-05 19:40:15 +00:00
Hauke Mehrtens
77dee19ab4 brcm47xx: increase fallback mac addresses by one
Now the mac address is increased by two for the first fallback mac
address. It could be that the address increased should be used for the
wan port.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41515
2014-07-05 19:36:49 +00:00
Hauke Mehrtens
3fff38f93a brcm47xx: do not use mac addresses with 00:90:4C prefix, prevent mac address collisions.
The address prefix 00:90:4C is used by Broadcom in their initial
configuration. When a mac address with the prefix 00:90:4C is used
all devices from the same series are sharing the same mac address.
To prevent mac address collisions we replace them with a mac address
based on the base address.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41513
2014-07-05 15:04:50 +00:00
Hauke Mehrtens
163fe41c75 brcm47xx: get switch name from swconfig first
Without this patch the switch config for the adm switch did not worked,
because hey are not names eth0.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41512
2014-07-05 12:15:03 +00:00
Hauke Mehrtens
3f64bb8f8f brcm47xx: add LEDs for Asus RT-N15U and update RT-N66U
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 41501
2014-07-03 21:41:33 +00:00
Hauke Mehrtens
9467896172 brcm47xx: migrate basic network settings from old releases
Old OpenWrt releases were using network configs that are not valid
anymore. They were specifying ports tagging in a different way (or were
not tagging CPU at all) and were using VID 0 which is a reserved value.

Modifying network configuration to apply all needed changes would be
pretty tricky. Script /etc/init.d/netconfig that generates new config is
quite complex itself.
So instead let's save the most important settings, regenerate config
from the scratch and restore values. This should work for 99% of users.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 41500
2014-07-03 21:40:59 +00:00
Hauke Mehrtens
5996160a66 brcm47xx: add CONFIG_LEDS_GPIO_REGISTER
CONFIG_LEDS_GPIO_REGISTER is selected by the bcm47xx arch code.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41488
2014-07-02 22:07:46 +00:00
Hauke Mehrtens
f95fc5b2d5 brcm47xx: refresh patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41487
2014-07-02 22:03:03 +00:00
Hauke Mehrtens
ba1b49dbab brcm47xx: backport BCM47XX Linksys WRT54G series patches
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41486
2014-07-02 21:54:59 +00:00
John Crispin
994e5ce2f9 kernel: update 3.10.36->3.10.44
205-fix-headers_install.patch is obseleted by upstream commit 3246a0352e3d58380b9386570f1db1faf7edf8a8

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41351
2014-06-26 13:47:42 +00:00
Felix Fietkau
ad97acf46a brcm47xx: merge FEATURES lines in the legacy subtarget
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41053
2014-06-08 09:51:38 +00:00
Felix Fietkau
c48140efb8 brcm47xx: fix kmod-usb-brcm47xx build on legacy and mips74k subtargets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41052
2014-06-08 09:45:55 +00:00
Hauke Mehrtens
ed7c73fbef brcm47xx: activate some compiler optimizations for 74K CPUs
With this patch the mips74k subtarget will be compiled with optimized
compiler options to generated smaller and faster code. This currently
breaks broadcom-wl, because the binary blob is only compiled with
mipsr1 support.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41050
2014-06-07 17:36:02 +00:00
Felix Fietkau
4b953aa267 brcm47xx: move the low_mem feature flag to the legacy subtarget
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41049
2014-06-07 17:21:30 +00:00
Hauke Mehrtens
717e8b6f3c brcm47xx: remove old gpio and nvram interfaces
These were only used by broadcom-diag any more.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41048
2014-06-07 17:04:37 +00:00
Hauke Mehrtens
cfa350ca39 brcm47xx: mips74k: optimize kernel config
This saves abount 15 kB of compressed kernel size.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41043
2014-06-07 15:42:33 +00:00
Hauke Mehrtens
9dc5fb9103 bcm47xx: use eth0 for switch name
This fixes some strange problems with tg3. I assume that the Ethernet
driver was not brought up if the switch was named switch0.

This was reported and tested by ernesto (Faulp3lz).

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41042
2014-06-07 15:41:41 +00:00
Felix Fietkau
dec0d7f025 brcm47xx: add a "legacy" subtarget that is usable for low-end 802.11g devices like WRT54G
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41041
2014-06-07 15:19:40 +00:00
Hauke Mehrtens
bffd80e3e1 brcm47xx: add mips74k subtarget for newer devices
All new devices (with MIPS 74K CPU) are based on BCMA SoC and have
Ethernet core supported by bgmac. Create a new subtarget to generate
optimized builds.
This is just a beginning, further tweaks (like kernel configuration)
are still possible. This decreases default root.squashfs by ~128 kB.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41025
2014-06-05 21:25:03 +00:00
Hauke Mehrtens
b5d42bc111 brcm47xx: move current target to "generic" subtarget
This allows creating more subtargets and optimize builds per family.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 41024
2014-06-05 21:23:58 +00:00
Felix Fietkau
ae2c9a815a brcm47xx: enable the low-memory feature flag
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40982
2014-06-02 17:04:45 +00:00
John Crispin
f933a741a9 target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC
ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct
var $# (=number of args) here. under normal conditions this had no impact,
but we should at least correct it. the error was observable like this:

root@box:~ [ -e "/etc/functions.sh" ] && . /etc/functions.sh
root@box:~ [ -e "/lib/functions.sh" ] && . /lib/functions.sh
root@box:~ . /lib/upgrade/platform.sh
root@box:~ . /lib/upgrade/common.sh
root@box:~ platform_check_image /tmp/myfirmware.bin
ash: bad number
root@box:~ echo $?
0

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 40915
2014-06-02 12:43:22 +00:00
Felix Fietkau
32d1e0ed2c kernel: add a ssb backport required for a new mac80211 update
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40833
2014-05-23 18:48:31 +00:00
Hauke Mehrtens
16b6db7055 brcm47xx: profiles: fix white spaces (s/ $//)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 40763
2014-05-14 10:09:31 +00:00
Hauke Mehrtens
1d878cabf2 brcm47xx: image: respect device flash block size
We should be more careful and don't generate 128K JFFS2 images for
devices with flashes using 64K blocks (nor the other way).

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 40762
2014-05-14 10:08:56 +00:00
Hauke Mehrtens
4cd010a712 brcm47xx: image: document some defines arguments
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 40761
2014-05-14 10:08:22 +00:00
Gabor Juhos
d2812cb036 kernel: update 3.10 to 3.10.36
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40467
2014-04-12 11:59:07 +00:00
Hauke Mehrtens
e99cfaaf95 brcm47xx: refresh patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 40425
2014-04-08 19:51:36 +00:00
Hauke Mehrtens
c286feac80 brcm47xx: backport 3.14 patch for nvram GPIO pin read
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 40346
2014-03-30 19:07:46 +00:00
Hauke Mehrtens
499d1f1401 brcm47xx: Name LEDs colors for Linksys E1000 V2.1
Handle it by creating a new patch for simple database changes.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 40345
2014-03-30 19:07:13 +00:00
Hauke Mehrtens
a1f4a43cef brcm47xx: update workarounds patch to V3
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 40344
2014-03-30 19:06:24 +00:00
Gabor Juhos
627baa28d3 kernel: update 3.10 to 3.10.34
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40291
2014-03-27 09:28:33 +00:00
Hauke Mehrtens
00dc53dd2e brcm47xx: add initial support for kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39905
2014-03-12 23:28:41 +00:00
Florian Fainelli
f71fa7d646 brcm47xx: explicitely mention MIPS to avoid confusion
And while at it, fix the nomenclature, BCM947xx/953xx refer to specific boards,
while BCM47xx/BCM53xx refer to chip identification number.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 39841
2014-03-08 01:48:44 +00:00
Hauke Mehrtens
5b388e5716 brcm47xx: b44: some fixes in combination with the switch
Let the switch start the carrier and set the duplex mode independently
if this nic is up of not.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39733
2014-02-23 18:51:56 +00:00
Hauke Mehrtens
f587bacc26 brcm47xx: b44: start the phy
We did not start the PHY when an external phy was in use. Without this
patch the driver uses half duplex mode and the switch uses full duplex
mode, which causes problems.
Thank you fback for spotting this problem.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39719
2014-02-23 16:58:12 +00:00
Hauke Mehrtens
15a7efa119 brcm47xx: fix detection of some Linksys WRT54G* devices
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39718
2014-02-23 15:57:37 +00:00
Gabor Juhos
f677b1bc7e kernel: update 3.10 to 3.10.32
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39707
2014-02-23 10:59:40 +00:00
Hauke Mehrtens
2ad7e55a89 brcm47xx: new patch adding arch workarounds.c
It was recently sent to linux-mips for comments. It adds workaround for
WNR3500L to enable USB port.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 39469
2014-02-04 23:32:01 +00:00
Hauke Mehrtens
14113eb88f brcm47xx: use upstream patch removing WGT634U code
It does the same, it just reorders things

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 39468
2014-02-04 23:30:38 +00:00
Hauke Mehrtens
db73f1433b brcm47xx: move OpenWrt arch patches a bit further
This allows picking more upstreamed stuff

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 39467
2014-02-04 23:25:17 +00:00
Hauke Mehrtens
7ae5ff92ae kernel: ssb: update ssb to a version from kernel 3.14-rc1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39464
2014-02-04 22:54:29 +00:00
Hauke Mehrtens
e0d4a548fb kernel: bcma: update bcma to a version from kernel 3.14-rc1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39463
2014-02-04 22:53:52 +00:00
Gabor Juhos
a2543d72d8 kernel: update 3.10 to 3.10.28
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39399
2014-01-26 11:30:34 +00:00
Hauke Mehrtens
6df49552fc brcm47xx: add brcmsmac + bgmac profile
Signed-off-by: Cody P Schafer <devel@codyps.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39258
2014-01-12 19:04:54 +00:00
Hauke Mehrtens
f912b47931 brcm47xx: parse model from cpuinfo
Instead of looking into the proc entry provided by broadcom-diag use
the board info from /proc/cpuinfo to get the board we are on.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39256
2014-01-12 18:56:57 +00:00
Hauke Mehrtens
bcdea80b0b brcm47xx: fix led indication
Use the new led api also on brcm47xx.
The led for failsafe indication is searched for.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39255
2014-01-12 18:56:36 +00:00
Hauke Mehrtens
edab966e45 brcm47xx: fix network failsafe indication
Remove the code used on the old switch driver.
The Ethernet drive is loaded as a module and needs some time to get up
therefor we added some wait function.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39254
2014-01-12 18:56:15 +00:00
Hauke Mehrtens
f4f31511fd brcm47xx: do not use broadcom-diag
This makes brcm47xx target use the default gpio led and button driver
and not broadcom-diag any more.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39253
2014-01-12 18:55:52 +00:00
Hauke Mehrtens
c2992ee273 brcm47xx: add new led and button support
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39252
2014-01-12 18:55:25 +00:00
Hauke Mehrtens
30cf6f5815 brcm47xx: update some patches to versions in linux mainline
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39251
2014-01-12 18:54:38 +00:00
Hauke Mehrtens
7d654de038 brcm74xx: fix patch for BCM4706 CPUs
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39250
2014-01-12 18:51:45 +00:00
Hauke Mehrtens
e585841044 brcm47xx: update mtd drivers
This backports some patches from linux upstream.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39249
2014-01-12 18:50:45 +00:00
Gabor Juhos
0e2586a774 kernel: update 3.10 to 3.10.26
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39220
2014-01-11 16:06:37 +00:00
Hauke Mehrtens
8c085f647b brcm47xx: fix cpu wait for BCM4706
This was called to early.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39167
2013-12-26 23:30:10 +00:00
Hauke Mehrtens
961d5b4453 brcm47xx: b44: This updates the phylib patches to the version send upstream
This uses a fixed phy instead of a dummy one.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39166
2013-12-26 23:27:52 +00:00
Hauke Mehrtens
36197755dc brcm47xx: deactivate early printk support
This breaks some devices where the serial console is not at port 0 but
somewhere else.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39060
2013-12-15 19:19:16 +00:00
Hauke Mehrtens
952db22551 kernel: update kernel 3.10 to 3.10.24
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39059
2013-12-15 19:16:30 +00:00
Hauke Mehrtens
94f7ae90f8 brcm47xx: misc cleanups
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38980
2013-12-01 18:12:57 +00:00
Hauke Mehrtens
c48f285147 brcm47xx: deactivate mips wait instruction only for BCM4706
The wait instruction is only broken on the BCM4706 and not on the other
similar SoCs.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38979
2013-12-01 18:05:08 +00:00
Hauke Mehrtens
cbbfc5f1e6 brcm47xx: config: set CONFIG_HZ=100 and CONFIG_IP_ROUTE_VERBOSE
This sets both values to the OpenWrt default values. There is no reason
to use some brcm47xx specific values here.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38978
2013-12-01 17:34:27 +00:00
Hauke Mehrtens
3fb7e8b851 brcm47xx: add vectored interrupts
This adds support for vectored interrupts in this SoC.
This is supported by the 74K cpus.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38975
2013-12-01 16:37:58 +00:00
Hauke Mehrtens
25ca004f24 brcm47xx: add cpu overwrites
bcm47xx misses cpu overwrites for the features of the CPUs used in
these SoCs.
Instead of manually checking, it is now known at compile time for some
options and the compiler is able to remove the checks and optimize the
code.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38974
2013-12-01 16:36:38 +00:00
Hauke Mehrtens
d7ebbd0ac7 brcm47xx: use "firmware" partition name
Some time ago, after switching to the mainline bcm47xxpart driver
following patch has been applied:

commit 03cef8725d2062335ffc3de50fc037b294fd458c
Author: hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date:   Sat Apr 6 22:22:26 2013 +0000

    brcm47xx: use old partition names again for kernel 3.8

    This fixes sysupgrade. The partition names are used all over the Internet in various howtos.

    Thank you russell for spotting this problem.

I propose to revert this change and make sysupgrade use "firmware"
instead. This makes brcm47xx compatible with widely used ar71xx and
after all "firmware" sounds like a much better name for... the firmware.

This change doesn't affect "sysupgrade" usage, because it never takes a
partition name as a parameter. This change only affects users using mtd
tool directly. Hopefully there are not many howtos using "mtd" command.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 38973
2013-12-01 16:32:32 +00:00
Gabor Juhos
f1ef0b92be kernel: update 3.10 to 3.10.21
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38972
2013-12-01 09:59:53 +00:00
Hauke Mehrtens
4abd860ab2 brcm47xx: swap also early boot console if necessary.
Some devices are using tty1 as the default console, also swap the early
boot console in such case. This is needed for the WGT634U.

Thank you Russell for reporting this.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38794
2013-11-13 18:38:18 +00:00
Hauke Mehrtens
32cbc948a1 brcm47xx: fix netconfig for inverted vlan?ports in nvram
This was observed on the Belkin Share F7D7302.

SVN-Revision: 38769
2013-11-11 23:04:47 +00:00
Hauke Mehrtens
e8d0b52496 linux/brcm47xx : Belkin F7Dx30x board detection
boardnum is unstable, so allow using NULL to make it unchecked.

A method for differentiating F7D3301 from F7D3302 using nvram is
unknown at this point. Reading the first 32bits of magic from the
"linux" mtd partition would do the trick, but these 2 are similar
enough that we don't need separate led/button definitions. Not knowing
which one you have is only a usability issue for upgrading the device:
they expect different magic numbers for their trx images.

Signed-off-by: Cody P Schafer <devel@codyps.com>

SVN-Revision: 38767
2013-11-11 23:04:00 +00:00
Hauke Mehrtens
091e3fde4c brcm47xx: b44: fix logic in BUG_ON()
It is a problem when phydev is not set at this position and not the other way around.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38744
2013-11-11 21:23:29 +00:00
Hauke Mehrtens
874650d235 brcm47xx: add detection for Linksys WRT54GS V1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38700
2013-11-09 20:08:09 +00:00
Hauke Mehrtens
68081fc1c8 brcm47xx: register ADM6996L switch
This patch makes it possible to use adm6996.c on first generation
BCM47XX devices with ADM switches.

This was tested on a WRT54GS version 1.0, thank you Dirk Neukirchen for
the device.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38699
2013-11-09 19:29:46 +00:00
Hauke Mehrtens
73ed236907 brcm47xx: fix detection of Asus RT-N12B1 and Netgear WNR3500L
This closes #14367 and #14328.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38656
2013-11-05 17:09:19 +00:00
Gabor Juhos
35656042f1 kernel: update 3.10 to 3.10.18
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38652
2013-11-05 08:25:45 +00:00
Hauke Mehrtens
40790e6b84 brcm47xx: b44: fix error handling for dummy phy creation
When the mdio bus is unregistered the newly created phy will also be
unregistered and freed.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38539
2013-10-25 21:12:48 +00:00
Hauke Mehrtens
c185d48b7c brcm47xx: b44: add dummy phy device if we do not find any
On some devices with e.g. a BCM2535F switch the second MAC is used, but
we can not find a phy under all addresses between 0 and 31, 0xffffffff
is returned as phy id. If we can not find a phy at the expected address
create a dummy one.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38538
2013-10-25 21:02:13 +00:00
Gabor Juhos
b6b06000eb kernel: update 3.10 to 3.10.17
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38506
2013-10-23 12:51:05 +00:00
Hauke Mehrtens
6d2136c3f2 brcm47xx: b44: detect external phy by bit set in DevControl register
Without this patch we treated only phy addr 30 as an external phy, but
there is a register to check that. Now we do not have to try to reset
the switch to check for an external switch.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38502
2013-10-22 21:01:35 +00:00
Hauke Mehrtens
f023c09699 brcm47xx: activate ARP daemon support
This just add some bytes to the kernel and is activated on other targets.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38388
2013-10-13 22:46:18 +00:00
Hauke Mehrtens
81e2f00367 kernel: update kernel to 3.10.15
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38384
2013-10-13 19:28:29 +00:00
Hauke Mehrtens
551a250e58 brcm47xx: fix detection of some boards
This adds some more boards.

This fixes parts of #14316 and #14133.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38383
2013-10-13 19:27:24 +00:00
Hauke Mehrtens
64c2bc256c brcm47xx: Cocci spatch "noderef"
sizeof when applied to a pointer typed expression gives the size of the
pointer.
Found by coccinelle spatch "misc/noderef.cocci"

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>

SVN-Revision: 38312
2013-10-07 00:01:01 +00:00
Hauke Mehrtens
2402f8a9ee brcm47xx: move clock detection patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38311
2013-10-07 00:00:10 +00:00
Hauke Mehrtens
4c193a30ce brcm47xx: move and rename nvram gpio patch
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38310
2013-10-06 23:57:11 +00:00
Hauke Mehrtens
b201818044 brcm47xx: update early printk patches
Early printk was disabled because it caused hangs on some devices, the
old patches were using the CFE console now we use the normal serial
console, it is at a constant address.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38309
2013-10-06 23:55:35 +00:00
Hauke Mehrtens
ebf0778721 brcm47xx: update board detection patches
Add patches like they are currently in the mainline mips tree and add
some more pending patches for board detection.

* Now the board name is shown under machine in /proc/cpuinfo.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38308
2013-10-06 23:51:24 +00:00
Hauke Mehrtens
2c5e4aa6ad brcm47xx: b44: fix some problems with the phy
* do not try initialize a unused phy
* some improvements to the phylib patch
* do not turn the phy off when mac is off

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38306
2013-10-06 18:31:32 +00:00
Hauke Mehrtens
97b15fc45b brcm47xx: add support for ipv6 in default network config
Modify /etc/init.d/netconfig to use UCI defaults for building the
default network config, which includes appropriate defaults for IPV6.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 38294
2013-10-02 23:22:18 +00:00
Hauke Mehrtens
125fc703bb kernel: bgmac: move other bgmac patches to generic
The bgmac driver will be used on the brcm47xx and the bcm53xx target.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38289
2013-10-02 22:25:26 +00:00
Hauke Mehrtens
06c8b90ebf kernel: bgmac: move bgmac patches already applied in mainline kernel to generic
The bgmac driver will be used on the brcm47xx and the bcm53xx target.
These are only the patches already applied in current net-next/master
branch.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38288
2013-10-02 22:24:01 +00:00
Gabor Juhos
9c8a5ef115 kernel: update 3.10 to 3.10.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38228
2013-09-27 07:19:21 +00:00
Hauke Mehrtens
c75a970337 kernel: b53: add Register Access Bridge Registers (SRAB) interface
The SRAB interface is used on BCM4707 and BCM5301X SoCs.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38198
2013-09-25 21:44:28 +00:00
Hauke Mehrtens
86f7ca96af brcm47xx: b44: bgmac: some small changes to the phylib patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38044
2013-09-18 16:49:52 +00:00
Hauke Mehrtens
4f93bde681 brcm47xx: bgmac: b44: add support for Byte Queue Limits
This adds support for Byte Queue Limits in bgmac and b44, now it is
possible to use more advanced network queue control algorithms.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38038
2013-09-18 15:19:25 +00:00
Hauke Mehrtens
6dd2e9ae2c brcm47xx: update the clock fixes for BCM5354
This updates the patches for BCM5354 to the version send for upstream
Linux inclusion.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38037
2013-09-18 14:36:03 +00:00
Hauke Mehrtens
4c52ed50d7 brcm47xx: update board detection patches
This is now the version which was send for mainline Linux kernel
inclusion. The data needed to detection a board is now stored in init
data.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38036
2013-09-18 14:33:54 +00:00
Hauke Mehrtens
e75ff873be brcm47xx: add detection for Linksys E900 V1
Thank you Rafał for the data.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38035
2013-09-18 14:32:05 +00:00
Hauke Mehrtens
c78e4fb220 brcm47xx: Add support for Huawei E970
This patch adds support for Huawei E970 wireless gateway devices.
It has been tested on an E970 labelled as T-Mobile web'n'walk Box IV.
E960/B970 should work too, from what I know it's basically the same hardware.

The device has a Broadcom BCM5354 SoC and a built-in 3G USB modem.

It uses a hardware watchdog which needs GPIO-7 to be toggled at least
every 1-2 seconds. This patch uses gpio_wdt module (see my previous
patch today) to take care of this.

Tested and works:  3G wan,  wlan+LED,  VLAN config,  failsafe using reset
button,   image to be used for upgrade from OEM firmware's web interface

Link to the wiki page I've created:  <http://wiki.openwrt.org/toh/huawei/e970>

Issue:

* lzma-loader crashes, so gzipped kernel is used. Presumably due to watchdog
  reset during kernel decompress.

Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>

SVN-Revision: 38011
2013-09-16 21:09:10 +00:00
Hauke Mehrtens
880be9ca2f brcm47xx: add detection for Phicomm M1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38009
2013-09-16 19:53:09 +00:00
Hauke Mehrtens
bc5b56f42b brcm47xx: detect Linksys E1200 V2
This adds detection for Linksys E1200 V2

Thank you Lightsword and Rafał.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38006
2013-09-16 19:49:02 +00:00
Hauke Mehrtens
23c34e820c brcm47xx: mtd: bcm47xxpart: detect "factory" partition
A new type of partition with magic FCTY was found on Huawei E970:
46 43 54 59 4b 51 37 4e  41 42 31 38 41 32 39 30  |FCTYKQ7NAB18A290|

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 38005
2013-09-16 19:47:30 +00:00
Hauke Mehrtens
f687ab2101 brcm47xx: bgmac: implement unaligned addressing for DMA rings that support it
This is important patch for new devices that support unaligned
addressing. That devices suffer from the backward-compatibility bug in
DMA engine. In theory we should be able to use old mechanism, but in
practice DMA address seems to be randomly copied into status register
when hardware reaches end of a ring. This breaks reading slot number
from status register and we can't use DMA anymore.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 38004
2013-09-16 19:46:34 +00:00
Hauke Mehrtens
86405f2c4c brcm47xx: add detection code for Huawei E970
This is based on a patch by Mathias Adam.

Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38001
2013-09-15 17:00:45 +00:00
Gabor Juhos
554772a665 kernel: update 3.10 to 3.10.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38000
2013-09-15 16:00:41 +00:00
Hauke Mehrtens
57c6730ed6 brcm47xx: bgmac: allow bigger et_swtype nvram variable
Without this patch it is impossible to read et_swtype, because the 1
byte space is needed for the terminating null byte. Now it should be
possible to read decimal and hex vars of max 8 bit.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37999
2013-09-15 15:50:41 +00:00
Hauke Mehrtens
2693eab7fd brcm47xx: mtd: bcm47xxpart: detect block aligned Squashfs partition
Most of the bcm47xx devices use TRX format for storing kernel and some
partition like Squashfs or JFFS2. This is pretty flexible solution, CFE
(the bootloader) just writes (and later boots) TRX at some hardcoded
place and paritions can vary in the size.

However some devices don't use TRX format. Very recently we have
discovered ZTE H218N that has kernel and rootfs partitions at some
"random" places.

This patch allows Linux find a rootfs partition after installing custom
image with a CFE bootloader.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 37998
2013-09-15 15:47:45 +00:00
Hauke Mehrtens
bd6d4c4ded brcm47xx: update board detection patch
* Use different structs depending on the number of nvram variables to check.
* Add detection of ZTE H218N, this closes #14151.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37996
2013-09-15 15:08:29 +00:00
Hauke Mehrtens
c9399a1c81 brcm47xx: bgmac: fix internal switch initialization
Some devices (BCM4749, BCM5357, BCM53572) have internal switch that
requires initialization. We already have code for this, but because
of the typo in code it was never working. This resulted in network not
working for some routers and possibility of soft-bricking them.

Use correct bit for switch initialization and fix typo in the define.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 37993
2013-09-15 09:39:19 +00:00
Hauke Mehrtens
1268e064aa brcm47xx: detect Asus RT-N10
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37989
2013-09-14 16:19:21 +00:00
Hauke Mehrtens
3b3d4b6208 brcm47xx: tg3: use the phy address from et0phyaddr and not the default phy address.
Thank you Devastator for testing.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37986
2013-09-14 16:10:37 +00:00
Hauke Mehrtens
b73b915c54 brcm47xx: board detection, GPIO for Linksys E1000 V2.1
This patch adds board detection for the Linksys E1000 V2.1 router, as well
as GPIO support for same.

This fixes bug #14135. Currently, wired networking isn't working on the
router, and I haven't tried the wireless, but with this patch, OpenWRT
successfully boots, and all the LEDs and buttons work properly.

Signed-off-by: Zachary Catlin <zcatlin@indiana.edu>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37977
2013-09-13 19:24:08 +00:00
Hauke Mehrtens
9141ab0ede brcm47xx: detect WRT310NV1
Thanks Devastator for testing

SVN-Revision: 37969
2013-09-13 15:56:35 +00:00
Hauke Mehrtens
0a0257d70e brcm47xx: remove support for kernel 3.8
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37959
2013-09-12 22:07:12 +00:00
Hauke Mehrtens
b4880b34ef brcm47xx: add default config for new kernel config option
SVN-Revision: 37958
2013-09-12 22:04:55 +00:00
Hauke Mehrtens
614e8f44bd kernel: update bcma and ssb to wireless-testing master-2013-09-09
SVN-Revision: 37957
2013-09-12 22:03:45 +00:00
Hauke Mehrtens
f181b07af8 brcm47xx: add me as maintainer
SVN-Revision: 37916
2013-09-07 15:46:27 +00:00
Gabor Juhos
d120ec18b2 kernel: update 3.10 to 3.10.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37890
2013-09-02 19:12:54 +00:00
Gabor Juhos
043edd8074 kernel: update 3.10 to 3.10.9
Also refresh 3.10 patches.

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

SVN-Revision: 37832
2013-08-23 17:31:04 +00:00
Hauke Mehrtens
af161b6576 brcm47xx: fix typo in Broadcom-bgmac-b43 profile name
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37803
2013-08-17 13:41:22 +00:00
Hauke Mehrtens
2fcaba306e brcm47xx: change board detection for some Asus devices
This closes #13316

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37680
2013-08-04 12:36:13 +00:00
Hauke Mehrtens
290dade033 brcm47xx: switch to kernel 3.10.4
This uses a new switch driver.
The old ADMTEK Adm6996 switch is not supported any more.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37650
2013-08-01 21:01:59 +00:00
Hauke Mehrtens
7e14fd55fd brcm47xx: use lib phy when tg3 is in use
This is untested, but probably needed to make it work with the phy lib switch driver.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37649
2013-08-01 20:47:55 +00:00
Hauke Mehrtens
2b55968f5d brcm47xx: improve detection of Linksys WRTSL54GS
This closes #13319

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37647
2013-08-01 19:33:59 +00:00
Hauke Mehrtens
6d7f796b52 brcm47xx: remove support for kernel 3.9
This is not needed any more.

SVN-Revision: 37646
2013-08-01 19:17:51 +00:00
Hauke Mehrtens
2363cb3893 brcm47xx: add function to get a gpio pin by name
bcm47xx_nvram_gpio_pin() returns a gpio pin number for a given name based
on configuration data in nvram.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37644
2013-08-01 19:04:12 +00:00
Hauke Mehrtens
e2b2e3886b brcm47xx: run mtd fixtrx linux every time
With this patch it is possible to boot a device with kernel 3.10 a second time.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37625
2013-07-31 17:41:52 +00:00
Gabor Juhos
ef944dcb85 kernel: update 3.10 to 3.10.2
Also refresh 3.10 patches.

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

SVN-Revision: 37502
2013-07-22 15:31:13 +00:00
Jonas Gorski
b1b4e7db13 kernel: move CONFIG_NET_IP_TUNNEL to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37465
2013-07-19 22:58:01 +00:00
Hauke Mehrtens
c7f8cb3f4f kernel: update bcma and ssb to version from wireless-testing/master tag master-2013-07-18
This should fix some build problems in b43 with kernel 3.3.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37432
2013-07-19 12:02:34 +00:00
Hauke Mehrtens
866e229299 brcm47xx: fix name of patch
SVN-Revision: 37340
2013-07-15 11:42:54 +00:00
Hauke Mehrtens
f8d55e7541 brcm47xx: use b53 phy driver for the switch in kernel 3.10
This makes it possible to use swconfig to controll the switch.

This was tested with devices using b43 and bgmac.
This was not tested on devices using tg3.
This does not support the adm switch used in some very old devices.

SVN-Revision: 37304
2013-07-14 14:11:17 +00:00
Hauke Mehrtens
a5c0ad6354 brcm47xx: add initial support for kernel 3.10
SVN-Revision: 37287
2013-07-14 13:44:45 +00:00
Hauke Mehrtens
3bc90a4d23 brcm47xx: fix switch handling
This fixes some problems with the switch handling

 * It now send the messages again to indicate a button for failsafe mode should be pressed
 * it does not leak packages between wan and lan any more
 * the switch works again in normal mode

The Ethernet connection has to be up when the switch driver switch-robo
is insmoded therefor we just do it again.
Explicitly set enable_vlan to prevent leaking packages.

This should close #13869, #13868 and #13716

SVN-Revision: 37286
2013-07-14 13:19:58 +00:00
Hauke Mehrtens
ef0b9be95e brcm47xx: do not load the kernel modules needed for Ethernet manually
add the boot flag to make the kernel modules needed for Ethernet and
diag load on startup.

SVN-Revision: 37284
2013-07-14 12:59:00 +00:00
Hauke Mehrtens
e800436de3 brcm47xx: do not change nvram without user interaction
SVN-Revision: 37281
2013-07-14 12:56:42 +00:00
Hauke Mehrtens
e041d370a7 brcm47xx: proc gets mounted without this patch
SVN-Revision: 37272
2013-07-13 21:42:19 +00:00
Hauke Mehrtens
8dabd7a26b brcm47xx: remove obsolete hotplug stuff
SVN-Revision: 37271
2013-07-13 20:38:33 +00:00
John Crispin
541bede918 brcm47xx: fix module insert order
https://dev.openwrt.org/ticket/13811

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37161
2013-07-04 13:31:13 +00:00
Florian Fainelli
6a4f2922f6 targets: prepare for supporting normal and initramfs images
In order to support both normal images and initramfs, ensure that each
target sets KERNELNAME properly so that the generic kernel building code
can copy the corresponding files over $(KDIR) with the appropriate
extension. Update the various paths to the kernel and wrapper images
from $(LINUX_DIR)/arch/$(ARCH)/boot/$(foo) to $(KDIR)/$(foo).

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37049
2013-06-27 19:58:31 +00:00
John Crispin
39df8d1a45 brcm47xx: dont manually insmod switch drivers
Signed-off-by: John Crispin <bloic@openwrt.org>

SVN-Revision: 36993
2013-06-21 16:53:15 +00:00
Hauke Mehrtens
9492d445de brcm47xx: run make kernel_oldconfig for 3.9 kernel config
SVN-Revision: 36928
2013-06-12 14:51:50 +00:00
Hauke Mehrtens
87f994d16d brcm47xx: remove support for kernel 3.6
SVN-Revision: 36927
2013-06-12 14:48:45 +00:00
Hauke Mehrtens
990423f3ef brcm47xx: add initial support for kernel 3.9
SVN-Revision: 36926
2013-06-12 14:47:53 +00:00
Gabor Juhos
46225b99d9 kernel: update linux 3.8 to 3.8.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36724
2013-05-26 16:02:31 +00:00
Jonas Gorski
526aedb705 kernel: move CONFIG_MIPS_SEAD3 to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36617
2013-05-12 21:41:55 +00:00
Gabor Juhos
e57c7d6c12 kernel: update linux 3.8 to 3.8.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36576
2013-05-08 08:53:53 +00:00
Gabor Juhos
8a9fe26f20 kernel: update linux 3.8 to 3.8.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36507
2013-05-01 22:15:18 +00:00
Hauke Mehrtens
ca7f9638d5 broadcom-diag: support for the WNDR3700v3
I recently picked up a WNDR3700 to put OpenWRT on, and only after tearing into the box did I find it
was one of the v3 boards, with poor OpenWRT support. This patch should add the board detection and
LED/button control to the broadcom-diag module, and should generate a netgear .chk image that the
bootloader and stock firmware will accept.

The changes to the broadcom-diag module are more than a few lines because the WNDR3700v3 is driving
its LEDs through an HC164 8-bit shift register.

Signed-off-by: Owen Kirby <osk@exegin.com>

SVN-Revision: 36482
2013-04-28 21:11:17 +00:00
Hauke Mehrtens
7dee0dae35 brcm47xx: use kernel 3.8.10 as default kernel
The biggest change with this kernel is a new partition parser.

SVN-Revision: 36480
2013-04-28 18:25:16 +00:00
Hauke Mehrtens
00a7ace7cf brcm47xx: add board detection for NETGEAR WNDR4500 V2
SVN-Revision: 36478
2013-04-28 18:19:31 +00:00
Hauke Mehrtens
1bac172c44 kernel: update bcma and ssb for kernel 3.8+ to version from wireless-testing master-2013-04-26.
SVN-Revision: 36473
2013-04-28 16:52:11 +00:00
Gabor Juhos
36d4fd70bc kernel: update linux 3.8 to 3.8.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36453
2013-04-26 16:55:42 +00:00
Felix Fietkau
f58dcb59c6 kernel: backport SSB/BCMA changes in preparation for a compat-wireless update
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36367
2013-04-19 12:39:40 +00:00
Hauke Mehrtens
4a46687d25 brcm47xx: use old partition names again for kernel 3.8
This fixes sysupgrade. The partition names are used all over the Internet in various howtos.

Thank you russell for spotting this problem.

SVN-Revision: 36235
2013-04-06 22:22:26 +00:00
Hauke Mehrtens
204bde8d98 brcm47xx: fix error in board detection when nvram is not available.
SVN-Revision: 36234
2013-04-06 19:02:25 +00:00
Gabor Juhos
f78c902cfd kernel: update linux 3.8 to 3.8.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36215
2013-04-06 11:40:44 +00:00
Hauke Mehrtens
98ef9e5411 brcm47xx: generate images for Linksys E.... models
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 36139
2013-03-27 15:51:28 +00:00
Hauke Mehrtens
31c9452120 brcm47xx: activate image generation for some Netgear devices which are on the market and should be supported.
SVN-Revision: 36137
2013-03-27 15:35:52 +00:00
Hauke Mehrtens
a9e5a178ef brcm47xx: generate images for more WRT...N models
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 36136
2013-03-27 15:34:55 +00:00
Hauke Mehrtens
d5cf67297a brcm47xx: generate images for some more devices
These devices should be supported by trunk now.

SVN-Revision: 36099
2013-03-20 22:01:18 +00:00
Gabor Juhos
07532dca7f kernel: update linux 3.8 to 3.8.3
Also refresh the related generic/platform patches.

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

SVN-Revision: 36039
2013-03-15 14:39:51 +00:00
Hauke Mehrtens
e1f24d99e1 brcm47xx: refresh config
SVN-Revision: 35948
2013-03-10 20:42:26 +00:00
Hauke Mehrtens
44ed7d664a brcm47xx: add some more partition parser fixes by Rafał Miłecki
SVN-Revision: 35912
2013-03-09 19:48:03 +00:00
Hauke Mehrtens
694050a4cf brcm47xx: netconfig: add bacis support for swconfig
Parse the cpu port from swconfig and explicitly mark the cpu port as tagged.

SVN-Revision: 35911
2013-03-09 19:24:43 +00:00
Hauke Mehrtens
04af8bd108 brcm47xx: bgmac: omit the fcs
This fixes #13058 and hopefully #12927

SVN-Revision: 35834
2013-02-28 13:27:21 +00:00
Hauke Mehrtens
9805096f48 brcm47xx: bgmac: update to version form netdev git repository
SVN-Revision: 35833
2013-02-28 13:24:39 +00:00
Hauke Mehrtens
2c34e1aba5 brcm47xx: use bcm47xx_board_get() and detect some more boards in flash partition driver
SVN-Revision: 35791
2013-02-25 20:56:37 +00:00
Hauke Mehrtens
5d3b728372 brcm47xx: board detection WNDR3400v2
WNDR3400v2 is based on BCM53xx . Image that is created breaks the router somehow therefore "#".

CFE and NVRAM contain different vars - example:
CFE line original: Device eth0:  hwaddr 74-44-01-37-C6-69, ipaddr 192.168.1.1, mask 255.255.255.0
CFE after openwrt: Device eth0:  hwaddr 00-FF-FF-FF-FF-FF, ipaddr 192.168.1.1, mask 255.255.255.0

Logs were posted earlier on this mailing list: https://lists.openwrt.org/pipermail/openwrt-devel/2012-July/016174.html
Different logs with factory firmware are in the wiki: http://wiki.openwrt.org/toh/netgear/wndr3400#wndr3400v2
(and on wikidevi for example)

Signed off by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 35790
2013-02-25 20:55:46 +00:00
Hauke Mehrtens
0f2fc0adfd brcm47xx: use same board detection code as kernel 3.8
SVN-Revision: 35770
2013-02-24 18:10:42 +00:00
Hauke Mehrtens
9afdb046d3 brcm47xx: do not use vlan0 any more.
The Broadcom switch driver says that vlan0 should not be used with any switch other than bcm5325.

This makes OpenWrt always use vlan1 and vlan2 instead.

SVN-Revision: 35704
2013-02-20 15:31:43 +00:00
Hauke Mehrtens
1a8218d6e4 brcm47xx: add initial support for kernel 3.8
This contains the following new bigger changes:
 * new partition parser which still could lake some features or have bugs
 * new nand flash driver
 * using physmap-flash flash driver for parallel flash
 * some changes to the serial flash driver

With these changes OpenWrt starts using more of the mainline flash drivers.

SVN-Revision: 35632
2013-02-16 20:28:24 +00:00
Hauke Mehrtens
ce6a7543fe brcm47xx: BGMAC - Adjust AutoLoad number to be prior to switch modules
Adjust the "AutoLoad" number for the BGMAC module to be prior
to the switch modules.  This probably isn't real important as
the modules are loaded in the correct order by preinit anyway.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 35625
2013-02-16 16:27:33 +00:00
Hauke Mehrtens
9de704a03b brcm47xx: improve cpuport detection for filesafe
Do not try to load bcm57xx.ko any more this is not needed for kernel 2.6 and 3.X
Ask the switch driver where the CPU port is.

SVN-Revision: 35624
2013-02-16 16:24:15 +00:00
Hauke Mehrtens
92d16f38d7 brcm47xx: fix network config on simpleshare
The included patch will generate a correct network configuration on the simpletech simpleshare.

Thank you for the patch Will Holmes (RealOpty)

This closes #12361.

SVN-Revision: 35623
2013-02-16 15:24:48 +00:00
Hauke Mehrtens
a21ba013f5 brcm47xx: handle return values of cfe_env_get() correctly.
This closes #12746.

SVN-Revision: 35622
2013-02-16 15:19:24 +00:00
Hauke Mehrtens
283bff02a2 brcm47xx: bgmac: fix unaligned accesses to network headers.
SVN-Revision: 35621
2013-02-16 14:38:17 +00:00
Hauke Mehrtens
5fed2916c3 brcm47xx: fix unaligned access to mac address
The mac address should be aligned to u16 to prevent an unaligned access
in drivers/ssb/pci.c where it is casted to __be16.

This closes #9824.

SVN-Revision: 35618
2013-02-16 13:46:00 +00:00
Hauke Mehrtens
d9580d224a brcm47xx: try to automatically detect if the wan port is at port 4 and not at port 0.
This should fix #13000.

SVN-Revision: 35617
2013-02-16 12:37:24 +00:00
Hauke Mehrtens
c0f6c75cf7 brcm47xx: if the cpuport of the switch is port 8 assume vlan0ports: "1 2 3 4 8" and vlan0ports: "0 8"
SVN-Revision: 35597
2013-02-14 12:38:16 +00:00
Hauke Mehrtens
54ca3eed5d brcm47xx: configure vlan correctly on some recent devices.
SVN-Revision: 35587
2013-02-13 16:05:52 +00:00
Hauke Mehrtens
4663d424a3 brcm47xx: add some more fixes to bgmac
Thank you Rafał Miłecki and Nathan Hintz

SVN-Revision: 35574
2013-02-12 20:10:38 +00:00
Hauke Mehrtens
7c0208b336 brcm47xx: update tg3 to the version send upstream
SVN-Revision: 35573
2013-02-12 20:09:15 +00:00
Hauke Mehrtens
07db9e8eab brcm47xx: fix name of kmod-ocf-ubsec-ssb
This also removes kmod-ocf, because kmod-crypto-ocf is automatically selected by kmod-ocf-ubsec-ssb.

Thank you Manuel Munz <freifunk@somakoma.de> for the patch.

SVN-Revision: 35509
2013-02-06 22:51:25 +00:00
Hauke Mehrtens
a52832164b brcm47xx: bgmac: make it possible to set the devices into promisc mode when it is already up
This fixes #12927.

SVN-Revision: 35507
2013-02-06 14:57:00 +00:00
Hauke Mehrtens
8ba8225686 brcm47xx: fix detection of Asus RT-N16
This fixes #12936.

SVN-Revision: 35492
2013-02-04 22:49:05 +00:00
Hauke Mehrtens
a1e3c0ca46 Add Failsafe support for Linksys E3000V1 / WRT610NV2
Adds specification of the correct cpu_port for Linksys E3000V1 and WRT610NV2
in /lib/preinit/05_init_interfaces_brcm.  The list of devices will need to
be expanded.  Is there a way to determine the correct cpu_port to use in a
generic sense; for instance, if "/proc/switch/eth0/port/8" exists, or if
"/sys/class/net/eth0/device/driver/module/drivers/bcma:bgmac" exists?  Could
a similar method be used in "/etc/init.d/netconfig"?

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 35491
2013-02-04 22:40:57 +00:00
Hauke Mehrtens
c2198aba32 brcm47xx: Fix switch config on 4716/53115 devices
Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>

SVN-Revision: 35490
2013-02-04 22:38:37 +00:00
Hauke Mehrtens
68aeb7af8e brcm47xx: load pps_core and ptp before tg3 to make the interface available for failsafe.
SVN-Revision: 35341
2013-01-27 21:48:28 +00:00
Hauke Mehrtens
e083c7926b brcm47xx: create image for Netgear WNDR3400 V1
SVN-Revision: 35323
2013-01-26 20:34:38 +00:00
Hauke Mehrtens
05623aebef brcm47xx: add initial board detection code
SVN-Revision: 35322
2013-01-26 20:34:00 +00:00
Hauke Mehrtens
a83d7bb109 brcm47xx: add gpio to irq function again
SVN-Revision: 35321
2013-01-26 20:33:23 +00:00
Hauke Mehrtens
76c12ff797 brcm47xx: change generic profiles
The default profile now contains Ethernet drivers for all the types
found on supported boards. There are other profiles for each Ethernet
driver.

SVN-Revision: 35314
2013-01-24 14:38:10 +00:00
Hauke Mehrtens
2bf03f971d brcm47xx: BCMA - Update default IRQ assignment per upstream change
Update the default IRQ assignment for unrecognized devices per
the upstream change.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 35121
2013-01-12 15:00:01 +00:00
Hauke Mehrtens
548cb59826 brcm47xx: update bgmac driver to the version in mainline kernel
SVN-Revision: 35083
2013-01-10 14:22:19 +00:00
Hauke Mehrtens
885eea1842 kernel: update bcma and ssb to master-2013-01-09 from wireless-testing
SVN-Revision: 35080
2013-01-10 14:05:18 +00:00
Hauke Mehrtens
7b0af8193b brcm47xx: BGMAC Driver corrections
1) Fix what appears to be a logic error in bgmac_phy_advertise.

2) Fix bgmac_ioctl to use passed phy_id; needed for switch-robo
interface w/ the driver to work correctly.  I still have the issue
with the interface always being HD when the speed/duplex is set
manually (e.g., echo "100FD" > /proc/switch/eth0/port/N/media).

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 35052
2013-01-07 22:51:39 +00:00
Hauke Mehrtens
a105eea1a1 brcm47xx: various fixes and code cleanups for irq code
This is based on a patch send by Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 34997
2013-01-03 16:56:54 +00:00
Hauke Mehrtens
4443997fd8 brcm47xx: add bgmac driver
This Ethernet driver is in early development stage and still has some problems.
This was working on my bcm4716 based device.

Thanks to Rafał Miłecki <zajec5@gmail.com> for writing this driver.

SVN-Revision: 34995
2013-01-03 02:05:22 +00:00
Hauke Mehrtens
8f6bdcffa1 brcm47xx: build b44 as a module
SVN-Revision: 34994
2013-01-03 02:00:25 +00:00
Hauke Mehrtens
22d62d311a brcm47xx: run ifup before starting the switch
In addition check_module is not needed, nobody checks the return value.

SVN-Revision: 34993
2013-01-03 01:59:43 +00:00
Hauke Mehrtens
97b2b601c7 brcm47xx: BCMA - IRQ Update - Fix IRQ Flag for I2S Core
Adjust the IRQ Flag value from 8 to 7 for I2S Core for BCM4716 and
BCM4748 (per the Broadcom SDK).  IRQ Flag values greater than 7 are
ignored when setting the interrupt masks.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 34990
2013-01-03 01:56:13 +00:00
Hauke Mehrtens
f74e847301 brcm47xx: improve IRQ handling for bcma based devices
This was party inspirited by patches send by Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 34989
2013-01-03 01:55:34 +00:00
Hauke Mehrtens
25afeba608 brcm47xx: add a new version of the nvram rewrite patch
This is the version like it was send for mainline inclusion.

SVN-Revision: 34988
2013-01-03 01:53:30 +00:00
Hauke Mehrtens
edc7ab525f brcm47xx: move patches already in the mainline kernel to the front
SVN-Revision: 34987
2013-01-03 01:51:31 +00:00
Hauke Mehrtens
76c767f122 brcm47xx: remove support for kernel version 3.3
SVN-Revision: 34986
2013-01-03 01:48:43 +00:00
Hauke Mehrtens
981b7410f8 brcm47xx: bcma: correct M25P32 serial flash ID
Thank you Rafał Miłecki.

SVN-Revision: 34900
2012-12-27 19:18:40 +00:00
Mirko Vogt
e34a4e0c7b Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
SVN-Revision: 34793
2012-12-19 16:07:50 +00:00
Mirko Vogt
439a869090 Do not overload mount-call - trying to reduce confusion
The behaviour of calling 'mount' differed depending on whether it called
the busybox-mount, the mount of util-linux, the mount defined in
/lib/functions.sh and /lib/functions/boot.sh

/etc/preinit even included /lib/functions.sh and /lib/functions/boot.sh,
both re-defining 'mount'.

SVN-Revision: 34792
2012-12-19 16:07:46 +00:00
Gabor Juhos
44b9898251 kernel: update linux 3.6 to 3.6.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34748
2012-12-18 14:41:16 +00:00
Hauke Mehrtens
4901ac8225 brcm47xx: improve suppressing printing if a module was found in preinit function.
Thank you Bastian Bittorf

SVN-Revision: 34680
2012-12-14 22:45:12 +00:00
Hauke Mehrtens
6c8efbfdc0 brcm47xx: Additional BCM4716 support
Additional BCM4716 support.  Still needs working ethernet driver.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 34672
2012-12-13 18:57:38 +00:00
Hauke Mehrtens
6672d869da brcm47xx: BCMA - Broadcom 2011 SDK Updates
I noticed these changes when reviewing the 2011 Broadcom SDK. I haven't
noticed any obvious changes in behavior with them applied; but thought I
should at least pass them on.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 34670
2012-12-13 18:54:04 +00:00
Hauke Mehrtens
97d22306da brcm47xx: return the real irq number in bcma_core_irq
The irq signal numbers that are send by the cpu are increased by 2 from
the number programmed into the mips core by bcma.
Return the irq number on which the irqs are send in bcma_core_irq() now.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 34669
2012-12-13 18:51:10 +00:00
Hauke Mehrtens
71712ec522 brcm47xx: this usb patch is not needed, the Broadcom SDK does it the other way.
SVN-Revision: 34655
2012-12-13 00:12:42 +00:00
Hauke Mehrtens
5be97468f6 brcm47xx: use kernel 3.6.10 by default now
SVN-Revision: 34654
2012-12-13 00:11:55 +00:00
Hauke Mehrtens
235c065e12 brcm47xx: suppress printing if a module was found in preinit function.
SVN-Revision: 34653
2012-12-13 00:11:11 +00:00
Hauke Mehrtens
3a4a6cfd64 kernel: in kernel 3.6.8 and later tg3 depends on hwmon.ko
SVN-Revision: 34652
2012-12-13 00:09:55 +00:00
Hauke Mehrtens
1bd8db0bd6 kernel: update bcma and ssb to master-2012-12-11-2 from wireless-testing
SVN-Revision: 34651
2012-12-12 22:42:18 +00:00
Florian Fainelli
512baafc6b kernel/3.3: move OHCI and EHCI platform drivers to generic
These patches are not specific to bcm47xx and will be used on other
platforms as well.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 34501
2012-12-05 14:18:05 +00:00
Hauke Mehrtens
2ac9ac5163 brcm47xx: read sprom vars without prefix for boardrev and boardtype if the prefixed one is not available.
SVN-Revision: 34454
2012-12-02 16:11:39 +00:00
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
2012-11-29 15:21:41 +00:00
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
2012-11-29 15:21:35 +00:00
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
2012-11-29 07:42:19 +00:00
Hauke Mehrtens
efd00e6240 brcm47xx: fix title of Bcm4705-wl profile
SVN-Revision: 34378
2012-11-25 16:41:00 +00:00
Hauke Mehrtens
a3d976aff5 brcm47xx: add profile for bcm4705 with wl driver
SVN-Revision: 34336
2012-11-25 16:15:27 +00:00
Hauke Mehrtens
aa8e887a46 brcm47xx: whitespace cleanups
SVN-Revision: 34329
2012-11-25 14:03:51 +00:00
Hauke Mehrtens
be77f9951c brcm47xx: fix cpu clock detection on ASUS WL-520gU
The ASUS WL-520gU and some other similar Asus devices have a BCM5354
running at 200MHZ and not at 240 which is the default for this SoC.

This fixes #4083.

SVN-Revision: 34325
2012-11-24 20:28:06 +00:00
Hauke Mehrtens
264873b3c5 brcm47xx: watchdog: deactivate NOWAYOUT.
In the old configuration the SoC issued a reboot if the watchdog was
killed also if it was kill with TERM and not KILL.

This will fix #11724.

SVN-Revision: 34324
2012-11-24 20:24:27 +00:00
Hauke Mehrtens
c62d86ecb8 brcm47xx: update watchdog driver
This watchdog driver should work with SoC having a PMU.

This fixes #11720.

SVN-Revision: 34323
2012-11-24 20:07:25 +00:00
Hauke Mehrtens
4fa5781a95 kernel: refresh patches
SVN-Revision: 34253
2012-11-18 21:40:30 +00:00
Hauke Mehrtens
86cc79ac98 brcm47xx: add support for kernel 3.6
This is based on the patch by Peter Wagner.

SVN-Revision: 34252
2012-11-18 21:27:00 +00:00
Hauke Mehrtens
485f9573f8 brcm47xx: revert r33935: check for .ELF header in partition parser
For sysupgrade the generic image should be used and the special image for the wgt634u is just needed for initial flashing over CFE.
russell reported that with this patch sysupgrdae did not worked for him any more and he could not reproduce the error described in #11420.
With the patch the linux partition also contained the loader which is in the first 128KB.

SVN-Revision: 34201
2012-11-15 16:39:45 +00:00
Hauke Mehrtens
31541f81c3 brcm47xx: remove double definition of kmod-tg3 added in r34150
SVN-Revision: 34176
2012-11-12 21:34:00 +00:00