aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx
Commit message (Collapse)AuthorAgeFilesLines
* brcm47xx: bgmac: allow bigger et_swtype nvram variableHauke Mehrtens2013-09-151-0/+14
| | | | | | | | | | Without this patch it is impossible to read et_swtype, because the 1 byte space is needed for the terminating null byte. Now it should be possible to read decimal and hex vars of max 8 bit. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37999
* brcm47xx: mtd: bcm47xxpart: detect block aligned Squashfs partitionHauke Mehrtens2013-09-151-0/+40
| | | | | | | | | | | | | | | | | | Most of the bcm47xx devices use TRX format for storing kernel and some partition like Squashfs or JFFS2. This is pretty flexible solution, CFE (the bootloader) just writes (and later boots) TRX at some hardcoded place and paritions can vary in the size. However some devices don't use TRX format. Very recently we have discovered ZTE H218N that has kernel and rootfs partitions at some "random" places. This patch allows Linux find a rootfs partition after installing custom image with a CFE bootloader. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 37998
* brcm47xx: update board detection patchHauke Mehrtens2013-09-151-98/+142
| | | | | | | | | * Use different structs depending on the number of nvram variables to check. * Add detection of ZTE H218N, this closes #14151. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37996
* brcm47xx: bgmac: fix internal switch initializationHauke Mehrtens2013-09-151-0/+33
| | | | | | | | | | | | | Some devices (BCM4749, BCM5357, BCM53572) have internal switch that requires initialization. We already have code for this, but because of the typo in code it was never working. This resulted in network not working for some routers and possibility of soft-bricking them. Use correct bit for switch initialization and fix typo in the define. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 37993
* brcm47xx: detect Asus RT-N10Hauke Mehrtens2013-09-141-2/+4
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37989
* brcm47xx: tg3: use the phy address from et0phyaddr and not the default phy ↵Hauke Mehrtens2013-09-142-14/+227
| | | | | | | | | | address. Thank you Devastator for testing. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37986
* brcm47xx: board detection, GPIO for Linksys E1000 V2.1Hauke Mehrtens2013-09-131-2/+4
| | | | | | | | | | | | | | This patch adds board detection for the Linksys E1000 V2.1 router, as well as GPIO support for same. This fixes bug #14135. Currently, wired networking isn't working on the router, and I haven't tried the wireless, but with this patch, OpenWRT successfully boots, and all the LEDs and buttons work properly. Signed-off-by: Zachary Catlin <zcatlin@indiana.edu> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37977
* brcm47xx: detect WRT310NV1Hauke Mehrtens2013-09-131-2/+4
| | | | | | Thanks Devastator for testing SVN-Revision: 37969
* brcm47xx: remove support for kernel 3.8Hauke Mehrtens2013-09-1258-7852/+2
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37959
* brcm47xx: add default config for new kernel config optionHauke Mehrtens2013-09-121-0/+1
| | | | SVN-Revision: 37958
* kernel: update bcma and ssb to wireless-testing master-2013-09-09Hauke Mehrtens2013-09-121-5/+5
| | | | SVN-Revision: 37957
* brcm47xx: add me as maintainerHauke Mehrtens2013-09-071-0/+1
| | | | SVN-Revision: 37916
* kernel: update 3.10 to 3.10.10Gabor Juhos2013-09-021-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37890
* kernel: update 3.10 to 3.10.9Gabor Juhos2013-08-232-2/+2
| | | | | | | | Also refresh 3.10 patches. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37832
* brcm47xx: fix typo in Broadcom-bgmac-b43 profile nameHauke Mehrtens2013-08-171-1/+1
| | | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37803
* brcm47xx: change board detection for some Asus devicesHauke Mehrtens2013-08-042-4/+24
| | | | | | | | This closes #13316 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37680
* brcm47xx: switch to kernel 3.10.4Hauke Mehrtens2013-08-011-1/+1
| | | | | | | | | This uses a new switch driver. The old ADMTEK Adm6996 switch is not supported any more. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37650
* brcm47xx: use lib phy when tg3 is in useHauke Mehrtens2013-08-011-0/+14
| | | | | | | | This is untested, but probably needed to make it work with the phy lib switch driver. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37649
* brcm47xx: improve detection of Linksys WRTSL54GSHauke Mehrtens2013-08-012-4/+30
| | | | | | | | This closes #13319 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37647
* brcm47xx: remove support for kernel 3.9Hauke Mehrtens2013-08-0129-3348/+0
| | | | | | This is not needed any more. SVN-Revision: 37646
* brcm47xx: add function to get a gpio pin by nameHauke Mehrtens2013-08-013-3/+38
| | | | | | | | | bcm47xx_nvram_gpio_pin() returns a gpio pin number for a given name based on configuration data in nvram. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37644
* brcm47xx: run mtd fixtrx linux every timeHauke Mehrtens2013-07-311-8/+1
| | | | | | | | With this patch it is possible to boot a device with kernel 3.10 a second time. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37625
* kernel: update 3.10 to 3.10.2Gabor Juhos2013-07-221-1/+1
| | | | | | | | Also refresh 3.10 patches. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37502
* kernel: move CONFIG_NET_IP_TUNNEL to genericJonas Gorski2013-07-191-1/+0
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 37465
* kernel: update bcma and ssb to version from wireless-testing/master tag ↵Hauke Mehrtens2013-07-1911-225/+67
| | | | | | | | | | master-2013-07-18 This should fix some build problems in b43 with kernel 3.3. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37432
* brcm47xx: fix name of patchHauke Mehrtens2013-07-151-0/+0
| | | | SVN-Revision: 37340
* brcm47xx: use b53 phy driver for the switch in kernel 3.10Hauke Mehrtens2013-07-145-5/+548
| | | | | | | | | | This makes it possible to use swconfig to controll the switch. This was tested with devices using b43 and bgmac. This was not tested on devices using tg3. This does not support the adm switch used in some very old devices. SVN-Revision: 37304
* brcm47xx: add initial support for kernel 3.10Hauke Mehrtens2013-07-1433-0/+2877
| | | | SVN-Revision: 37287
* brcm47xx: fix switch handlingHauke Mehrtens2013-07-144-34/+35
| | | | | | | | | | | | | | | | This fixes some problems with the switch handling * It now send the messages again to indicate a button for failsafe mode should be pressed * it does not leak packages between wan and lan any more * the switch works again in normal mode The Ethernet connection has to be up when the switch driver switch-robo is insmoded therefor we just do it again. Explicitly set enable_vlan to prevent leaking packages. This should close #13869, #13868 and #13716 SVN-Revision: 37286
* brcm47xx: do not load the kernel modules needed for Ethernet manuallyHauke Mehrtens2013-07-142-15/+0
| | | | | | | add the boot flag to make the kernel modules needed for Ethernet and diag load on startup. SVN-Revision: 37284
* brcm47xx: do not change nvram without user interactionHauke Mehrtens2013-07-141-14/+0
| | | | SVN-Revision: 37281
* brcm47xx: proc gets mounted without this patchHauke Mehrtens2013-07-131-5/+0
| | | | SVN-Revision: 37272
* brcm47xx: remove obsolete hotplug stuffHauke Mehrtens2013-07-132-11/+0
| | | | SVN-Revision: 37271
* brcm47xx: fix module insert orderJohn Crispin2013-07-041-1/+1
| | | | | | | | https://dev.openwrt.org/ticket/13811 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37161
* targets: prepare for supporting normal and initramfs imagesFlorian Fainelli2013-06-271-1/+7
| | | | | | | | | | | | In order to support both normal images and initramfs, ensure that each target sets KERNELNAME properly so that the generic kernel building code can copy the corresponding files over $(KDIR) with the appropriate extension. Update the various paths to the kernel and wrapper images from $(LINUX_DIR)/arch/$(ARCH)/boot/$(foo) to $(KDIR)/$(foo). Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 37049
* brcm47xx: dont manually insmod switch driversJohn Crispin2013-06-211-4/+0
| | | | | | Signed-off-by: John Crispin <bloic@openwrt.org> SVN-Revision: 36993
* brcm47xx: run make kernel_oldconfig for 3.9 kernel configHauke Mehrtens2013-06-121-3/+6
| | | | SVN-Revision: 36928
* brcm47xx: remove support for kernel 3.6Hauke Mehrtens2013-06-1259-11381/+0
| | | | SVN-Revision: 36927
* brcm47xx: add initial support for kernel 3.9Hauke Mehrtens2013-06-1230-0/+3419
| | | | SVN-Revision: 36926
* kernel: update linux 3.8 to 3.8.13Gabor Juhos2013-05-261-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36724
* kernel: move CONFIG_MIPS_SEAD3 to genericJonas Gorski2013-05-121-1/+0
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 36617
* kernel: update linux 3.8 to 3.8.12Gabor Juhos2013-05-081-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36576
* kernel: update linux 3.8 to 3.8.11Gabor Juhos2013-05-011-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36507
* broadcom-diag: support for the WNDR3700v3Hauke Mehrtens2013-04-281-0/+1
| | | | | | | | | | | | | | I recently picked up a WNDR3700 to put OpenWRT on, and only after tearing into the box did I find it was one of the v3 boards, with poor OpenWRT support. This patch should add the board detection and LED/button control to the broadcom-diag module, and should generate a netgear .chk image that the bootloader and stock firmware will accept. The changes to the broadcom-diag module are more than a few lines because the WNDR3700v3 is driving its LEDs through an HC164 8-bit shift register. Signed-off-by: Owen Kirby <osk@exegin.com> SVN-Revision: 36482
* brcm47xx: use kernel 3.8.10 as default kernelHauke Mehrtens2013-04-281-1/+1
| | | | | | The biggest change with this kernel is a new partition parser. SVN-Revision: 36480
* brcm47xx: add board detection for NETGEAR WNDR4500 V2Hauke Mehrtens2013-04-282-8/+12
| | | | SVN-Revision: 36478
* kernel: update bcma and ssb for kernel 3.8+ to version from wireless-testing ↵Hauke Mehrtens2013-04-288-115/+7
| | | | | | master-2013-04-26. SVN-Revision: 36473
* kernel: update linux 3.8 to 3.8.9Gabor Juhos2013-04-265-31/+31
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 36453
* kernel: backport SSB/BCMA changes in preparation for a compat-wireless updateFelix Fietkau2013-04-195-15/+15
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 36367
* brcm47xx: use old partition names again for kernel 3.8Hauke Mehrtens2013-04-062-1/+21
| | | | | | | | This fixes sysupgrade. The partition names are used all over the Internet in various howtos. Thank you russell for spotting this problem. SVN-Revision: 36235