Commit Graph

179 Commits (10c5a4401757139ffac0754384d079ac47f2dc94)

Author SHA1 Message Date
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
Rafał Miłecki 66922082ed bcm53xx: early support for Netgear R6300 V2
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42743
10 years ago
Rafał Miłecki 28301ea0b1 bcm53xx: early buttons support (without interrupts)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42718
10 years ago
Rafał Miłecki bd12c49473 bcm53xx: backport bcma RFC patch that fixes LEDs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

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

SVN-Revision: 42716
10 years ago
Rafał Miłecki bbae0f7df0 bcm53xx: select LEDs support by default
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42715
10 years ago
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
10 years ago
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
10 years ago
Rafał Miłecki 26e85084b5 bcm53xx: rename BCM5301X DTS patch to match upstream order
SVN-Revision: 42708
10 years ago
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
10 years ago
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
10 years ago
Rafał Miłecki 747fd7871c bcm53xx: add a patch that fixes booting problems
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42659
10 years ago
Rafał Miłecki f036f5801f bcm53xx: image: use IMG_PREFIX for chk images
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42649
10 years ago
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
10 years ago
Rafał Miłecki fd515112db bcm53xx: image: document arguments of various functions
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42645
10 years ago
Rafał Miłecki 5f7be0ebf4 bcm53xx: image: rework Makefile and merge some functions
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42644
10 years ago
Hauke Mehrtens 182e1dbcd4 bcm53xx: activate vfpv3 support
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 42642
10 years ago
Hauke Mehrtens 47aefcc563 bcm53xx: add nand flash driver
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 42641
10 years ago
Hauke Mehrtens 2c6e0e0ae0 bcm53xx: update patches adding bcma support
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 42640
10 years ago
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
10 years ago
Rafał Miłecki 223a309c3c bcm53xx: add support for GPIOs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42638
10 years ago
Rafał Miłecki 2468f9201f bcm53xx: rename console fixing patch
This squeezes BCM5301X patches.

SVN-Revision: 42637
10 years ago
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
10 years ago
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
10 years ago
Hauke Mehrtens 180ee041fa bcm53xx: select nvram package by default
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42522
10 years ago
Luka Perkov 02629d8f87 kernel: update 3.14 to 3.14.18
Targets were build tested and patches are refreshed.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42463
10 years ago
Hauke Mehrtens 8313b329c6 kernel: add bcma patches sent upstream but not pushed yet
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42448
10 years ago
Hauke Mehrtens e030c50502 kernel: update bcma to the version from wireless-testing master-2014-09-04 tag
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42447
10 years ago
Hauke Mehrtens 823659f458 bcm53xx: update bcma device tree intergeneration and fix nvram parsing
This fixes lots of sparse and checkpatch errors and extends the
documentation.

This also fixes a problem in the nvram parser, it now detects the
correct nvram on my Netgear R6250.

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

SVN-Revision: 42272
10 years ago
Hauke Mehrtens cc3545d165 bcm53xx: add bcm53xxspiflash driver for SPI flashes
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42260
10 years ago
Hauke Mehrtens b118879cc3 bcm53xx: backport more spi-nor patches
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42259
10 years ago
Hauke Mehrtens f66a0912f7 bcm53xx: add SPI controller driver
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 42223
10 years ago
Hauke Mehrtens bcb36cd494 bcm53xx: backport spi nor code form kernel v3.17-rc1.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 42222
10 years ago
Hauke Mehrtens a8bdf2f1e0 kernel: update bcma to code from v3.17-rc1
This is needed for some new patches.

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

SVN-Revision: 42221
10 years ago
Hauke Mehrtens 4a9acacf53 kernel: 3.14: update bcm47xxpart
It it used by brcm47xx and bcm53xx targets, so put patches in generic.

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

SVN-Revision: 42212
10 years ago
Hauke Mehrtens 32b3f9cdc6 brcm47xx/bcm53xx: improve description
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 42204
10 years ago
Hauke Mehrtens 76866d42ac bcm53xx: remove kernel 3.10
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 42203
10 years ago
Hauke Mehrtens 3c3b3dd41d bcm53xx: add b43 wifi support
Now it is possible to use b43 wifi.

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

