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

37 Commits

Author SHA1 Message Date
hauke
811c287737 kernel: update bcma and ssb to master-2012-12-11-2 from wireless-testing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-12 22:42:18 +00:00
florian
2025d3ae57 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-05 14:18:05 +00:00
hauke
02b6c7e64a 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-15 16:39:45 +00:00
hauke
d4cf962eb9 brcm47xx: fix cfe config detection on WGT634U broken in r33920
Thanks Russell Senior for reporting this.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-12 21:32:33 +00:00
hauke
0cddb5e96a 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 19:49:20 +00:00
hauke
288f3f6650 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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 14:33:47 +00:00
jogo
c373dbfcfb kernel: move the bcma fallback sprom fix to generic
bcm63xx needs the bcma fallback sprom fix, too.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-23 10:57:49 +00:00
blogic
b4260e22f3 drop GPIODEV platform code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-17 21:53:37 +00:00
hauke
c155089844 [brcm47xx]: 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-04 15:45:54 +00:00
hauke
351a9e7953 [brcm47xx]: use memcmp in mem size detection as suggested by blogic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-04 15:42:12 +00:00
hauke
bd7b515b16 [brcm47xx]: 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-30 11:45:31 +00:00
hauke
6f8cf8b4c0 [brcm47xx]: 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-30 11:44:44 +00:00
hauke
ea8a5ad7cc [brcm47xx]: ignore the last page on bcma based SoCs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-30 11:43:40 +00:00
hauke
43594d67bf [brcm47xx]: 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-30 11:43:13 +00:00
hauke
bdb7b30f11 [brcm47xx]: improve the check for the memory size
This will hopefully fix bug #9360 and #9097 in trunk.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-30 11:42:16 +00:00
hauke
beb93dd4a3 [brcm47xx]: 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-20 14:51:57 +00:00
hauke
49bdd0278a [brcm47xx]: update fix-boot patch.
Do not change the code any more but use the kconfig options


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 10:18:36 +00:00
hauke
11e47465cc [brcm47xx]: update gpio patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 10:17:51 +00:00
hauke
b7397011b8 [brcm47xx] 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-18 14:08:35 +00:00
hauke
95f384c9a9 [brcm47xx] update gpio patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-18 11:51:35 +00:00
hauke
8e1718f8e2 [brcm47xx] update tg3 driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05 20:27:40 +00:00
hauke
302fdbb0b8 brcm47xx: update gpio patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33001 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05 12:40:05 +00:00
hauke
b8881f1e23 brcm47xx: fix patch which moves the flash struct in wgt634u code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-05 12:39:15 +00:00
hauke
1d6c42df96 brcm47xx: use libgpio instaed of implementing the gpio interface ourself.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-04 19:46:25 +00:00
hauke
bf02882bea brcm47xx: reorder patches so that the patches already in mainline linux will be applied at first.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-25 14:52:00 +00:00
hauke
5e3f966711 kernel: bcma: update to version from wireless-testing tag master-2012-07-11
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-11 22:17:05 +00:00
hauke
bdc39c62ca kernel: ssb/bcma: update to version from wireless-testing tag master-2012-07-02
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-07-02 23:12:58 +00:00
nbd
50d5344375 kernel: replace the brcm47xx fuse workaround patches with a generic patch that applies to all mips targets
The dcache bug that it works around is a generic issue, not a brcm47xx cache quirk

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-16 21:06:33 +00:00
hauke
5ce0dd5cbe brcm47xx: fix nvram read out on devices with serial flash
detect nvram on Linksys E3200


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 16:04:10 +00:00
hauke
1b9dfb678c brcm47xx: bcma: fix null pointer
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 15:46:30 +00:00
hauke
aa8a1880a1 brcm47xx: ssb: recognize ARM Cortex M3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 15:45:51 +00:00
hauke
addb48537a brcm47xx: some fixes for the USB driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-18 15:44:25 +00:00
hauke
b1e2eade99 kernel: ssb/bcma: update to version from wireless-testing tag master-2012-05-16-2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-17 13:22:38 +00:00
juhosg
298dcd23d1 kernel: update linux 3.3 to 3.3.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-14 09:18:32 +00:00
hauke
8297c7ff8b brcm47xx: fix tg3 ssb patch
Now tg3 works with the Ethernet core of the Linksys WRT610N v1 (again).


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31694 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-12 23:59:12 +00:00
hauke
126cc381b7 brcm47xx: add gpio_request_one()
This fixes a compile error with kernel 3.3.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-06 20:44:37 +00:00
hauke
14f0acdc28 brcm47xx: add support for kernel 3.3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-03 20:18:41 +00:00