aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx
Commit message (Collapse)AuthorAgeFilesLines
* kernel: update 4.1 to 4.1.5Jonas Gorski2015-08-142-11/+11
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.5 Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46598 3c298f89-4303-0410-b956-a3cf2f4a3e73
* image.mk: replace all Build/netgear-chk with a generic implementationJonas Gorski2015-08-141-9/+0
| | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46596 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: prefix netgear specific device variables with NETGEAR_Jonas Gorski2015-08-141-5/+5
| | | | | | | | Rename BOARD_ID to NETGEAR_BOARD_ID and REGION to NETGEAR_REGION. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46594 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix reading WGT634U CFE variablesRafał Miłecki2015-08-121-6/+6
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46584 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add support for kernel 4.1Hauke Mehrtens2015-07-0342-1842/+208
| | | | | | | | | This adds support for kernel 4.1 and removes kernel 4.0. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46166 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 4.0 to 4.0.5Jonas Gorski2015-06-1923-236/+68
| | | | | | | | | Changelog: * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.5 Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46063 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.18 to 3.18.16Jonas Gorski2015-06-1710-77/+17
| | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46011 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: backport BCM47XX patches (NVRAM & BCMA_HOST_PCI)Rafał Miłecki2015-06-1010-12/+354
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45942 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: refresh kernel configRafał Miłecki2015-06-071-3/+1
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45921 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: sysupgrade: drop useless shift in platform.shRafał Miłecki2015-06-061-1/+0
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45913 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: backport MIPS BCM47XX changes queued for 4.2Rafał Miłecki2015-06-0524-23/+1407
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45906 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: extract TRX from image on the flyJohn Crispin2015-06-051-7/+8
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45901 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport ssb fix for WRT350N v1 (BCM4705) rebootsRafał Miłecki2015-06-014-19/+19
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45865 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: fix typo in Asus WL-500gP v2 fw file nameRafał Miłecki2015-05-281-1/+1
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45811 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add LEDs/buttos for Asus N10URafał Miłecki2015-05-282-8/+104
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45797 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: drop 4.0 patch that is in 4.0.4Rafał Miłecki2015-05-281-38/+0
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45796 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: build images for Asus devicesRafał Miłecki2015-05-271-1/+27
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45789 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: use common image prefixJo-Philipp Wich2015-05-271-16/+16
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45779 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: build image for Asus RT-N66URafał Miłecki2015-05-271-0/+20
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45774 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update 3.18 to 3.18.14Jonas Gorski2015-05-2122-265/+66
| | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45711 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix regression in NVRAM support for WGT634URafał Miłecki2015-05-062-4/+4
| | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45618 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add patches for kernel 4.0Rafał Miłecki2015-04-2332-0/+3562
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45570 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add buttons support for WRT310N v2Rafał Miłecki2015-04-171-2/+11
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45474 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix handling absolute paths in sysupgrade (for vendor formats)Rafał Miłecki2015-04-171-2/+2
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45472 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: rework vendor fw handling to don't duplicate upgrade callsRafał Miłecki2015-04-161-14/+10
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45470 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: explicitly select CPU_MIPS32_R2 and CPU_MIPSR2 for mips74kRafał Miłecki2015-04-161-0/+4
| | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45469 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add USB 2.0 supportFelix Fietkau2015-04-151-19/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45450 3c298f89-4303-0410-b956-a3cf2f4a3e73
* otrx: change command line API to start with a modeRafał Miłecki2015-04-141-3/+3
| | | | | | | | This will allow adding more modes without options conflict. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45443 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: drop 3.14Luka Perkov2015-04-1140-3848/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45374 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: use "-" separator for device versionRafał Miłecki2015-04-091-6/+6
| | | | | | | | This makes legacy subtarget follow two other. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45319 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: verify also standard TRX images during sysupgradeRafał Miłecki2015-04-091-0/+4
| | | | | | | | It allows detecting data corruption for plain TRX as well. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45318 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix WRT300N devices magics for sysupgrade checkRafał Miłecki2015-04-091-1/+2
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45317 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: switch to the otrx for verifying TRX imagesRafał Miłecki2015-04-092-17/+3
| | | | | | | | This adds checking CRC32 of provided firmware image. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45316 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: use new (& fixed) FILESYSTEM variable for trx commandRafał Miłecki2015-04-081-1/+1
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45313 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: update legacy subtarget descriptionRafał Miłecki2015-04-081-3/+4
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45310 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add fix "Data bus error" on CardBus ssb SoCsRafał Miłecki2015-04-082-1/+36
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45308 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: reverse 2 LEDs polarity on WRT320N v1Rafał Miłecki2015-04-081-2/+2
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45307 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: define rest of LEDs & buttons for WRT320NRafał Miłecki2015-04-071-10/+31
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45304 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: drop old patch disabling cardbus mode on Netgear WNR834BRafał Miłecki2015-04-071-13/+0
| | | | | | | | | | | | | | | | | | 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45293 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: detect Linksys WRT320N v1Rafał Miłecki2015-04-071-0/+50
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45289 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: backport MIPS BCM47XX patches queued for 4.1Rafał Miłecki2015-04-0717-74/+1892
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45288 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: group MIPS BCM47XX backported patches by source kernelRafał Miłecki2015-04-078-0/+0
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45287 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: backport two MIPS nvram.c patchesRafał Miłecki2015-04-016-21/+274
| | | | | | | | Also replace SPROM patch with (the same) mainlined version. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45227 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: share function checking TRX in provided firmwareRafał Miłecki2015-03-311-6/+18
| | | | | | | | This will allow us to calculate crc32 in a shared code. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45202 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: convert legacy Linksys & Netgear devicesRafał Miłecki2015-03-311-12/+31
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45184 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: convert generic subtarget to the new images systemRafał Miłecki2015-03-311-18/+11
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45183 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: convert all mips74k images to the new building systemRafał Miłecki2015-03-311-47/+28
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45181 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: add helpers for defining devicesRafał Miłecki2015-03-311-15/+20
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45180 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: image: use standard KERNEL_IMAGE to avoid warningsRafał Miłecki2015-03-311-1/+2
| | | | | | | | | | | | | | | | KERNEL_IMAGE is used as target rule so reusing the same name causes: Makefile:326: warning: overriding recipe for target `bin/brcm47xx/vmlinux.lzma' Makefile:326: warning: ignoring old recipe for target `bin/brcm47xx/vmlinux.lzma' Makefile:326: warning: overriding recipe for target `build_dir/target-mipsel_74kc+dsp2_uClibc-0.9.33.2/linux-brcm47xx_mips74k/vmlinux.lzma' Makefile:326: warning: ignoring old recipe for target `build_dir/target-mipsel_74kc+dsp2_uClibc-0.9.33.2/linux-brcm47xx_mips74k/vmlinux.lzma' Unfortunately this will cause copying vmlinux.lzma over and over like: cp vmlinux.lzma FOO-kernel.bin which is redundant on brcm47xx where we never modify kernel image. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45178 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: fix checking cross-vendors firmware imagesRafał Miłecki2015-03-311-48/+41
| | | | | | | | | This change won't allow installing e.g. Netgear firmware on Linksys device. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45174 3c298f89-4303-0410-b956-a3cf2f4a3e73