Commit Graph

142 Commits (d27c682def7cdaa887e06b0edb1b4a29c0130eb4)

Author SHA1 Message Date
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
Rafał Miłecki 1ffe299eab bcm53xx: enable UBI and UBIFS
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42939
10 years ago
Rafał Miłecki aa5b5153f9 bcm53xx: image: build UBI partition image
This could be used on NAND devices once we get UBI working.

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

SVN-Revision: 42938
10 years ago
Rafał Miłecki 241c098fa1 bcm53xx: image: specify flash type for all devices
This will allow us to add proper support for NAND one day.

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

SVN-Revision: 42937
10 years ago
Rafał Miłecki 579b0d9c5b bcm53xx: add support for Buffalo WZR-600DHP2
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42925
10 years ago
Rafał Miłecki 96a33c0dd7 bcm53xx: fix Asus RT-N18U support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42924
10 years ago
Rafał Miłecki 5a03d0c931 bcm53xx: fix hangs in PCIe2 host driver
Accessing CFG regs with no card present results in SoC hang.

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

SVN-Revision: 42895
10 years ago
Rafał Miłecki 540a6a45e4 bcm53xx: add temp bcma workaround that allows debugging
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>

SVN-Revision: 42894
10 years ago
Rafał Miłecki 78be7225c3 bcm53xx: prepare to support Asus RT-N18U
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>

SVN-Revision: 42864
10 years ago
Rafał Miłecki 9473673ae3 bcm53xx: add support for Buffalo WZR-1750DHP
Let's generate a simple TRX file as we can't get encrypted one.

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

SVN-Revision: 42863
10 years ago
Rafał Miłecki 2818493e82 bcm53xx: add Netgear R6300 V2 LEDs and buttons
Thanks tusc (our forum user) for checking GPIOs.

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

SVN-Revision: 42827
10 years ago
Felix Fietkau f35da063bc targets: remove useless quotes around KERNELNAME
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42780
10 years ago
Rafał Miłecki 7436b17075 bcm53xx: build R6250 firmware with "Other Regions" region
This prevents vendor firmware from warning about incompatible region.

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

SVN-Revision: 42754
10 years ago