aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx
Commit message (Collapse)AuthorAgeFilesLines
* brcm63xx: fix CT-536p/CT-5621T supportSigned-off-by: Daniel Gonzalez2016-09-282-2/+2
| | | | | | | | | | | Fix support for the Comtrend CT-536+, CT-5361 and CT-5621T routers support. Currently the firmware is broken for these routers, because there is a missing bar in the code at the DTS file avoiding to match with DTS stuff at the kernel. This causes the router boots without ethernet connectivity. The status led also has a typo. Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com> Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: fix HG556a C buttonSigned-off-by: Daniel Gonzalez2016-09-281-1/+1
| | | | | | | One button of the HG556a-C has the wrong GPIO pin defined in the dts file, fix it Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
* brcm63xx: fix image generation with offsets/blocksizes != 64KJonas Gorski2016-09-281-2/+2
| | | | | | | | | | | Defer the CFE_EXTRAs evaluation to allow overriden BLOCK_SIZE and IMAGE_OFFSET take effect, and replace the unused IMAGE_SIZE with IMAGE_OFFSET in DEVICE_VARS. This fixes image generation for targets using different offsets or blocksizes. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: fix CVG834G compatible stringJonas Gorski2016-09-281-1/+1
| | | | | | | The CVG834G claimed to be a BCM6348, but is actually BCM3368. Since we don't test against it, this was harmless. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* kernel: rename B53 symbols to avoid upstream kernel conflictRafał Miłecki2016-07-041-6/+6
| | | | | | | | | In kernel 4.7 there is upstreamed b53 driver using (mostly?) the same symbols as our b53 does. Change our symbols so both drivers can coexist in kernel tree. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Acked-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: simplify block size and image offset optionsÁlvaro Fernández Rojas2016-06-271-34/+45
| | | | | | | | Instead of having CFE_EXTRAS for every device that need specific block sizes and image offset, let's define a couple of vars which can be customized for each device. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: add sysupgrade imagesÁlvaro Fernández Rojas2016-06-272-20/+31
| | | | | | | | | | Some devices require padded images in order to prevent CFE from flashing them to the wrong offset. For small flashes (4/8) this is no big deal, but for larger flashes (16/32) this implies 8 and 16 MB images, which is way too large and some devices aren't capable of flashing them through sysupgrade. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: merge DSL-274X-F1 profilesJonas Gorski2016-06-271-16/+6
| | | | | | | The only difference is a field in the image tag header, so just define two images for it instead of treating them as separate devices. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: move the bootargs into the dtb filesJonas Gorski2016-06-2784-3/+334
| | | | | | Instead of using a fixed commandline, allow one per device. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: use upstreamed compatible name for the periph intcJonas Gorski2016-06-2711-11/+11
| | | | | | | This makes the eventual migration to bmips easier, as dts files will require less changes. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: fix external IRQsDaniel Gonzalez2016-06-271-9/+9
| | | | | | | | | | | | | External IRQs are currently broken, fix the BCM6345_EXT_IRQ driver. Since the adoption of the new driver irq-bcm6345-ext, in Chaos Calmer, external IRQs don't work. It seems there were some minor errors at the initial development of the driver. This patch fixes the ticket https://dev.openwrt.org/ticket/21613 Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com> Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: fix single profile selectionÁlvaro Fernández Rojas2016-06-271-0/+1
| | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: improve image/MakefileÁlvaro Fernández Rojas2016-06-271-2/+1
| | | | | | | - Use KERNEL_INITRAMFS_SUFFIX for customizing initramfs name. - Modifying $(PROFILES) is no longer needed. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: fix typo image/MakefileÁlvaro Fernández Rojas2016-06-271-1/+1
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: add initial support for Netgear EVG2000Graham Fairweather2016-06-278-1/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for the Netgear EVG2000 VoIP Gateway to the bcm63xx targets. This device was not sold to the general public, but rather is/was provided by telcos to customers in Sweden, Australia, Singapore and other parts of asia. Known issues: - Unable to detect 53115 switch. This appear to be a problem with probing for the PHY using MDIO and results in error 5. Doesn't seem to be a problem with the configuration, and could use someone with experience to have a look at it. - Uses the b43 driver as using the OpenWRT/LEDE broadcom-wl driver fails to load the firmware for the 4322, so 802.11n is not supported. More info on the device and the research can be found at: https://wiki.openwrt.org/toh/netgear/evg2000 https://wikidevi.com/wiki/Netgear_EVG2000 https://github.com/Xotic750/mirror-lede/tree/evg2000 https://forum.openwrt.org/viewtopic.php?id=63950 Signed-off-by: Graham Fairweather <xotic750@gmail.com> Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: set DSL-274XB-F1 ath9k LED as active highÁlvaro Fernández Rojas2016-06-2735-102/+103
| | | | | | D-Link DSL-274XB rev F1 has an active high ath9k LED. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: set HG556a A/B ath9k LED as active highÁlvaro Fernández Rojas2016-06-2724-61/+63
| | | | | | Huawei HG556a has an active high ath9k LED. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: add support for inverting ath9k LED polarityÁlvaro Fernández Rojas2016-06-272-9/+12
| | | | | | | Some devices with ath9k WiFi require changing the default active low polarity to high in order to correctly operate the WiFi status LEDs. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: move profiles definitions to image/MakefileÁlvaro Fernández Rojas2016-06-2728-1359/+1072
| | | | | | This switches brcm63xx to the new profile definition system in image/Makefile Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: refresh kernel patches and configÁlvaro Fernández Rojas2016-06-274-12/+19
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: switch to linux 4.4Álvaro Fernández Rojas2016-06-271-1/+2
| | | | | | Boot tested on AR-5381u, AR-5387un and WAP-5813n Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: fix F@ST2704V2 image generationÁlvaro Fernández Rojas2016-06-271-1/+1
| | | | | | This device needs the firmware padded to 4MB. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: update kernel 4.1 to version 4.1.20Hauke Mehrtens2016-03-181-1/+1
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49035 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.4 to version 4.4.6Hauke Mehrtens2016-03-171-1/+1
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49032 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix BCM3368 interrupt controller addressesJohn Crispin2016-03-101-2/+2
| | | | | | | | | Looks like the addresses for BCM3368 were wrongly defined when DT support was introduced. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48980 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx/lzma-loader: fix O32 ABI conformanceJohn Crispin2016-03-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | According to the calling convention of the o32 ABI the caller function must reserve stack space for $a0-$a3 registers in case the callee needs to save its arguments. The assembly code of the loader does not reserve stack space for these registers thus when the 'loader_main' function needs to save its arguments, those will be stored in the 'workspace' area instead of the stack. Because the workspace area is also used by other part of the code, the saved register values gets overwritten and this often leads to failed kernel boots. Fix the code to reserve stack space for the registers to avoid this error. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> [noltari: apply the fix for brcm63xx too] Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48979 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.4 to version 4.4.3Hauke Mehrtens2016-02-252-4/+4
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48783 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: remove default /etc/config/network, generate it via board.d insteadFelix Fietkau2016-01-251-5/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48493 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix build of lzma-loader with binutils 2.25.1Jonas Gorski2016-01-241-1/+2
| | | | | | | | Apply the same fix as ar71xx needed in r46893. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48473 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: add support for Huawei HG622Jonas Gorski2016-01-1811-0/+240
| | | | | | | 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@48305 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix platform gpio lookups for gpios < 32Jonas Gorski2016-01-184-38/+20
| | | | | | | | | | | | | Overwriting static strings is never a good idea, especially expecting identical strings to be stored in different memory locations. This caused the lookups to always return the second chip's name. Fix this by just initializing the lookup with the right values, so we don't need to modify the strings at all. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48303 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/4.1: update to version 4.1.15Hauke Mehrtens2016-01-121-3/+3
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48223 3c298f89-4303-0410-b956-a3cf2f4a3e73
* targets: add kernel image dependencies on device tree filesFelix Fietkau2016-01-061-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48146 3c298f89-4303-0410-b956-a3cf2f4a3e73
* all: drop old uci-defaults.shJo-Philipp Wich2015-12-112-2/+2
| | | | | | | | | Replace former uci-defaults.sh implementation with the uci-defaults-new.sh one and update all users accordingly. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47867 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: switch from uci-defaults to board.dJo-Philipp Wich2015-12-043-158/+143
| | | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> Acked-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47754 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: add linux 4.4 supportJonas Gorski2015-12-02158-0/+16159
| | | | | | | | Only netboot tested. Flash at your own risk. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47702 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Add NuCom R5010UNv2 supportJonas Gorski2015-12-029-0/+163
| | | | | | | | | | | | | | | | | This patch adds support for the NuCom R5010UNv2. It's a BCM6328 based board. It has an onboard BCM43217 wifi chip. For this wifi chip looks like the brcmsmac driver isn't still supported, b43 drivers are used for the profile of the router. It's worth mentioning this board was affected by a bug solved with https://dev.openwrt.org/changeset/46707 Tested-by: Angel Fontan <angel.fontan@gmail.com> Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47697 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: drop 3.18 supportJonas Gorski2015-12-02166-16711/+0
| | | | | | | | Drop 3.18 support; it will live on in CC. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47696 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update m25p80 in 4.1 to the latest version from 4.4-rc1Felix Fietkau2015-11-243-9/+9
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47624 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix brcm, bcm6345-ext-intc interrupt controllerJonas Gorski2015-11-042-6/+8
| | | | | | | | | brcm,field-width is read but unused 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@47379 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix Netgear CVG834G HCS magic bytesJonas Gorski2015-11-041-1/+1
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Acked-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47378 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: lzma-loader: add BCM3380 supportJonas Gorski2015-11-041-0/+5
| | | | | | | 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@47377 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: lzma-loader: add BCM3368 supportJonas Gorski2015-11-041-1/+4
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Acked-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47376 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix BCM3368 external interruptsJonas Gorski2015-11-041-1/+1
| | | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Acked-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47375 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.18 to 3.18.21Jonas Gorski2015-09-021-13/+13
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.21 Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46768 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: disable the openwrt commandline hackJonas Gorski2015-08-302-2/+0
| | | | | | | | We don't make use of it, so no need to have it enabled. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46757 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: remove legacy led/button related patchesJonas Gorski2015-08-3084-451/+309
| | | | | | | | | We register all gpio buttons and leds through DT, so no need to keep fixes/additions for the platform data based bay. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46753 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: add Comtrend VR-3026e supportJonas Gorski2015-08-3010-1/+267
| | | | | | | | | | Add support for Comtrend VR-3026e v1. The device is almost identical to the Comtrend VR-3025un. Signed-off-by: Martin Tesar <tesarmar@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46752 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix WAP-5813n default network configJonas Gorski2015-08-261-1/+1
| | | | | | | | | | | /etc/uci-defaults/02_network had a typo, making it generate the wrong network config. Closes #20407. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46727 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: enable dual rx/tx spi support for hsspiJonas Gorski2015-08-253-4/+74
| | | | | | | | | | should improve flash access times. Should be harmless to gnerally enable regardless if a flash supporting dual reads is attached. In doubt, spi-nor will just fall back to serial reads. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46725 3c298f89-4303-0410-b956-a3cf2f4a3e73