aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* brcm47xx: register ADM6996L switchHauke Mehrtens2013-11-093-3/+127
| | | | | | | | | | | | This patch makes it possible to use adm6996.c on first generation BCM47XX devices with ADM switches. This was tested on a WRT54GS version 1.0, thank you Dirk Neukirchen for the device. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38699
* kernel: adm6996: add support for ADM6996L and GPIO interfaceHauke Mehrtens2013-11-093-127/+497
| | | | | | | | | | | | | | | | | This patch makes it possible to use adm6996.c on first generation BCM47XX devices with ADM switches. The GPIO bit banging protocol implementation was copied from the old switch driver and adapted to this driver and changed to the mainline kernel GPIO interface. The ADM6996L is different from the ADM6996M which is supported, for both specs are available in the Internet. This was tested on a WRT54GS version 1.0, thank you Dirk Neukirchen for the device. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38698
* switch to 3.12, enable support for AM33xx/OMAP3Imre Kaloz2013-11-086-121/+82731
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38692
* rename the omap4 target to omapImre Kaloz2013-11-086-6/+6
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38691
* ar71xx: ag71xx: fix a race involving netdev registrationGabor Juhos2013-11-082-23/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, phy_connect before register_netdev. This is because register_netdev runs the netdev notifiers, which can race with the rest of the initialization in ag71xx_probe. In my case this manifested in two ways: 1) If ag71xx is compiled as a module and inserted after netifd has started, netifd is notified by register_netdev before the call to ag71xx_phy_connect. netifd tries to bring the interface up, which calls ag71xx_open, which in turn enters ag71xx_phy_start. This keys off ag->phy_dev (which is still NULL) and thinks this is a fixed-link board, and enters ag71xx_link_adjust. This looks at ag->speed which is not yet initialized and hits the BUG() in the switch (ag->speed) in ag71xx_link_adjust. This is the wrong code path for ag71xx_phy_start - my board has PHYs that need to be brought up with phy_start. Doing ag71xx_phy_connect before register_netdev ensures that ag->phy_dev is non-NULL before ag71xx_phy_start is ever called. 2) When ag71xx is built into the kernel, and netconsole is enabled, there is a gap in the initial burst of replayed printks right after the netdev comes up. My assumption is that netconsole is also triggered by a netdev notifier, and part of this printk burst happens before the call into ag71xx_phy_connect, so part of the burst is lost while the PHY comes up. This patch fixes the gap - all the printks before eth0 comes up are bursted in full when netconsole initializes. ag71xx_phy_connect_xxx no longer runs with a registered netdev, so the logging has been adjusted accordingly to avoid "unregistered net_device" or "eth%d" messages in dmesg. Signed-off-by: Catalin Patulea <cat@vv.carleton.ca> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38689
* ar71xx: build image for the WD My Net Wi-Fi Range ExtenderGabor Juhos2013-11-072-1/+24
| | | | | | | | | | | Patchwork: http://patchwork.openwrt.org/patch/4281/ Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> [juhosg: - remove the Image/Build/CyberTANLZMA/loader macro, it is not used - move the MYNETREXT SingleProfile definition to the correct place] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38688
* ar71xx: add user-space support for the WD My Net Wi-Fi Range ExtenderGabor Juhos2013-11-075-4/+23
| | | | | | | | Patchwork: http://patchwork.openwrt.org/patch/4281/ Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38687
* ar71xx: add kernel support for the My Net Wi-Fi Range Extender deviceGabor Juhos2013-11-073-0/+215
| | | | | | | | | | | | | This patch adds a new device definition for a Western Digital device. The hardware seems to be based on Qualcomm Atheros DB120 design. Patchwork: http://patchwork.openwrt.org/patch/4281/ Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> [juhosg: refresh kernel patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38686
* ar71xx: image: add EOF marker to the WNDR4300 UBI imageGabor Juhos2013-11-071-9/+6
| | | | | | | | | | | | | | | Append EOF markers to the END of the UBI image file. This forces the kernel to erase all blocks after the marker even if those blocks are not empty. Additionally, the resulting image can be flashed from the original web UI now, so use '-factory' suffix for that. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38683
* kernel/3.10: add EOF marker support to the UBI layerGabor Juhos2013-11-071-0/+51
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38681
* lantiq: fix TDW8970 lan/wan macJohn Crispin2013-11-071-1/+9
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38677
* au1000: make sysupgrade compatible with all file system typesJohn Crispin2013-11-072-2/+4
| | | | | | | | | | | | | | This patch adds support for all file system types as discussed earlier: https://lists.openwrt.org/pipermail/openwrt-devel/2013-October/022109.html This patch depends on a previous patch: https://lists.openwrt.org/pipermail/openwrt-devel/2013-October/022111.html Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de> SVN-Revision: 38675
* au1000: create sysupgrade binary for each file system typeJohn Crispin2013-11-071-1/+1
| | | | | | | | | | | | | This patch should prevent overriding of sysupgrade binaries in the bin directory if we build images for more then one file system type. Discussion: https://lists.openwrt.org/pipermail/openwrt-devel/2013-October/022108.html Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de> SVN-Revision: 38674
* lantiq: Fix ar8216 switch configuration for WBMR-HP-G300H devicesJohn Crispin2013-11-071-2/+3
| | | | | | | | | | | The switch is renamed to "switch0" in newer (3.10) linux kernels. Configure the switch using vlans by default and only configure the physical switch ports that are present. Signed-off-by: Richard Mortimer <richm@oldelvet.org.uk> Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38673
* ralink: revert 38348 as it breaks network on the hame-mprJohn Crispin2013-11-071-2/+0
| | | | | | | | | https://dev.openwrt.org/changeset/38348 https://dev.openwrt.org/ticket/14403#comment:1 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38669
* ralink: fix c&p error in gpio driverJohn Crispin2013-11-071-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38668
* lantiq: fix td-w8970 initramfs generationJohn Crispin2013-11-071-3/+2
| | | | | | | | https://dev.openwrt.org/ticket/14417 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38667
* mark as broken (toolchain issues), bump kernel versionImre Kaloz2013-11-071-3/+3
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38665
* kirkwood: add support for dockstarLuka Perkov2013-11-062-0/+20
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38664
* ar71x: image: don't use the wndr3700 utilityGabor Juhos2013-11-061-28/+14
| | | | | | | | Pass the uImage magic value directly to mkimage instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38662
* sunxi: drop CONFIG_DEVTMPFS optionLuka Perkov2013-11-061-3/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38661
* kernel: add some config optionsLuka Perkov2013-11-062-0/+6
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38660
* ar71xx: image: fix WNDR4300 initramfs image generationGabor Juhos2013-11-051-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38659
* ar71xx: image: allow to use optional parameters for MkuImageLzma/initramfsGabor Juhos2013-11-051-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38658
* update for 3.12 finalImre Kaloz2013-11-051-11/+11
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 38657
* brcm47xx: fix detection of Asus RT-N12B1 and Netgear WNR3500LHauke Mehrtens2013-11-051-1/+10
| | | | | | | | This closes #14367 and #14328. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38656
* ar71xx: generate recovery image for WNDR4300Gabor Juhos2013-11-052-2/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extended the Makefile to generate a working factory reset image for Netgear WNDR4300. The image uses UBI with two volumes squashfs (rootfs) and JFFS2 (rootfs_data). In order to make stock U-Boot happy, a fake rootfs image is placed into the last erase block of the kernel partition. Signed-off-by: Stefan Agner <stefan@agner.ch> [juhosg: - restore the NetgearNAND/initramfs macro, - remove unused {Squash,Ubi}fsTemplate macros, - remove board specific mtd options from CONFIG_CMDLINE, append the board specific ubi.mtd parameter to the kernel command line instead, - increase kernel partition size to 2MiB, - use board specific ini file for ubinize, - put jffs2 eof mark into the rootfs_data ubi volume, - use KDIR_TMP for temporary images, - use the squashfs-raw image, - increase kernel partition size to 2MiB, - use a local ubinize macro, - fix macro parameter comments, - put the fake rootfs into the last erase block of the kernel partition, - move Image/Build/NetgearNAND/buildkernel macro before define Image/Build/NetgearNAND, - don't use the wndr3700 utility, use '-M' parameter of mkimage to set the uImage magic, - use '-recovery' suffix for the generated image, it is only usable via the fw_recovery function of the bootloader, - update commit log] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38655
* kernel: update 3.10 to 3.10.18Gabor Juhos2013-11-0541-121/+97
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38652
* sunxi: add new targetLuka Perkov2013-11-0510-0/+445
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38651
* imx6: drop unused variable from MakefileLuka Perkov2013-11-051-2/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38650
* ar71xx: move WNDR4300 profile to the nand subtargetGabor Juhos2013-11-043-15/+25
| | | | | | | Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38647
* ar71xx: Add new subtarget nand for WNDR4300Gabor Juhos2013-11-043-1/+117
| | | | | | | | | | | | | | | | | | | | | | | | | Add new subtarget nand with UBI/UBIFS including GLUEBI and squashfs. This target will be used for NAND based router which make use of UBI (and maybe UBIFS later on) in order to provide proper NAND support. Signed-off-by: Stefan Agner <stefan@agner.ch> [juhosg: - tweak target.mk: change BOARDNAME variable, improve Target/Description, remove targz and ubifs from FEATURES and add broken flag, - optimize kernel configuration: disable ubifs, it is not used yet, disable unused MTD options, disable SPI support disable unused network drivers, tune kernel command line, - remove image/ubinize.cfg, it will be in a follow-up patch - move profile modifications into a separate patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38646
* ar71xx: remove yaffs from the generic rootfstype listGabor Juhos2013-11-041-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38645
* ar71xx: image: dd root.* images in fs specific macrosGabor Juhos2013-11-041-3/+9
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38644
* kernel/3.1[02]: move MTD root device setup code to mtdcoreGabor Juhos2013-11-0416-58/+94
| | | | | | | | | | The current code only allows to automatically set root device on MTD partitions. Move the code to MTD core to allow to use it with all MTD devices. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38643
* kernel: refresh kernel configs with kconfig.plGabor Juhos2013-11-044-416/+415
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38642
* kernel: add some config optionsHauke Mehrtens2013-11-036-0/+33
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38640
* kernel: bgmac: update backport patchHauke Mehrtens2013-11-038-39/+451
| | | | | | | | This adds some more bgmac patches from mainline kernel. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38637
* ar71xx: image: only define profiles for the generic subtargetGabor Juhos2013-11-011-1/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38636
* ar71xx: image: add IMAGE_PROFILE variableGabor Juhos2013-11-011-3/+5
| | | | | | | | | Ensures that the 'Default' images are generated even if the subtarget has no profiles. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38635
* ar71xx: always enable hw ecc support for the ar934x-nfc moduleGabor Juhos2013-11-011-1/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38634
* kernel: add missing config optionsHauke Mehrtens2013-11-017-1/+8
| | | | | | | | The buildbots found some new missing config options. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38633
* kirkwood: add userland support for Pogoplug E02Luka Perkov2013-10-314-0/+31
| | | | | | | | | This patch adds the userland support for the Pogoplug E02 by Cloud Engines, Inc. Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> SVN-Revision: 38631
* kirkwood: add Pogoplug E02 Kernel supportLuka Perkov2013-10-311-0/+130
| | | | | | | | This patch adds a DTS file for the Pogoplug E02 by Cloud Engines, Inc. Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> SVN-Revision: 38630
* kirkwood: extend image/MakefileLuka Perkov2013-10-311-17/+34
| | | | | | | | | | | * use lower case letters in generated images * extend support for boot/ directory * fix some typos Signed-off-by: Luka Perkov <luka@openwrt.org> Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> SVN-Revision: 38629
* imx6: minor image cleanupLuka Perkov2013-10-311-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38628
* imx6: update patchesLuka Perkov2013-10-3019-152/+220
| | | | | | | | Changes include PCI fixes and various upstream pending patches. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38624
* kernel: add some missing config optionsHauke Mehrtens2013-10-306-0/+17
| | | | | | | | This was spotted by the buildbots. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38604
* ramips: enable building of TEW-692GR imagesGabor Juhos2013-10-301-1/+1
| | | | | | | | | | | | | The TEW-692GR images are missing since r36169. Uncomment the board specific macro in image/Makefile, in order to generate those again. Only build tested. No idea if the the image works or not, I have bricked my TEW-692GR a few months ago. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38603
* ramips: fix number of GPIOs for RT3352Gabor Juhos2013-10-301-1/+1
| | | | | | | | The RT3352 SoC only supports 46 GPIO lines. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38602