aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx
Commit message (Collapse)AuthorAgeFilesLines
* 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> SVN-Revision: 45618
* brcm47xx: add patches for kernel 4.0Rafał Miłecki2015-04-2332-0/+3562
| | | | SVN-Revision: 45570
* brcm47xx: add buttons support for WRT310N v2Rafał Miłecki2015-04-171-2/+11
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45474
* 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> SVN-Revision: 45472
* 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> SVN-Revision: 45470
* 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> SVN-Revision: 45469
* bcm53xx: add USB 2.0 supportFelix Fietkau2015-04-151-19/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45450
* 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> SVN-Revision: 45443
* brcm47xx: drop 3.14Luka Perkov2015-04-1140-3848/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 45374
* 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> SVN-Revision: 45319
* 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> SVN-Revision: 45318
* brcm47xx: fix WRT300N devices magics for sysupgrade checkRafał Miłecki2015-04-091-1/+2
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45317
* 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> SVN-Revision: 45316
* 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> SVN-Revision: 45313
* brcm47xx: update legacy subtarget descriptionRafał Miłecki2015-04-081-3/+4
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45310
* 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> SVN-Revision: 45308
* brcm47xx: reverse 2 LEDs polarity on WRT320N v1Rafał Miłecki2015-04-081-2/+2
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45307
* brcm47xx: define rest of LEDs & buttons for WRT320NRafał Miłecki2015-04-071-10/+31
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45304
* 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> SVN-Revision: 45293
* brcm47xx: detect Linksys WRT320N v1Rafał Miłecki2015-04-071-0/+50
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45289
* brcm47xx: backport MIPS BCM47XX patches queued for 4.1Rafał Miłecki2015-04-0717-74/+1892
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45288
* brcm47xx: group MIPS BCM47XX backported patches by source kernelRafał Miłecki2015-04-078-0/+0
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45287
* 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> SVN-Revision: 45227
* 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> SVN-Revision: 45202
* brcm47xx: image: convert legacy Linksys & Netgear devicesRafał Miłecki2015-03-311-12/+31
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45184
* 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> SVN-Revision: 45183
* 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> SVN-Revision: 45181
* brcm47xx: image: add helpers for defining devicesRafał Miłecki2015-03-311-15/+20
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45180
* 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> SVN-Revision: 45178
* 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> SVN-Revision: 45174
* brcm47xx: update Linksys firmwares (add new E2500 versions)Rafał Miłecki2015-03-311-2/+5
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45173
* brcm47xx: display all errors (not just the 1st one) when checking imageRafał Miłecki2015-03-311-10/+8
| | | | | | | | This way people forcing upgrade will know what may go wrong. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45172
* brcm47xx: recognize more device specific firmwaresRafał Miłecki2015-03-311-0/+34
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45171
* brcm47xx: compare provided firmware magic with device magicRafał Miłecki2015-03-301-2/+34
| | | | | | | | | This makes sysupgrade reject firmware images for different devices. Right now only support for 2 sample devices is implemented. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45170
* brcm47xx: convert Netgear WNDR3700 V3 to the new image building systemRafał Miłecki2015-03-291-3/+25
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45144
* brcm47xx: convert Linksys E1200 V2 to the new image building systemRafał Miłecki2015-03-291-1/+46
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45143
* kernel: backport rest of bcma patchesRafał Miłecki2015-03-241-0/+1
| | | | | | | | | | This backports bcma: allow disabling (not building) PCI driver Revert "bcma: Kconfig: Let it depend on PCI" Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44970
* brcm47xx: support SPROM/NVRAM prefixesRafał Miłecki2015-03-171-0/+74
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44855
* brcm47xx: rename (and refresh) MTD patch for safety "nvram" partitionRafał Miłecki2015-03-171-4/+4
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44854
* brcm47xx: switch to 3.18Rafał Miłecki2015-03-161-1/+1
| | | | | | | | Tested on BCM5357B0, BCM47186B0 and BCM4706. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44853
* kernel: move KERNFS to generic configJohn Crispin2015-03-061-1/+0
| | | | | | | | 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
* kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLEDJohn Crispin2015-03-061-1/+0
| | | | | | | | | 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
* kernel: remove GENERIC_NET_UTILS from platform configsJohn Crispin2015-03-062-2/+0
| | | | | | | | | | CONFIG_GENERIC_NET_UTILS is selected by CONFIG_NET and already enabled in generic config, so we don't need this symbol in platform specific configurations. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 44611
* brcm47xx, brcm63xx: disable CONFIG_MIPS_O32_FP64_SUPPORTJonas Gorski2015-03-012-2/+0
| | | | | | | | | | The flag is experimental and requires toolchain support, which we don't provide. Also neither target has an FPU so it becomes meaningless without the FPU emulator enabled. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 44584
* kernel: backport queued bcm47xxpart changesRafał Miłecki2015-01-272-76/+0
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 44156
* brcm47xx: backport BCM47XX arch patches (clean NVRAM code, later init)Rafał Miłecki2015-01-1616-18/+1446
| | | | SVN-Revision: 43979
* brcm47xx: support for flashing CHK and CyberTAN imagesRafał Miłecki2014-12-301-5/+28
| | | | | | | | | This will allow simple sysupgrade-s including simpler reverting to the original firmware. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43799
* brcm47xx: verify if CHK/CyberTAN contains valid TRXRafał Miłecki2014-12-301-1/+16
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43798
* brcm47xx: extract magics from specific upgrade images (and still reject them)Rafał Miłecki2014-12-151-1/+17
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43718
* add "preinit_regular" diag.sh set_state argumentJohn Crispin2014-12-151-0/+3
| | | | | | | | | | | | This new argument is used right after starting regular preinit (which happens if failsafe wasn't triggered). The main purpose of "preinit" argument is to indicate that failsafe can be triggered, however we were missing a way to inform user that we don't wait for a trigger anymore. With this change it's clear when failsafe mode can be triggered. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 43715