Rafał Miłecki
db7f2d9531
brcm47xx: add Netgear WN2500RP support
...
We generate V1 image only for now. We lack buttons support for V2.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47682
2015-12-02 09:24:52 +00:00
Rafał Miłecki
ce7bf20101
kernel: add CONFIG_SSB_HOST_SOC symbol
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47486
2015-11-16 12:22:47 +00:00
Rafał Miłecki
f8692a4b88
brcm47xx: backport BCM47xx MIPS commits from 4.3 and 4.4-rc1
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47484
2015-11-16 07:18:37 +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
Hauke Mehrtens
a90135949f
brcm47xx: remove support for kernel 3.18
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47199
2015-10-17 11:50:16 +00:00
Rafał Miłecki
f8a14765b8
brcm47xx: describe 300-fork_cacheflush.patch & 310-no_highpage.patch
...
These were initially commited in r9285.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47058
2015-09-27 06:53:12 +00:00
Rafał Miłecki
c6c4b2640f
brcm47xx: describe 160-kmap_coherent.patch
...
It was initially commited in r6642.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47057
2015-09-27 06:24:33 +00:00
Rafał Miłecki
6eadb62f70
brcm47xx: describe 610-pci_ide_fix.patch
...
It was initially commited in r20924.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 47056
2015-09-27 06:05:53 +00:00
Rafał Miłecki
c6e30d6d7a
brcm47xx: detect Netgear R6300 V1 & support reset button
...
It's still far from complete support.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46880
2015-09-11 20:00:02 +00:00
Hauke Mehrtens
5b04888848
brcm47xx: 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: 46878
2015-09-11 18:52:42 +00:00
Hauke Mehrtens
5caee877dc
brcm47xx: increase max image size
...
the trx utile uses a maximum image size of 7.2MB. There are brcm47xx
devices even with serial flash with bigger flash chips, but OpenWrt was
not able to create images for these devices. This patch provides an
additional parameter which increases this limit to 32 MB. There is a
warning in the trx utile code which suggests that bigger images could
overwrite the nvram partition on some devices, but normally the program
writing the image should make sure that it is safe to write it to the
flash.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46872
2015-09-11 17:55:28 +00:00
Hauke Mehrtens
c9bebfb9ce
brcm47xx: break long lines in image Makefile
...
This patch changes nothing on the behaviour, it just breaks long lines
with bin/trx to make it easier to add additional parameters.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 46871
2015-09-11 17:54:55 +00:00
Rafał Miłecki
bda4c3d5e5
brcm47xx: apply serial flash size trick to Netgear WNR1000 V3
...
It also uses different block size just like WGR614 V10.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 46810
2015-09-08 05:24:57 +00:00
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
2015-09-07 16:43:29 +00:00
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
2015-09-07 16:29:21 +00:00
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
2015-09-02 10:18:15 +00:00
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
2015-08-30 12:17:57 +00:00
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
2015-08-29 09:23:19 +00:00
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
2015-08-23 18:06:11 +00:00
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
2015-08-14 13:06:33 +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
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
2015-08-14 13:04:22 +00:00
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
2015-08-12 13:29:22 +00:00
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
2015-07-03 23:18:33 +00:00
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
2015-06-19 11:12: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
b273bb1896
brcm47xx: backport BCM47XX patches (NVRAM & BCMA_HOST_PCI)
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45942
2015-06-10 19:52:07 +00:00
Rafał Miłecki
bd150495bb
brcm47xx: refresh kernel config
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45921
2015-06-07 10:09:10 +00:00
Rafał Miłecki
46bc3ed25a
brcm47xx: sysupgrade: drop useless shift in platform.sh
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45913
2015-06-06 17:25:57 +00:00
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
2015-06-05 20:41:18 +00:00
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
2015-06-05 14:12:15 +00:00
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
2015-06-01 06:11:26 +00:00
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
2015-05-28 19:53:59 +00:00
Rafał Miłecki
ebd651ad99
brcm47xx: add LEDs/buttos for Asus N10U
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45797
2015-05-28 08:08:17 +00:00
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
2015-05-28 08:08:11 +00:00
Rafał Miłecki
69aefc771f
brcm47xx: build images for Asus devices
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45789
2015-05-27 15:37:05 +00:00
Jo-Philipp Wich
048f46a075
brcm47xx: use common image prefix
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 45779
2015-05-27 15:04:02 +00:00
Rafał Miłecki
f08a10f2b9
brcm47xx: build image for Asus RT-N66U
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45774
2015-05-27 13:54:19 +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
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
2015-05-06 05:54:19 +00:00
Rafał Miłecki
8d1580c4bb
brcm47xx: add patches for kernel 4.0
...
SVN-Revision: 45570
2015-04-23 11:31:54 +00:00
Rafał Miłecki
9c02b23a77
brcm47xx: add buttons support for WRT310N v2
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 45474
2015-04-17 08:12:00 +00:00
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
2015-04-17 05:45:46 +00:00
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
2015-04-16 21:43:27 +00:00
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
2015-04-16 21:20:37 +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
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
Luka Perkov
b66b0ae632
brcm47xx: drop 3.14
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 45374
2015-04-11 10:28:11 +00:00
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
2015-04-09 05:40:37 +00:00
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
2015-04-09 05:36:16 +00:00