aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx
Commit message (Collapse)AuthorAgeFilesLines
* 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
* bcm53xx: image: specify flash type for all devicesRafał Miłecki2014-10-161-13/+22
| | | | | | | | | This will allow us to add proper support for NAND one day. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42937 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add support for Buffalo WZR-600DHP2Rafał Miłecki2014-10-152-2/+108
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42925 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: fix Asus RT-N18U supportRafał Miłecki2014-10-151-9/+24
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42924 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: fix hangs in PCIe2 host driverRafał Miłecki2014-10-141-5/+33
| | | | | | | | | Accessing CFG regs with no card present results in SoC hang. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42895 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add temp bcma workaround that allows debuggingRafał Miłecki2014-10-141-0/+47
| | | | | | | | | This way we will get logs if case of hang/crash in bcma or related code. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42894 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: prepare to support Asus RT-N18URafał Miłecki2014-10-092-0/+116
| | | | | | | | | | DT file doesn't include any GPIOs yet, but let's add it as we got some interest in this device on IRC. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42864 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add support for Buffalo WZR-1750DHPRafał Miłecki2014-10-092-0/+119
| | | | | | | | | Let's generate a simple TRX file as we can't get encrypted one. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42863 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add Netgear R6300 V2 LEDs and buttonsRafał Miłecki2014-10-061-7/+60
| | | | | | | | | Thanks tusc (our forum user) for checking GPIOs. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42827 3c298f89-4303-0410-b956-a3cf2f4a3e73
* targets: remove useless quotes around KERNELNAMEFelix Fietkau2014-10-051-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42780 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: build R6250 firmware with "Other Regions" regionRafał Miłecki2014-10-031-1/+1
| | | | | | | | | This prevents vendor firmware from warning about incompatible region. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42754 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: early support for Netgear R6300 V2Rafał Miłecki2014-10-022-0/+75
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42743 3c298f89-4303-0410-b956-a3cf2f4a3e73