summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx
Commit message (Collapse)AuthorAgeFilesLines
* target/linux/*: more dead package cleanupsJohn Crispin2014-07-101-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41571
* target/linux/*: kmod-fs-ext{2,3} RIPJohn Crispin2014-07-102-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41560
* brcm47xx: make reboot a more reliableHauke Mehrtens2014-07-072-0/+34
| | | | | | | | | | | | 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-072-0/+50
| | | | | | | | Ticket: #14406 Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 41547
* brcm47xx: remove unneeded images from generic targetHauke Mehrtens2014-07-071-15/+0
| | | | | | | | | broadcom-wl now builds in the mips74k profile, so remove these chips from the generic profile. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41546
* brcm47xx: image: legacy: take over old devices imagesHauke Mehrtens2014-07-061-25/+52
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 41530
* brcm47xx: image: mips74k: take over some device imagesHauke Mehrtens2014-07-061-20/+38
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41529
* brcm47xx: image: prepare for using mips74k subtargetHauke Mehrtens2014-07-061-0/+20
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 41528
* brcm47xx: fix bcm4705 rebooting when initializing the switch.Hauke Mehrtens2014-07-062-0/+34
| | | | | | | | | | | 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-052-2/+54
| | | | | | | | | 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-052-54/+94
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41517
* brcm47xx: fix LEDs on WRTSL54GSHauke Mehrtens2014-07-052-2/+34
| | | | | | | | | 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-052-4/+4
| | | | | | | | | | 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-052-0/+136
| | | | | | | | | | | | | | 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: get switch name from swconfig firstHauke Mehrtens2014-07-051-3/+5
| | | | | | | | | Without this patch the switch config for the adm switch did not worked, because hey are not names eth0. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41512
* brcm47xx: add LEDs for Asus RT-N15U and update RT-N66UHauke Mehrtens2014-07-032-2/+76
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 41501
* brcm47xx: migrate basic network settings from old releasesHauke Mehrtens2014-07-031-0/+29
| | | | | | | | | | | | | | | | Old OpenWrt releases were using network configs that are not valid anymore. They were specifying ports tagging in a different way (or were not tagging CPU at all) and were using VID 0 which is a reserved value. Modifying network configuration to apply all needed changes would be pretty tricky. Script /etc/init.d/netconfig that generates new config is quite complex itself. So instead let's save the most important settings, regenerate config from the scratch and restore values. This should work for 99% of users. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 41500
* brcm47xx: add CONFIG_LEDS_GPIO_REGISTERHauke Mehrtens2014-07-022-1/+1
| | | | | | | | CONFIG_LEDS_GPIO_REGISTER is selected by the bcm47xx arch code. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41488
* 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-026-0/+294
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41486
* kernel: update 3.10.36->3.10.44John Crispin2014-06-261-1/+1
| | | | | | | | 205-fix-headers_install.patch is obseleted by upstream commit 3246a0352e3d58380b9386570f1db1faf7edf8a8 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41351
* brcm47xx: merge FEATURES lines in the legacy subtargetFelix Fietkau2014-06-081-2/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41053
* brcm47xx: fix kmod-usb-brcm47xx build on legacy and mips74k subtargetsFelix Fietkau2014-06-081-3/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41052
* brcm47xx: activate some compiler optimizations for 74K CPUsHauke Mehrtens2014-06-074-1/+6
| | | | | | | | | | | With this patch the mips74k subtarget will be compiled with optimized compiler options to generated smaller and faster code. This currently breaks broadcom-wl, because the binary blob is only compiled with mipsr1 support. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41050
* brcm47xx: move the low_mem feature flag to the legacy subtargetFelix Fietkau2014-06-072-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41049
* 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
* brcm47xx: mips74k: optimize kernel configHauke Mehrtens2014-06-071-0/+10
| | | | | | | | | This saves abount 15 kB of compressed kernel size. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41043
* bcm47xx: use eth0 for switch nameHauke Mehrtens2014-06-071-3/+3
| | | | | | | | | | | This fixes some strange problems with tg3. I assume that the Ethernet driver was not brought up if the switch was named switch0. This was reported and tested by ernesto (Faulp3lz). Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41042
* brcm47xx: add a "legacy" subtarget that is usable for low-end 802.11g ↵Felix Fietkau2014-06-077-1/+90
| | | | | | | | devices like WRT54G Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41041
* brcm47xx: add mips74k subtarget for newer devicesHauke Mehrtens2014-06-056-1/+82
| | | | | | | | | | | | | All new devices (with MIPS 74K CPU) are based on BCMA SoC and have Ethernet core supported by bgmac. Create a new subtarget to generate optimized builds. This is just a beginning, further tweaks (like kernel configuration) are still possible. This decreases default root.squashfs by ~128 kB. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41025
* brcm47xx: move current target to "generic" subtargetHauke Mehrtens2014-06-0523-11/+22
| | | | | | | | | This allows creating more subtargets and optimize builds per family. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41024
* brcm47xx: enable the low-memory feature flagFelix Fietkau2014-06-021-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 40982
* target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGCJohn Crispin2014-06-021-1/+1
| | | | | | | | | | | | | | | | | | | ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct var $# (=number of args) here. under normal conditions this had no impact, but we should at least correct it. the error was observable like this: root@box:~ [ -e "/etc/functions.sh" ] && . /etc/functions.sh root@box:~ [ -e "/lib/functions.sh" ] && . /lib/functions.sh root@box:~ . /lib/upgrade/platform.sh root@box:~ . /lib/upgrade/common.sh root@box:~ platform_check_image /tmp/myfirmware.bin ash: bad number root@box:~ echo $? 0 Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 40915
* 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: profiles: fix white spaces (s/ $//)Hauke Mehrtens2014-05-1412-19/+19
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 40763
* brcm47xx: image: respect device flash block sizeHauke Mehrtens2014-05-141-22/+22
| | | | | | | | | We should be more careful and don't generate 128K JFFS2 images for devices with flashes using 64K blocks (nor the other way). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 40762
* brcm47xx: image: document some defines argumentsHauke Mehrtens2014-05-141-0/+14
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 40761
* kernel: update 3.10 to 3.10.36Gabor Juhos2014-04-121-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 40467
* brcm47xx: refresh patchesHauke Mehrtens2014-04-083-4/+4
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 40425
* 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-302-0/+26
| | | | | | | | | 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-302-6/+18
| | | | | | | 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-272-8/+8
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 40291
* brcm47xx: add initial support for kernel 3.14Hauke Mehrtens2014-03-1222-0/+1958
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 39905
* brcm47xx: explicitely mention MIPS to avoid confusionFlorian Fainelli2014-03-081-1/+1
| | | | | | | | | And while at it, fix the nomenclature, BCM947xx/953xx refer to specific boards, while BCM47xx/BCM53xx refer to chip identification number. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 39841
* 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
* kernel: update 3.10 to 3.10.32Gabor Juhos2014-02-231-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39707
* 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