aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx
Commit message (Collapse)AuthorAgeFilesLines
* kernel: backport MIPS changes introducing a separate IRQ stackFelix Fietkau2017-01-151-1/+1
| | | | | | | | Prevents crashes when IRQs arrive when the current kernel stack context already contains deeply nested function calls, e.g. when stacking lots of network devices on top of each other Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update 4.4 kernel to 4.4.42Hauke Mehrtens2017-01-131-3/+3
| | | | | | | Refresh patches on all 4.4 supported platforms. Compile & run tested: lantiq/xrx200 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* brcm47xx: generic: include Ethernet drivers in standard imageRafał Miłecki2017-01-041-0/+5
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: drop some personal profilesRafał Miłecki2017-01-043-50/+0
| | | | | | | | | | | | | | WL500GPv1 profile included ath5k which made it usable only for people who decided to replace default BCM4318 card with Atheros one. We can't have profile for every possible configuration. If someone adjusts hw in such a way he can always install a proper package. WRTSL54GS profile got extra packages for a specific USB usage. Our standard profile provides basic USB and we should stick to this. We can't make everyone happy by including packages for all common USB use cases and all common filesystems. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: generic: drop standalone profiles duplicating device onesRafał Miłecki2017-01-042-33/+0
| | | | | | We have identical profiles for these devices thanks to DEVICE_PACKAGES. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: generic: specify DEVICE_PACKAGES for all devicesRafał Miłecki2017-01-041-0/+6
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: fix bgmac packageRafał Miłecki2017-01-041-2/+5
| | | | | | With all recent patches & changes it needs more modules. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: mips74k: specify DEVICE_PACKAGES for all devicesRafał Miłecki2017-01-041-0/+39
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: legacy: specify DEVICE_PACKAGES for all devicesRafał Miłecki2017-01-041-1/+29
| | | | | | | This allows more feature complete images. Of course it affect the size, e.g. enabling b43 bumped rootfs from 1569618 to 2029122 for me. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: drop standalone Netgear WGT634U profileRafał Miłecki2016-12-301-17/+0
| | | | | | | We have profile for this device thanks to DEVICE_PACKAGES now. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Cc: Russell Senior <russell@personaltelco.net>
* brcm47xx: specify DEVICE_PACKAGES for Netgear WGT634URafał Miłecki2016-12-301-0/+3
| | | | | | | This allows using it nicely with PER_DEVICE_ROOTFS. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Cc: Russell Senior <russell@personaltelco.net>
* brcm47xx: mips74k: fix typo in Netgear WN3000RP model nameRafał Miłecki2016-12-291-8/+8
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: bump to 4.4.36Álvaro Fernández Rojas2016-12-041-7/+8
| | | | | | | Refresh patches on all 4.4 supported platforms. Compile & run tested: brcm2708/bcm2710 - Raspberry Pi 3 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: bump to 4.4.35Kevin Darbyshire-Bryant2016-11-291-1/+1
| | | | | | | | | | | Refresh patches on all 4.4 supported platforms. 077-0005-bgmac-stop-clearing-DMA-receive-control-register-rig.patch removed as now upstream. Compile & run tested: ar71xx - Archer C7 v2 Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* brcm47xx: fix initramfs image build errorFelix Fietkau2016-11-291-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* brcm47xx: merge cpu cache workaround patches into one, ensure they get ↵Felix Fietkau2016-11-292-177/+115
| | | | | | compiled out on mips74k Signed-off-by: Felix Fietkau <nbd@nbd.name>
* brcm47xx: image: use append-rootfs step for per-device rootfs supportRafał Miłecki2016-10-281-18/+18
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: image: make TRX steps work with rootfs passed as $@Rafał Miłecki2016-10-281-2/+4
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: image: make linksys-pattern-partition leave specific fileRafał Miłecki2016-10-281-2/+2
| | | | | | | Thanks to leaving .pattern file we can easily insert extra step between linksys-pattern-partition and trx-v2-with-loader, e.g. rootfs one. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: add support for per-device rootfsRafał Miłecki2016-10-271-4/+95
| | | | Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: reorder older entries in image MakefileRafał Miłecki2016-10-241-64/+63
| | | | | | Keep all entries sorted and replace tabs with spaces while at it. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: bump kernel to 4.4Rafał Miłecki2016-10-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kernel 4.4 was ready for brcm47xx for almost a year now but I kept postponing the bump due to problems with Linksys WRT300N v1.0. OpenWrt and LEDE with 4.4 were hanging at the booting with the: > Starting program at 0x80001000 (the last CFE message). This was a permanent state, "make distclean" wasn't helping, I spent hours debugging this and I was reliably reproducing the issue every time. I also reported it on linux-mips ML in the thread: > BCM4704 stopped booting with 4.4 (due to vmlinux size?) After ~month I started working on WRT300N again. I got hangs as expected every time I switched from 4.1 to 4.4. I started experimenting with: 1) TRX content (I tried dropping rootfs partition) 2) BZ_TEXT_START of lzma-loader 3) Flashing other variants of image: lzma compressed kernel (without a loader), gzip compressed one, uncompressed one. At some point I got rootfs-less image booting and after that I couldn't reproduce problem anymore, even with a complete firmware. It seems like hardware was in some locked/unstable state that got magically fixed. I have LEDE working now, tested it even with "make distclean", it seems we can bump kernel now. I'll keep testing it on WRT300N for some time. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: build also TRX image for Linksys WRT300N V1Rafał Miłecki2016-10-241-0/+1
| | | | | | | Linksys WRT300N V1 has pretty bugged CFE bootloader (it crashes in a lot of situations) that doesn't accept .bin image. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* brcm47xx: open code Makefile entries for all devicesRafał Miłecki2016-10-241-115/+527
| | | | | | | If we want to use some of new features like per device rootfs we will need this to specify them there. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* treewide: remove bad local shell variable declarationsJo-Philipp Wich2016-09-242-9/+9
| | | | | | | Local variable declarations outside of functions are illegal since the Busybox update to v1.25.0, therfore remove them from the appropriate places. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* build: fix subtarget descriptionsFelix Fietkau2016-09-041-3/+2
| | | | | | Move Target/Description above the target.mk include Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update kernel 4.4 to version 4.4.19Stijn Tintel2016-08-231-2/+2
| | | | | | | | Refresh patches for all targets that support kernel 4.4. Compile-tested on all targets that use kernel 4.4 and aren't marked broken. Runtime-tested on ar71xx, octeon and x86/64. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
* brcm47xx: add missing config symbolStijn Tintel2016-08-232-1/+2
|
* build: remove MIPS dsp/dsp2 CPU_SUBTYPEFelix Fietkau2016-08-031-1/+0
| | | | | | | There does not seem to be any meaningful difference in generated code. This will save some time and space on snapshot builds Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image: add a helper variable for getting kernel/rootfs from within image ↵Felix Fietkau2016-07-311-2/+2
| | | | | | Build/* templates Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update kernel 4.4 to version 4.4.15Hauke Mehrtens2016-07-131-1/+1
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: update to version 4.4.14Hauke Mehrtens2016-06-262-10/+10
| | | | | | | | | Changelog: https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.14 Some manual changes to target/linux/generic/patches-4.4/610- netfilter_match_bypass_default_checks.patch were needed. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: rename B53 symbols to avoid upstream kernel conflictRafał Miłecki2016-06-202-10/+10
| | | | | | | | | In kernel 4.7 there is upstreamed b53 driver using (mostly?) the same symbols as our b53 does. Change our symbols so both drivers can coexist in kernel tree. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Acked-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm47xx: add the small_Flash featureJohn Crispin2016-06-131-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* treewide: replace nbd@openwrt.org with nbd@nbd.nameFelix Fietkau2016-06-072-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove ocf support, cryptodev-linux should be used insteadFelix Fietkau2016-05-124-18/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: move the old gpio watchdog driver from generic to brcm47xxFelix Fietkau2016-05-122-0/+720
| | | | | | brcm47xx is the only user Signed-off-by: Felix Fietkau <nbd@nbd.name>
* brcm47xx: fix wgt634u port assignment, broken since openwrt r47866Russell Senior2016-05-101-1/+1
| | | | Signed-off-by: Russell Senior <russell@personaltelco.net>
* kernel: update kernel 4.4 to version 4.4.7Hauke Mehrtens2016-04-161-1/+1
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49176
* brcm47xx: lzma-loader: fix cache invalidationGabor Juhos2016-03-211-4/+4
| | | | | | | | | | | | | | | The current code only partially invalidates both caches because the cache size and cache-line size values are incorrectly passed to the C code. Fix the assembly code to pass the arguments in the correct order. Compile tested only. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 49060
* brcm47xx: lzma-loader: remove trailing whitespaces from head.SGabor Juhos2016-03-211-9/+9
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 49059
* kernel: update kernel 4.4 to version 4.4.6Hauke Mehrtens2016-03-171-2/+2
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49032
* brcm47xx: image: create standard TRX images using new building systemRafał Miłecki2016-03-111-15/+20
| | | | | | | | | | | | | | | | | | | | | | | | Apart from using our new building system there are 2 more changes: 1) Limit amount of images So far we were generating all standard images (optimized one and two with no loader) for every SUBTARGET. This is not needed, as e.g. the only device requiring gzipped kernel is legacy Huawei E970. 2) Change output names The new image building system requires specifying device name. This forced picking some and resulted in: openwrt-brcm47xx-$(SUBTARGET)-squashfs.trx openwrt-brcm47xx-$(SUBTARGET)-squashfs-gz.trx openwrt-brcm47xx-$(SUBTARGET)-squashfs-noloader-nodictionary.trx becoming: openwrt-brcm47xx-$(SUBTARGET)-standard-squashfs.trx openwrt-brcm47xx-$(SUBTARGET)-standard-noloader-gz-squashfs.trx openwrt-brcm47xx-$(SUBTARGET)-standard-noloader-nodictionarylzma-squashfs.trx Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 49006
* brcm47xx: image: move disabled devices to the new building systemRafał Miłecki2016-03-091-13/+3
| | | | | | | | | This only drops WGR614 V9 which has 2 MiB flash and it's unlikely to get any interest. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48975
* brcm47xx: image: switch Linksys WRT54G3GV2-VF to the new building systemRafał Miłecki2016-03-091-45/+28
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48974
* brcm47xx: image: switch Netgear WGT634U to the new building systemRafał Miłecki2016-03-081-6/+13
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48973
* brcm47xx: image: switch rest of 64k block devices to the new building systemRafał Miłecki2016-03-081-28/+45
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48972
* brcm47xx: image: switch Motorola devices to the new building systemRafał Miłecki2016-03-081-7/+22
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48971
* brcm47xx: image: switch D-Link DWL-3150 to the new building systemRafał Miłecki2016-03-081-7/+13
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 48970
* kernel: update kernel 4.4 to version 4.4.3Hauke Mehrtens2016-02-253-7/+7
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48783