summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx
AgeCommit message (Collapse)Author
2013-11-11ar71xx: Use KEY_RESTART key code for the reset button on WD My Net N600 boardsjuhosg
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11ar71xx: add profile and build image for the TL-WA750RE TL-WA850RE range extenderjuhosg
Patch to add profile and build image for the tplink TL-WA750RE/WA850RE board Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11ar71xx: add user space support for the TL-WA750RE/WA850RE Range extenderjuhosg
Patch to add user space support for the TL-WA750RE/WA850RE range extender Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11ar71xx: Add kernel support for the TP-Link WA750RE / WA850RE range extenderjuhosg
Patch to add kernel support for the TP-LINK WA750RE and the WA850RE range extender Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com> [juhosg: rename and refresh kernel patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38717 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-11ar71xx: ag71xx: fix ag71xx_probe error pathjuhosg
Signed-off-by: Catalin Patulea <cat@vv.carleton.ca> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38716 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-08ar71xx: ag71xx: fix a race involving netdev registrationjuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-07ar71xx: build image for the WD My Net Wi-Fi Range Extenderjuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38688 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-07ar71xx: add user-space support for the WD My Net Wi-Fi Range Extenderjuhosg
Patchwork: http://patchwork.openwrt.org/patch/4281/ Signed-off-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-07ar71xx: add kernel support for the My Net Wi-Fi Range Extender devicejuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-07ar71xx: image: add EOF marker to the WNDR4300 UBI imagejuhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-06ar71x: image: don't use the wndr3700 utilityjuhosg
Pass the uImage magic value directly to mkimage instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-05ar71xx: image: fix WNDR4300 initramfs image generationjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-05ar71xx: image: allow to use optional parameters for MkuImageLzma/initramfsjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38658 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-05ar71xx: generate recovery image for WNDR4300juhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-05kernel: update 3.10 to 3.10.18juhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-04ar71xx: move WNDR4300 profile to the nand subtargetjuhosg
Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-04ar71xx: Add new subtarget nand for WNDR4300juhosg
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-04ar71xx: remove yaffs from the generic rootfstype listjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-04ar71xx: image: dd root.* images in fs specific macrosjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-01ar71xx: image: only define profiles for the generic subtargetjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-01ar71xx: image: add IMAGE_PROFILE variablejuhosg
Ensures that the 'Default' images are generated even if the subtarget has no profiles. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-01ar71xx: always enable hw ecc support for the ar934x-nfc modulejuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-01kernel: add missing config optionshauke
The buildbots found some new missing config options. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-30ar71xx: move subtarget specific features to target.mkjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-30ar71xx: don't build uImages for the mikrotik subtargetjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-30ar71xx: disable non Mikrotik boards in the mikrotik subtargetjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-30ar71xx: fix Kconfig symbol selection for RB95x/RB2011juhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-30ar71xx: move CONFIG_MTD_NAND_AR934X_HW_ECC option to subtarget configjuhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-30ar71xx: add profile and build image for the BXU2000n-2 A1 boardjuhosg
Patchwork: http://patchwork.openwrt.org/patch/4183/ Signed-off-by: Terry Yang <yangbo@bhunetworks.com> [juhosg: - remove MultiProfile, it makes no sense for a single board - move SingleProfile call and the mtdlayout to a different location keep things sorted (well, almost)] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38593 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-30ar71xx: add user-space support for the BXU2000n-2 A1 boardjuhosg
Patchwork: http://patchwork.openwrt.org/patch/4183/ Signed-off-by: Terry Yang <yangbo@bhunetworks.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-30ar71xx: add kernel support for BHU Networks BXU2000n-2 A1 boardjuhosg
BXU2000n-2 A1 is a BHU Networks WLAN board, use ar9341 chip. Patchwork: http://patchwork.openwrt.org/patch/4183/ Signed-off-by: Terry Yang <yangbo@bhunetworks.com> [juhosg: - rename and refresh kernel patch, - fix some checkpatch warnings and adjust whitespaces in mach-bhu-bxu2000n2-a.c] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-30ar71xx: add user space support for the Sitecom WLR-8100 wireless routerjuhosg
Patchwork: http://patchwork.openwrt.org/patch/4148/ Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-30ar71xx: add kernel support for the Sitecom WLR-8100 wireless routerjuhosg
- unsure about copyright message - based on AP136-010 Patchwork: http://patchwork.openwrt.org/patch/4147/ Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> [juhosg: rename and refresh kernel patch] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-30ar71xx: add profile and build image for the Dragino2 boardjuhosg
Patchwork: http://patchwork.openwrt.org/patch/4234/ Signed-off-by: Pau Escrich <p4u@dabax.net> [juhosg: remove kernel+rootfs partition and use uimage split instead] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-30ar71xx: add kernel support for DRAGINO2juhosg
This patch adds support for DRAGINO2 board (used by Meshpotato v2). Most of the files included can be found in the official svn repository provided by the company [1]. I have just adapt it to the last OpenWrt trunk revision (Fri Oct 4 10:49:47 2013). 1. http://svn.dragino.com/dragino2 Patchwork: http://patchwork.openwrt.org/patch/4234/ Signed-off-by: Pau Escrich <p4u@dabax.net> [juhosg: - rename and refresh kernel patch, - fix checkpatch warnings in mach-dragino2.c] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23ar71xx: rename 'nand' subtarget to 'mikrotik'juhosg
It is for Mikrotik devices only, rename the subtarget to reflect that. Also fix the wget2nand script to use the new image names. Based on the patch by Stefan Agner: http://patchwork.openwrt.org/patch/4123/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23ar71xx: change title and description for NAND subtargetjuhosg
The nand subtarget supports Mikrotik boards only. Change the title and the description to reflect that. Based on the patch by Stefan Agner: http://patchwork.openwrt.org/patch/4123/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23ar71xx: remove 'Target/Description' from main Makefilejuhosg
Ensure that menuconfig shows the correct help text for subtargets. Based on the patch by Stefan Agner: http://patchwork.openwrt.org/patch/4123/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-23kernel: update 3.10 to 3.10.17juhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-20ar71xx: Fix sysupgrades for Allnet and OpenMesh devicesjuhosg
Both Allnet and OpenMesh sysupgrade uses fw_setenv from uboot-envtools to change different settings in the uboot environment. uboot-envtools version 2013.01 introduced a filesystem lock "/var/lock/fw_printenv.lock" to guarantee mutually exclusive access to the uboot environment. But the path /var doesn't exist on the sysupgrade ramfs. An upgrade on these devices fails since r36033 ("[package] uboot-envtools: upgrade to version 2013.01.01") with following messages: Error opening lock file /var/lock/fw_printenv.lock failed to update U-Boot environment Creating the "/var/lock" path before running fw_setenv is therefore a requirement unless the locking functionality in fw_setenv is removed or replaced with optional locking. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-20ar71xx: fix WLAN 5 GHz LED init on dir-825-c1juhosg
Fixes the 5 GHz LED. The same function has no effect on the 2.4 GHz LED at all, so we might as well remove it. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38482 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-13kernel: update kernel to 3.10.15hauke
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-13ar71xx: Fix sysupgrade when upgrading to images with small rootfs partitionacinonyx
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-10-11[ar71xx]: make the generated images actually flashable on the Unifi devices.kaloz
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38364 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-27ar71xx: ar934x-nfc: disable subpage write when hardware ECC is usedjuhosg
It is not supported by the controller. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-27kernel: update 3.10 to 3.10.13juhosg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38228 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-26build: unify mips target cflagsnbd
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25ar71xx: use correct board id for TL-MR3040 v2juhosg
Fix the image building code so that the kernel correctly distinguishes between hardware revisions. Signed-off-by: Mads Hansen <d@taba.se> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25ar71xx: add user-space support for TL-MR3040 v2juhosg
Signed-off-by: Mads Hansen <d@taba.se> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-25ar71xx: improve kernel support for the TL-MR3040 v2juhosg
This patch adds support for the hardware slide switch on the TL-MR3040 v2. Signed-off-by: Mads Hansen <d@taba.se> [juhosg: use EV_SW instead of EV_KEY] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38190 3c298f89-4303-0410-b956-a3cf2f4a3e73