aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx
Commit message (Collapse)AuthorAgeFilesLines
* kernel: update 3.14 to 3.14.18Luka Perkov2014-09-105-27/+5
| | | | | | | | Targets were build tested and patches are refreshed. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42463 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: 3.14: update bcm47xxpartHauke Mehrtens2014-08-181-2/+2
| | | | | | | | | It it used by brcm47xx and bcm53xx targets, so put patches in generic. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42212 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: build alternative TRX using less optimized LZMAHauke Mehrtens2014-08-181-0/+8
| | | | | | | | | | | | | | | | | | There is a group of devices that lzma-loader doesn't work with. They simply hang at "Starting program at 0x80001000" which is really hard to debug and we didn't find any solution for this for years. Broadcom doesn't use lzma-loader on these devices anyway. They decided to drop lzma-loader and use less optimal LZMA compression that can be handled by CFE itself (it doesn't use dictionary). So support these devices we will need kernel compressed with different parameters and trx without a loader. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42205 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx/bcm53xx: improve descriptionHauke Mehrtens2014-08-181-0/+5
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42204 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: update to kernel 3.14Hauke Mehrtens2014-08-181-1/+1
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42202 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: update list of Netgear WNR* firmwaresHauke Mehrtens2014-08-141-2/+6
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42165 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix brcm47xx.legacy buildHauke Mehrtens2014-08-142-4/+4
| | | | | | | | | we should check for ssb here. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42164 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix reboot problem on BCM4705/BCM4785Hauke Mehrtens2014-08-084-13/+36
| | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42088 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42083 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: activate high mem for mips74k in the configHauke Mehrtens2014-08-073-3/+4
| | | | | | | | | It is still not working. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42054 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: 3.14: backport MIPS patches for early HIGHMEM supportHauke Mehrtens2014-08-075-2/+357
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42053 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: 3.10: backport MIPS patches for early HIGHMEM supportHauke Mehrtens2014-08-077-5/+360
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42052 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: 3.14: update MIPS patches with versions sent upstreamHauke Mehrtens2014-07-319-112/+147
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41911 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: 3.10: update MIPS patches with versions sent upstreamHauke Mehrtens2014-07-319-112/+147
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41910 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: don't create named switch_vlan sectionsHauke Mehrtens2014-07-261-2/+0
| | | | | | | | | | | | It doesn't seem to be used anywhere, it's incompatible with other targets and can be confusing. People may think they need to update section name every time they change VLAN ID (well, even I was doing that). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41835 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update to 3.10.49John Crispin2014-07-201-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41776 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix switch detection with kernel 3.14Hauke Mehrtens2014-07-171-0/+22
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41706 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: remove kmod-bgmac from profileHauke Mehrtens2014-07-154-4/+4
| | | | | | | | | bgmac will be compiled into the kernel since r41594. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41667 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix LEDs on WRT54GL 1.1Hauke Mehrtens2014-07-154-14/+66
| | | | | | | | Ticket: #17062 Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41666 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix special board handling for some devicesHauke Mehrtens2014-07-141-19/+7
| | | | | | | | | | | | | Some devices were renamed when converted from diag to in kernel board detection and it was not changed in netconfig. Devices not in the kernel board detection are removed now. This should close: #17111, #16968, #13202 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41663 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: improve board detection for some devicesHauke Mehrtens2014-07-146-0/+420
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41662 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: deactivate ssb and old phy code for new devicesHauke Mehrtens2014-07-122-2/+5
| | | | | | | | | | This deactivates ssb and G-PHY code in b43 for the mips74k profile in brcm47xx. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41594 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/linux/*: more dead package cleanupsJohn Crispin2014-07-101-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41571 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/linux/*: kmod-fs-ext{2,3} RIPJohn Crispin2014-07-102-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41560 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41548 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add buttons support for Netgear WNR3500LHauke Mehrtens2014-07-072-0/+50
| | | | | | | | | Ticket: #14406 Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41547 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41546 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: legacy: take over old devices imagesHauke Mehrtens2014-07-061-25/+52
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41530 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41529 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: prepare for using mips74k subtargetHauke Mehrtens2014-07-061-0/+20
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41528 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41527 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41520 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: make it possible to unregister the adm switchHauke Mehrtens2014-07-052-54/+94
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41517 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41516 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41515 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41513 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41512 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41501 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41500 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41488 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: refresh patchesHauke Mehrtens2014-07-022-5/+5
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41487 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41486 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41351 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: merge FEATURES lines in the legacy subtargetFelix Fietkau2014-06-081-2/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41053 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix kmod-usb-brcm47xx build on legacy and mips74k subtargetsFelix Fietkau2014-06-081-3/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41052 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41050 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: move the low_mem feature flag to the legacy subtargetFelix Fietkau2014-06-072-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41049 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41048 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41043 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41042 3c298f89-4303-0410-b956-a3cf2f4a3e73