Rafał Miłecki
d2a9c35af0
brcm47xx: fix reading WGT634U CFE variables with 4.1
...
This ports fix from r46584 to the 4.1.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46806
9 years ago
Rafał Miłecki
da2178eb7e
brcm47xx: add Netgear WNR1000 V3 support in the Linux arch code
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46805
9 years ago
Jonas Gorski
7d6cff4882
kernel: update 3.18 to 3.18.21
...
Changelog:
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.21
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46768
9 years ago
Jonas Gorski
f5601a97a2
brcm47xx: disable the openwrt commandline hack
...
We don't make use of it, so no need to have it enabled.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46756
9 years ago
Rafał Miłecki
a9559efe43
brcm47xx: fix Linksys E1200 V2 image filename
...
Drop unwanted suffix (copy & paste mistake).
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46742
9 years ago
Jonas Gorski
2d379e796f
kernel: update 4.1 to 4.1.6
...
Changelog:
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.6
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46713
9 years ago
Jonas Gorski
6be2305da8
kernel: update 4.1 to 4.1.5
...
Changelog:
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.5
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46598
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
bee065262a
brcm47xx: 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: 46594
9 years ago
Rafał Miłecki
4561cc2cca
brcm47xx: fix reading WGT634U CFE variables
...
We got check for nvram_len placed too early and the code never tried
reading CFE variables used on WGT634U. This is a regression introduced
in r45942 and reported in #20291 .
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46584
9 years ago
Hauke Mehrtens
b5b630ae38
brcm47xx: add support for kernel 4.1
...
This adds support for kernel 4.1 and removes kernel 4.0.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46166
10 years ago
Jonas Gorski
0f5b1a3eca
kernel: update 4.0 to 4.0.5
...
Changelog:
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.5
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46063
10 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
10 years ago
Rafał Miłecki
b273bb1896
brcm47xx: backport BCM47XX patches (NVRAM & BCMA_HOST_PCI)
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45942
10 years ago
Rafał Miłecki
bd150495bb
brcm47xx: refresh kernel config
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45921
10 years ago
Rafał Miłecki
46bc3ed25a
brcm47xx: sysupgrade: drop useless shift in platform.sh
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45913
10 years ago
Rafał Miłecki
fc0776f2c7
brcm47xx: backport MIPS BCM47XX changes queued for 4.2
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45906
10 years ago
John Crispin
0da6f8a52b
brcm47xx: extract TRX from image on the fly
...
Extracting TRX to separated file in /tmp/ requires extra RAM which may
not be available on some chepaer devices. Instead of that lets pass a
proper extracting command to the default_do_upgrade.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45901
10 years ago
Rafał Miłecki
6bc9e00e94
kernel: backport ssb fix for WRT350N v1 (BCM4705) reboots
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45865
10 years ago
Rafał Miłecki
92ebd6fdbe
brcm47xx: image: fix typo in Asus WL-500gP v2 fw file name
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45811
10 years ago
Rafał Miłecki
ebd651ad99
brcm47xx: add LEDs/buttos for Asus N10U
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45797
10 years ago
Rafał Miłecki
a5000c0af6
brcm47xx: drop 4.0 patch that is in 4.0.4
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45796
10 years ago
Rafał Miłecki
69aefc771f
brcm47xx: build images for Asus devices
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45789
10 years ago
Jo-Philipp Wich
048f46a075
brcm47xx: use common image prefix
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 45779
10 years ago
Rafał Miłecki
f08a10f2b9
brcm47xx: build image for Asus RT-N66U
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45774
10 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
10 years ago
Rafał Miłecki
501da07c5d
brcm47xx: fix regression in NVRAM support for WGT634U
...
We were calculating wrong offset, NVRAM wasn't found and OpenWrt didn't
boot.
Fixes: 9019803 ("brcm47xx: backport BCM47XX arch patches (clean NVRAM code, later init)")
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45618
10 years ago
Rafał Miłecki
8d1580c4bb
brcm47xx: add patches for kernel 4.0
...
SVN-Revision: 45570
10 years ago
Rafał Miłecki
9c02b23a77
brcm47xx: add buttons support for WRT310N v2
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45474
10 years ago
Rafał Miłecki
b12e85a451
brcm47xx: fix handling absolute paths in sysupgrade (for vendor formats)
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45472
10 years ago
Rafał Miłecki
e85294a957
brcm47xx: rework vendor fw handling to don't duplicate upgrade calls
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45470
10 years ago
Rafał Miłecki
c8eed9a50a
brcm47xx: explicitly select CPU_MIPS32_R2 and CPU_MIPSR2 for mips74k
...
The mips74k subtarget of brcm47xx configures gcc to compile for mips32r2;
however, the generated kernel config for 3.14 and later kernels ends up
with CPU_MIPS32_R1 and CPU_MIPSR1 selected. The generated kernel config
for the 3.10 kernel (Barrier Breaker) properly selected CPU_MIPS32_R2 and
CPU_MIPSR2. Modify the default kernel config for mips74k to explicitly
select CPU_MIPS32_R2 and CPU_MIPSR2.
Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
Tested-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45469
10 years ago
Felix Fietkau
83e31eb7e7
bcm53xx: add USB 2.0 support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45450
10 years ago
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
10 years ago
Luka Perkov
b66b0ae632
brcm47xx: drop 3.14
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 45374
10 years ago
Rafał Miłecki
c6f9582116
brcm47xx: image: use "-" separator for device version
...
This makes legacy subtarget follow two other.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45319
10 years ago
Rafał Miłecki
a8b0e75291
brcm47xx: verify also standard TRX images during sysupgrade
...
It allows detecting data corruption for plain TRX as well.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45318
10 years ago
Rafał Miłecki
3fad95446a
brcm47xx: fix WRT300N devices magics for sysupgrade check
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45317
10 years ago
Rafał Miłecki
44b128b0aa
brcm47xx: 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: 45316
10 years ago
Rafał Miłecki
80971cd0f9
brcm47xx: image: use new (& fixed) FILESYSTEM variable for trx command
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45313
10 years ago
Rafał Miłecki
705651884d
brcm47xx: update legacy subtarget description
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45310
10 years ago
Rafał Miłecki
7798074429
brcm47xx: add fix "Data bus error" on CardBus ssb SoCs
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45308
10 years ago
Rafał Miłecki
1d2abb6f16
brcm47xx: reverse 2 LEDs polarity on WRT320N v1
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45307
10 years ago
Rafał Miłecki
95f7fb8f49
brcm47xx: define rest of LEDs & buttons for WRT320N
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45304
10 years ago
Rafał Miłecki
503d845522
brcm47xx: drop old patch disabling cardbus mode on Netgear WNR834B
...
First of all this patch was affecting other devices, not just Netgear
WNR834B. E.g. Linksys WRT300N v1 also has boardtype 0x0472.
This was breaking PCI on WRT300N, ssb couldn't detect core working in
hostmode (due to mips_busprobe32 failing).
Secondly this patch should not be needed for years now. From the analyze
of #8861 it seems it was needed just to make devices at slots other than
0 discoverable. Setting cardbus to 0 was simply making ssb allow access
to PCI config for devices other than bridge.
With the upstream commit a6c8462 (ssb: fix cardbus slot in hostmode) we
allow accessing device at slot 1 which should be enough for CardBus.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45293
10 years ago
Rafał Miłecki
e2b59e4dbc
brcm47xx: detect Linksys WRT320N v1
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45289
10 years ago
Rafał Miłecki
9f740ddc0d
brcm47xx: backport MIPS BCM47XX patches queued for 4.1
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45288
10 years ago
Rafał Miłecki
3fa00eeda2
brcm47xx: group MIPS BCM47XX backported patches by source kernel
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45287
10 years ago
Rafał Miłecki
aefcd2b84c
brcm47xx: backport two MIPS nvram.c patches
...
Also replace SPROM patch with (the same) mainlined version.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45227
10 years ago
Rafał Miłecki
9c5aa7c528
brcm47xx: image: share function checking TRX in provided firmware
...
This will allow us to calculate crc32 in a shared code.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45202
10 years ago