aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx
Commit message (Collapse)AuthorAgeFilesLines
* brcm47xx: BGMAC Driver correctionsHauke Mehrtens2013-01-071-3/+3
| | | | | | | | | | | | | 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
* brcm47xx: various fixes and code cleanups for irq codeHauke Mehrtens2013-01-037-27/+72
| | | | | | This is based on a patch send by Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 34997
* brcm47xx: add bgmac driverHauke Mehrtens2013-01-033-0/+1696
| | | | | | | | | 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
* brcm47xx: build b44 as a moduleHauke Mehrtens2013-01-0310-12/+9
| | | | SVN-Revision: 34994
* brcm47xx: run ifup before starting the switchHauke Mehrtens2013-01-031-2/+2
| | | | | | In addition check_module is not needed, nobody checks the return value. SVN-Revision: 34993
* brcm47xx: BCMA - IRQ Update - Fix IRQ Flag for I2S CoreHauke Mehrtens2013-01-031-0/+54
| | | | | | | | | | 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
* brcm47xx: improve IRQ handling for bcma based devicesHauke Mehrtens2013-01-035-5/+227
| | | | | | This was party inspirited by patches send by Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 34989
* brcm47xx: add a new version of the nvram rewrite patchHauke Mehrtens2013-01-0310-69/+345
| | | | | | This is the version like it was send for mainline inclusion. SVN-Revision: 34988
* brcm47xx: move patches already in the mainline kernel to the frontHauke Mehrtens2013-01-035-8/+8
| | | | SVN-Revision: 34987
* brcm47xx: remove support for kernel version 3.3Hauke Mehrtens2013-01-0357-9780/+0
| | | | SVN-Revision: 34986
* brcm47xx: bcma: correct M25P32 serial flash IDHauke Mehrtens2012-12-271-0/+11
| | | | | | Thank you Rafał Miłecki. SVN-Revision: 34900
* Do not use deprecated path to functions.sh (/etc/functions.sh -> ↵Mirko Vogt2012-12-191-1/+1
| | | | | | /lib/functions.sh) SVN-Revision: 34793
* Do not overload mount-call - trying to reduce confusionMirko Vogt2012-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'. SVN-Revision: 34792
* kernel: update linux 3.6 to 3.6.11Gabor Juhos2012-12-181-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34748
* brcm47xx: improve suppressing printing if a module was found in preinit ↵Hauke Mehrtens2012-12-141-1/+1
| | | | | | | | function. Thank you Bastian Bittorf SVN-Revision: 34680
* brcm47xx: Additional BCM4716 supportHauke Mehrtens2012-12-132-0/+8
| | | | | | | | Additional BCM4716 support. Still needs working ethernet driver. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 34672
* brcm47xx: BCMA - Broadcom 2011 SDK UpdatesHauke Mehrtens2012-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> SVN-Revision: 34670
* brcm47xx: return the real irq number in bcma_core_irqHauke Mehrtens2012-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> SVN-Revision: 34669
* brcm47xx: this usb patch is not needed, the Broadcom SDK does it the other way.Hauke Mehrtens2012-12-131-11/+0
| | | | SVN-Revision: 34655
* brcm47xx: use kernel 3.6.10 by default nowHauke Mehrtens2012-12-131-1/+1
| | | | SVN-Revision: 34654
* brcm47xx: suppress printing if a module was found in preinit function.Hauke Mehrtens2012-12-131-1/+1
| | | | SVN-Revision: 34653
* kernel: in kernel 3.6.8 and later tg3 depends on hwmon.koHauke Mehrtens2012-12-131-0/+1
| | | | SVN-Revision: 34652
* kernel: update bcma and ssb to master-2012-12-11-2 from wireless-testingHauke Mehrtens2012-12-1227-899/+103
| | | | SVN-Revision: 34651
* kernel/3.3: move OHCI and EHCI platform drivers to genericFlorian Fainelli2012-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> SVN-Revision: 34501
* brcm47xx: read sprom vars without prefix for boardrev and boardtype if the ↵Hauke Mehrtens2012-12-021-0/+17
| | | | | | prefixed one is not available. SVN-Revision: 34454
* remove common symbols from 3.6 configsGabor Juhos2012-11-291-1/+0
| | | | | | | | The removed symbols are present in the generic configuration. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34404
* remove common symbols from 3.3 configsGabor Juhos2012-11-291-2/+0
| | | | | | | | The removed symbols are present in the generic configuration. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34403
* kernel: update linux 3.6 to 3.6.8Gabor Juhos2012-11-291-29/+29
| | | | | | | | Also refresh the affected patches. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 34402
* brcm47xx: fix title of Bcm4705-wl profileHauke Mehrtens2012-11-251-1/+1
| | | | SVN-Revision: 34378
* brcm47xx: add profile for bcm4705 with wl driverHauke Mehrtens2012-11-251-0/+20
| | | | SVN-Revision: 34336
* brcm47xx: whitespace cleanupsHauke Mehrtens2012-11-257-16/+7
| | | | SVN-Revision: 34329
* brcm47xx: fix cpu clock detection on ASUS WL-520gUHauke Mehrtens2012-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. SVN-Revision: 34325
* brcm47xx: watchdog: deactivate NOWAYOUT.Hauke Mehrtens2012-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. SVN-Revision: 34324
* brcm47xx: update watchdog driverHauke Mehrtens2012-11-2417-103/+1566
| | | | | | | | This watchdog driver should work with SoC having a PMU. This fixes #11720. SVN-Revision: 34323
* kernel: refresh patchesHauke Mehrtens2012-11-181-1/+1
| | | | SVN-Revision: 34253
* brcm47xx: add support for kernel 3.6Hauke Mehrtens2012-11-1843-0/+7628
| | | | | | This is based on the patch by Peter Wagner. SVN-Revision: 34252
* brcm47xx: revert r33935: check for .ELF header in partition parserHauke Mehrtens2012-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. SVN-Revision: 34201
* brcm47xx: remove double definition of kmod-tg3 added in r34150Hauke Mehrtens2012-11-122-2/+2
| | | | SVN-Revision: 34176
* brcm47xx: fix cfe config detection on WGT634U broken in r33920Hauke Mehrtens2012-11-121-9/+10
| | | | | | Thanks Russell Senior for reporting this. SVN-Revision: 34175
* brcm47xx: remove ssb-gige packageHauke Mehrtens2012-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. SVN-Revision: 34150
* generate images for the D-Link DWL-3150 as wellImre Kaloz2012-10-271-2/+8
| | | | SVN-Revision: 33961
* brcm47xx: check for .ELF header in partition parserHauke Mehrtens2012-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. SVN-Revision: 33935
* kernel: update bcma and ssb to master-2012-10-18 from wireless-testingHauke Mehrtens2012-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 SVN-Revision: 33920
* kernel: move the bcma fallback sprom fix to genericJonas Gorski2012-10-231-15/+0
| | | | | | bcm63xx needs the bcma fallback sprom fix, too. SVN-Revision: 33896
* drop GPIODEV platform codeJohn Crispin2012-10-171-23/+0
| | | | SVN-Revision: 33825
* bcma: do not initialize deactivated PCIe coresHauke Mehrtens2012-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. SVN-Revision: 33620
* use memcmp in mem size detection as suggested by blogicHauke Mehrtens2012-10-041-7/+3
| | | | SVN-Revision: 33619
* bcma: use fallback sprom if sprom on card was not validHauke Mehrtens2012-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. SVN-Revision: 33601
* bcma: initialize sprom earlierHauke Mehrtens2012-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. SVN-Revision: 33600
* run make kernel_oldconfigHauke Mehrtens2012-09-301-0/+1
| | | | SVN-Revision: 33599