summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx
Commit message (Collapse)AuthorAgeFilesLines
* Do not use deprecated path to functions.sh (/etc/functions.sh -> ↵mirko2012-12-191-1/+1
| | | | | | /lib/functions.sh) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34793 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Do not overload mount-call - trying to reduce confusionmirko2012-12-191-1/+1
| | | | | | | | | | | 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
* kernel: update linux 3.6 to 3.6.11juhosg2012-12-181-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34748 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: improve suppressing printing if a module was found in preinit ↵hauke2012-12-141-1/+1
| | | | | | | | | function. Thank you Bastian Bittorf git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34680 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: Additional BCM4716 supporthauke2012-12-132-0/+8
| | | | | | | | | 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
* brcm47xx: BCMA - Broadcom 2011 SDK Updateshauke2012-12-131-0/+50
| | | | | | | | | | | | 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
* brcm47xx: return the real irq number in bcma_core_irqhauke2012-12-131-0/+87
| | | | | | | | | | | 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
* brcm47xx: this usb patch is not needed, the Broadcom SDK does it the other way.hauke2012-12-131-11/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34655 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: use kernel 3.6.10 by default nowhauke2012-12-131-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34654 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: suppress printing if a module was found in preinit function.hauke2012-12-131-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34653 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: in kernel 3.6.8 and later tg3 depends on hwmon.kohauke2012-12-131-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34652 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update bcma and ssb to master-2012-12-11-2 from wireless-testinghauke2012-12-1227-899/+103
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34651 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/3.3: move OHCI and EHCI platform drivers to genericflorian2012-12-053-565/+0
| | | | | | | | | 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
* brcm47xx: read sprom vars without prefix for boardrev and boardtype if the ↵hauke2012-12-021-0/+17
| | | | | | prefixed one is not available. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34454 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove common symbols from 3.6 configsjuhosg2012-11-291-1/+0
| | | | | | | | 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
* remove common symbols from 3.3 configsjuhosg2012-11-291-2/+0
| | | | | | | | 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
* kernel: update linux 3.6 to 3.6.8juhosg2012-11-291-29/+29
| | | | | | | | 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
* brcm47xx: fix title of Bcm4705-wl profilehauke2012-11-251-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34378 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add profile for bcm4705 with wl driverhauke2012-11-251-0/+20
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34336 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: whitespace cleanupshauke2012-11-257-16/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34329 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix cpu clock detection on ASUS WL-520gUhauke2012-11-241-0/+44
| | | | | | | | | | 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
* brcm47xx: watchdog: deactivate NOWAYOUT.hauke2012-11-246-28/+34
| | | | | | | | | | 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
* brcm47xx: update watchdog driverhauke2012-11-2417-103/+1566
| | | | | | | | | 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
* kernel: refresh patcheshauke2012-11-181-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34253 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add support for kernel 3.6hauke2012-11-1843-0/+7628
| | | | | | | This is based on the patch by Peter Wagner. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34252 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: revert r33935: check for .ELF header in partition parserhauke2012-11-151-8/+2
| | | | | | | | | 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
* brcm47xx: remove double definition of kmod-tg3 added in r34150hauke2012-11-122-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34176 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix cfe config detection on WGT634U broken in r33920hauke2012-11-121-9/+10
| | | | | | | Thanks Russell Senior for reporting this. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34175 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: remove ssb-gige packagehauke2012-11-114-16/+3
| | | | | | | | 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
* [brcm47xx]: generate images for the D-Link DWL-3150 as wellkaloz2012-10-271-2/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33961 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: check for .ELF header in partition parserhauke2012-10-251-2/+8
| | | | | | | | | | | | | 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
* kernel: update bcma and ssb to master-2012-10-18 from wireless-testinghauke2012-10-2532-3266/+2263
| | | | | | | | * 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
* kernel: move the bcma fallback sprom fix to genericjogo2012-10-231-15/+0
| | | | | | bcm63xx needs the bcma fallback sprom fix, too. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33896 3c298f89-4303-0410-b956-a3cf2f4a3e73
* drop GPIODEV platform codeblogic2012-10-171-23/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33825 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm47xx]: bcma: do not initialize deactivated PCIe coreshauke2012-10-042-6/+32
| | | | | | | | | | 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
* [brcm47xx]: use memcmp in mem size detection as suggested by blogichauke2012-10-041-7/+3
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33619 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm47xx]: bcma: use fallback sprom if sprom on card was not validhauke2012-09-301-0/+15
| | | | | | | | | 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
* [brcm47xx]: bcma: initialize sprom earlierhauke2012-09-303-4/+222
| | | | | | | | | | 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
* [brcm47xx]: run make kernel_oldconfighauke2012-09-301-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33599 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm47xx]: ignore the last page on bcma based SoCshauke2012-09-301-0/+33
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33598 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm47xx]: Fix reading sprom from nvram without a prefixhauke2012-09-305-2/+1189
| | | | | | | | | | | 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
* [brcm47xx]: improve the check for the memory sizehauke2012-09-301-0/+42
| | | | | | | 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
* [brcm47xx]: activate failsafe on all ports of the switch and not just port 0.hauke2012-09-251-1/+1
| | | | | | | | | | | | 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
* [brcm47xx]: deactivate mips wait instruction for MIPS 74K on Broadcom SoCshauke2012-09-201-0/+12
| | | | | | | | | | 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
* brcm47xx/profiles/PS-1208MFG: remove reference to non-existing packageflorian2012-09-191-1/+1
| | | | | | | | 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
* [brcm47xx]: update fix-boot patch.hauke2012-09-191-33/+7
| | | | | | | 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
* [brcm47xx]: update gpio patcheshauke2012-09-193-149/+124
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33462 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: move GENERIC_PWM symbol into the generic configjuhosg2012-09-131-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33383 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm47xx]: add gpio sysfs entrieshauke2012-09-111-0/+1
| | | | | | | This fixes #10256 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33369 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [brcm47xx] update profileshauke2012-08-227-25/+46
| | | | | | | | | * add profile for BCM4705 based SoC using tg3 instead of b44 * remove redundant 105-Atheros.mk * reorder git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33235 3c298f89-4303-0410-b956-a3cf2f4a3e73