aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* imx23: add support for u-boot image buildZoltan HERPAI2013-08-221-0/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37823 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: crashlog: Avoid out-of-bounds writeFelix Fietkau2013-08-215-5/+5
| | | | | | | | | | | | | | | | vsnprintf returns the number of chars that would have been written, not the actual number of chars written. This can lead to crashlog_buf->len being too big which in turn can lead to get_maxlen() returning negative numbers. The length argument of kmsg_dump_get_buffer will be casted to a size_t which makes a negative input a big positive number allowing kmsg_dump_get_buffer to write out of bounds. Fix this by using vscnprintf which returns the actually written number of chars. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37820 3c298f89-4303-0410-b956-a3cf2f4a3e73
* malta: refresh configurationLuka Perkov2013-08-215-18/+58
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37819 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add back missing declaration in the MIPS DMA patch that broke octeonFelix Fietkau2013-08-181-9/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37811 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: drop dead pwm codeLuka Perkov2013-08-182-425/+0
| | | | | | | | The files have last been used with 2.6.x kernel. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37810 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: drop dead glamo codeLuka Perkov2013-08-187-167/+0
| | | | | | | | The code is not used since the s3c24xx target was removed. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37809 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: replace local m25p80 patches with upstream submissionLuka Perkov2013-08-173-49/+78
| | | | | | | | | http://lists.infradead.org/pipermail/linux-mtd/2013-August/048154.html http://patchwork.ozlabs.org/patch/268019/ Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37808 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: drop 010-mtd_mp25p80_add_gd25q32_gd25q64.patchLuka Perkov2013-08-171-13/+0
| | | | | | | | | | The patch in question has been accepted upstream in commit: 55bf75b7dd8ec875d048824f3cdecf8254e292e5 Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37807 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: drop 110-fix_mtd_include.patchLuka Perkov2013-08-171-10/+0
| | | | | | | | Kernel builds just fine without this patch so we can just remove it. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37805 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37803 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix a small #ifdef bug in the noncoherent dma check reworkFelix Fietkau2013-08-151-2/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37791 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: improve dma ops inlining patchesFelix Fietkau2013-08-153-40/+157
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37790 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add support for hornet-ub-x2Luka Perkov2013-08-154-6/+31
| | | | | | | | The hornet-ub-x2 is hornet-ub variant with double more flash and ram. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37788 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: DIR-610-A1 SupportJohn Crispin2013-08-149-3/+124
| | | | | | | | http://patchwork.openwrt.org/patch/3933/ Signed-off-by: Flavio Silveira <fggs@terra.com.br> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37785 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix typo in network uci_defaults scriptJohn Crispin2013-08-141-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37784 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: dts file cleanupJohn Crispin2013-08-146-31/+14
| | | | | | | | cleanup some inconsistencies in the dts files Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37783 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix TL-WR710N board detectionJohn Crispin2013-08-141-0/+3
| | | | | | | | | | Fix for recognize TL-WR710N http://patchwork.openwrt.org/patch/3946/ Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37782 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Fix factory image for DIR 505 A1John Crispin2013-08-141-1/+1
| | | | | | | | | | | Based on the original firmware, the file must have the tag HORNET-PACKET-DIR505A1-3, not HORNET-RT-DIR505A1-3. http://patchwork.openwrt.org/patch/3945/ Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37781 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for dir810l and asus rp-n53John Crispin2013-08-147-1/+298
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37780 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: various updates to the mt7620 dtsi fileJohn Crispin2013-08-142-4/+36
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37779 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: update v3.10 patchesJohn Crispin2013-08-1459-25805/+1902
| | | | | | | | Sync the patches with those sent upstream for v3.12. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37778 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ocf: switch MODULE_LICENSE from BSD to "Dual BSD/GPL" to make the kernel ↵Felix Fietkau2013-08-148-8/+8
| | | | | | | | recognize modules as GPL-compatible Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37769 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ethernet: reduce tx dma ring size further to improve cache footprintFelix Fietkau2013-08-131-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37765 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add patch to inline mips dma mapping functions - reduces code size ↵Felix Fietkau2013-08-123-1/+834
| | | | | | | | and improves performance Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37763 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ethernet: reduce tx and rx DMA ring size to improve cache footprintFelix Fietkau2013-08-121-2/+2
| | | | | | | | 256 entries is a bit excessive, even for gigabit speeds Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37762 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ethernet: cache skb->len in the tx function to avoid accessing it ↵Felix Fietkau2013-08-122-5/+10
| | | | | | | | | | again in completion Improves ethernet performance, especially during bridging Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37761 3c298f89-4303-0410-b956-a3cf2f4a3e73
* rtl8367: add support for configuring the VLAN FIDFelix Fietkau2013-08-121-0/+7
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37760 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix typoFelix Fietkau2013-08-121-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37759 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ethernet: skip calls to netdev_completed_queue and netif_wake_queue ↵Felix Fietkau2013-08-121-0/+3
| | | | | | | | if no tx cleanup was done Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37758 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ethernet: do not update the unused dev->last_rx fieldFelix Fietkau2013-08-121-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37757 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add missing return statement in ethernet mtu change opFelix Fietkau2013-08-121-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37756 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove imx-sdma-fw because of license issuesLuka Perkov2013-08-121-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37755 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: use kmod-imx-sdma-fw-imx6 by defaultLuka Perkov2013-08-111-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37754 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: fix sdmaLuka Perkov2013-08-113-1/+53
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37752 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86: Fix CONFIG_X86_GRUB_SERIAL=""Felix Fietkau2013-08-101-2/+4
| | | | | | | | | | | | | | | | | | | | With .config:CONFIG_X86_GRUB_SERIAL="" which (AFAICT) is the way to tell GRUB not to use a serial console, in target/linux/x86/image/Makefile:ifneq ($(CONFIG_X86_GRUB_SERIAL),) $(CONFIG_X86_GRUB_SERIAL) expands to `""' (a literal double double-quote), making the condition unconditionally false. This patch fixes the situation by passing CONFIG_X86_GRUB_SERIAL through qstrip before testing. Signed-off-by: Tamas TEVESZ <ice@extreme.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37749 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: allow mtu > 1500 based on the configured tx/rx mtu register valueFelix Fietkau2013-08-101-1/+10
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37748 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mcs814x: enable POSIX file lockingFlorian Fainelli2013-08-091-1/+0
| | | | | | | | | | | | | | | | | opkg (and possible other tools) are currently broken as it requires file locking support enabled in the kernel. Without this results in a message like: root@OpenWrt:/etc/config# opkg update Collected errors: * opkg_conf_load: Could not lock /var/lock/opkg.lock: Permission denied. With this patch opkg is fully functional on this platform. Signed-off-by: Michael Heimpold <mhei@heimpold.de> Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37745 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix TD-W8970 image generation to work with the new toolJohn Crispin2013-08-061-2/+8
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37727 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove duplicate dir505 entry from board detection codeJohn Crispin2013-08-061-3/+0
| | | | | | | | https://dev.openwrt.org/ticket/14006 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37723 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add support for tplink images to .../image/MakefileJohn Crispin2013-08-061-2/+19
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37722 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: make the split patch recognize the tplink headerJohn Crispin2013-08-061-16/+43
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37721 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: fix TDW8970.dts commandline and partition nameJohn Crispin2013-08-061-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37720 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add tplink header id to sysupgrade and fix a commentJohn Crispin2013-08-061-1/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37719 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add (incomplete) support for Aztech GR7000Luka Perkov2013-08-064-0/+151
| | | | | | | | | | *) can not connect to switch chip *) only one usb port is working *) wifi is not working Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37712 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add some missing config symbolsFlorian Fainelli2013-08-051-0/+2
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37710 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix DMA error when BCM4331 is connected to BCM4706Hauke Mehrtens2013-08-055-0/+835
| | | | | | | | | | | | The BCM4331 supports a PCIe max request size of 512 bytes and uses that, but the PCIe controller in the BCM4706 just supports 128 Bytes and that causes a DMA error for packages bigger than 126 bytes. This fixes the problem by setting the BCM4331 also to 128 Bytes. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37709 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: re-implement PCI muxGabor Juhos2013-08-051-2/+17
| | | | | | | | | | Parallel flash access on RT3662/RT3883 based devices is broken without that. It was fixed already some time ago, but that change seems lost somewhere. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37708 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: allow to build Seama firmware images with arbitrary sizeGabor Juhos2013-08-051-3/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37707 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add usb modules to dir 505 profileJohn Crispin2013-08-051-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37706 3c298f89-4303-0410-b956-a3cf2f4a3e73
* octeon: add a few missing symbols to the kernel config fileJohn Crispin2013-08-051-0/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37705 3c298f89-4303-0410-b956-a3cf2f4a3e73