aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx
Commit message (Collapse)AuthorAgeFilesLines
...
* brcm63xx: correctly export fallback sprom for brcm-wlJonas Gorski2014-08-111-2/+13
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42118 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: make board patch context less ambiguousJonas Gorski2014-08-1126-29/+85
| | | | | | | | | Make it less likely for quilt/patch to put boards into the "wrong" section. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42117 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix board patches offsetsJonas Gorski2014-08-1143-98/+96
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> [jogo fix 553-boards_probe_switch.patch] Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42116 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Add fallback sprom for A4001NJonas Gorski2014-08-102-3/+10
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42110 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Add fallback sprom for HG520vJonas Gorski2014-08-103-4/+11
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42109 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Add fallback sprom for P870HW-51aJonas Gorski2014-08-104-5/+12
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42108 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Add fallback sprom for VR-3025unJonas Gorski2014-08-105-6/+24
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42107 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Add fallback sprom for VR-3025uJonas Gorski2014-08-106-10/+28
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42106 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Add fallback sprom for WAP-5813nJonas Gorski2014-08-107-8/+26
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42105 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Add fallback sprom for AR-5381uJonas Gorski2014-08-1024-57/+75
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42104 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Add fallback sprom for AR-5387unJonas Gorski2014-08-1025-56/+92
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42103 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Add fallback sprom for A4001N1Jonas Gorski2014-08-1026-54/+61
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42102 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Add fallback sprom for CT6373Jonas Gorski2014-08-1025-38/+45
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42101 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Add fallback sprom for CT5365Jonas Gorski2014-08-1037-65/+72
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42100 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Add fallback sprom for CT5361_CT5621Jonas Gorski2014-08-1039-69/+76
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42099 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Add fallback sprom for Huawei HG553Jonas Gorski2014-08-1045-87/+94
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42098 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Fix fallback sprom il0macJonas Gorski2014-08-107-9/+9
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42097 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.14 to 3.14.16Luka Perkov2014-08-081-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42070 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: add preliminary support for D-Link DSL-2751B E1Jonas Gorski2014-08-015-2/+160
| | | | | | | | | | | | Mostly works except for USB led. Flashing not tested yet. Mostly as an example for the sprom fixup code. Fixup values taken from GPL tarball by comparing bcm43217_map.c with the struct in sprom.c. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41944 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: rework fallback sprom supportJonas Gorski2014-08-0173-175/+1954
| | | | | | | | | | | Rework fallback sprom support by providing different sproms for different chips. Also make it optional to use. This likely causes sprom fallback support to break on a few boards. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41942 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: switch to 3.14Jonas Gorski2014-08-01191-21925/+1
| | | | | | | | | Now that BB is branched off, we can now switch to 3.14 and start breaking stuff again. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41941 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: add working lzma-loader and use it for initramfsJonas Gorski2014-08-0123-931/+1586
| | | | | | | | | | | | Add a working lzma loader and use it for generating initramfs kernels to allow easily netbooting elf kernels on devices with a 4 MiB CFE size limit. Based on ar71xx's lzma-loader. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41940 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: replace nvram_buf with a properly initialized arrayJonas Gorski2014-07-282-22/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use an empty nvram_header to tell wl that there is no nvram buf. wl else might try to allocate huge amount of memory because the bcm63xx's nvram does not match the expected structure and contains random values. Fixes the following warning on load of wl: [ 9.152000] WARNING: at mm/slab_common.c:377 kmalloc_slab+0x4c/0xc0() [ 9.160000] Modules linked in: wl(P+) wl_glue ipv6 gpio_keys_polled input_polldev button_hotplug input_core [ 9.168000] CPU: 0 PID: 366 Comm: kmodloader Tainted: P 3.10.49 #1 [ 9.176000] Stack : 00000000 00000000 00000000 00000000 8034b77a 00000042 81ac9af0 c02e0000 [ 9.176000] 8028bf70 802df31b 0000016e 8034af28 81ac9af0 c02e0000 c02e0000 81b39810 [ 9.176000] 0000002d 8002c9d4 00000003 8002a3c8 802937a0 c02e0000 8028e528 81ab398c [ 9.176000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 9.176000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 81ab3918 [ 9.176000] ... [ 9.212000] Call Trace: [ 9.216000] [<800224b8>] show_stack+0x48/0x70 [ 9.220000] [<8002a538>] warn_slowpath_common+0x78/0xa8 [ 9.224000] [<8002a5f0>] warn_slowpath_null+0x18/0x24 [ 9.228000] [<8008145c>] kmalloc_slab+0x4c/0xc0 [ 9.236000] [<80097258>] __kmalloc+0x20/0x10c [ 9.240000] [<80e23b90>] osl_malloc+0x24/0x6c [wl] [ 9.244000] [<80e15288>] nvram_init+0x54/0x164 [wl] [ 9.252000] [<80e08668>] si_pci_fixcfg+0x60c/0x9e8 [wl] [ 9.256000] [ 9.260000] ---[ end trace b5c4dbb046cf3c83 ]--- Reported-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41861 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: 3.14: fix ath9k_pci_fixupJonas Gorski2014-07-283-3/+10
| | | | | | | | | | | | | | | | | | | Since kernel commit 928bea964827 ("PCI: Delay enabling bridges until they're needed"), pci fixups are run with bridges (e.g. the pcie port) disabled. This causses hangs when ath9k_pci_fixup tries to manually enable the device to apply the register fixups. Fix this by enabling any parent bridges before trying to access the device itself. Fixes boot on DSL-274XB rev F1. Reported-by: Matteo Croce <matteo@openwrt.org> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41856 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Add support for ADB P.DG A4001NJonas Gorski2014-07-277-0/+210
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41852 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Add support for Huawei HG520vJonas Gorski2014-07-275-1/+130
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41851 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Add support for ZyXEL P870HW-51a v2Jonas Gorski2014-07-276-1/+224
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41850 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Add support for Comtrend VR-3025unJonas Gorski2014-07-276-0/+227
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41848 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Add support for Comtrend VR-3025uJonas Gorski2014-07-276-0/+227
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: José Vázquez Fernández <ppvazquezfer@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41847 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
* brcm63xx: update irq affinity code to latest versionJonas Gorski2014-07-1220-128/+170
| | | | | | | | Reduces code size a bit and sets affinity to boot cpu by default. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41591 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: base-files: order board names alphabeticallyJonas Gorski2014-07-123-60/+60
| | | | | | | | Restore alphatetical order in uci-defaults scripts and brcm63xx.sh Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41590 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Use leds script for Huawei HG556a and improve profileJonas Gorski2014-07-122-4/+8
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41589 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Fix HW553 supportJonas Gorski2014-07-1268-125/+130
| | | | | | | | | | | | | | | - adsl and lan leds are swapped. - internetkey is labeled as hspa. - enable status led and reset button for failsafe. - use new leds script. - fix switch configuration. - remove enet0 from board_info. - add profile. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41588 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Use model name for Comtrend AR-5381uJonas Gorski2014-07-126-14/+15
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41587 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Use model name for Comtrend AR-5387unJonas Gorski2014-07-126-20/+21
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41586 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Use model name for ADB P.DG A4001N1Jonas Gorski2014-07-1211-39/+42
| | | | | | | | | This patch also makes use of the new leds script. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41585 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fixup patches borked by allowing too much fuzzJonas Gorski2014-07-0882-222/+210
| | | | | | | | | | Move defines and board_info structs back to their proper locations so (de-)selecting SOC support won't break the build. Reported-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41550 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: disable AUDITJonas Gorski2014-07-042-4/+0
| | | | | | | | Reduces kernel size by about 24k (6k compressed). Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41506 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix Livebox 1 supportJonas Gorski2014-06-304-16/+22
| | | | | | | | | | | | | | | | | The Livebox 1 support is currently broken. Fixed with this patch Fixes: - Redboot partitioning broken: fixed - Replaced custom ephy reset with platform code - USB code breaks the building process: fixed - Led colors - Removed unneded EHCI code since bcm6348 only has OHCI Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com> [jogo: drop unneded parts since merge, fixup to apply to current head] Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41424 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: 3.10: backport multi-board supportJonas Gorski2014-06-3076-632/+1289
| | | | | | | | There have been no reported regressions, so backport it to 3.10. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41422 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Add support for Comtrend WAP-5813nJonas Gorski2014-06-307-3/+254
| | | | | | | | | | This adds support for Comtrend WAP-5813n. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> [jogo: refresh patches] Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41421 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: CPVA502+ board fixesJonas Gorski2014-06-3055-111/+103
| | | | | | | | | | | | | | | Some fixes for Telsey CPVA502+ bcm6348 routers: - reset the external PHY (eth1) with proper platform code, not using a led definiton - eth1 is an external phy, not a switch, deleted forced link speed - fixed led color Patch made for 3.14 kernel patches. Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com> [jogo: also fix 3.14, refresh patches] Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41420 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
* brcm63xx: allow bcm963xx and livebox support at the same timeJonas Gorski2014-06-2175-625/+1272
| | | | | | | | | Use the CFE_EPTSEAL to tell them apart at runtime. Added for now only for the 3.14 until properly tested. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41296 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: update variant detection patches and fix VARID shiftJonas Gorski2014-06-2118-29/+45
| | | | | | | | | The variant id field shift was wrong, causing the variant detection to fail. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41295 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix up borked patchJonas Gorski2014-06-212-2/+30
| | | | | | Fix up patch borked by quilt fuzzy application of patches. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41294 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40915 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.10 to 3.10.36Gabor Juhos2014-04-121-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40467 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: hack around jffs2 corruption with SMPJonas Gorski2014-04-062-0/+52
| | | | | | | | | | | | mempy_fromio seems to be randomly failing when the destination is unaligned; work around it by forcing the name to be aligned in memory. Should fix jffs2 and SMP for now, but needs to be some additional looking into as it does not fix the source. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40396 3c298f89-4303-0410-b956-a3cf2f4a3e73