SVN-Revision: 42143
10 years ago
Hauke Mehrtens 1d14e7ef1b bcm53xx: remove BCM4360 from PCI ids
bcma does not support this card and b43 hangs when probing this card.

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

SVN-Revision: 42142
10 years ago
Luka Perkov dd8d729096 kernel: update 3.14 to 3.14.16
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 42070
10 years ago
Hauke Mehrtens 69c403c234 bcm53xx: update to kernel 3.14
Use kernel 3.14 by default and refresh the patches

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

SVN-Revision: 41913
10 years ago
Hauke Mehrtens 350765676e bcm53xx: add restart support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 41912
10 years ago
Hauke Mehrtens 0d3690a202 kernel: update bcma and ssb to version master-2014-07-22
This is a backport of bcma and ssb from wireless-tesing/master tag
master-2014-07-22.

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

SVN-Revision: 41804
10 years ago
John Crispin 7d8f187201 target/linux/*/image/Makefile: use new dts path variable
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41791
10 years ago
John Crispin ba63338d3f kernel: update to 3.10.49 Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41776
10 years ago
John Crispin 994e5ce2f9 kernel: update 3.10.36->3.10.44
205-fix-headers_install.patch is obseleted by upstream commit 3246a0352e3d58380b9386570f1db1faf7edf8a8

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41351
10 years ago
Hauke Mehrtens cdc7ea3337 bcm53xx: add support for the PCIe controller
This patch adds support for the PCIe controller
In addition to the PCIe controller a sprom is now provided by a device
tree driver to bcma from some nvram.

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

SVN-Revision: 40880
10 years ago
Hauke Mehrtens 1c2dbe4e94 bcm53xx: add default config for switch
This scripts adds a default config for the switch.

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

SVN-Revision: 40565
10 years ago
Hauke Mehrtens d89aa2c3d6 bcm53xx: add initial support for kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 40564
10 years ago
Gabor Juhos d2812cb036 kernel: update 3.10 to 3.10.36
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40467
10 years ago
Gabor Juhos 627baa28d3 kernel: update 3.10 to 3.10.34
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40291
10 years ago
Gabor Juhos f677b1bc7e kernel: update 3.10 to 3.10.32
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39707
11 years ago
Hauke Mehrtens b75a9b04df bcm53xx: update the bcm53xx patches
This does not add any new features, just some changes to the patches
and a first try to use dt to set the irqs.

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

SVN-Revision: 39466
11 years ago
Hauke Mehrtens f491623c37 kernel: bgmac: update bgmac to a version from kernel 3.14-rc1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39465
11 years ago
Hauke Mehrtens e0d4a548fb kernel: bcma: update bcma to a version from kernel 3.14-rc1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39463
11 years ago
Gabor Juhos a2543d72d8 kernel: update 3.10 to 3.10.28
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39399
11 years ago
Gabor Juhos 0e2586a774 kernel: update 3.10 to 3.10.26
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39220
11 years ago
Hauke Mehrtens e0027ed4ab bcm53xx: make the l2x0 L2 cache controller work
This fixes the DMA problems with the Ethernet driver.
This also updates some other parts of the patches.

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

SVN-Revision: 39203
11 years ago
Hauke Mehrtens 2bc9700c0d bcm53xx: update the ethernet core hacks
The PHY always says there is no link
Instead of doing this dma sync a mdelay does the same trick and it is as unreliable.

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

SVN-Revision: 39202
11 years ago
Hauke Mehrtens 5a55ace3b8 kernel: bgmac: update the driver patches to a version submitted for mainline kernel.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39201
11 years ago
Hauke Mehrtens bc3d934148 kernel: bgmac: update patches
This updates the bgmac backport patch to the current upstream version
and adds some more patches mostly for BCM4707.

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

SVN-Revision: 39165
11 years ago
Hauke Mehrtens 952db22551 kernel: update kernel 3.10 to 3.10.24
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39059
11 years ago
Gabor Juhos f1ef0b92be kernel: update 3.10 to 3.10.21
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38972
11 years ago
Imre Kaloz 5de876bc78 there's no such thing as a soft fpu, this target should be fine without these
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38940
11 years ago