1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-04 22:24:32 +03:00
Commit Graph

455 Commits

Author SHA1 Message Date
hauke
73af5c02d5 brcm47xx: bcma: correct M25P32 serial flash ID
Thank you Rafał Miłecki.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 19:18:40 +00:00
mirko
8fedcbdf7f Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 16:07:50 +00:00
mirko
53edda1e36 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'.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 16:07:46 +00:00
juhosg
56bc2d9958 kernel: update linux 3.6 to 3.6.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 14:41:16 +00:00
hauke
0f5ef2bc11 brcm47xx: improve suppressing printing if a module was found in preinit function.
Thank you Bastian Bittorf


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-14 22:45:12 +00:00
hauke
1c8f268ae1 brcm47xx: Additional BCM4716 support
Additional BCM4716 support.  Still needs working ethernet driver.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13 18:57:38 +00:00
hauke
02d9373a55 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>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13 18:54:04 +00:00
hauke
7b216e0fe3 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13 18:51:10 +00:00
hauke
b1ca3fb853 brcm47xx: this usb patch is not needed, the Broadcom SDK does it the other way.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13 00:12:42 +00:00
hauke
a8e8631252 brcm47xx: use kernel 3.6.10 by default now
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34654 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13 00:11:55 +00:00
hauke
4452a8c0e9 brcm47xx: suppress printing if a module was found in preinit function.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13 00:11:11 +00:00
hauke
517823cf21 kernel: in kernel 3.6.8 and later tg3 depends on hwmon.ko
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-13 00:09:55 +00:00
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
d5451dcd29 brcm47xx: read sprom vars without prefix for boardrev and boardtype if the prefixed one is not available.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 16:11:39 +00:00
juhosg
92a8754a5c remove common symbols from 3.6 configs
The removed symbols are present in the generic configuration.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 15:21:41 +00:00
juhosg
4905c3c15e remove common symbols from 3.3 configs
The removed symbols are present in the generic configuration.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 15:21:35 +00:00
juhosg
7617db12cb kernel: update linux 3.6 to 3.6.8
Also refresh the affected patches.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-29 07:42:19 +00:00
hauke
9a2f3ef06f brcm47xx: fix title of Bcm4705-wl profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34378 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-25 16:41:00 +00:00
hauke
1314ffe4ee brcm47xx: add profile for bcm4705 with wl driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34336 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-25 16:15:27 +00:00
hauke
25d34577f9 brcm47xx: whitespace cleanups
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34329 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-25 14:03:51 +00:00
hauke
b15412207c 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-24 20:28:06 +00:00
hauke
c57e2a3047 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-24 20:24:27 +00:00
hauke
9a462204d1 brcm47xx: update watchdog driver
This watchdog driver should work with SoC having a PMU.

This fixes #11720.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-24 20:07:25 +00:00
hauke
4318f32f11 kernel: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 21:40:30 +00:00
hauke
1d70fe9050 brcm47xx: add support for kernel 3.6
This is based on the patch by Peter Wagner.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-18 21:27:00 +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
88e6c931a0 brcm47xx: remove double definition of kmod-tg3 added in r34150
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-12 21:34:00 +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
d82f4384d6 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-11 17:30:33 +00:00
kaloz
ce50548ff6 [brcm47xx]: generate images for the D-Link DWL-3150 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 09:42:58 +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
ea60258a5f [brcm47xx]: run make kernel_oldconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-30 11:44:04 +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
98837afb76 [brcm47xx]: 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-25 14:04:59 +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
florian
b385661768 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 15:13:33 +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
juhosg
93a698140f generic: move GENERIC_PWM symbol into the generic config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 06:38:31 +00:00
hauke
c96bed78c2 [brcm47xx]: add gpio sysfs entries
This fixes #10256


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-11 15:04:20 +00:00