Commit Graph

287 Commits (e1f0a7e841750fe8e47b4755fb5f849bcda2b50d)

Author SHA1 Message Date
Rafał Miłecki f87990840d bcm53xx: support sysupgrade with Netgear R7000 original firmware
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46732
9 years ago
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
9 years ago
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
9 years ago
Rafał Miłecki 1111782e20 bcm53xx: use backported patches for UART0 and profiling
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46729
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
Felix Fietkau a5c3407474 bcm53xx: allow device tree to override SPI flash partition layout
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46538
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
Rafał Miłecki cf93a8f227 bcm53xx: add early support for Netgear R7000
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46363
9 years ago
Hauke Mehrtens 29039f51b3 kernel: refresh patches on linux 3.18
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 46308
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
Rafał Miłecki 099f3cb7ec bcm53xx: use UART serial DT patch sent upstream
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46139
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
Rafał Miłecki 90d425039b bcm53xx: enable USB power on Buffalo WZR-1750DHP
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46087
9 years ago
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
9 years ago
Rafał Miłecki 167a2dc12e bcm53xx: enable USB power on Netgear R6250
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46083
9 years ago
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
9 years ago
Rafał Miłecki 63bc66cfcd bcm53xx: fix enabling GPIO-controlled USB power
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46081
9 years ago
Rafał Miłecki b3afbe4918 bcm53xx: add xHCI support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46080
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
Rafał Miłecki 2364dd9331 bcm53xx: refresh kernel config
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45916
9 years ago
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
9 years ago
Rafał Miłecki 3d4f163df1 bcm53xx: sysupgrade: drop useless shift in platform.sh
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45914
9 years ago
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
9 years ago
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
9 years ago
Rafał Miłecki 48da51ed03 bcm53xx: update NVRAM driver to support getting contents
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45907
9 years ago
Rafał Miłecki 9845d729a9 bcm53xx: build images for Asus devices
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45790
9 years ago
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
9 years ago
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
9 years ago
Rafał Miłecki 63bb7c51db bcm53xx: add Asus RT-AC87U partitioning hacky workaround
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45694
9 years ago
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
9 years ago
Rafał Miłecki ab83610563 bcm53xx: use backported Asus RT-AC87U DT patch
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45691
9 years ago
Rafał Miłecki abed46aacc bcm53xx: enable RT-AC87U UART console
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 45690
9 years ago
Rafał Miłecki 3dd9274332 bcm53xx: add support for SmartRG SR400ac
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45686
9 years ago
Rafał Miłecki b4ecf19faa bcm53xx: replace DT patches with backports from stblinux
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45685
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago