Commit Graph

119 Commits

Author SHA1 Message Date
Hauke Mehrtens
a69ebe234d kernel: update kernel 3.18 to rc4
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43229
2014-11-10 22:51:30 +00:00
Rafał Miłecki
93b3924128 kernel: backport bcm47xxpart changes queued for 3.19
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43223
2014-11-08 21:41:21 +00:00
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
2014-11-01 15:57:30 +00:00
Hauke Mehrtens
6e6dffbe81 bcm53xx: set customized AUXCTL
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43146
2014-11-01 13:58:18 +00:00
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
2014-11-01 13:57:50 +00:00
Hauke Mehrtens
8e20cceeae bcm53xx: refresh patches
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 43144
2014-11-01 13:55:02 +00:00
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
2014-10-27 23:04:07 +00:00
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
2014-10-27 23:02:08 +00:00
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
2014-10-24 19:34:02 +00:00
Rafał Miłecki
c14e0807bd bcm53xx: backport forgotten spi-nor change
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 43031
2014-10-22 14:34:43 +00:00
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
2014-10-22 14:16:18 +00:00
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
2014-10-21 14:37:44 +00:00
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
2014-10-20 22:09:40 +00:00
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
2014-10-16 21:33:34 +00:00
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
2014-10-16 20:52:22 +00:00
Rafał Miłecki
1ffe299eab bcm53xx: enable UBI and UBIFS
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42939
2014-10-16 20:50:36 +00:00
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
2014-10-16 20:48:56 +00:00
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
2014-10-16 20:44:44 +00:00
Rafał Miłecki
579b0d9c5b bcm53xx: add support for Buffalo WZR-600DHP2
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42925
2014-10-15 07:14:13 +00:00
Rafał Miłecki
96a33c0dd7 bcm53xx: fix Asus RT-N18U support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42924
2014-10-15 07:12:46 +00:00
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
2014-10-14 08:06:15 +00:00
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
2014-10-14 05:31:54 +00:00
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
2014-10-09 16:36:51 +00:00
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
2014-10-09 16:36:05 +00:00
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
2014-10-06 21:33:17 +00:00
Felix Fietkau
f35da063bc targets: remove useless quotes around KERNELNAME
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42780
2014-10-05 20:17:19 +00:00
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
2014-10-03 10:40:12 +00:00
Rafał Miłecki
66922082ed bcm53xx: early support for Netgear R6300 V2
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42743
2014-10-02 19:30:08 +00:00
Rafał Miłecki
28301ea0b1 bcm53xx: early buttons support (without interrupts)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42718
2014-10-02 12:05:58 +00:00
Rafał Miłecki
bd12c49473 bcm53xx: backport bcma RFC patch that fixes LEDs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42717
2014-10-02 10:42:30 +00:00
Rafał Miłecki
01ab343779 bcm53xx: support devices with more (13+) partitions
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42716
2014-10-02 09:51:54 +00:00
Rafał Miłecki
bbae0f7df0 bcm53xx: select LEDs support by default
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42715
2014-10-02 05:54:18 +00:00
Rafał Miłecki
1421516e65 bcm53xx: add BCM5301X patches sent upstream (bus and R6250 LEDs)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42711
2014-10-01 13:38:50 +00:00
Rafał Miłecki
59b965194d kernel: update bcma to the tag master-2014-09-30 (wireless-next)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42710
2014-10-01 13:37:36 +00:00
Rafał Miłecki
26e85084b5 bcm53xx: rename BCM5301X DTS patch to match upstream order
SVN-Revision: 42708
2014-10-01 07:59:03 +00:00
Hauke Mehrtens
a6616a6e48 bcm53xx: activate some workarounds for errors in the Cortex-A9
BCM4708 uses a Cortex-A9 rev r3p0 and a L2C-310 rev r3p2.

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

SVN-Revision: 42690
2014-09-28 18:03:33 +00:00
Rafał Miłecki
8e525a43b4 kernel: update bcma to the tag master-2014-09-26 (wireless-next)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42672
2014-09-27 07:49:48 +00:00
Rafał Miłecki
747fd7871c bcm53xx: add a patch that fixes booting problems
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42659
2014-09-24 21:08:17 +00:00
Rafał Miłecki
f036f5801f bcm53xx: image: use IMG_PREFIX for chk images
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42649
2014-09-22 18:11:09 +00:00
Rafał Miłecki
23a07c6d18 bcm53xx: image: make filesystem a suffix for TRX files
This makes TRX files more /compatible/ with firmware files (e.g. CHK).
This will allow us to put some TRX files in BIN_DIR if we need to.

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

SVN-Revision: 42646
2014-09-22 09:16:20 +00:00
Rafał Miłecki
fd515112db bcm53xx: image: document arguments of various functions
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42645
2014-09-22 08:37:18 +00:00
Rafał Miłecki
5f7be0ebf4 bcm53xx: image: rework Makefile and merge some functions
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42644
2014-09-22 08:04:26 +00:00
Hauke Mehrtens
182e1dbcd4 bcm53xx: activate vfpv3 support
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 42642
2014-09-21 21:58:29 +00:00
Hauke Mehrtens
47aefcc563 bcm53xx: add nand flash driver
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 42641
2014-09-21 21:58:02 +00:00
Hauke Mehrtens
2c6e0e0ae0 bcm53xx: update patches adding bcma support
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 42640
2014-09-21 21:57:17 +00:00
Hauke Mehrtens
c977fad4fd bcm53xx: add fixtrx
Without running fixtrx the image will not boot at the second time,
because the CRC the boot loader check is invalid at that time.

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

SVN-Revision: 42639
2014-09-21 21:56:31 +00:00
Rafał Miłecki
223a309c3c bcm53xx: add support for GPIOs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42638
2014-09-21 21:18:30 +00:00
Rafał Miłecki
2468f9201f bcm53xx: rename console fixing patch
This squeezes BCM5301X patches.

SVN-Revision: 42637
2014-09-21 21:02:38 +00:00
Hauke Mehrtens
9434dfee87 bcm53xx: fix early serial console
This device actually has a 8250 serial with a shift of 0.
Tested this on a BCM4708.

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

SVN-Revision: 42538
2014-09-14 19:22:49 +00:00
Rafał Miłecki
7cd532623e kernel: update bcma to the tag master-2014-09-11 (wireless-next)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42537
2014-09-14 17:31:13 +00:00