aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx
Commit message (Collapse)AuthorAgeFilesLines
* brcm63xx: probe gpio controllers through DTJonas Gorski2015-02-2750-82/+1550
| | | | | | | | | | | | | | | | Add a generic mmio gpio controller based driver and probe it through device tree. Use aliases for base calculation until we converted all users to device tree or named gpios. Convert bcm63xx_enet's ephy-reset gpio to use a named gpio. While at it, remove the duplicate reset gpio defintion for livebox. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44565
* brcm63xx: convert BTV2500V to dtsJonas Gorski2015-02-2735-39/+99
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44564
* brcm63xx: convert RTA1320 to dtsJonas Gorski2015-02-2741-38/+93
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44563
* brcm63xx: convert RTA1025 to dtsJonas Gorski2015-02-273-2/+47
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44562
* brcm63xx: use dtb for cvg834gJonas Gorski2015-02-274-14/+134
| | | | | | | | | | | | | Add a dtsi for bcm3368, add a dts and profile for cvg834g, and convert it to use ImageDTB. Since HCS requires more arguments, enhance the max arguments of the call. The image name is intentionally left blank to prevent non-initramfs images to be built, as they currently contain no rootfs and consequently won't work. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44561
* brcm63xx: image: move image argument to front in *DTB callsJonas Gorski2015-02-271-101/+101
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44560
* brcm63xx: add dts and profile for LiveboxJonas Gorski2015-02-275-61/+119
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44559
* brcm63xx: allow lzma to use 32MB RAMJonas Gorski2015-02-271-4/+5
| | | | | | | | | | | | | Most 16 MiB RAM devices don't even load elf kernels, so it's safe to assume we have at least 32 MB RAM. This fixes tftp booting with the default package set as this already produces an uncompressed kernel > 8 MiB. New limit is 8 MiB compressed / 24 MiB compressed. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44558
* package: mtd: move bcm963xx_tag definition into source codeJonas Gorski2015-02-2713-56/+27
| | | | | | | | | | Remove the need for the header file to be exported - we don't need most of it anyway; all we care about are the offset of the rootfs length and header crc fields. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44557
* brcm63xx: do not align squashfs rootfs startJonas Gorski2015-02-271-6/+9
| | | | | | | | | | | | | We do not need to align the start of read only rootfs's to erase blocks. This allows us to write the squashfs rootfs directly behind the kernel, potentially freeing up one erase block. We still need to align for jffs2, so add a flag for imagetag to optionally align the rootfs start. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44556
* brcm63xx: drop call to prepare_generic_squashfsJonas Gorski2015-02-271-3/+0
| | | | | | | | We do not use the result, so no need to call it. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44555
* targets: base-files: diag.sh does not need to be executableLuka Perkov2015-02-071-0/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 44305
* targets: files in uci-defaults do not need to be executablesLuka Perkov2015-02-072-0/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 44304
* add "preinit_regular" diag.sh set_state argumentJohn Crispin2014-12-151-0/+3
| | | | | | | | | | | | This new argument is used right after starting regular preinit (which happens if failsafe wasn't triggered). The main purpose of "preinit" argument is to indicate that failsafe can be triggered, however we were missing a way to inform user that we don't wait for a trigger anymore. With this change it's clear when failsafe mode can be triggered. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43715
* brcm63xx: fix a few issues in irq chip driversJonas Gorski2014-12-0826-425/+546
| | | | | | | | Fix locking and lock usage, making it compile for SMP. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 43578
* brcm63xx: alphabetically order image generationJonas Gorski2014-12-081-5/+5
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 43577
* brcm63xx: refresh patchesJonas Gorski2014-12-0848-70/+70
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 43576
* brcm63xx: add DT support for USR9108Jonas Gorski2014-12-085-5/+52
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 43575
* brcm63xx: add DT support for F5D7633Jonas Gorski2014-12-087-6/+53
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 43574
* brcm63xx: add DT support for DG834GT/PNJonas Gorski2014-12-085-4/+51
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 43573
* brcm63xx: add DT support for TD-W8900GBJonas Gorski2014-12-089-9/+55
| | | | | | | | | | | | According to the vendor tarball, the TD-w8900GB's flash has 64k erase block size, but CFE spans two blocks. So fixup the image offset accordingly but keep block size at its default (64k). Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> [jogo: add commit message, add image offset, change nvram offset] Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 43572
* brcm63xx: add DT support for DSL-2640BJonas Gorski2014-12-087-4/+59
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 43571
* brcm63xx: add DT support for CPVA642Jonas Gorski2014-12-087-5/+66
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 43570
* brcm63xx: add kernel 3.18 supportJonas Gorski2014-12-01155-0/+18016
| | | | | | | | Add 3.18 support based on 3.18-rc6. Only netboot tested. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 43461
* brcm63xx: register interrupt-controllers through DT when possibleJonas Gorski2014-12-0110-0/+334
| | | | | | | | | Add the required nodes for the interrupt controllers and register them through DT when a DTB is present. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 43457
* brcm63xx: dtsi: add missing ranges properity to ubus nodesJonas Gorski2014-12-019-0/+9
| | | | | | | | Allows nodes behind it to be mapped. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 43456
* brcm63xx: dtsi: add missing properties to cpu nodesJonas Gorski2014-12-019-0/+53
| | | | | | | | Mark them as cpu nodes and add the addresses. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 43455
* brcm63xx: convert to irq domainJonas Gorski2014-12-0119-78/+1842
| | | | | | | | | Add irq-domain aware irqchip drivers for the irq controllers of bcm63xx and switch to use them. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 43454
* brcm63xx: refresh patchesJonas Gorski2014-12-0122-25/+25
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 43453
* brcm63xx: add DT support for DSL-2650UJonas Gorski2014-12-017-6/+47
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 43452
* brcm63xx: add DT support for DSL-2740B/DSL-2741B rev F1Jonas Gorski2014-12-016-5/+30
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 43451
* brcm63xx: Add DT support for F@ST2504nJonas Gorski2014-12-014-3/+27
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 43450
* brcm63xx: add DT support for F@ST2704V2Jonas Gorski2014-12-014-3/+28
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 43449
* brcm63xx: add DT support for F@ST2604Jonas Gorski2014-12-014-3/+49
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 43448
* brcm63xx: add DT support for F@ST2404Jonas Gorski2014-12-013-3/+47
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 43447
* brcm63xx: uci-defaults: network: move DSL-274x1 F1 to right sectionJonas Gorski2014-11-251-1/+1
| | | | | | | | | | The cpu port is at 8, not 5. Fixes #18406. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 43379
* brcm63xx: unify dt image generationJonas Gorski2014-11-251-117/+66
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 43378
* brcm63xx: move rsa signature to additional optionsJonas Gorski2014-11-251-47/+42
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 43377
* brcm63xx: fix image generationJonas Gorski2014-11-251-0/+1
| | | | | | | | This fixes build issues introduced on r43361. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 43376
* brcm63xx: do not build images for unsupported routersJonas Gorski2014-11-241-14/+0
| | | | | | | | | | If there is no board support in the kernel, it does not make sense to build images for devices. So drop any images for board ids for which there are nc corresponding board_info structs in the kernel. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 43364
* brcm63xx: refresh patchesJonas Gorski2014-11-2419-31/+31
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 43363
* brcm63xx: Add DT support for SPW303VJonas Gorski2014-11-244-18/+82
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 43362
* brcm63xx: Add DT support for DV-201AMRJonas Gorski2014-11-245-12/+74
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 43361
* brcm63xx: Add DT support for RG100AJonas Gorski2014-11-244-13/+50
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 43360
* brcm63xx: Add DT support for A226G/MJonas Gorski2014-11-246-18/+116
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 43359
* brcm63xx: Add DT support for AGPF-S0Jonas Gorski2014-11-243-3/+48
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 43358
* brcm63xx: move board compatible strings into a tableJonas Gorski2014-11-2262-398/+490
| | | | | | | | | | Move compatible strings from board structs into separate table. This allows for several board compatibles to match to the same board in case e.g. only the flash size / partitions differ. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 43341
* kernel: makefiles: make use of new var KERNEL_PATCHVERFelix Fietkau2014-10-241-1/+1
| | | | | | | | | | | replace all occurences of LINUX_VERSION with the cleaner approach. future kernel upgrades must mostly touch only one file. the only platform left is netlogic, because it uses a intermediate kernel 3.14.16 Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 43047
* brcm63xx: fix wrong fixups pointerJonas Gorski2014-10-031-1/+1
| | | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42756
* brcm63xx: update spw500v sprom to values from gpl tarballJonas Gorski2014-10-0245-71/+81
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 42740