aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* wr1043nd-v2: Change .code of the wi-fi button to KEY_RFKILLJohn Crispin2014-10-141-4/+4
| | | | | | | | | | | | This patch changes the code of the Wi-Fi On/Off button on the TP-Link WR1043ND v2 from KEY_WLAN to KEY_RFKILL (and renames a few constants to match). The reason for this change is, that the KEY_WIFI button code is not recognized by the hotplug subsystem. This means that the userspace is not notified about the button being pressed which effectively renders it useless. Signed-off-by: Josef Gajdusek <atx@atx.name> SVN-Revision: 42922
* lantiq xway: generate ramdisk image by defaultJohn Crispin2014-10-141-1/+1
| | | | | | | | | | The installation process on nand-based boards using ubi like the BTHOMEHUBV2B makes use of a ramdisk image, so it makes sense to generate this by default. Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com> SVN-Revision: 42920
* ar71xx: fix seama factory type image generation.John Crispin2014-10-141-2/+4
| | | | | | | | | | | Currently JFFS2 end-of-filesystem marker 0xdeadc0de is included the computation of image's MD5 checksum as part of the seama header. But OpenWrt will erase blocks including and after the marker thus invalidating the checksum after the first boot. Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 42915
* ar71xx: qihoo-c301: reset imageNtrynum after each successful boot.John Crispin2014-10-141-0/+6
| | | | | | | | | | | | | | | | | | | | | | | Qihoo C301 has 2 flash chips of which one is used as primary and the other is used as backup. OEM U-Boot will try to boot an activeregion N with imageNstatus=0 and imageNtrynum <= imagemaxtry. If such a region is found, bootloader will try to increment imageNtrynum and boot it. This patch tries to reset imageNtrynum after each successful boot (if the boot process reaches the execution of /etc/init.d/done). root@OpenWrt:/# hexdump -C -n 128 /dev/mtdblock9 00000000 9e f3 63 91 61 63 74 69 76 65 72 65 67 69 6f 6e |..c.activeregion| 00000010 3d 31 00 69 6d 61 67 65 31 73 74 61 74 75 73 3d |=1.image1status=| 00000020 30 00 69 6d 61 67 65 32 73 74 61 74 75 73 3d 30 |0.image2status=0| 00000030 00 69 6d 61 67 65 32 74 72 79 6e 75 6d 3d 30 00 |.image2trynum=0.| 00000040 69 6d 61 67 65 6d 61 78 74 72 79 3d 33 00 69 6d |imagemaxtry=3.im| 00000050 61 67 65 31 74 72 79 6e 75 6d 3d 30 00 00 00 00 |age1trynum=0....| 00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 42914
* target/toolchain/Config.in: Clarify packaging of toolchain.John Crispin2014-10-141-3/+5
| | | | | | | | | Change the "help" info to emphasize that this option refers specifically to packaging the toolchain that would be built anyway. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> SVN-Revision: 42912
* scripts: fix wrong usage of '==' operatorJohn Crispin2014-10-149-13/+13
| | | | | | | | | | | | | | [base-files] shell-scripting: fix wrong usage of '==' operator normally the '==' is used for invoking a regex parser and is a bashism. all of the fixes just want to compare a string. the used busybox-ash will silently "ignore" this mistake, but make it portable/clean at least. this patch does not change the behavior/logic of the scripts. Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 42911
* rb532: switch to 3.14 and ath5kJohn Crispin2014-10-141-2/+2
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 42910
* generic: fix yaffs compilation on 3.14John Crispin2014-10-141-2/+10
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 42909
* rb532: add 3.14 supportJohn Crispin2014-10-145-0/+263
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 42908
* lantiq: allow pcie to be disabled by dts + vgv7519 fix pci irq + disable ↵John Crispin2014-10-142-1/+56
| | | | | | | | pcie by dts Signed-off-by: Eddi De Pieri <eddi@depieri.net> SVN-Revision: 42907
* ar71xx: Fix LED definitions for the DRAGINO2 boardJohn Crispin2014-10-143-17/+35
| | | | | | | | | | | | | | This patch fixes LED definitions for the DRAGINO2 board. 1. It renames the Router/USB led to System, as it is now marked "SYS" on the board. 2. It gives control of the LAN and WAN leds and some other GPIOs to Linux. 3. It fixes the active_low property for the LAN and WAN leds. 4. It sets up WLAN, LAN and WAN leds in the UCI defaults. 5. It allows usage of the System led by the diag.sh script, so it will be used to indicate boot and failsafe status. Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net> SVN-Revision: 42897
* mpc85xx: use wpad-mini in WDR4900 profile instead of wpadJohn Crispin2014-10-141-1/+1
| | | | | | | | | This change makes the profile of WDR4900 more consistent with other router specific profiles. Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de> SVN-Revision: 42896
* bcm53xx: fix hangs in PCIe2 host driverRafał Miłecki2014-10-141-5/+33
| | | | | | | | Accessing CFG regs with no card present results in SoC hang. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42895
* bcm53xx: add temp bcma workaround that allows debuggingRafał Miłecki2014-10-141-0/+47
| | | | | | | | This way we will get logs if case of hang/crash in bcma or related code. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42894
* at91: fix at91-adc dependenciesJohn Crispin2014-10-131-1/+1
| | | | | | | | | | | | Error reported by buildbot: Package kmod-at91-adc is missing dependencies for the following libraries: input-core.ko only compile tested Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 42893
* ralink: Build 8M image for 7Links PX-4885John Crispin2014-10-134-40/+85
| | | | | | | | | 7Links PX-4885 (clones) can also be purchased with 8MB flash. Creating images for these routers, use dtsi for common part Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 42892
* brcm47xx: image: create initramfs TRX nodictionary imagesRafał Miłecki2014-10-131-0/+2
| | | | | | | Signed-off-by: Stephen Parry <sgparry@mainscreen.com> Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42889
* x86: remove old soekris config hacks, install a more appropriate default ↵Felix Fietkau2014-10-124-56/+7
| | | | | | | | /etc/config/network with lan+wan Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42888
* image.mk: clean up and parallelize mkfs callsFelix Fietkau2014-10-122-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42878
* ralink: various i2c related fixesJohn Crispin2014-10-101-20/+21
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42868
* ramips: add support for Nexx WT1520John Crispin2014-10-108-1/+120
| | | | | | Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> SVN-Revision: 42867
* bcm53xx: prepare to support Asus RT-N18URafał Miłecki2014-10-092-0/+116
| | | | | | | | | DT file doesn't include any GPIOs yet, but let's add it as we got some interest in this device on IRC. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42864
* bcm53xx: add support for Buffalo WZR-1750DHPRafał Miłecki2014-10-092-0/+119
| | | | | | | | Let's generate a simple TRX file as we can't get encrypted one. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42863
* kernel: add missing symbols for 3.14Steven Barth2014-10-091-0/+3
| | | | | | | | | spotted by buildbot brcm2708: http://buildbot.openwrt.org:8010/builders/brcm2708/ Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> SVN-Revision: 42858
* network: Unbind DHCPv6 from underlying interfacesSteven Barth2014-10-0810-10/+10
| | | | | | | | | This allows IPv6 to set up without IPv4 being up thus IPv6-only or IPv6+DS-Lite working with the default config. Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42848
* cns3xxx: Adopt irq_domain support for cns3xxx gpio driverFelix Fietkau2014-10-081-7/+23
| | | | | | | | | Have gpio driver adopt irqdomain support so that there are non-overlapping allocations of irq numbers mapped to gpio's. Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> SVN-Revision: 42844
* cns3xxx: fix shared PCI interrupt mappingFelix Fietkau2014-10-071-5/+2
| | | | | | | | | | | | | | This patch originally failed to combine INTA/B/C/D onto a single ARM CPU interrupt. Instead, it mapped INTA/B/C and excluded D. This patch corrects the issue by mapping all four interrupts to the single ARM CPU interrupt. The original intent of the patch still holds as the newer PCB take advantage of isolated interrupts. This fix only applies to older PCB's that do not route INTA/B/C/D to unique external ARM CPU interrupts. Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com> SVN-Revision: 42830
* cns3xxx: fix register for enabling MMC/SD pinsFelix Fietkau2014-10-071-2/+1
| | | | | | | | also fixes a GPIO related regression from the upgrade to 3.10 Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42829
* kernel: move old "rootfs" splitter into separated fileRafał Miłecki2014-10-077-73/+95
| | | | | | | | This will simplify removing it in the future. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42828
* bcm53xx: add Netgear R6300 V2 LEDs and buttonsRafał Miłecki2014-10-061-7/+60
| | | | | | | | Thanks tusc (our forum user) for checking GPIOs. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42827
* at91: remove support for TQMa9263John Crispin2014-10-064-488/+0
| | | | | | | | This board is EOL, we should not bother anymore with it. Signed-off-by: Michael Heimpold <mhei@heimpold.de> SVN-Revision: 42825
* lantiq - vgv7519: load rt5362 eeprom from bootloader param patitionJohn Crispin2014-10-064-1/+20
| | | | SVN-Revision: 42824
* lantiq - vgv7519: enable pci busJohn Crispin2014-10-062-3/+4
| | | | SVN-Revision: 42823
* lantiq - vgv7519: remove spi_cs4, since the board use this line for ↵John Crispin2014-10-061-1/+1
| | | | | | something else SVN-Revision: 42822
* lantiq - vgv7519: fix open-drain configuration for stpJohn Crispin2014-10-061-8/+6
| | | | SVN-Revision: 42821
* lantiq - vgv7519: add pci-rst entry into dtsJohn Crispin2014-10-061-0/+6
| | | | SVN-Revision: 42820
* lantiq - vgv7519: remove exin definition copied from dev-board dtsJohn Crispin2014-10-061-8/+0
| | | | SVN-Revision: 42819
* lantiq - vgv7519: we don't have pcie bus so we don't need the reset device ↵John Crispin2014-10-061-5/+0
| | | | | | tree for this board SVN-Revision: 42818
* lantiq - vgv7519: we don't have dual minipci-card so we don't need gnt1-req1 ↵John Crispin2014-10-061-4/+0
| | | | | | for pci handling SVN-Revision: 42817
* lantiq - vgv7519: fix gphy led configuration (this set correct alt function ↵John Crispin2014-10-061-2/+11
| | | | | | to gpio and let peripherials on pci bus to comes up) SVN-Revision: 42816
* lantiq: fix some alt function on pinctrl-xwayJohn Crispin2014-10-061-0/+15
| | | | SVN-Revision: 42815
* octeon: add patches which are not upstreamed yetJohn Crispin2014-10-062-0/+249
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 42811
* octeon: remove kmod-ath9k from default packagesJohn Crispin2014-10-061-1/+1
| | | | | | | | Looks like the targets are Ubiquiti routers which don't come with any wireless cards. Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 42810
* octeon: prepare elf kernel image and md5sum for usb copyingJohn Crispin2014-10-061-0/+2
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 42809
* octeon: fix serial console for 3.14 kernelJohn Crispin2014-10-061-0/+1
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 42808
* ralink: various i2c fixesJohn Crispin2014-10-061-31/+66
| | | | | | | | the driver did not handle all states correctly causing a deadlock of the i2c hw block. Signed-off-by: Ing.Michele Mogioni <michele.mogioni@unimc.it> SVN-Revision: 42807
* kernel: add some warnings to the old (built-in) rootfs splitterRafał Miłecki2014-10-064-7/+12
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42806
* kernel: enable CONFIG_MTD_SPLIT_SQUASHFS_ROOTRafał Miłecki2014-10-061-1/+1
| | | | | | | | | | | | This enables dedicated "rootfs" splitter by default. We still keep CONFIG_MTD_SPLIT_SQUASHFS_ROOT, so the old (built-in) splitter will be used as a fallback in case of problems. Once we decide the dedicated partitioner works stable, we should remove the old one completely. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42805
* kernel: allow rootfs splitters to work without CONFIG_MTD_ROOTFS_SPLITRafał Miłecki2014-10-062-13/+16
| | | | | | | | We want to remove that old (built-in) splitter at some point. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 42804
* lantiq: led name has changed from adsl -> dslJohn Crispin2014-10-061-4/+4
| | | | | | | | | | make the notify script aware of this. https://dev.openwrt.org/ticket/18005 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42798