aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx
Commit message (Collapse)AuthorAgeFilesLines
* CC: 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. Backport of r46727. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46728 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: brcm63xx: ensure dummy byte is set for mapped spi flash with fast readJonas Gorski2015-08-239-39/+60
| | | | | | | | | | | | | | | Some CFEs seem to misconfigure the mapped memory flash access with fast read but without a dummy byte, causing all accesses to be prefixed with 0xff. This of course breaks reading out the nvram, so do not just move back to single i/o accessors, but also ensure that the dummy byte is correctly set. Backport of r46707. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46709 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: brcm63xx: HG553 buttons supportJonas Gorski2015-07-251-0/+20
| | | | | | | | | | | This patch adds buttons support for Huawei EchoLife HG553. Backport of r46388. Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46486 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: brcm63xx: swap a4001n power leds againJonas Gorski2015-07-011-5/+5
| | | | | | | | | | | | This partially reverts r44577 ("brcm63xx: fix DTS LEDs and buttons"). Fixes #19858. Backport of r46149. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46154 3c298f89-4303-0410-b956-a3cf2f4a3e73
* CC: brcm63xx: unbreak board_probe_switch againJonas Gorski2015-07-0138-122/+143
| | | | | | | | | | | | | Also move it to an earlier place so new boards added are less likely to confuse quilt. Fixes #19965. Backport of r46148. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46153 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.18 to 3.18.16Jonas Gorski2015-06-171-9/+9
| | | | | | | | | | | | | Changelogs: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.15 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.16 Signed-off-by: Jonas Gorski <jogo@openwrt.org> Backport of r46011. git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46015 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix A4001N image padding sizeJonas Gorski2015-06-111-1/+1
| | | | | | | | | | | | When r42245 moved A4001N to DT based detection the image padding size was accidentally increased from 4 to 8 MiB. This made images unflashable on these devices. Fixes #19836. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45945 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix livebox image generationJonas Gorski2015-06-021-0/+2
| | | | | | | | | Livebox does need the uncompressed kernel, so just create it during image generation. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45875 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: delete uncompressed kernels after useJonas Gorski2015-06-011-0/+2
| | | | | | | | | Delete the dtb appended, uncompressed kernels after having compressed them, so they don't end in the image builder. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45869 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: use common image prefixJo-Philipp Wich2015-05-271-23/+24
| | | | | | | | | Also remove "redbootscript" and "redbootscript.padded" junk files. 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@45780 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.18 to 3.18.14Jonas Gorski2015-05-213-16/+16
| | | | | | | | | | | | | | Changelogs: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.12 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.13 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.14 Build tested on brcm63xx and ipq806x, runtested on brcm63xx. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45711 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix failsafe lan and status led for DSL-274xB rev. F1Jonas Gorski2015-05-212-1/+3
| | | | | | | | | Add it to the appropriate places so the power led properly works and ethernet is properly configured for failsafe. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45709 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Add Huawei HG655b supportJonas Gorski2015-05-219-0/+207
| | | | | | | | | | | | | | | This patch adds support for the Huawei HG655b. Nothing much special in this router, it's just another BCM6368 with a Ralink RT3062 wifi chip and the calibration data embedded in the main flash chip at offset 0x7c0000. There is also configuration data used by the OEM firmware before the cal_data partition, this area is protected by the board_data partition in this patch. 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@45708 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix bcm6348 ext irqc compatible nameJonas Gorski2015-04-271-1/+1
| | | | | | | | | This was a remnant of an old version. 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@45583 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix bcm3368.dtsi typo.Jonas Gorski2015-04-271-2/+2
| | | | | | | 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@45582 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix leds bcm963269bhrJonas Gorski2015-04-211-4/+4
| | | | | | | | Fix the led naming and gpios. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45558 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: add missing bcm96329bhr profile and dtsJonas Gorski2015-04-2117-53/+88
| | | | | | | | Hopefully the last missing board. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45557 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix bcm63268 rgmii port rgmii configurationJonas Gorski2015-04-191-0/+13
| | | | | | | | | | | This should rather be done by passing appropriate platform_data/OF, but should suffice for now. Fixes e.g. GbE ports on BCM963268BU_P300. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45505 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: allow using all four rgmii ports on bcm6316xJonas Gorski2015-04-192-9/+5
| | | | | | | | | At least the third rgmii port is available on 63169, so assume all are available. Simplifies cpu vs. variant handling. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45504 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: BCM963268BU_P300 reference board fixesJonas Gorski2015-04-184-4/+4
| | | | | | | | | | | - Fix profile name. - Rremove whitespace on board patch. - Refresh patches. 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@45499 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix bcm96318ref_p300 profile nameJonas Gorski2015-04-181-1/+1
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45486 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove kernel module checks/dependencies for 3.14Felix Fietkau2015-04-111-2/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45377 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix zyxel kernel nameJonas Gorski2015-03-311-1/+1
| | | | | | | | | Accidentally left over development artifact. Reported-by: John Crispin <blogic@openwrt.org> Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45179 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: don't build non-dtb kernels anymoreJonas Gorski2015-03-301-3/+0
| | | | | | | | | Now that all supported boards have an dts there is no need for a dtb free kernel anymore. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45169 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: move DSL-275XB to DTJonas Gorski2015-03-307-74/+105
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45168 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: move bcm6318 reference boards to DTJonas Gorski2015-03-3020-122/+188
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45167 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: move VG50 to DTJonas Gorski2015-03-3015-80/+78
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45166 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: move V2110 to DTJonas Gorski2015-03-3025-25/+113
| | | | | | | | Also readd image generation which was accidentally dropped in r43364. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45165 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: use relocate to move the kernel back to start of ramJonas Gorski2015-03-302-39/+33
| | | | | | | | | | | | Appearently the kernel only uses kernel above it, so moving it to an higher address causes a lot of unavailable memory (#19327). Also move the on-flash kernel to 0x80a0000, as newer CFEs don't like uncompressing there (net-booting an ELF kernel is fine, though). Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45164 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: remove linux 3.14 supportFelix Fietkau2015-03-28184-18791/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45089 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: use a lookup for bcmcia's ready gpioJonas Gorski2015-03-254-0/+236
| | | | | | | | | Should fix pcmcia on BCM6348 and BCM6358 after switching to DT-probed gpio controllers. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44995 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix bcm96328avng board nameJonas Gorski2015-03-251-1/+1
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44994 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix bt v2500v dts based detectionJonas Gorski2015-03-251-4/+1
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44993 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: move RTA770(B)W to dtsJonas Gorski2015-03-2548-265/+323
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44992 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: move MAGIC to dtsJonas Gorski2015-03-2591-289/+303
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44991 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: move CPVA502+ to dtsJonas Gorski2015-03-2535-32/+103
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44990 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: move dg834g v4 to dtsJonas Gorski2015-03-2533-32/+125
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44989 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: move dsl-2640u to dtsJonas Gorski2015-03-25103-315/+352
| | | | | | | | Also build image again(?). Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44988 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: move bcm963268bu_p300 to dtsJonas Gorski2015-03-2531-196/+115
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44987 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: fix compilation on 3.14Jonas Gorski2015-03-251-1/+1
| | | | | | | | | | | Fixes the following issue: drivers/gpio/gpio-bcm63xx.c: In function 'bcm63xx_gpio_probe': drivers/gpio/gpio-bcm63xx.c:80:4: error: implicit declaration of function 'devm_kasprintf' [-Werror=implicit-function-declaration] Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44986 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: Add BT Home Hub 2A support.Jonas Gorski2015-03-258-1/+218
| | | | | | | | | | | | | | | | | | Support for the BT HomeHub 2.0 Type A. This router was manufactured by Thomson, and it's BCM6358 based. The leds are controled by two chained HC594, all working ok. The BCM5325 switch has the RESET# pin wired to the GPIO15, but currently there is no way to tell the b53 driver how to get this gpio number in brcm63xx, therefore swconfig won't use it when performing a switch reset. The patch was tested with several firmwares, and all except unsupported stuff (i.e xDSL) works pretty well. Tested-by: Tahir <tahir00ali@gmail.com> Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44985 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: move kernel load address to 8MiBJonas Gorski2015-03-253-1/+69
| | | | | | | | Fixes boot when uncompressed kernel is > 4 MiB (#19251). Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44984 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: hcsimage: respect load addressJonas Gorski2015-03-251-1/+2
| | | | | | | | Respect the vmlinux load address when generating images. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44983 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: add Livebox 1 firmware image generationJonas Gorski2015-03-252-3/+40
| | | | | | | | | | | | | | | | | | | | | | Currently there isn't images ready for flashing liveboxes boards. This patch adds a script and the code to call it in the bcm63xx images builder makefile to generate the livebox 1 firmware. I removed some lines to avoid generating unneded files in the bin/ dir for this board. And added code to generate a squashed rootfs aligned to 64 kB since the current one in the /bin dir is 128 kB aligned and doesn't work. Still no sysupgrade support for this board. Upgrading from within openwrt can be done writing with mtd the kernel, and then the 64k aligned rootfs. Regards Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com> [jogo: use sed instead of a separate shell script for the boot script, make it respect the load address] Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44982 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: add a dummy image recipe for boards missing proper imagesJonas Gorski2015-03-251-1/+6
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44981 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: drop non-dtb image recipeJonas Gorski2015-03-251-11/+0
| | | | | | | | All images generated contain dtbs, so it is now unused. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44980 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: switch maintainerFlorian Fainelli2015-03-161-1/+1
| | | | | | | | Make Jonas the maintainer of brcm63xx. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44848 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: use consistent gpio chip labeling for OF/non-OFJonas Gorski2015-03-166-46/+36
| | | | | | | | | Ensure gpio chips are always labeled the same; this allows simplifying any arch setup gpio lookups. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44846 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: switch to 3.18Jonas Gorski2015-03-161-1/+1
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44841 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: call brcm63xx_detect explicitlyJonas Gorski2015-03-162-2/+2
| | | | | | | | | | Now that we have converted all users of global variables to use brcm63xx_board_name, we can savely convert the implicit call to detect in brcm63xx.sh to a single, explicit call in preinit. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44840 3c298f89-4303-0410-b956-a3cf2f4a3e73