aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/patches-3.10
Commit message (Collapse)AuthorAgeFilesLines
* brcm47xx: remove kernel 3.10Hauke Mehrtens2014-12-0780-7954/+0
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 43535
* brcm47xx: fix brcm47xx.legacy buildHauke Mehrtens2014-08-141-2/+2
| | | | | | | | we should check for ssb here. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 42164
* brcm47xx: fix reboot problem on BCM4705/BCM4785Hauke Mehrtens2014-08-086-16/+39
| | | | | | | | | | | | | | This adds some code based on code from the Broadcom GPL tar to fix the reboot problems on BCM4705/BCM4785. I tried rebooting my device for ~10 times and have never seen a problem. This reverts the changes in the previous commit and adds the real fix as suggested by Rafał. Setting bit 22 in Reg 22, sel 4 puts the BIU (Bus Interface Unit) into async mode. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 42083
* brcm47xx: 3.10: backport MIPS patches for early HIGHMEM supportHauke Mehrtens2014-08-077-5/+360
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42052
* brcm47xx: 3.10: update MIPS patches with versions sent upstreamHauke Mehrtens2014-07-319-112/+147
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 41910
* brcm47xx: fix LEDs on WRT54GL 1.1Hauke Mehrtens2014-07-152-7/+33
| | | | | | | Ticket: #17062 Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 41666
* brcm47xx: improve board detection for some devicesHauke Mehrtens2014-07-143-0/+210
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41662
* brcm47xx: make reboot a more reliableHauke Mehrtens2014-07-071-0/+17
| | | | | | | | | | | | A reboot is issued by setting the watchdog timer to a low value, when the value is decreased from 1 to 0 by the hardware the system will reboot. Setting this value to 1 does not work every time, it is a little bit more reliable when setting it to 3. This timer runs with some MHz or KHz so nobody will notice the increased waiting. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41548
* brcm47xx: add buttons support for Netgear WNR3500LHauke Mehrtens2014-07-071-0/+25
| | | | | | | | Ticket: #14406 Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 41547
* brcm47xx: fix bcm4705 rebooting when initializing the switch.Hauke Mehrtens2014-07-061-0/+17
| | | | | | | | | | | When the Ethernet controller is powered down and someone wants to access the mdio bus like the witch driver (b53) the system crashed if PCI_D3hot was set before. This patch deactivates this power sawing mode when a switch driver is in use. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41527
* brcm47xx: add LEDs for Netgear WNR3500LHauke Mehrtens2014-07-051-1/+27
| | | | | | | | | https://dev.openwrt.org/ticket/14406 Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41520
* brcm47xx: make it possible to unregister the adm switchHauke Mehrtens2014-07-051-27/+47
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41517
* brcm47xx: fix LEDs on WRTSL54GSHauke Mehrtens2014-07-051-1/+17
| | | | | | | | | https://dev.openwrt.org/ticket/16991 Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41516
* brcm47xx: increase fallback mac addresses by oneHauke Mehrtens2014-07-051-2/+2
| | | | | | | | | | Now the mac address is increased by two for the first fallback mac address. It could be that the address increased should be used for the wan port. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41515
* brcm47xx: do not use mac addresses with 00:90:4C prefix, prevent mac address ↵Hauke Mehrtens2014-07-051-0/+68
| | | | | | | | | | | | | | collisions. The address prefix 00:90:4C is used by Broadcom in their initial configuration. When a mac address with the prefix 00:90:4C is used all devices from the same series are sharing the same mac address. To prevent mac address collisions we replace them with a mac address based on the base address. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41513
* brcm47xx: add LEDs for Asus RT-N15U and update RT-N66UHauke Mehrtens2014-07-031-1/+38
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 41501
* brcm47xx: refresh patchesHauke Mehrtens2014-07-022-5/+5
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41487
* brcm47xx: backport BCM47XX Linksys WRT54G series patchesHauke Mehrtens2014-07-023-0/+147
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41486
* brcm47xx: remove old gpio and nvram interfacesHauke Mehrtens2014-06-072-188/+2
| | | | | | | | These were only used by broadcom-diag any more. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41048
* kernel: add a ssb backport required for a new mac80211 updateFelix Fietkau2014-05-231-3/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40833
* brcm47xx: backport 3.14 patch for nvram GPIO pin readHauke Mehrtens2014-03-301-0/+30
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 40346
* brcm47xx: Name LEDs colors for Linksys E1000 V2.1Hauke Mehrtens2014-03-301-0/+13
| | | | | | | | | Handle it by creating a new patch for simple database changes. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 40345
* brcm47xx: update workarounds patch to V3Hauke Mehrtens2014-03-301-3/+9
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 40344
* kernel: update 3.10 to 3.10.34Gabor Juhos2014-03-271-7/+7
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 40291
* brcm47xx: b44: some fixes in combination with the switchHauke Mehrtens2014-02-231-2/+26
| | | | | | | | | Let the switch start the carrier and set the duplex mode independently if this nic is up of not. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39733
* brcm47xx: b44: start the phyHauke Mehrtens2014-02-231-0/+23
| | | | | | | | | | | We did not start the PHY when an external phy was in use. Without this patch the driver uses half duplex mode and the switch uses full duplex mode, which causes problems. Thank you fback for spotting this problem. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39719
* brcm47xx: fix detection of some Linksys WRT54G* devicesHauke Mehrtens2014-02-233-6/+45
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39718
* brcm47xx: new patch adding arch workarounds.cHauke Mehrtens2014-02-044-5/+77
| | | | | | | | | It was recently sent to linux-mips for comments. It adds workaround for WNR3500L to enable USB port. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 39469
* brcm47xx: use upstream patch removing WGT634U codeHauke Mehrtens2014-02-042-5/+27
| | | | | | | | It does the same, it just reorders things Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 39468
* brcm47xx: move OpenWrt arch patches a bit furtherHauke Mehrtens2014-02-043-0/+0
| | | | | | | | This allows picking more upstreamed stuff Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 39467
* kernel: ssb: update ssb to a version from kernel 3.14-rc1Hauke Mehrtens2014-02-042-480/+0
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39464
* kernel: bcma: update bcma to a version from kernel 3.14-rc1Hauke Mehrtens2014-02-042-242/+0
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39463
* kernel: update 3.10 to 3.10.28Gabor Juhos2014-01-261-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39399
* brcm47xx: add new led and button supportHauke Mehrtens2014-01-1220-20/+2554
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39252
* brcm47xx: update some patches to versions in linux mainlineHauke Mehrtens2014-01-129-115/+315
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39251
* brcm74xx: fix patch for BCM4706 CPUsHauke Mehrtens2014-01-123-15/+46
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39250
* brcm47xx: update mtd driversHauke Mehrtens2014-01-127-35/+154
| | | | | | | | This backports some patches from linux upstream. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39249
* brcm47xx: fix cpu wait for BCM4706Hauke Mehrtens2013-12-263-19/+18
| | | | | | | | This was called to early. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39167
* brcm47xx: b44: This updates the phylib patches to the version send upstreamHauke Mehrtens2013-12-2614-165/+251
| | | | | | | | This uses a fixed phy instead of a dummy one. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39166
* brcm47xx: deactivate early printk supportHauke Mehrtens2013-12-153-50/+3
| | | | | | | | | This breaks some devices where the serial console is not at port 0 but somewhere else. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39060
* brcm47xx: misc cleanupsHauke Mehrtens2013-12-012-4/+2
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38980
* brcm47xx: deactivate mips wait instruction only for BCM4706Hauke Mehrtens2013-12-013-13/+27
| | | | | | | | | The wait instruction is only broken on the BCM4706 and not on the other similar SoCs. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38979
* brcm47xx: add vectored interruptsHauke Mehrtens2013-12-011-0/+66
| | | | | | | | | This adds support for vectored interrupts in this SoC. This is supported by the 74K cpus. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38975
* brcm47xx: add cpu overwritesHauke Mehrtens2013-12-012-14/+102
| | | | | | | | | | | | bcm47xx misses cpu overwrites for the features of the CPUs used in these SoCs. Instead of manually checking, it is now known at compile time for some options and the compiler is able to remove the checks and optimize the code. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38974
* brcm47xx: use "firmware" partition nameHauke Mehrtens2013-12-011-20/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Some time ago, after switching to the mainline bcm47xxpart driver following patch has been applied: commit 03cef8725d2062335ffc3de50fc037b294fd458c Author: hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73> Date: Sat Apr 6 22:22:26 2013 +0000 brcm47xx: use old partition names again for kernel 3.8 This fixes sysupgrade. The partition names are used all over the Internet in various howtos. Thank you russell for spotting this problem. I propose to revert this change and make sysupgrade use "firmware" instead. This makes brcm47xx compatible with widely used ar71xx and after all "firmware" sounds like a much better name for... the firmware. This change doesn't affect "sysupgrade" usage, because it never takes a partition name as a parameter. This change only affects users using mtd tool directly. Hopefully there are not many howtos using "mtd" command. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 38973
* brcm47xx: swap also early boot console if necessary.Hauke Mehrtens2013-11-132-2/+49
| | | | | | | | | | | Some devices are using tty1 as the default console, also swap the early boot console in such case. This is needed for the WGT634U. Thank you Russell for reporting this. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38794
* linux/brcm47xx : Belkin F7Dx30x board detectionHauke Mehrtens2013-11-111-0/+33
| | | | | | | | | | | | | | | boardnum is unstable, so allow using NULL to make it unchecked. A method for differentiating F7D3301 from F7D3302 using nvram is unknown at this point. Reading the first 32bits of magic from the "linux" mtd partition would do the trick, but these 2 are similar enough that we don't need separate led/button definitions. Not knowing which one you have is only a usability issue for upgrading the device: they expect different magic numbers for their trx images. Signed-off-by: Cody P Schafer <devel@codyps.com> SVN-Revision: 38767
* brcm47xx: b44: fix logic in BUG_ON()Hauke Mehrtens2013-11-111-1/+1
| | | | | | | | It is a problem when phydev is not set at this position and not the other way around. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38744
* brcm47xx: add detection for Linksys WRT54GS V1Hauke Mehrtens2013-11-091-1/+12
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38700
* brcm47xx: register ADM6996L switchHauke Mehrtens2013-11-092-3/+126
| | | | | | | | | | | | This patch makes it possible to use adm6996.c on first generation BCM47XX devices with ADM switches. This was tested on a WRT54GS version 1.0, thank you Dirk Neukirchen for the device. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38699