Commit Graph

154 Commits (ea1fe45fae9651ff1b701c4916ed89aa8f2bdb16)

Author SHA1 Message Date
Rafał Miłecki ea1fe45fae bcm53xx: backport 3 BCM5301X patches from Hauke repo
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44058
10 years ago
Rafał Miłecki 9758327d83 bcm53xx: rename patches modifying DTS files
Ths will allow us to use early 3xx numbers for patches designed for
sending mainline.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44057
10 years ago
Rafał Miłecki 78b0da393b bcm53xx: add support/firmware for Asus RT-AC87U
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44051
10 years ago
Rafał Miłecki 71c8ec020d bcm53xx: drop hacky patch making bcma init later
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>

SVN-Revision: 43981
10 years ago
Rafał Miłecki 4ae1e883e8 bcm53xx: support all RAM on devices with more than 128 MiB (HIGHMEM)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43972
10 years ago
Rafał Miłecki f59c84c431 bcm53xx: enable earlyprintk on more devices
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43965
10 years ago
Rafał Miłecki 8e95c2c5be bcm53xx: enable HIGHMEM to support more than 128 MiB of RAM
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43964
10 years ago
Rafał Miłecki 55e766d78d bcm53xx: refresh configs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43963
10 years ago
Rafał Miłecki d1a28cfbb2 bcm53xx: support flashing CHK and CyberTAN images
SVN-Revision: 43800
10 years ago
Rafał Miłecki e7d7f59171 bcm53xx: support WAN connected to switch port 0
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43754
10 years ago
Hauke Mehrtens 192e945479 bcm53xx: PCIe: add link check again
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>

SVN-Revision: 43748
10 years ago
Rafał Miłecki e21e9c5548 bcm53xx: backport spi-nor changes and update bcm53xxspiflash
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43738
10 years ago
Rafał Miłecki dd9ca05249 bcm53xx: sysupgrade support for devices with serial flash
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43719
10 years ago
John Crispin 019ea725aa add "preinit_regular" diag.sh set_state argument
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
10 years ago
Rafał Miłecki 3aaee1ba02 bcm53xx: failsafe support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43639
10 years ago
Rafał Miłecki b55199cf41 bcm53xx: support LEDs on Buffalo devices
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43616
10 years ago
Rafał Miłecki 40d94a3ef0 bcm53xx: backport NVRAM driver sent upstream
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43612
10 years ago
Rafał Miłecki ba81966001 bcm53xx: use bcma callback in SPROM driver to fill the SPROM
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>

SVN-Revision: 43611
10 years ago
Rafał Miłecki b0b43e1ef9 bcm53xx: use static NVRAM pointer for now
This will allow us to sync with code sent for upstream.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43608
10 years ago
Rafał Miłecki 960130e99c bcm53xx: clean up nvram header
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43606
10 years ago
Rafał Miłecki 7093580424 bcm53xx: move SPROM driver to the target files
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43604
10 years ago
Rafał Miłecki 27a91a99d9 bcm53xx: move NVRAM driver to the target files
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43603
10 years ago
Rafał Miłecki 3fab0d818c bcm53xx: move NVRAM header to the target files
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43602
10 years ago
Rafał Miłecki 613bc3ef3f bcm53xx: bcm_nand: fix compilation
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43584
10 years ago
Rafał Miłecki aed6b26431 bcm53xx: bcm_nand: switch from cmdlinepart to ofpart
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43580
10 years ago
Hauke Mehrtens 7a2f186d70 bcm53xx: update the NAND driver
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>

SVN-Revision: 43546
10 years ago
Hauke Mehrtens 664ae86dde bcm53xx: update the PCIe driver
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>

SVN-Revision: 43545
10 years ago
Hauke Mehrtens d9bb8326fa kernel: update bcma and ssb to wireless-testing master-2014-12-05
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>

SVN-Revision: 43544
10 years ago
Hauke Mehrtens 563f963b1b kernel: refresh patches for kernel 3.18
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43536
10 years ago
Rafał Miłecki dc6171c734 bcm53xx: 3.18: add early support for Buffalo WZR-900DHP
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43534
10 years ago
Rafał Miłecki a20fa1cb48 bcm53xx: add early support for Buffalo WZR-900DHP
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43533
10 years ago
Rafał Miłecki 9bec9b86af bcm53xx: backport BCM5301X patches from arm-soc.git next/dt
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43530
10 years ago
Rafał Miłecki d1e0e39993 bcm53xx: squeeze (rename) BCM5301X patches
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43529
10 years ago
Rafał Miłecki 8ea3c20b23 bcm53xx: rename patches that were not upstreamed to 3xx
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43528
10 years ago
Rafał Miłecki 8033ccc975 kernel: update bcma up to 2014-10-27
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43527
10 years ago
Hauke Mehrtens a69ebe234d kernel: update kernel 3.18 to rc4
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43229
10 years ago
Rafał Miłecki 93b3924128 kernel: backport bcm47xxpart changes queued for 3.19
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43223
10 years ago
Hauke Mehrtens adbb5ad195 bcm53xx: bcma: get IRQs also from device tree
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>

SVN-Revision: 43148
10 years ago
Hauke Mehrtens 6e6dffbe81 bcm53xx: set customized AUXCTL
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43146
10 years ago
Hauke Mehrtens 5e13e40591 bcm53xx: activate early printk
This makes it possible to activate early printk.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43145
10 years ago
Hauke Mehrtens 8e20cceeae bcm53xx: refresh patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43144
10 years ago
Hauke Mehrtens f12c4b0815 bcm53xx: remove support for fpu
This SoC does not have a vfpv3 FPU.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43098
10 years ago
Hauke Mehrtens 7fc9bb1aca bcm53xx: initial support for kernel 3.18
This adds initial support for kernel 3.18.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43097
10 years ago
Felix Fietkau c288d2d6d9 kernel: makefiles: make use of new var KERNEL_PATCHVER
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
10 years ago
Rafał Miłecki c14e0807bd bcm53xx: backport forgotten spi-nor change
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43031
10 years ago
Rafał Miłecki 2466b04a5a bcm53xx: backport spi-nor patches from 3.18-rc1
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43030
10 years ago
Rafał Miłecki bf0342f0ef bcm53xx: add support for Asus RT-N18U LEDs & buttons
Got GPIOs from #18152 thanks to Grrruk

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43010
10 years ago
Rafał Miłecki 4669d08e83 bcm53xx: switch RT-N18U firmware to the UBI
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>

SVN-Revision: 43008
10 years ago
Rafał Miłecki 4fce5d1951 bcm53xx: image: switch Netgear and Buffalo devices to UBI
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>

SVN-Revision: 42941
10 years ago
Rafał Miłecki 150c200e91 bcm53xx: hack UBI to erase all dirty blocks left by CFE
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>

SVN-Revision: 42940
10 years ago