Rafał Miłecki
0dda38b472
bcm53xx: fix typo in BCM5310X (patch name and subject)
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47710
2015-12-03 10:51:42 +00:00
Rafał Miłecki
4333cb73f7
bcm53xx: move & update accepted USB patch for GPIO control
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47709
2015-12-03 10:51:32 +00:00
Rafał Miłecki
448bf7819b
bcm53xx: use backported BCM5301X patches from stblinux devicetree/next
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47708
2015-12-03 10:19:16 +00:00
Rafał Miłecki
7eed5caecd
bcm53xx: use backported BCM5301X patches from stblinux soc/next
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47707
2015-12-03 10:18:57 +00:00
Rafał Miłecki
4e837fa130
bcm53xx: set vcc-gpio properties in one patch
...
No reason to handle Buffalo WXR-1900DHP in separated patch.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47706
2015-12-03 08:36:41 +00:00
Rafał Miłecki
0641728fa2
bcm53xx: drop fixed clock from DTS for Buffalo WXR-1900DHP
...
We don't use fixed clock in 4.4 (and 4.3) anymore.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47705
2015-12-03 08:36:34 +00:00
Rafał Miłecki
2766887751
bcm53xx: update linux 4.4 config
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47704
2015-12-03 08:19:30 +00:00
Rafał Miłecki
d90561c929
bcm53xx: add linux 4.4 support
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47703
2015-12-03 08:19:25 +00:00
Jo-Philipp Wich
c4ea02cc69
bcm53xx: switch to ucidef_add_switch_ports()
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 47692
2015-12-02 18:51:12 +00:00
Hauke Mehrtens
f17be5617a
bcm53xx: update PCIe driver
...
This updates the iProc PCIe driver to the version currently submitted
for kernel 4.5.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47688
2015-12-02 15:24:53 +00:00
Hauke Mehrtens
0e73da37d5
bcm53xx: update SMP patches
...
Broadcom submitted new SMP patches for this SoC to upstream Linux, add
them to OpenWrt.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47687
2015-12-02 15:23:08 +00:00
Hauke Mehrtens
c03f264f6d
bcm53xx: activate workarounds for erratas
...
This also deactivates some workaround for erratas only seen in older
CPU cores and L2 cores not used in this SoC.
This partly reverts commit r44947.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47686
2015-12-02 15:19:29 +00:00
Hauke Mehrtens
1d1c9d56dd
bcm53xx: move patch 132-ARM-BCM5301X-Add-missing-Netgear-R8000-LEDs.patch
...
This patch is currently placed directly behind the SMP patches and has
nothing to do with SMP, move it to an other position.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47685
2015-12-02 15:14:58 +00:00
Rafał Miłecki
055ee48ab0
bcm53xx: update bcm53xxspiflash to match spi-nor backported from 4.4-rc1
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47653
2015-11-26 11:43:16 +00:00
Hauke Mehrtens
cb0c8da7c2
kernel: take bcm47xx_nvram.h from kernel and not backports
...
compat-wireless/backports now contains a bcm47xx_nvram.h file to
backport some of the functions in it which are used by the bcmfmac
driver. This file just checks for the kernel versions and provide an
empty implementations on older kernel versions. This is OK on most
systems, but on bcm47xx / bcm53xx systems we want to call the real
functions here. This commit removes the file from backports in our
build process like we do it with the bcma and ssb header files. Instead
we add a recent version into our kernel so all code uses only one
header file. On bcm47xx / bcm53xx the real implementations of this code
will be used.
Reported-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47467
2015-11-13 23:51:31 +00:00
Rafał Miłecki
d2c1087536
bcm53xx: Netgear R8000: define GPIO powering USB ports
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47337
2015-11-01 22:21:59 +00:00
Rafał Miłecki
c348b3317a
bcm53xx: replace USB patch fixing power control with the most recent version
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47336
2015-11-01 22:21:49 +00:00
Rafał Miłecki
0a8196818d
bcm53xx: add missing Netgear R8000 LEDs
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47282
2015-10-30 14:44:06 +00:00
Rafał Miłecki
e6944a3490
bcm53xx: add workaround for Netgear R8000 network
...
According to the info from NVRAM we should use port 8 for the CPU (and
interface eth2). Unfortunately it doesn't work right now, so lets switch
to the port 5.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Forwardport of r46586 from 15.05
SVN-Revision: 47281
2015-10-30 12:55:37 +00:00
Hauke Mehrtens
4fd9028f44
bcm53xx: add clk tree driver
...
These patches are written by Broadcom and will be in mainline Linux
kernel soon. I had some problems to get them backported to kernel 4.1,
so currently they are only available for 4.3.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47253
2015-10-25 22:46:08 +00:00
Hauke Mehrtens
da94b00df5
kernel: update kernel 4.1 to version 4.1.11
...
https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.11
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47252
2015-10-25 17:32:01 +00:00
Hauke Mehrtens
fa4395db04
bcm53xx: add support basic for kernel 4.3
...
The files directory is now split up into the files which are needed for
every kernel version and the files only needed by kernel 4.1. The files
in files-4.1 are already merged into mainline kernel 4.3. This patch
only removed patches which were merged into mainline kernel 4.3.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47251
2015-10-25 16:43:14 +00:00
Hauke Mehrtens
e67b786afe
bcm53xx: add missing patch from r47248 for USB 3.0
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47249
2015-10-23 22:38:07 +00:00
Hauke Mehrtens
aaa20ae2c2
bcm53xx: update USB 3.0 driver with version submitted upstream
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47248
2015-10-23 22:32:38 +00:00
Hauke Mehrtens
5682b0d954
bcm53xx: use Broadcom's proposed SMP implementation
...
This replaces our SMP implementation with a very similar version which
is Broadcom currently trying to get into mainline kernel.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47247
2015-10-23 22:29:05 +00:00
Hauke Mehrtens
dc01c61664
bcm53xx: Add BCM SVK DT files
...
Add device tree files for Broadcom Northstar based SVKs. Since the
bcm5301x.dtsi already exists, all that is necessary is the dts files to
enable the UARTs. With these files, the SVKs are able to boot to shell.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47246
2015-10-23 22:26:49 +00:00
Hauke Mehrtens
99a468a9dd
bcm53xx: remove support for kernel 3.18
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47198
2015-10-17 11:49:01 +00:00
Hauke Mehrtens
0cd478518f
kernel: update 4.1 to 4.1.10
...
Fixes a regression on spi flash devices (upstream commit 1583eaece6fa).
Changelogs:
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.7
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.8
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.9
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.10
096-ipv4-off-by-one-in-continuation-handling-in-proc-net.patch was applied
upstream and dropped.
Signed-off-by: Mathias Kresin <openwrt@kresin.me>
[update from 4.1.9 to 4.1.10]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47104
2015-10-04 11:34:39 +00:00
Rafał Miłecki
c6401c6d61
bcm53xx: add early support for Linksys EA6300 V1
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47052
2015-09-26 22:57:33 +00:00
Hauke Mehrtens
41f9b5e42e
bcm53xx: add NAND flash chip description for Asus RT-AC87U
...
This should fix #20492 .
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46892
2015-09-12 11:10:34 +00:00
Rafał Miłecki
450aebcdce
bcm53xx: reorder some arch patches
...
This moves arch patches affecting many DTS files. Thanks to this change
we can put some ready-to-mainline patches at 300-319 and simplify
backporting process.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46889
2015-09-11 22:36:05 +00:00
Hauke Mehrtens
b075d5e734
bcm53xx: update to kernel 4.1
...
This makes bcm53xx use kernel 4.1 by default now.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46877
2015-09-11 18:52:18 +00:00
Rafał Miłecki
f87990840d
bcm53xx: support sysupgrade with Netgear R7000 original firmware
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46732
2015-08-26 15:21:14 +00:00
Rafał Miłecki
8f77e9f668
bcm53xx: add OpenWrt specific stuff for Netgear R7000
...
This adds DT things that couldn't be upstreamed yet.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46731
2015-08-26 15:21:07 +00:00
Rafał Miłecki
36a8075d90
bcm53xx: use pending Netgear R7000 patch
...
It includes support for LEDs and buttons.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46730
2015-08-26 14:51:47 +00:00
Rafał Miłecki
1111782e20
bcm53xx: use backported patches for UART0 and profiling
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46729
2015-08-26 14:39:06 +00:00
John Crispin
6856535e29
kernel: move linux, part-probe dt parsing in generic code
...
The "linux,part-probe" dts parsing is a pretty neat generic feature.
It has been posted to kernel.org and could easily be reused by all
targets.
This change moves the patch to the 3.18 and 4.1 generic folders, and
makes the feature available to all platforms who may want to use it.
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46654
2015-08-17 06:17:37 +00:00
Jonas Gorski
4ecae78c16
image.mk: replace all Build/netgear-chk with a generic implementation
...
Instead of letting each target define it themselves, create on in
include/image.mk and let the targets use it.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46596
2015-08-14 13:05:14 +00:00
Jonas Gorski
b6abb59975
bcm53xx: prefix netgear specific device variables with NETGEAR_
...
Rename BOARD_ID to NETGEAR_BOARD_ID and REGION to NETGEAR_REGION.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46593
2015-08-14 13:03:36 +00:00
Felix Fietkau
a5c3407474
bcm53xx: allow device tree to override SPI flash partition layout
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46538
2015-07-31 20:55:30 +00:00
Hauke Mehrtens
ac96a1665a
bcm53xx: update Disable MMU and Dcache during decompression
...
This replaces the old patch with the version from Florian.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46504
2015-07-26 15:52:59 +00:00
Hauke Mehrtens
91abbde594
bcm53xx: update config
...
This activates CONFIG_MULTIUSER and sets the maximal number of cpus to 2.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46500
2015-07-26 15:51:37 +00:00
Hauke Mehrtens
60cecc6fa5
bcm53xx: fix usb3 build with kernel 4.1
...
One argument was removed with kernel 4.1 from xhci_handshake() which
caused a compile error.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46369
2015-07-14 18:51:23 +00:00
Rafał Miłecki
cf93a8f227
bcm53xx: add early support for Netgear R7000
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46363
2015-07-14 10:25:46 +00:00
Hauke Mehrtens
29039f51b3
kernel: refresh patches on linux 3.18
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46308
2015-07-12 13:47:16 +00:00
Jonas Gorski
901a7fa067
kernel: update 3.18 to 3.18.17
...
Changelog:
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.17
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46150
2015-06-30 23:26:09 +00:00
Rafał Miłecki
cc758e7de0
bcm53xx: port last 2 UART patches to 4.1
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46141
2015-06-29 06:59:45 +00:00
Rafał Miłecki
d3544a20a8
bcm53xx: rework patch enabling UART support
...
Follow upstream patch and handle it using &uart0. Also disable &uart1 as
it's most likely unused. This will allow us to get valuable reports and
upstream these changes.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46140
2015-06-29 06:48:41 +00:00
Rafał Miłecki
099f3cb7ec
bcm53xx: use UART serial DT patch sent upstream
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46139
2015-06-29 06:48:08 +00:00
Hauke Mehrtens
52e042ea55
bcm53xx: add upstream nand driver
...
This adds the upstream Broadcom nand driver and makes use of it.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46131
2015-06-25 22:00:36 +00:00
Hauke Mehrtens
164e82099d
bcm53xx: add upstream PCIe driver
...
This patch adds the missing parts to use the upstream Broadcom PCIe
driver and makes use of it.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46130
2015-06-25 21:56:34 +00:00
Hauke Mehrtens
ca49bcadae
bcm53xx: add arm l2c overwrite options like in mainline kernel
...
Instead of setting the l2c_aux_val variable in the board code make it
possible to set these through device tree and make use of that.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46129
2015-06-25 21:43:16 +00:00
Hauke Mehrtens
37fb5ab893
bcm53xx: add support for kernel 4.1
...
This only removes the patches already applied upstream and makes the
rest apply cleanly.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46128
2015-06-25 21:33:53 +00:00
Rafał Miłecki
b0cdcf4e93
bcm53xx: respect ACTIVE_LOW when powering USB using GPIO
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46088
2015-06-21 16:47:05 +00:00
Rafał Miłecki
90d425039b
bcm53xx: enable USB power on Buffalo WZR-1750DHP
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46087
2015-06-21 16:26:23 +00:00
Rafał Miłecki
0049d0ca75
bcm53xx: update SPROM driver to include just-sent patch
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46086
2015-06-21 14:26:03 +00:00
Rafał Miłecki
167a2dc12e
bcm53xx: enable USB power on Netgear R6250
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46083
2015-06-21 11:09:49 +00:00
Rafał Miłecki
64d3e52ad0
bcm53xx: update xHCI patch
...
This drops some debugging pr_info and adds platform_device_unregister.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46082
2015-06-21 11:09:30 +00:00
Rafał Miłecki
63bc66cfcd
bcm53xx: fix enabling GPIO-controlled USB power
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46081
2015-06-21 10:18:52 +00:00
Rafał Miłecki
b3afbe4918
bcm53xx: add xHCI support
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46080
2015-06-21 10:18:43 +00:00
Jonas Gorski
9a59b350b7
kernel: update 3.18 to 3.18.16
...
Changelogs:
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.15
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.16
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46011
2015-06-17 09:54:55 +00:00
Rafał Miłecki
351a2ec15f
bcm53xx: use USB patches sent upstream by Hauke
...
This stabilizes USB support. The old patch was handling initialization
in a different order that was causing some problems with few USB 3.0
devices. Some weren't detected, some were working unstable, sometimes
USB 3.0 could hang the whole controller.
A still known issue (but not a regression) is controller hang triggered
by connecting USB 1.1 device when not having OHCI controller enabled
(kmod-usb-ohci).
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45997
2015-06-16 08:28:46 +00:00
Rafał Miłecki
950c0191c2
bcm53xx: update NVRAM driver to MIPS version from upstream-sfr
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45943
2015-06-10 20:34:32 +00:00
Rafał Miłecki
e011a5c375
bcm53xx: backport the latest 4.2 ARM BCM5302X patches
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45922
2015-06-07 14:41:05 +00:00
Rafał Miłecki
2364dd9331
bcm53xx: refresh kernel config
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45916
2015-06-06 22:34:37 +00:00
Rafał Miłecki
46a25c6e8a
bcm53xx: fallback to default_do_upgrade if NAND upgrade fails
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45915
2015-06-06 17:52:53 +00:00
Rafał Miłecki
3d4f163df1
bcm53xx: sysupgrade: drop useless shift in platform.sh
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45914
2015-06-06 17:26:05 +00:00
Rafał Miłecki
54fb91f0cf
bcm53xx: extract TRX from image on the fly
...
Extracting TRX to separated file in /tmp/ just wastes some RAM while we
can just pass a proper extracting command to the default_do_upgrade.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45912
2015-06-06 17:23:03 +00:00
Rafał Miłecki
5e90144aec
bcm53xx: sysupgrade: extract TRX partitions directly from vendor image
...
Extracting full TRX out of vendor format is not needed as otrx supports
passing TRX offset. This saves some RAM during sysupgrade.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45911
2015-06-06 17:05:31 +00:00
Rafał Miłecki
48da51ed03
bcm53xx: update NVRAM driver to support getting contents
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45907
2015-06-05 21:49:57 +00:00
Rafał Miłecki
9845d729a9
bcm53xx: build images for Asus devices
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45790
2015-05-27 16:20:06 +00:00
Hauke Mehrtens
47eca7a1ca
bcm53xx: add OHCI (USB 1.1) support
...
There is also a OHCI controller, activate it for USB 1.1 support.
This should close #19601 .
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 45716
2015-05-23 14:54:44 +00:00
Jonas Gorski
76d079204d
kernel: update 3.18 to 3.18.14
...
Changelogs:
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.12
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.13
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.14
Build tested on brcm63xx and ipq806x, runtested on brcm63xx.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45711
2015-05-21 19:32:46 +00:00
Rafał Miłecki
63bb7c51db
bcm53xx: add Asus RT-AC87U partitioning hacky workaround
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45694
2015-05-17 12:10:38 +00:00
Rafał Miłecki
75b8e247e3
bcm53xx: try to fix network on Asus RT-AC87U
...
This device seems to have switch port 7 connected to the CPU:
vlan1ports=1 2 3 5 7*
vlan2ports=0 7u
it should be handled by eth1 and NVRAM seems to confirm that (no
et0macaddr entry, existing et1macaddr & et1phyaddr entries).
One of the remaining ports (4/8?) may be connected to the Quantenna SoC.
Original firmware boot log contains following messages:
(0x00,0x5d)Port 5 States Override: 0xfb
(0x00,0x5f)Port 7 States Override: 0xfb
(0x00,0x0e)Port 8 States Override: 0x0a
(why does it force port 5 state?!)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45692
2015-05-16 17:14:25 +00:00
Rafał Miłecki
ab83610563
bcm53xx: use backported Asus RT-AC87U DT patch
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45691
2015-05-16 15:44:00 +00:00
Rafał Miłecki
abed46aacc
bcm53xx: enable RT-AC87U UART console
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 45690
2015-05-16 11:45:52 +00:00
Rafał Miłecki
3dd9274332
bcm53xx: add support for SmartRG SR400ac
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45686
2015-05-13 20:01:15 +00:00
Rafał Miłecki
b4ecf19faa
bcm53xx: replace DT patches with backports from stblinux
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45685
2015-05-13 20:01:03 +00:00
Rafał Miłecki
af019cad56
bcm53xx: use of_machine_is_compatible helper in b53 fix
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45684
2015-05-13 14:34:23 +00:00
Rafał Miłecki
afb98aea4d
bcm53xx: fix "typo" in b53 patch fixing R8000 CPU port
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45683
2015-05-13 13:12:57 +00:00
Rafał Miłecki
610ee0d85a
bcm53xx: add b53 hacky workaround for Netgear R8000 CPU port
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45682
2015-05-13 13:11:17 +00:00
Rafał Miłecki
2d3aaa2d2f
bcm53xx: fix default network interface on Netgear R8000
...
It has 3 Ethernet interfaces, each of them connected to separated switch
port. Default NVRAM uses switch port 8 as CPU which is connected to the
3rd interface (eth2).
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45681
2015-05-13 13:11:04 +00:00
Rafał Miłecki
45ec92fa30
bcm53xx: bgmac: add support for the 3rd core
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45680
2015-05-13 13:11:00 +00:00
Rafał Miłecki
d2e5e2bf54
bcm53xx: sync NVRAM and SPROM drivers with upstream version
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45678
2015-05-13 08:30:45 +00:00
Rafał Miłecki
3a6cdac37c
kernel: backport first bcma patches from 4.2
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45652
2015-05-09 17:38:48 +00:00
Rafał Miłecki
33e597b241
bcm53xx: sort ports from NVRAM entries before matching them
...
Some devices have unsorted ports which may lead to broken config.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45575
2015-04-24 07:47:25 +00:00
Rafał Miłecki
866fe3895d
bcm53xx: sysupgrade: check if new kernel fits partition size
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45547
2015-04-21 11:21:34 +00:00
Rafał Miłecki
457d9caf4d
bcm53xx: sysupgrade: improve NAND warnings
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45546
2015-04-21 11:04:38 +00:00
Rafał Miłecki
5b9d70c888
bcm53xx: image: prepare for generating serial flash images
...
There are some rare devices without NAND, like Netgear EX6200 or
TP-LINK Archer C8.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45545
2015-04-21 08:42:41 +00:00
Rafał Miłecki
a86e7330dc
bcm53xx: sysupgrade: drop some debugging message
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45544
2015-04-21 08:34:25 +00:00
Rafał Miłecki
688c1d74b9
bcm53xx: sysupgrade: allow flashing NAND devices without --force
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45543
2015-04-21 08:32:59 +00:00
Rafał Miłecki
d263c8e1a9
bcm53xx: sysupgrade: support flashing TRX with UBI image
...
Signed-off-by: Dan Haab <dhaab@luxul.com>
SVN-Revision: 45542
2015-04-21 08:20:06 +00:00
Rafał Miłecki
92875dbd3d
bcm53xx: append only 1 block (with erasing mark) to UBI
...
This is needed as prepare_generic_squashfs generates more data (in our
case 0x40004 B) and it's complex for sysupgrade to extract UBI image out
of TRX.
Signed-off-by: Dan Haab <dhaab@luxul.com>
SVN-Revision: 45541
2015-04-21 08:20:00 +00:00
Rafał Miłecki
ac6879caaa
bcm53xx: always use 4 MiB for TRX kernel partition to simplify upgrades
...
Signed-off-by: Dan Haab <dhaab@luxul.com>
SVN-Revision: 45540
2015-04-21 08:19:53 +00:00
Felix Fietkau
c73adc80a3
bcm53xx: add profiling support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45480
2015-04-17 18:52:15 +00:00
Rafał Miłecki
9e03c36259
bcm53xx: fix handling absolute paths in sysupgrade (for vendor formats)
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45473
2015-04-17 06:03:00 +00:00
Felix Fietkau
582b20c4e2
kernel: accidentally committed a few patches in the wrong place, move them
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45468
2015-04-16 20:43:11 +00:00
Felix Fietkau
b860db2c63
bcm53xx: add power button for WXR-1900DHP
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45467
2015-04-16 20:09:55 +00:00
Felix Fietkau
f6cbbe1332
bcm53xx: make NAND flash timeouts non-interruptible to fix corruption issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45464
2015-04-16 20:09:36 +00:00
Felix Fietkau
d51420eedc
bcm53xx: increate trx maxlen to prevent build failures with bigger images
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45461
2015-04-16 20:09:15 +00:00
Felix Fietkau
f8d499fd3f
bcm53xx: fix WXR-1900DHP power led name and add usb led
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45460
2015-04-16 20:09:08 +00:00
Felix Fietkau
c64fdadea7
bcm53xx: make use of the new board detection layer
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45458
2015-04-16 12:18:34 +00:00
Felix Fietkau
147e005fcf
bcm53xx: add USB 2.0 power control for WXR-1900DHP
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45451
2015-04-15 16:06:20 +00:00
Felix Fietkau
83e31eb7e7
bcm53xx: add USB 2.0 support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45450
2015-04-15 16:06:14 +00:00
Rafał Miłecki
3edb55143d
bcm53xx: add (disabled) support for upgrading kernel during sysupgrade
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45445
2015-04-14 20:50:59 +00:00
Rafał Miłecki
3cb8bf44e6
otrx: change command line API to start with a mode
...
This will allow adding more modes without options conflict.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45443
2015-04-14 20:50:46 +00:00
Felix Fietkau
923bef1678
bcm53xx: refresh kernel patches
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45426
2015-04-13 22:23:37 +00:00
Felix Fietkau
24e9f52106
bcm53xx: add support for the Buffalo WXR-1900DHP
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45419
2015-04-13 17:32:25 +00:00
Felix Fietkau
1e48a48915
bcm53xx: fix GPIO pins > 16
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45418
2015-04-13 17:32:18 +00:00
Felix Fietkau
1f70f452cc
bcm53xx: add missing l2 cache controller AUXCTL bit
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45416
2015-04-13 17:32:05 +00:00
Felix Fietkau
d24388da44
bcm53xx: add a comment about the gpio base patch
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45408
2015-04-12 22:10:44 +00:00
Rafał Miłecki
77c75e6fa3
bcm53xx: try to handle Netgear R8000 VLANs config
...
It seems to have few ports connected to CPU (only for CPU sending data?)
as part of "SMP dual core 3 GMAC setup" feature.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45403
2015-04-12 20:11:25 +00:00
Felix Fietkau
2dbe131a62
bcm53xx: fix bcma gpio chip base
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45399
2015-04-12 17:22:04 +00:00
Rafał Miłecki
95ef64a779
bcm53xx: allow sysupgrade firmwares without UBI containing rootfs
...
In most cases it allows reverting back to the vendor firmware (as they
usually don't use UBI). If users wants to do that we can't do anything
anyway. Erease counters will be just lost. The only thing we do is warn:
"Flashing firmware without UBI for rootfs. All erase counters will be
lost."
It still requires forcing sysupgrade.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45392
2015-04-12 12:04:13 +00:00
Rafał Miłecki
24d40980b0
bcm53xx: add platform_pre_upgrade to prepare for kernel+UBI sysupgrade
...
We can now detect that provided firmware contains kernel and UBI image
partitions. Flashing it in a sane way (keeping erase counters) still
needs to be implemented.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45391
2015-04-12 11:46:16 +00:00
Rafał Miłecki
a04b71d330
bcm53xx: rework vendor fw handling to don't duplicate upgrade calls
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45389
2015-04-12 10:42:27 +00:00
Rafał Miłecki
503ccc502d
bcm53xx: fix UBI EOF patch to allow sysupgrade after first installation
...
With previous version of patch info about need of erasing blocks was
stored once per boot. It was breaking in following scenario:
1) First boot after installation (erasing blocks after 0xdeadc0de)
2) Doing sysupgrade (with ubidetach & ubiformat)
3) Attaching UBI again (it caused all blocks to be erased)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45387
2015-04-12 10:20:59 +00:00
Rafał Miłecki
9d6e04a4f1
bcm53xx: build image for ASUS RT-AC56U
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45353
2015-04-10 09:58:00 +00:00
Rafał Miłecki
71fcbffc91
bcm53xx: Luxul XWC-1000 has only 128 MiB of RAM
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45352
2015-04-10 09:42:48 +00:00
Rafał Miłecki
2198db252c
bcm53xx: switch to the otrx for verifying TRX images
...
This adds checking CRC32 of provided firmware image.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45320
2015-04-09 06:33:56 +00:00
Rafał Miłecki
4c1ee6f24d
bcm53xx: replace few BCM5301X patches with versions sent upstream
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45311
2015-04-08 09:22:02 +00:00
Rafał Miłecki
b6e8da2e14
bcm53xx: image: share function checking TRX in provided firmware
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45292
2015-04-07 14:14:08 +00:00
Rafał Miłecki
7abd779730
bcm53xx: display all errors (not just the 1st one) when checking image
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45291
2015-04-07 14:14:02 +00:00
Rafał Miłecki
a19b69a717
bcm53xx: compare provided firmware magic with device magic
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45290
2015-04-07 14:13:56 +00:00
Rafał Miłecki
509cce44bd
bcm53xx: sprom: sync with mainline driver
...
The main difference now is bcm53xx registering it as platform (DT)
driver.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45230
2015-04-02 12:02:56 +00:00
Rafał Miłecki
91071e366c
bcm53xx: sprom: simplify reading NVRAM after last backports
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45229
2015-04-02 12:01:56 +00:00
Rafał Miłecki
bf828d3fd0
bcm53xx: use bcm47xx_nvram.c with the latest patches
...
This will be hopefully a mainline version.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45204
2015-04-01 07:21:59 +00:00
Felix Fietkau
414e8ba634
bcm53xx: use the correct kernel image
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45003
2015-03-26 10:42:36 +00:00
Felix Fietkau
48c69e3022
bcm53xx: convert to new image building code
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44996
2015-03-25 17:57:44 +00:00
Felix Fietkau
68ca1f285c
bcm53xx: enable the full-line-of-zero optimization in the cache controller
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44977
2015-03-25 14:30:40 +00:00
Felix Fietkau
0a84da0841
bcm53xx: add missing cache controller errata options
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44947
2015-03-23 10:14:27 +00:00
Felix Fietkau
a6f914d573
bcm53xx: remove linux 3.14 support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44946
2015-03-23 10:14:20 +00:00
Rafał Miłecki
fb6164a377
bcm53xx: add SMP support
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44939
2015-03-22 15:07:40 +00:00
Rafał Miłecki
e0155ad7b0
bcm53xx: add support for Asus RT-AC68U
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44934
2015-03-22 01:57:15 +00:00
Rafał Miłecki
79c152b56b
bcm53xx: fix Asus RT-AC87U magic (even if not used yet)
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44933
2015-03-22 01:57:10 +00:00
Rafał Miłecki
d324dd4ff3
bcm53xx: backport BCM5301X Netgear R6250/R8000 DT patches
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44932
2015-03-22 01:57:06 +00:00
Rafał Miłecki
a4523c8e1d
bcm53xx: refresh patches
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44931
2015-03-22 01:56:47 +00:00
Rafał Miłecki
ba10454b91
kernel: backport bgmac patches
...
This allows dropping some hacky bcm53xx bgmac patch forcing link state.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44917
2015-03-21 11:45:50 +00:00
Rafał Miłecki
782e432797
bcm53xx: enable FIXED_PHY, we will need it for bgmac
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44916
2015-03-21 11:45:27 +00:00
Rafał Miłecki
7c6f7b716b
bcm53xx: switch to 3.18
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44852
2015-03-16 22:24:56 +00:00
Rafał Miłecki
0a9b7ea932
bcm53xx: support NVRAM prefixes with extra / in devpath
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44755
2015-03-14 16:35:56 +00:00
Rafał Miłecki
2b56913734
bcm53xx: fixup early device id 8012
...
Looks like the BCM53012 has a similar problem to the BCM53011.
Signed-off-by: Ian Kent <raven@themaw.net>
SVN-Revision: 44680
2015-03-11 17:32:02 +00:00
Rafał Miłecki
4c67f1d464
bcm53xx: fix typo in bcm47xx sprom driver
...
Fix thinko' in the bcm47xx sprom driver.
Signed-off-by: Ian Kent <raven@themaw.net>
SVN-Revision: 44679
2015-03-11 17:10:19 +00:00
Rafał Miłecki
c3b9b35155
bcm53xx: fix printing NAND controller revision
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44622
2015-03-07 12:31:42 +00:00
John Crispin
d15ac306fa
kernel: move KERNFS to generic config
...
KERNFS symbol is selected by SYSFS, so place it in generic config.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 44615
2015-03-06 07:56:47 +00:00
John Crispin
f04a268a04
kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED
...
Disable ARCH_NEEDS_CPU_IDLE_COUPLED by-default in generic config, since
only one platfrom (omap) needs them.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 44614
2015-03-06 07:56:34 +00:00
John Crispin
6617845711
kernel: move MTD_SPLIT_SUPPORT to generic config
...
CONFIG_MTD_SPLIT_SUPPORT symbol default value is 'y' and many platform
specific configs explicitly enables it, while no one platform disables
this symbol. So place it in generic config and remove from platform
specific configs.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 44612
2015-03-06 07:56:08 +00:00
Rafał Miłecki
c2cf1abf8f
bcm53xx: switch to IRQ buttons (keys)
...
Now bcma provides IRQ domain we don't have to poll anymore.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44596
2015-03-03 23:15:55 +00:00
Rafał Miłecki
a416029d4d
bcm53xx: add one more NVRAM possible size (0x180000)
...
Size 0x160000 was added to support Buffalo WZR-600DHP2, however Netgear
devices (R6250, R8000) require 0x180000.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44497
2015-02-20 07:07:53 +00:00
Rafał Miłecki
08b45f73db
bcm53xx: include kmod-brcmfmac in default profile
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44467
2015-02-16 19:51:21 +00:00
Rafał Miłecki
44253d311f
bcm53xx: sprom: extract for PCI host
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44464
2015-02-16 16:13:23 +00:00
Rafał Miłecki
4c98253648
bcm53xx: sprom: prepare to support other hosttype-s
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44463
2015-02-16 16:10:05 +00:00
Rafał Miłecki
b5310e180d
bcm53xx: use bcm47xx_wdt for restarting device
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44408
2015-02-11 14:41:07 +00:00
Rafał Miłecki
6bafb2f810
bcm53xx: backport bcm47xx_wdt changes to 3.18 to use this driver in future
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44390
2015-02-11 10:11:00 +00:00
Rafał Miłecki
ddcbef5766
kernel: backport bcma patches queued for 3.20
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44385
2015-02-11 10:04:51 +00:00
Rafał Miłecki
3ae30df7db
bcm53xx: drop unused (and broken) GPIOLIB patch
...
First of all this patch was broken since adding 3.18 for bcm53xx. It was
modifying ARCH_BRCMSTB instead of ARCH_BCM_5301X.
Secondly we don't need it as ARCH_MULTIPLATFORM selects
ARCH_WANT_OPTIONAL_GPIOLIB for us.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44383
2015-02-11 08:42:34 +00:00
Rafał Miłecki
3dbaab6f67
bcm53xx: fix loading SPROM content by bcma init change
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44367
2015-02-09 18:43:05 +00:00
Rafał Miłecki
539cd23892
bcm53xx: fix partitions on Netgear R8000
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44219
2015-01-30 07:25:43 +00:00
Rafał Miłecki
1d1a1c19bf
bcm53xx: fix booting BCM4709
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44218
2015-01-30 06:58:35 +00:00
Rafał Miłecki
ee75859533
bcm53xx: fix Netgear R8000 serial console
...
Thanks raven-auand.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44217
2015-01-30 06:30:44 +00:00
Rafał Miłecki
251b42d491
bcm53xx: early support for Netgear R8000
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44186
2015-01-28 21:55:43 +00:00
Rafał Miłecki
bba98a3c53
bcm53xx: backport official Buffalo WZR-900DHP patch
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44070
2015-01-21 07:23:31 +00:00
Rafał Miłecki
3b701e8023
bcm53xx: backport spi-nor changes to add gd25q128 support
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44069
2015-01-21 06:53:15 +00:00
Rafał Miłecki
f0d73a4381
bcm53xx: use final (backported) patch fixing serial console
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44059
2015-01-20 08:04:27 +00:00
Rafał Miłecki
ea1fe45fae
bcm53xx: backport 3 BCM5301X patches from Hauke repo
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44058
2015-01-20 07:21:30 +00:00
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
2015-01-20 06:58:03 +00:00
Rafał Miłecki
78b0da393b
bcm53xx: add support/firmware for Asus RT-AC87U
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44051
2015-01-19 11:05:22 +00:00
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
2015-01-16 15:59:29 +00:00
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
2015-01-14 13:41:05 +00:00
Rafał Miłecki
f59c84c431
bcm53xx: enable earlyprintk on more devices
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43965
2015-01-14 07:42:48 +00:00
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
2015-01-14 07:03:42 +00:00
Rafał Miłecki
55e766d78d
bcm53xx: refresh configs
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43963
2015-01-14 07:03:17 +00:00
Rafał Miłecki
d1a28cfbb2
bcm53xx: support flashing CHK and CyberTAN images
...
SVN-Revision: 43800
2014-12-30 17:45:53 +00:00
Rafał Miłecki
e7d7f59171
bcm53xx: support WAN connected to switch port 0
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43754
2014-12-20 15:09:01 +00:00
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
2014-12-18 16:23:42 +00:00
Rafał Miłecki
e21e9c5548
bcm53xx: backport spi-nor changes and update bcm53xxspiflash
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43738
2014-12-17 14:53:25 +00:00
Rafał Miłecki
dd9ca05249
bcm53xx: sysupgrade support for devices with serial flash
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43719
2014-12-15 15:43:46 +00:00
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
2014-12-15 10:37:00 +00:00
Rafał Miłecki
3aaee1ba02
bcm53xx: failsafe support
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43639
2014-12-11 20:31:07 +00:00
Rafał Miłecki
b55199cf41
bcm53xx: support LEDs on Buffalo devices
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43616
2014-12-11 11:23:26 +00:00
Rafał Miłecki
40d94a3ef0
bcm53xx: backport NVRAM driver sent upstream
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43612
2014-12-10 21:50:57 +00:00
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
2014-12-10 21:24:11 +00:00
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
2014-12-10 19:56:56 +00:00
Rafał Miłecki
960130e99c
bcm53xx: clean up nvram header
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43606
2014-12-10 18:29:26 +00:00
Rafał Miłecki
7093580424
bcm53xx: move SPROM driver to the target files
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43604
2014-12-10 18:07:01 +00:00
Rafał Miłecki
27a91a99d9
bcm53xx: move NVRAM driver to the target files
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43603
2014-12-10 18:01:24 +00:00
Rafał Miłecki
3fab0d818c
bcm53xx: move NVRAM header to the target files
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43602
2014-12-10 17:37:24 +00:00
Rafał Miłecki
613bc3ef3f
bcm53xx: bcm_nand: fix compilation
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43584
2014-12-08 18:28:54 +00:00
Rafał Miłecki
aed6b26431
bcm53xx: bcm_nand: switch from cmdlinepart to ofpart
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43580
2014-12-08 17:39:07 +00:00
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
2014-12-07 21:55:21 +00:00
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
2014-12-07 21:54:53 +00:00
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
2014-12-07 21:53:20 +00:00
Hauke Mehrtens
563f963b1b
kernel: refresh patches for kernel 3.18
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 43536
2014-12-07 16:12:44 +00:00
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
2014-12-07 11:02:52 +00:00
Rafał Miłecki
a20fa1cb48
bcm53xx: add early support for Buffalo WZR-900DHP
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43533
2014-12-07 10:55:44 +00:00
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
2014-12-05 16:46:55 +00:00
Rafał Miłecki
d1e0e39993
bcm53xx: squeeze (rename) BCM5301X patches
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43529
2014-12-05 16:15:16 +00:00
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
2014-12-05 16:13:27 +00:00
Rafał Miłecki
8033ccc975
kernel: update bcma up to 2014-10-27
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 43527
2014-12-05 16:11:03 +00:00
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
Hauke Mehrtens
180ee041fa
bcm53xx: select nvram package by default
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42522
2014-09-13 20:28:44 +00:00
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
2014-09-10 21:40:19 +00:00
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
2014-09-08 19:50:53 +00:00
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
2014-09-08 19:50:11 +00:00
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
2014-08-24 15:57:49 +00:00
Hauke Mehrtens
cc3545d165
bcm53xx: add bcm53xxspiflash driver for SPI flashes
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42260
2014-08-21 21:11:04 +00:00
Hauke Mehrtens
b118879cc3
bcm53xx: backport more spi-nor patches
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42259
2014-08-21 21:10:29 +00:00
Hauke Mehrtens
f66a0912f7
bcm53xx: add SPI controller driver
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 42223
2014-08-19 20:14:06 +00:00
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
2014-08-19 20:12:36 +00:00
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
2014-08-19 20:06:24 +00:00
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
2014-08-18 21:57:54 +00:00
Hauke Mehrtens
32b3f9cdc6
brcm47xx/bcm53xx: improve description
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 42204
2014-08-18 20:29:26 +00:00
Hauke Mehrtens
76866d42ac
bcm53xx: remove kernel 3.10
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 42203
2014-08-18 20:28:53 +00:00
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
2014-08-11 20:25:26 +00:00
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
2014-08-11 20:24:45 +00:00
Luka Perkov
dd8d729096
kernel: update 3.14 to 3.14.16
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 42070
2014-08-08 13:38:22 +00:00
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
2014-07-31 21:44:41 +00:00
Hauke Mehrtens
350765676e
bcm53xx: add restart support
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 41912
2014-07-31 21:43:40 +00:00
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
2014-07-22 21:40:41 +00:00
John Crispin
7d8f187201
target/linux/*/image/Makefile: use new dts path variable
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41791
2014-07-21 18:42:06 +00:00
John Crispin
ba63338d3f
kernel: update to 3.10.49 Signed-off-by: John Crispin <blogic@openwrt.org>
...
SVN-Revision: 41776
2014-07-20 17:31:11 +00:00
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
2014-06-26 13:47:42 +00:00
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
2014-05-29 19:25:40 +00:00
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
2014-04-23 22:02:18 +00:00
Hauke Mehrtens
d89aa2c3d6
bcm53xx: add initial support for kernel 3.14
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 40564
2014-04-23 21:53:50 +00:00
Gabor Juhos
d2812cb036
kernel: update 3.10 to 3.10.36
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40467
2014-04-12 11:59:07 +00:00
Gabor Juhos
627baa28d3
kernel: update 3.10 to 3.10.34
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40291
2014-03-27 09:28:33 +00:00
Gabor Juhos
f677b1bc7e
kernel: update 3.10 to 3.10.32
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39707
2014-02-23 10:59:40 +00:00
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
2014-02-04 23:00:55 +00:00
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
2014-02-04 22:55:23 +00:00
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
2014-02-04 22:53:52 +00:00
Gabor Juhos
a2543d72d8
kernel: update 3.10 to 3.10.28
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39399
2014-01-26 11:30:34 +00:00
Gabor Juhos
0e2586a774
kernel: update 3.10 to 3.10.26
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 39220
2014-01-11 16:06:37 +00:00
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
2014-01-04 23:46:44 +00:00
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
2014-01-04 18:27:09 +00:00
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
2014-01-04 18:25:05 +00:00
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
2013-12-26 23:22:31 +00:00
Hauke Mehrtens
952db22551
kernel: update kernel 3.10 to 3.10.24
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 39059
2013-12-15 19:16:30 +00:00
Gabor Juhos
f1ef0b92be
kernel: update 3.10 to 3.10.21
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38972
2013-12-01 09:59:53 +00:00
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
2013-11-29 10:25:43 +00:00
Hauke Mehrtens
a3752801df
bcm53xx: this ARM SoC does not have a FPU, use soft float.
...
model name : ARMv7 Processor rev 0 (v7l)
Features : swp half thumb fastmult edsp tls
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 38796
2013-11-13 22:26:08 +00:00
Hauke Mehrtens
aa790ea61f
bcm53xx: make bgmac work
...
This makes bgmac work without sprom and refreshed the patches.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 38715
2013-11-11 00:15:00 +00:00
Gabor Juhos
35656042f1
kernel: update 3.10 to 3.10.18
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38652
2013-11-05 08:25:45 +00:00
Gabor Juhos
b6b06000eb
kernel: update 3.10 to 3.10.17
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38506
2013-10-23 12:51:05 +00:00
Hauke Mehrtens
81e2f00367
kernel: update kernel to 3.10.15
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 38384
2013-10-13 19:28:29 +00:00
Hauke Mehrtens
125fc703bb
kernel: bgmac: move other bgmac patches to generic
...
The bgmac driver will be used on the brcm47xx and the bcm53xx target.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 38289
2013-10-02 22:25:26 +00:00
Hauke Mehrtens
06c8b90ebf
kernel: bgmac: move bgmac patches already applied in mainline kernel to generic
...
The bgmac driver will be used on the brcm47xx and the bcm53xx target.
These are only the patches already applied in current net-next/master
branch.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 38288
2013-10-02 22:24:01 +00:00
Gabor Juhos
9c8a5ef115
kernel: update 3.10 to 3.10.13
...
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 38228
2013-09-27 07:19:21 +00:00
Felix Fietkau
c8609ab4f8
build: unify arm target cflags
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 38211
2013-09-26 17:53:20 +00:00
Hauke Mehrtens
6910cb4d6f
bcm53xx: bgmac: use srab switch driver
...
use the srab switch driver on these SoCs.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 38200
2013-09-25 21:49:12 +00:00