aboutsummaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* sunxi: init eth0 as lan instead of wan, add a couple boardsZoltan HERPAI2014-03-201-2/+4
| | | | | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39973 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: enable /proc/device-tree - used for board detectionZoltan HERPAI2014-03-201-0/+1
| | | | | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39972 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: various changesZoltan HERPAI2014-03-204-5/+64
| | | | | | | | | | | | - fix mmc, sata, usb (partially) on CubieTruck - fix hstimer DT on A20 Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> Signed-off-by: Zalan Blenessy <zalan.blenessy@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39971 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/generic: fix define in 642-bridge_port_isolate.patchFelix Fietkau2014-03-193-3/+3
| | | | | | | | | | Patch 642-bridge_port_isolate.patch needs to be updated for kernels 3.12, 3.13 and 3.14 as the define for BR_ISOLATE_MODE conflicts with BR_LEARNING Signed-off-by: Jonas Eymann <j.eymann@gmx.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39955 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add missing OF nodeJohn Crispin2014-03-187-9/+9
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39950 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: refresh patchesJohn Crispin2014-03-1879-7410/+14412
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39949 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [omap]: switch the am335x-evmsk to the new wlcore bindingsImre Kaloz2014-03-182-27/+13
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39948 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [mac80211][omap]: switch to the newer DT bindings for wl1xxxImre Kaloz2014-03-1820-2355/+310
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39946 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: fix mmc support on sun4iZoltan HERPAI2014-03-172-70/+10
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39943 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/sdk: strip host binaries before packingFelix Fietkau2014-03-131-2/+19
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39915 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/sdk: leave out some unnecessary directoriesFelix Fietkau2014-03-131-1/+11
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39914 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/sdk: use .config instead of unconditionally enabling all build dirsFelix Fietkau2014-03-131-0/+9
| | | | | | | | Call make defconfig on every build to catch newly added packages Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39913 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/sdk: fix parallel build callsFelix Fietkau2014-03-131-0/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39912 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/sdk: remove obsolete make calls for the ancient package directory formatFelix Fietkau2014-03-131-3/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39911 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix 990-gpio_wdt.patch patchHauke Mehrtens2014-03-121-1/+1
| | | | | | | | | This uses the correct include now. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39906 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: add initial support for kernel 3.14Hauke Mehrtens2014-03-1222-0/+1958
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39905 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing config options for kernel 3.14Hauke Mehrtens2014-03-121-0/+10
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39904 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport ARM memset fixes for GCC 4.7/4.8Florian Fainelli2014-03-124-0/+676
| | | | | | | | | Now that GCC 4.8 is the default, make sure that we have the relevant memset fixes to avoid nasty kernel crashes. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39902 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add missing clk_set_rate()John Crispin2014-03-121-0/+17
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39896 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [cns3xxx]: Add GW2385 supportImre Kaloz2014-03-121-0/+30
| | | | | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39894 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [ixp4xx]: add GW2375 supportImre Kaloz2014-03-121-19/+42
| | | | | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39893 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [cns3xxx]: various dwc (OTG) driver fixupsImre Kaloz2014-03-128-95/+442
| | | | | | | | | Signed-off-by: Tim Harvey <tharvey@gateworks.com> Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39892 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: rb95x: use correct SPI flash addressGabor Juhos2014-03-121-1/+1
| | | | | | | | | | | The flash address passed to rb_init_info() is bogus, use the predefined AR71XX_SPI_BASE macro instead. Compile tested only. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39891 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: ar934x_nfc: fix memory initialization bugGabor Juhos2014-03-121-1/+1
| | | | | | | | | | | sizeof(array_from_function_definition) gives back the size of the pointer. sizeof(type) * array_size should be used in memset. Signed-off-by: David Völgyes <david.volgyes@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4950/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39890 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/sdk: generate a Config.in file with the settings of the build that ↵Felix Fietkau2014-03-103-0/+33
| | | | | | | | | | the SDK was generated from This allows make oldconfig/menuconfig to run Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39864 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/sdk: remove obsolete compatibility makefilesFelix Fietkau2014-03-103-102/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39863 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/sdk: remove obsolete exclude lineFelix Fietkau2014-03-101-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39861 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/sdk: remove some unnecessary filesFelix Fietkau2014-03-101-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39859 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target/sdk: add support for building kernel module packagesFelix Fietkau2014-03-101-3/+28
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39858 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel/generic: drop already upstreamed patchLuka Perkov2014-03-102-74/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39855 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: explicitely mention MIPS to avoid confusionFlorian Fainelli2014-03-081-1/+1
| | | | | | | | | And while at it, fix the nomenclature, BCM947xx/953xx refer to specific boards, while BCM47xx/BCM53xx refer to chip identification number. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39841 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add preliminary 3.14 supportImre Kaloz2014-03-07168-0/+32657
| | | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39789 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ralink: add support for wrtnodeJohn Crispin2014-03-075-0/+84
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39786 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: update 3.13 defconfig to include lradc driverZoltan HERPAI2014-03-061-0/+1
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39783 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: driver refresh for 3.13Zoltan HERPAI2014-03-06179-4719/+14841
| | | | | | | | | | | | | | | | | | - update gmac / mmc / usb / ahci drivers to follow mainline dev trees - add driver for spi - update clock support - update a31 support - move to new DT compats where appropriate - re-order patchqueue where needed - verified working a20 smp - move most DTSes off files/ - update defconfig Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39782 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing config symbols to 3.13Zoltan HERPAI2014-03-051-0/+12
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39781 3c298f89-4303-0410-b956-a3cf2f4a3e73
* sunxi: deprecate 3.12 supportZoltan HERPAI2014-03-0574-7888/+0
| | | | | | | | Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39780 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: fix uImage build issueFelix Fietkau2014-03-051-1/+1
| | | | | | | | | | The uImage target will always fail on a clean build due to dependency issues. Building the uImage isn't necessary anyway as its re-built with correct entry points in image/Makefile so remove it. Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39778 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: update against latest rpi-3.10.y branchFlorian Fainelli2014-02-28180-11872/+358252
| | | | | | | | | | | Update our copies of the brcm2708 patches to the latest rpi-3.10-y rebased against linux-3.10.y stable (3.10.32). This should hopefully make it easier for us in the future to leverage the raspberry/rpi-* branches. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39770 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm2708: define KERNELNAME accordinglyFlorian Fainelli2014-02-282-4/+2
| | | | | | | | | Define KERNELNAME to Image to get the build system to copy this image over $(KDIR) automatically for us. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39768 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add 16MB Flash version for Embedded Wireless Dorin PlatformFelix Fietkau2014-02-281-1/+3
| | | | | | Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39764 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: adjust ew-dorin platform for LAN+WAN setupFelix Fietkau2014-02-281-2/+3
| | | | | | Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39763 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: ethernet - clean up tx descs only when neededFelix Fietkau2014-02-271-4/+8
| | | | | | | | | | | We already clean up tx descriptors in the napi eth_poll() function so it would likely be rare to run out of available descriptors in eth_xmit. Thus we can clean them up only when needed and return busy only when we still don't have enough. Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39762 3c298f89-4303-0410-b956-a3cf2f4a3e73
* cns3xxx: ethernet - resolve SMP issueFelix Fietkau2014-02-271-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The combination of r35942 and r35952 causes an issue where eth_schedule_poll() can be called from a different CPU between the call to napi_complete() and the setting of cur_index which can break the rx ring accounting and cause ethernet latency and/or ethernet stalls. The issue can be easilly created by adding a couple of artificial delays such as: @@ -715,6 +715,7 @@ static int eth_poll(struct napi_struct *napi, int budget) if (!received) { napi_complete(napi); +udelay(1000); enable_irq(IRQ_CNS3XXX_SW_R0RXC); } @@ -727,6 +728,7 @@ static int eth_poll(struct napi_struct *napi, int budget) rx_ring->cur_index = i; wmb(); +udelay(1000); enable_rx_dma(sw); return received; This patch moves the setting of cur_index back up where it needs to be and addresses the original corner case that r35942 was trying to catch in an improved fashion by checking to see if the rx descriptor ring has become full before interrupts were re-enabled so that a poll can be scheduled again and avoid an rx stall caused by rx interrupts ceasing to fire again. Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39761 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: optimize for NEON FPU hardwareLuka Perkov2014-02-271-1/+1
| | | | | | | | | | The IMX6 SoC uses an ARM Cortext-A9 which has both NEON and VFPv3 hardware blocks. This will tune gcc to use neon instead of vfpv3 which will outperform VFPv3. Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39760 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: enable FPU for hard floatLuka Perkov2014-02-273-4/+7
| | | | | | | | | | | | | | The OpenWrt build system uses MACHINE_FEATURES of fpu to set the HAS_FPU which in turn sets the default of CONFIG_SOFT_FLOAT as well as uClibc configuration. As the IMX6 SoC has both vfpv3 and NEON hardware support we want to add fpu to the feature list. This will default the IMX6 target to use -mfloat-abi=hard which will the be most efficient use of floating point. When switching to hard float, we also need to enable VFP support in the kernel. Signed-off-by: Tim Harvey <tharvey@gateworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39759 3c298f89-4303-0410-b956-a3cf2f4a3e73
* realview: fix zImage-initramfs installationFlorian Fainelli2014-02-271-1/+5
| | | | | | | | | We were copying the actual vmlinux-initramfs.elf kernel which cannot be launched by QEMU or a real bootloader, use zImage-initramfs instead. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39756 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix failsafe acces on several devicesGabor Juhos2014-02-251-1/+35
| | | | | | | | | | | | | | The ar71xx platform always uses the eth0 interface to provide access to the device in failsafe mode. Due to this, failsafe access is broken on devices where the LAN ports are connected to the 'eth1' interface. Update the relevant script to correctly set the ifname variable for these devices. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39752 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm63xx: add preliminary support for 3.13Jonas Gorski2014-02-24155-0/+16434
| | | | | | | | | Add support for 3.13 as a development kernel. Mostly untested, only net booted. If flashed may brick your router or kill your cat. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39746 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add missing config symbol to 3.13Jonas Gorski2014-02-241-0/+1
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39745 3c298f89-4303-0410-b956-a3cf2f4a3e73