aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx
Commit message (Collapse)AuthorAgeFilesLines
* brcm63xx: Add DT support for AR-5387unJonas Gorski2014-08-2128-55/+74
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42240
* brcm63xx: Add DT support for AR-5381uJonas Gorski2014-08-2127-54/+73
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42239
* brcm63xx: Add DT support for CT-6373Jonas Gorski2014-08-2128-40/+81
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> [jogo: make linux partition writable] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42238
* brcm63xx: Add DT support for CT-5365Jonas Gorski2014-08-2140-64/+105
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> [jogo: make linux partition writable] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42237
* brcm63xx: use DT for partitions on SPW500VJonas Gorski2014-08-211-0/+22
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42236
* brcm63xx: dts: fix spelling of "bank-width"Jonas Gorski2014-08-213-3/+3
| | | | | | | | Fixes pflash registration through DT for 6338/6345/6348. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42235
* brcm63xx: dsl-274xb-c: linux partition should not be read-onlyJonas Gorski2014-08-211-1/+0
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42234
* brcm63xx: enable fallback sprom for Speedport W500 VJonas Gorski2014-08-1845-71/+78
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42211
* brcm63xx: tag images/dtbs with profilesJonas Gorski2014-08-181-30/+40
| | | | | | | | | | This prevents generating every supported image, except for de "Default" profile. Also fixes Neufbox 6 image generation. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42210
* brcm63xx: add profiles for DTB supported devicesJonas Gorski2014-08-1818-162/+180
| | | | | | | | | Remove generic profiles and add profiles for each DTB supported device. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42209
* brcm63xx: move generic profiles to top dir and remove smp profilesJonas Gorski2014-08-1815-100/+0
| | | | | | | | | | Use generic profiles for brcm63xx instead of having similar profiles for each subtarget. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42208
* brcm63xx: simplify HG556a image generationJonas Gorski2014-08-181-13/+4
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42207
* brcm63xx: fix HG556a boards and remove fallback boardJonas Gorski2014-08-1821-148/+43
| | | | | | | | | | | | This changes board info to match the Wiki http://wiki.openwrt.org/toh/huawei/hg556a, removes the no longer needed fallback board and fixes HG556 Ralink eeprom extraction. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> [jogo: rename partitions instead] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42206
* brcm63xx: remove now obsolete board fixup codeJonas Gorski2014-08-1166-244/+172
| | | | | | | | | Now that we migrated all users to dtb based detection, we can drop the board fixup code. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42129
* brcm63xx: use dtb board detection for neufbox 4Jonas Gorski2014-08-1148-433/+96
| | | | | | | | This splits up neufbox 4 for now into two images, one for each OEM. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42128
* brcm63xx: use dtb board detection for NB6Jonas Gorski2014-08-1125-47/+44
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42127
* brcm63xx: use dtb board detection for HW556Jonas Gorski2014-08-1121-83/+151
| | | | | | | | | | This requires individual images for each board version for now. Linux partition was shrunk to ensure writing thewrong image won't erase wifi calibration data. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42126
* brcm63xx: replace CFEFIXUP usage with dtb based detectionJonas Gorski2014-08-1156-104/+190
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42125
* brcm63xx: move bcm96328avng to dtb detectionJonas Gorski2014-08-112-3/+12
| | | | | | | | Use appended dtb for board detection for bcm96328avng. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42124
* brcm63xx: add support for registering parallel flash through dtbJonas Gorski2014-08-1122-21/+711
| | | | | | | | | Add the required nodes to the dtsi files and code to prevent double registration from the board support code. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42123
* brcm63xx: add helpers for building cfe images with dtbJonas Gorski2014-08-111-0/+24
| | | | | | | | Add a helper for building images with dtb appended kernels. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42122
* brcm63xx: add support for attaching dtbs to lzma kernelsJonas Gorski2014-08-111-5/+26
| | | | | | | | | | In preparation for switching to dtb based board identification, add support for building lzma-loader and lzma cfe kernels with dtb appended. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42121
* brcm63xx: add empty dtsi files for each of the supported SoCsJonas Gorski2014-08-119-0/+187
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42120
* brcm63xx: add and enable support for loading an appended dtbJonas Gorski2014-08-1168-153/+620
| | | | | | | | | Allow appending a dtb blob to the binary and use it for identifying the board. Fall back to nvram based identification in case of no dtb passed. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42119
* brcm63xx: correctly export fallback sprom for brcm-wlJonas Gorski2014-08-111-2/+13
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 42118
* 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> SVN-Revision: 42117
* 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> SVN-Revision: 42116
* 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> SVN-Revision: 42110
* 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> SVN-Revision: 42109
* 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> SVN-Revision: 42108
* 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> SVN-Revision: 42107
* 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> SVN-Revision: 42106
* 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> SVN-Revision: 42105
* 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> SVN-Revision: 42104
* 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> SVN-Revision: 42103
* 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> SVN-Revision: 42102
* 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> SVN-Revision: 42101
* 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> SVN-Revision: 42100
* 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> SVN-Revision: 42099
* 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> SVN-Revision: 42098
* 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> SVN-Revision: 42097
* kernel: update 3.14 to 3.14.16Luka Perkov2014-08-081-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 42070
* 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> SVN-Revision: 41944
* 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> SVN-Revision: 41942
* 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> SVN-Revision: 41941
* 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> SVN-Revision: 41940
* 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> SVN-Revision: 41861
* 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> SVN-Revision: 41856
* 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> SVN-Revision: 41852
* 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> SVN-Revision: 41851