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
10 years ago
Felix Fietkau
2dbe131a62
bcm53xx: fix bcma gpio chip base
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45399
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
Rafał Miłecki
9d6e04a4f1
bcm53xx: build image for ASUS RT-AC56U
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45353
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
Rafał Miłecki
a19b69a717
bcm53xx: compare provided firmware magic with device magic
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45290
10 years ago
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
10 years ago
Rafał Miłecki
91071e366c
bcm53xx: sprom: simplify reading NVRAM after last backports
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45229
10 years ago
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
10 years ago
Felix Fietkau
414e8ba634
bcm53xx: use the correct kernel image
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45003
10 years ago
Felix Fietkau
48c69e3022
bcm53xx: convert to new image building code
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44996
10 years ago
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
10 years ago
Felix Fietkau
0a84da0841
bcm53xx: add missing cache controller errata options
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44947
10 years ago
Felix Fietkau
a6f914d573
bcm53xx: remove linux 3.14 support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44946
10 years ago
Rafał Miłecki
fb6164a377
bcm53xx: add SMP support
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44939
10 years ago
Rafał Miłecki
e0155ad7b0
bcm53xx: add support for Asus RT-AC68U
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44934
10 years ago
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
10 years ago
Rafał Miłecki
d324dd4ff3
bcm53xx: backport BCM5301X Netgear R6250/R8000 DT patches
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44932
10 years ago
Rafał Miłecki
a4523c8e1d
bcm53xx: refresh patches
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44931
10 years ago
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
10 years ago
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
10 years ago
Rafał Miłecki
7c6f7b716b
bcm53xx: switch to 3.18
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44852
10 years ago
Rafał Miłecki
0a9b7ea932
bcm53xx: support NVRAM prefixes with extra / in devpath
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44755
10 years ago
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
10 years ago
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
10 years ago
Rafał Miłecki
c3b9b35155
bcm53xx: fix printing NAND controller revision
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44622
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
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
10 years ago
Rafał Miłecki
08b45f73db
bcm53xx: include kmod-brcmfmac in default profile
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44467
10 years ago
Rafał Miłecki
44253d311f
bcm53xx: sprom: extract for PCI host
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44464
10 years ago
Rafał Miłecki
4c98253648
bcm53xx: sprom: prepare to support other hosttype-s
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44463
10 years ago
Rafał Miłecki
b5310e180d
bcm53xx: use bcm47xx_wdt for restarting device
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44408
10 years ago
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
10 years ago
Rafał Miłecki
ddcbef5766
kernel: backport bcma patches queued for 3.20
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44385
10 years ago
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
10 years ago
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
10 years ago
Rafał Miłecki
539cd23892
bcm53xx: fix partitions on Netgear R8000
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44219
10 years ago
Rafał Miłecki
1d1a1c19bf
bcm53xx: fix booting BCM4709
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44218
10 years ago
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
10 years ago
Rafał Miłecki
251b42d491
bcm53xx: early support for Netgear R8000
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 44186
10 years ago