Commit Graph

451 Commits

Author SHA1 Message Date
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
Hauke Mehrtens
bac93bdd8e brcm47xx: fix cfe config detection on WGT634U broken in r33920
Thanks Russell Senior for reporting this.

SVN-Revision: 34175
2012-11-12 21:32:33 +00:00
Hauke Mehrtens
cadd36a303 brcm47xx: remove ssb-gige package
CONFIG_SSB_DRIVER_GIGE is set in the target config of the brcm47xx target, so it will always be activated and the kmod-ssb-gige is not needed any more.
The kmod-ssb-gige package is not generated in an build as it does not contain any files and the makes the image builder fail when generating a image integrating this package.

SVN-Revision: 34150
2012-11-11 17:30:33 +00:00
Imre Kaloz
702fd5cdb5 generate images for the D-Link DWL-3150 as well
SVN-Revision: 33961
2012-10-27 09:42:58 +00:00
Hauke Mehrtens
6a699a8ae8 brcm47xx: check for .ELF header in partition parser
The image format for the wgt634u is different from the normal format.
Without this patch the partition parser detects a 128kb bigger
partition after every update.

This closes #11420

Thank you b.sander for the patch.

SVN-Revision: 33935
2012-10-25 19:49:20 +00:00
Hauke Mehrtens
dca633f1c8 kernel: update bcma and ssb to master-2012-10-18 from wireless-testing
* update the flash driver for bcm47xx to use the stubs already in bcma
* do some misc enhancements to the flash drivers for bcm47xx

SVN-Revision: 33920
2012-10-25 14:33:47 +00:00
Jonas Gorski
0d2cf5f9e3 kernel: move the bcma fallback sprom fix to generic
bcm63xx needs the bcma fallback sprom fix, too.

SVN-Revision: 33896
2012-10-23 10:57:49 +00:00
John Crispin
6993e19532 drop GPIODEV platform code
SVN-Revision: 33825
2012-10-17 21:53:37 +00:00
Hauke Mehrtens
07234dc8bd bcma: do not initialize deactivated PCIe cores
Before it was tried to initialize the deactivated PCIe core in client
mode, but this causes the SoC to hang. Just do not initialize it at all
and ignore the core it is not working and nothing is connected to it
when the specific bit is set in the boardflags.

SVN-Revision: 33620
2012-10-04 15:45:54 +00:00
Hauke Mehrtens
2819890839 use memcmp in mem size detection as suggested by blogic
SVN-Revision: 33619
2012-10-04 15:42:12 +00:00
Hauke Mehrtens
642fe7f10a bcma: use fallback sprom if sprom on card was not valid
Sometimes the PCIe card indicates that it has a sprom somewhere and we
are able to read the memory region, but it is empty and not valid. In
these cases we should try to use the fallback sprom as a last chance.

SVN-Revision: 33601
2012-09-30 11:45:31 +00:00
Hauke Mehrtens
42952fd94f bcma: initialize sprom earlier
The chip common and the PCIe code are accessing the sprom struct which
is not filled when these cores are initialized. Fix this by adding an
early initialize and fill the sprom struct before accessing it in other
code.

SVN-Revision: 33600
2012-09-30 11:44:44 +00:00
Hauke Mehrtens
2d40590a23 run make kernel_oldconfig
SVN-Revision: 33599
2012-09-30 11:44:04 +00:00
Hauke Mehrtens
e5eefed084 ignore the last page on bcma based SoCs
SVN-Revision: 33598
2012-09-30 11:43:40 +00:00
Hauke Mehrtens
c9feffc332 Fix reading sprom from nvram without a prefix
The bcma based SoCs with a ieee80211 core on the SoC and an other
connected via PCIe or USB store the sprom for the SoC with a sb/1/
prefix. The SoC with just one wifi core do not use prefixes. The
BCM4706 do not use a prefix for the SoC part at all, because the prefix
is the path to the ieee80211 core and there is non on the BCM4706.

SVN-Revision: 33597
2012-09-30 11:43:13 +00:00
Hauke Mehrtens
4d5c75a54e improve the check for the memory size
This will hopefully fix bug #9360 and #9097 in trunk.

SVN-Revision: 33596
2012-09-30 11:42:16 +00:00
Hauke Mehrtens
0818180715 activate failsafe on all ports of the switch and not just port 0.
Sometimes the port 0 was the WAN port or there could be some device
where the port 0 is not wired to an actual Ethernet port. Now telnet in
failsafe will listen on all ports of the switch so user do not have to
search for the correct port any more. This change will make the switch
leak traffic between the WAN and the LAN port, but you should not use
failsafe while connected to a untrusted network.

SVN-Revision: 33544
2012-09-25 14:04:59 +00:00
Hauke Mehrtens
fd7b2b5141 deactivate mips wait instruction for MIPS 74K on Broadcom SoCs
When not removing support for the wait instruction, when ruining on the
BCM4706 SoC the system stops after msleep() without an exception. I
haven't seen this problem on the other Broadcom SoCs with a 74K CPU,
but in the Broadcom SDK it is deactivated for all CPUs of this type.

SVN-Revision: 33496
2012-09-20 14:51:57 +00:00
Florian Fainelli
57bd95734d brcm47xx/profiles/PS-1208MFG: remove reference to non-existing package
The package block-hotplug doesn't exist, refer to block-mount instead.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33474
2012-09-19 15:13:33 +00:00
Hauke Mehrtens
db18fa388d update fix-boot patch.
Do not change the code any more but use the kconfig options

SVN-Revision: 33463
2012-09-19 10:18:36 +00:00
Hauke Mehrtens
eeb3ad1860 update gpio patches
SVN-Revision: 33462
2012-09-19 10:17:51 +00:00
Gabor Juhos
43147ffec5 generic: move GENERIC_PWM symbol into the generic config
SVN-Revision: 33383
2012-09-13 06:38:31 +00:00
Hauke Mehrtens
95c141aaac add gpio sysfs entries
This fixes #10256

SVN-Revision: 33369
2012-09-11 15:04:20 +00:00
Hauke Mehrtens
847afa343f update profiles
* add profile for BCM4705 based SoC using tg3 instead of b44
* remove redundant 105-Atheros.mk
* reorder

SVN-Revision: 33235
2012-08-22 21:54:06 +00:00
Hauke Mehrtens
3133d4d8de remove unused file
SVN-Revision: 33210
2012-08-18 15:45:18 +00:00
Hauke Mehrtens
9eaee85cc2 make brcm47xx build only with bcma or only with ssb support.
There are some ifdefs missing so when only ssb or only bcma was
selected in the kernel config it did not build.

SVN-Revision: 33209
2012-08-18 14:08:35 +00:00
Hauke Mehrtens
f4d6baf498 update gpio patches
SVN-Revision: 33208
2012-08-18 11:51:35 +00:00