aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx
Commit message (Collapse)AuthorAgeFilesLines
* bcm53xx: add support/firmware for Asus RT-AC87URafał Miłecki2015-01-193-0/+157
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44051 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: drop hacky patch making bcma init laterRafał Miłecki2015-01-162-84/+0
| | | | | | | | | | | | | The only reason this patch was helping was moving bcma init *after* of_serial init. It was a bit of luck because both drivers use device_initcall. It isn't really a correct way to provide early logging. Now we have earlyprintk support in bcm53xx we can drop this patch. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43981 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: support all RAM on devices with more than 128 MiB (HIGHMEM)Rafał Miłecki2015-01-146-24/+192
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43972 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: enable earlyprintk on more devicesRafał Miłecki2015-01-144-46/+142
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43965 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: enable HIGHMEM to support more than 128 MiB of RAMRafał Miłecki2015-01-142-0/+6
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43964 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: refresh configsRafał Miłecki2015-01-142-6/+4
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43963 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: support flashing CHK and CyberTAN imagesRafał Miłecki2014-12-301-4/+16
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43800 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: support WAN connected to switch port 0Rafał Miłecki2014-12-201-2/+11
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43754 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: PCIe: add link check againHauke Mehrtens2014-12-182-50/+112
| | | | | | | | | | | | When there is no device connected to the controller we should not start the controller. This also changes between PCIe 1.0 and PCIe 2.0 speed based on the device. This code is based on code from the new Broadcom PCIe controller driver. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43748 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: backport spi-nor changes and update bcm53xxspiflashRafał Miłecki2014-12-1712-1422/+1651
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43738 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: sysupgrade support for devices with serial flashRafał Miłecki2014-12-151-0/+118
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43719 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43715 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: failsafe supportRafał Miłecki2014-12-112-0/+47
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43639 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: support LEDs on Buffalo devicesRafał Miłecki2014-12-114-0/+352
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43616 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: backport NVRAM driver sent upstreamRafał Miłecki2014-12-1013-756/+503
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43612 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: use bcma callback in SPROM driver to fill the SPROMRafał Miłecki2014-12-103-186/+22
| | | | | | | | | | This is required because it has to be called at very precise moment. See comment in driver for details. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43611 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: use static NVRAM pointer for nowRafał Miłecki2014-12-104-534/+14
| | | | | | | | | This will allow us to sync with code sent for upstream. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43608 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: clean up nvram headerRafał Miłecki2014-12-105-61/+57
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43606 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: move SPROM driver to the target filesRafał Miłecki2014-12-103-1386/+690
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43604 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: move NVRAM driver to the target filesRafał Miłecki2014-12-103-436/+215
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43603 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: move NVRAM header to the target filesRafał Miłecki2014-12-103-250/+66
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43602 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: bcm_nand: fix compilationRafał Miłecki2014-12-082-2/+2
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43584 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: bcm_nand: switch from cmdlinepart to ofpartRafał Miłecki2014-12-082-6/+12
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43580 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update the NAND driverHauke Mehrtens2014-12-072-132/+112
| | | | | | | | | | | This adds some updates to the NAND driver and refreshed the config. Most of these changes are done in preparation for mainling it. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43546 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: update the PCIe driverHauke Mehrtens2014-12-074-634/+292
| | | | | | | | | | | This adds some updates to the PCIe driver and refreshed the config. Most of these changes are done in preparation for mainling it. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43545 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update bcma and ssb to wireless-testing master-2014-12-05Hauke Mehrtens2014-12-0715-557/+195
| | | | | | | | | | | | | This brings ssb and bcma to wireless-testing tag master-2014-12-05 In addition it also adds the ARM-BCM5301X-Add-IRQs-to-Broadcom-s-bus- axi-in-DTS-f.patch which adds the irq number in a way it is done in the mainline kernel. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43544 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh patches for kernel 3.18Hauke Mehrtens2014-12-075-33/+2
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43536 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: 3.18: add early support for Buffalo WZR-900DHPRafał Miłecki2014-12-071-0/+65
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43534 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add early support for Buffalo WZR-900DHPRafał Miłecki2014-12-072-0/+74
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43533 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: backport BCM5301X patches from arm-soc.git next/dtRafał Miłecki2014-12-0514-196/+492
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43530 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: squeeze (rename) BCM5301X patchesRafał Miłecki2014-12-054-0/+0
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43529 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: rename patches that were not upstreamed to 3xxRafał Miłecki2014-12-059-6/+6
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43528 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update bcma up to 2014-10-27Rafał Miłecki2014-12-052-130/+0
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43527 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 3.18 to rc4Hauke Mehrtens2014-11-105-42/+29
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43229 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport bcm47xxpart changes queued for 3.19Rafał Miłecki2014-11-082-64/+0
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43223 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: bcma: get IRQs also from device treeHauke Mehrtens2014-11-014-40/+305
| | | | | | | | | | Add patches for getting the IRQ number for a device of the bcma bus that were send for upstream inclusion. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43148 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: set customized AUXCTLHauke Mehrtens2014-11-012-2/+30
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43146 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: activate early printkHauke Mehrtens2014-11-0110-8/+54
| | | | | | | | | This makes it possible to activate early printk. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43145 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: refresh patchesHauke Mehrtens2014-11-0113-92/+9
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43144 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: remove support for fpuHauke Mehrtens2014-10-271-1/+0
| | | | | | | | | This SoC does not have a vfpv3 FPU. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43098 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: initial support for kernel 3.18Hauke Mehrtens2014-10-2730-0/+6385
| | | | | | | | | This adds initial support for kernel 3.18. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43097 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43047 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: backport forgotten spi-nor changeRafał Miłecki2014-10-221-0/+23
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43031 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: backport spi-nor patches from 3.18-rc1Rafał Miłecki2014-10-225-136/+107
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43030 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add support for Asus RT-N18U LEDs & buttonsRafał Miłecki2014-10-211-7/+60
| | | | | | | | | Got GPIOs from #18152 thanks to Grrruk Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43010 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: switch RT-N18U firmware to the UBIRafał Miłecki2014-10-201-1/+1
| | | | | | | | | | According to the ticket #18152 it also uses NAND with 0x20000 erase size and 0x800 page size. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43008 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: image: switch Netgear and Buffalo devices to UBIRafał Miłecki2014-10-161-4/+8
| | | | | | | | | | We still don't have a smart sysupgrade method, but at least we can use UBI which provides some protection for rootfs (SquashFS). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42941 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: hack UBI to erase all dirty blocks left by CFERafał Miłecki2014-10-161-0/+39
| | | | | | | | | | | | UBI requires PEBs to be formatted (with a valid UBI header) or empty (0xFF), however CFE doesn't clear blocks after flashing the image. To workaround this problem, teach UBI to recognize EOF mark in a similar way JFFS2 handles that in OpenWrt. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42940 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: enable UBI and UBIFSRafał Miłecki2014-10-161-0/+19
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42939 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: image: build UBI partition imageRafał Miłecki2014-10-162-0/+28
| | | | | | | | | This could be used on NAND devices once we get UBI working. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42938 3c298f89-4303-0410-b956-a3cf2f4a3e73