Commit Graph

393 Commits (f89a20a89aebe4767c606b4e04a6a3906e1ee26c)

Author SHA1 Message Date
Rafał Miłecki 000295f8ba bcm53xx: move iProc patches that went mainline
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48370
8 years ago
Rafał Miłecki bba8f059d7 bcm53xx: backport iProc Kconfig fixes
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48369
8 years ago
Rafał Miłecki 1dfa369c98 bcm53xx: group iProc patches into patchsets they were sent in
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48368
8 years ago
Hauke Mehrtens cdb83aaf5f kernel/4.3: update to version 4.3.3
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de

SVN-Revision: 48224
9 years ago
Hauke Mehrtens 93b50ade93 kernel/4.1: update to version 4.1.15
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 48223
9 years ago
Hauke Mehrtens ba3a749f9b kernel: refresh patches for kernel 4.4
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 48222
9 years ago
Felix Fietkau 2499a57d92 targets: add kernel image dependencies on device tree files
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48146
9 years ago
Rafał Miłecki e17c1e45ad bcm53xx: fix USB patch breaking 4.4 compilation
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48112
9 years ago
Rafał Miłecki ccb7d794ff kernel: update bcma by backporting 4.4 and 4.5 patches
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48111
9 years ago
Rafał Miłecki ef53dc754f bcm53xx: switch to simpler devm_gpiod_get in USB driver
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48062
9 years ago
Rafał Miłecki 7bede46e58 kernel: make bcm47xxpart work with TRX flashed at bad block(s)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48061
9 years ago
Rafał Miłecki 224984ca01 kernel: drop bcm47xxpart patch for Xiaomi
It was never tested, most likely not working (because of le32_to_cpu)
and not upstreamed.

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

SVN-Revision: 48060
9 years ago
Rafał Miłecki 716905b986 bcm53xx: print bcm47xxpart buf to debug R8000 UBI problem
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47896
9 years ago
Jo-Philipp Wich 67e1c87012 all: drop old uci-defaults.sh
Replace former uci-defaults.sh implementation with the uci-defaults-new.sh one
and update all users accordingly.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47867
9 years ago
Rafał Miłecki dce5a5b9db bcm53xx: update BCM5301X SMP patch to fixed version from stblinux
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47810
9 years ago
Rafał Miłecki c8c708f367 bcm53xx: fix selecting HAVE_SMP symbol in Kconfig
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47809
9 years ago
Rafał Miłecki b473cd8085 bcm53xx: use backported BCM5301X patches from stblinux soc/next
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47807
9 years ago
Rafał Miłecki 3333f75caf kernel: add bcm47xxpart patches sent for 4.5 merge window
This replaces old bcm53xx patch for scanning whole flash and makes
bcm47xxpart compatible with NAND.

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

SVN-Revision: 47800
9 years ago
Hauke Mehrtens cf6b9cdbe4 kernel: add missing config options for kernel 4.4
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47796
9 years ago
Jo-Philipp Wich 527ec2af59 all: remove dummy ucidef_set_interface_loopback() from board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47744
9 years ago
Jo-Philipp Wich 8f8b702f85 board.d: remove redundant ucidef_set_interfaces_lan_wan() calls
This removes calls to ucidef_set_interfaces_lan_wan() and
ucidef_set_interfaces_lan() on boards where all relevant info can be
inferred from the switch definition.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47722
9 years ago
Jo-Philipp Wich 9b02e73188 board.d: merge ucidef_add_switch() and ucidef_add_switch_ports()
This changes uci-defaults-new.sh, config_generate and all relevant board.d
files in order combine ucidef_add_switch() and ucidef_add_switch_ports() into
a single function.

Also removes now superfluous enable and reset arguments.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47721
9 years ago
Rafał Miłecki 2bcbe28580 bcm53xx: move BCM5301X patches to use 08x prefix
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47713
9 years ago
Rafał Miłecki 9f3300393a bcm53xx: use backported versiions or R8000 & dt-bindings patches
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47711
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
Rafał Miłecki 2766887751 bcm53xx: update linux 4.4 config
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47704
9 years ago
Rafał Miłecki d90561c929 bcm53xx: add linux 4.4 support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47703
9 years ago
Jo-Philipp Wich c4ea02cc69 bcm53xx: switch to ucidef_add_switch_ports()
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47692
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
Rafał Miłecki d2c1087536 bcm53xx: Netgear R8000: define GPIO powering USB ports
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47337
9 years ago
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
9 years ago
Rafał Miłecki 0a8196818d bcm53xx: add missing Netgear R8000 LEDs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47282
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
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
9 years ago
Hauke Mehrtens 99a468a9dd bcm53xx: remove support for kernel 3.18
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47198
9 years ago
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
9 years ago
Rafał Miłecki c6401c6d61 bcm53xx: add early support for Linksys EA6300 V1
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

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