Commit graph

8834 commits

Author SHA1 Message Date
Gabor Juhos
b873051706 ar71xx: image: stop the switch from the lzma-loader on the TL-WR1043ND
SVN-Revision: 32946
2012-08-02 09:54:41 +00:00
Gabor Juhos
e29d6bec6f ar71xx: image: allow to use board specific code in the lzma-loader
SVN-Revision: 32945
2012-08-02 09:54:33 +00:00
Gabor Juhos
79a8660d67 ar71xx: init switch hw_reset on the TL-WR1043ND board
SVN-Revision: 32944
2012-08-02 09:54:28 +00:00
Gabor Juhos
e2782eae8e generic: rtl836x: add hw_reset field to struct rtl8366_smi
It will be used to start/stop the switch if that is
supported by the given board.

SVN-Revision: 32943
2012-08-02 09:54:21 +00:00
Gabor Juhos
614ca3cc9e generic: rtl8366_smi: use __rtl8366_smi_cleanup instead of gpio_free calls
SVN-Revision: 32942
2012-08-02 09:54:13 +00:00
Florian Fainelli
9f011e7225 add missing netmask to the network config
SVN-Revision: 32941
2012-08-01 22:09:13 +00:00
Florian Fainelli
5133a44785 assume the link is up and full-duplex by default
SVN-Revision: 32940
2012-08-01 21:56:54 +00:00
Florian Fainelli
56aac45139 add a default and suitable network config file
SVN-Revision: 32939
2012-08-01 21:56:49 +00:00
Gabor Juhos
563400ef10 ar71xx: ew-dorin: added router firmware generation
[juhosg: remove dead code]

Signed-off-by: embedded wireless GmbH <info@embeddedwireless.de>

SVN-Revision: 32934
2012-08-01 12:24:57 +00:00
Gabor Juhos
8eabe64e6b ar71xx: ew-dorin: added USB support
Signed-off-by: embedded wireless GmbH <info@embeddedwireless.de>

SVN-Revision: 32933
2012-08-01 12:24:56 +00:00
Gabor Juhos
1af4fd7660 ar71xx: Buffalo WLAE-AG300N wireless led patch
Here is the uci-defaults version of the led support for
the Buffalo WLAE-AG300N.

Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>

SVN-Revision: 32932
2012-08-01 12:24:54 +00:00
Gabor Juhos
010aec0619 ar71xx: Buffalo WLAE-AG300N initial support
The patch set for Buffalo WLAE-AG300N initial support.

There is another patch for wireless led support that
is posted separately.

Note on serial console:
This unit has buffalo standard 4 pin console, but the unit may not power
on if some console apparatus is connected. This is probably due to some
electronic interaction between the unit's electronic power switch circuit
and the serial console apparatus. If this happens, it is required to power
on the unit without the console, then quickly (re-)attach it.

[juhosg: fix coding style]

Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>

SVN-Revision: 32931
2012-08-01 12:24:52 +00:00
Florian Fainelli
df48d71d72 resync defconfig enable XZ compression
SVN-Revision: 32930
2012-08-01 12:01:27 +00:00
Florian Fainelli
3cd753408d properly generate squashfs, jffs2 and initramfs images and kernels
SVN-Revision: 32927
2012-07-31 23:09:50 +00:00
Florian Fainelli
c0561a42e7 disable crashlog on ARM platforms for the moment
It is currently badly broken on ARM, until fixed, disable it

SVN-Revision: 32926
2012-07-31 23:09:46 +00:00
John Crispin
f5f36911f0 add lantiq svip support
SVN-Revision: 32925
2012-07-31 18:49:54 +00:00
Jonas Gorski
07c4524d33 bcm63xx: Add nb6 support (BCM6362 SoC base boards)
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
[jonas.gorski@gmail.com: add network config for nb6, make switch fix a
platform patch]

SVN-Revision: 32924
2012-07-31 14:27:47 +00:00
Jonas Gorski
820c224029 bcm63xx: add basic bcm6362 support
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 32923
2012-07-31 14:27:42 +00:00
Jonas Gorski
dcd339ac9d bcm63xx: enable usb for bcm6328
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 32922
2012-07-31 14:27:34 +00:00
Jonas Gorski
94d257a851 bcm63xx: update enetswitch driver
Update enetswith driver with latest fixes and additions.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 32921
2012-07-31 14:27:31 +00:00
Jonas Gorski
fa75bd977a bcm63xx: reorder patches
Fix the order and names of patches.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 32920
2012-07-31 14:27:25 +00:00
Florian Fainelli
d1ab4df0d6 move i2c module to target modules.mk
SVN-Revision: 32910
2012-07-29 13:20:51 +00:00
Florian Fainelli
a5738c960a resync config
SVN-Revision: 32908
2012-07-29 13:20:39 +00:00
Florian Fainelli
17244dea00 use the same description as other omap platforms (without the dash)
SVN-Revision: 32907
2012-07-29 13:20:35 +00:00
John Crispin
ee0946a5f4 refresh pwm patch
SVN-Revision: 32905
2012-07-29 11:53:06 +00:00
John Crispin
101766fb00 clean up pwm patches and drivers
SVN-Revision: 32901
2012-07-28 20:47:08 +00:00
Hauke Mehrtens
f0fe59648a add config option CONFIG_I2C_MV64XXX to fix kirkwood build
SVN-Revision: 32898
2012-07-28 11:36:52 +00:00
Florian Fainelli
67891c26ec resync config
SVN-Revision: 32895
2012-07-27 15:35:15 +00:00
Florian Fainelli
a4d699ccf0 fix DVA-G3810BN image generation
Attached patch fixes a typo in the image Makefile, and overrides the
board name for DVA-G3810BN to set the correct board properties

Signed-Off-By: Jeroen van Bemmel <jbemmel@zonnet.nl>

SVN-Revision: 32894
2012-07-27 15:35:12 +00:00
Florian Fainelli
c6813d33f3 add D-link DVA-G3810BN-TL-1 support
Signed-Off-By: Jeroen van Bemmel <jbemmel@zonnet.nl>

SVN-Revision: 32893
2012-07-27 15:35:09 +00:00
Florian Fainelli
18206793b2 Add CT6376-1 board support
Added CT6373 devices instead of using NB4's devices, as Florian suggested.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 32892
2012-07-27 15:35:05 +00:00
Florian Fainelli
4acdbb1d87 Add brcmsmac profile
Add brcmsmac profile (kmod-brcmsmac + wpad-mini).

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 32890
2012-07-27 15:34:57 +00:00
John Crispin
0ba7b18cfd Add leds back after migration to sysfs
atheros trunk moved to full sysfs gpiolib, but the leds were forgotten.
This restores the wlan led that was missing after switching from backfire
to trunk.

Signed-off-by: Karl Palsson <karlp@remake.is>

SVN-Revision: 32885
2012-07-26 17:06:55 +00:00
Florian Fainelli
46611b2cbf add more missing config symbols
SVN-Revision: 32884
2012-07-26 17:03:08 +00:00
Florian Fainelli
ac30beaaa7 add more USB-related config symbols
SVN-Revision: 32883
2012-07-26 17:03:05 +00:00
Florian Fainelli
a077e785cf make sure target modules depend on the target
SVN-Revision: 32882
2012-07-26 17:03:02 +00:00
Hauke Mehrtens
0c75abf527 bcma: update to version from wireless-testing tag master-2012-07-16
I did not add the last patch, because it add some stubs for the flash drivers and our patches have to be changed for that, if the flash support in bcma is able to do something I will integrate it.

This also contains 3 additional patches fixing some bugs in bcma.

SVN-Revision: 32880
2012-07-26 15:42:18 +00:00
John Crispin
87a72d68f1 fix typo in modules.mk
This patch fixes a small typo in kmod-leds-wndr3700-usb description, where the board is for some reason made by NETGWR, not NETGEAR.

Signed-off-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>

SVN-Revision: 32870
2012-07-25 19:52:30 +00:00
Florian Fainelli
d359d46182 make kmod-fb dependent on DISPLAY_SUPPORT and update targets accordingly
SVN-Revision: 32869
2012-07-25 19:36:19 +00:00
Florian Fainelli
adc2b21be8 move isp116x driver to target specific modules.mk
SVN-Revision: 32865
2012-07-25 15:50:45 +00:00
Florian Fainelli
1627b2bb4b move rt305x-dwc driver to target specific modules.mk
SVN-Revision: 32864
2012-07-25 15:50:42 +00:00
Florian Fainelli
c7a69869f7 move ubsec-ssb driver to target specific modules.mk
SVN-Revision: 32863
2012-07-25 15:50:38 +00:00
Florian Fainelli
d1b2087a35 move ssb-gige to target specific modules.mk
SVN-Revision: 32862
2012-07-25 15:50:36 +00:00
Florian Fainelli
c14d907b8b move usb driver to target specific modules.mk
SVN-Revision: 32861
2012-07-25 15:50:33 +00:00
Florian Fainelli
3b5a8548f4 move mmc driver to target specific modules.mk
SVN-Revision: 32859
2012-07-25 15:50:26 +00:00
Florian Fainelli
18038c803c move ixp4xx-eth to target specific modules.mk
SVN-Revision: 32858
2012-07-25 15:50:23 +00:00
Florian Fainelli
4000de357e move crypto module to target specific modules.mk
SVN-Revision: 32856
2012-07-25 15:50:16 +00:00
Florian Fainelli
a282e37c09 move i2c driver to target modules.mk
SVN-Revision: 32855
2012-07-25 15:50:13 +00:00
Florian Fainelli
accbc20045 move watchdog driver to target specific modules.mk
SVN-Revision: 32854
2012-07-25 15:50:10 +00:00
Florian Fainelli
23ffbad602 move target specific spi modules
SVN-Revision: 32853
2012-07-25 15:50:04 +00:00
Florian Fainelli
1859500829 move target specific leds modules to ar71xx modules.mk
SVN-Revision: 32852
2012-07-25 15:50:02 +00:00
Florian Fainelli
c3b9a987b7 move leds modules back to target modules.mk
SVN-Revision: 32851
2012-07-25 15:49:57 +00:00
Florian Fainelli
bca45d6d8a move i2c modules back to target modules.mk
SVN-Revision: 32850
2012-07-25 15:49:54 +00:00
Florian Fainelli
2bfb2a797c move more x86-specific modules back to target modules.mk
SVN-Revision: 32848
2012-07-25 15:49:49 +00:00
Florian Fainelli
d973768580 move x86 specific ide/pata modules to x86' modules.mk
SVN-Revision: 32846
2012-07-25 15:49:42 +00:00
Hauke Mehrtens
e0837a51f0 brcm47xx: reorder patches so that the patches already in mainline linux will be applied at first.
SVN-Revision: 32845
2012-07-25 14:52:00 +00:00
Florian Fainelli
ab2cb9ce61 add yet another framebuffer symbol
SVN-Revision: 32844
2012-07-25 14:01:57 +00:00
Florian Fainelli
89a312bf48 split framebuffer helper modules to their own packages
SVN-Revision: 32843
2012-07-25 14:01:54 +00:00
Florian Fainelli
ba9f6a46b1 remove broken flag
SVN-Revision: 32842
2012-07-25 14:01:51 +00:00
Florian Fainelli
03c06178e3 package buttons driver separately
SVN-Revision: 32841
2012-07-25 14:01:49 +00:00
Florian Fainelli
83b7462ac9 package cobalt lcd as a module
SVN-Revision: 32840
2012-07-25 14:01:46 +00:00
John Crispin
7ee4798be2 add unset CONFIG_FB_XGI to fix fullbuilds
SVN-Revision: 32836
2012-07-25 09:05:23 +00:00
John Crispin
94a550cc87 cleanup config-3.3, remove =m
SVN-Revision: 32835
2012-07-25 09:05:18 +00:00
John Crispin
1cbfa0c0f5 laguna: fix eeprom read buffer size during platform configuration
Increase the size of the buffer used for eeprom reads during the platform configuration of the Gateworks laguna.  The model name read in is 16 bytes but the original buffer was only 8 bytes.

Signed-off-by: David Acker <dacker@rajant.com>

SVN-Revision: 32833
2012-07-25 08:01:38 +00:00
John Crispin
0e9e7dcd10 adds target used by rapsberry pi
Add support for Raspberry Pi / brcm2708 / 2835

Signed-off-by: Ian Ridge <ianridge [at] gmail.com>

SVN-Revision: 32825
2012-07-24 20:39:17 +00:00
John Crispin
5e52619b76 DWC otg usb: compilation fixes and trivial bugfix in slave mode
Signed-of-by: Nikolai Zhubr <n-a-zhubr@yandex.ru>

SVN-Revision: 32823
2012-07-24 20:38:55 +00:00
John Crispin
799d6deab0 D-Link DAP-1350 initial support
The initial support for the D-Link DAP-1350.
USB related functionality is not tested.

Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>

SVN-Revision: 32821
2012-07-24 20:38:43 +00:00
John Crispin
b891eec700 MI424WR - add rev D support
Add support for revision D of the MI424WR.
Rev D swaps LAN & WAN ports so this patch maintains
eth0 for LAN and eth1 for WAN. For details on rev D usage,
see http://wiki.openwrt.org/toh/actiontec/mi424wr

Signed-off-by: Jose Vasconcellos <jvasco@verizon.net>

SVN-Revision: 32820
2012-07-24 20:38:36 +00:00
John Crispin
03be8d08ac initial LED configuration for Fonera 2.0n
Setup initial configuration for Wifi and USB LEDS of a Fonera 2.0n (ramips)

Signed-off-by: Malte Forkel <malte.forkel@berlin.de>

SVN-Revision: 32819
2012-07-24 20:38:31 +00:00
John Crispin
2d2479a033 add ALL5002 userspace support
detect EEPROM, MAC addresses and support sysupgrade for the ALL5002

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 32816
2012-07-24 20:38:14 +00:00
John Crispin
e219c3ac3a enable OHCI/EHCI glue on Rt305x, so it is available for Rt3352F.
Hope that this works, didn't have a chance to actually test it...

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 32815
2012-07-24 20:38:08 +00:00
John Crispin
a65eee9ac3 add image build for ALL5002
add image build for ALL5002

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 32814
2012-07-24 20:38:03 +00:00
John Crispin
0a08a776fb add support for Allnet ALL5002 to kernel
support ALL5002 in ramips/rt305x branch of the kernel.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 32813
2012-07-24 20:37:56 +00:00
John Crispin
6641024f50 uart_clk on Rt3352F is always 40MHz
Currently, sys_clk/10 is used which is just wrong.
cpu_clk/10 would work for systems with 400MHz CPU clock.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 32812
2012-07-24 20:37:50 +00:00
Florian Fainelli
93dc8c8d1b move omap specific modules to modules.mk
SVN-Revision: 32810
2012-07-24 19:43:54 +00:00
Florian Fainelli
82c7e05d42 move n810 battery module to omap24 modules.mk
SVN-Revision: 32809
2012-07-24 19:43:49 +00:00
Florian Fainelli
25e20b0b57 move target specific modules to target's module.mk
SVN-Revision: 32808
2012-07-24 19:43:45 +00:00
Florian Fainelli
587f85ac20 package ep93xx framebuffer
SVN-Revision: 32807
2012-07-24 19:43:35 +00:00
Florian Fainelli
5915c85d80 remove crypto symbols override
SVN-Revision: 32806
2012-07-24 19:43:31 +00:00
Florian Fainelli
c238862651 add missing framebuffer related symbols
SVN-Revision: 32804
2012-07-24 19:43:23 +00:00
Florian Fainelli
9f55e6f954 remove broken flag, since it works
SVN-Revision: 32803
2012-07-24 19:43:19 +00:00
Florian Fainelli
c531ce0301 fix sound modules loading order and dependencies
SVN-Revision: 32802
2012-07-24 19:43:15 +00:00
Florian Fainelli
598ef2a2e0 package ep93xx touchscreen driver as a module
SVN-Revision: 32799
2012-07-24 19:42:49 +00:00
Florian Fainelli
0db5f35846 set DEVICE_TYPE to developerboard
SVN-Revision: 32798
2012-07-24 19:42:44 +00:00
John Crispin
5178c177dc rebase config-3.3
SVN-Revision: 32797
2012-07-24 17:28:25 +00:00
John Crispin
53a6946bb4 fix tantos patch properly
SVN-Revision: 32796
2012-07-24 17:28:12 +00:00
John Crispin
6fe32d72a2 make tantos switch select ETHERNET_PACKET_MANGLE
SVN-Revision: 32795
2012-07-24 16:50:14 +00:00
John Crispin
48869ef7c0 move CONFIG_ETHERNET_PACKET_MANGLE to a generic config file
This broke falcon builds

SVN-Revision: 32794
2012-07-24 15:33:01 +00:00
Felix Fietkau
b59bc92c6e crashlog: fix dependency, add memblock support
SVN-Revision: 32787
2012-07-22 16:39:33 +00:00
Felix Fietkau
b1f318de53 kernel: fix portability issues on the x86 specific relocs host tool, fixes build on mac os x
SVN-Revision: 32783
2012-07-20 12:28:50 +00:00
Florian Fainelli
05340cc602 rename upgrade image to sysupgrade.bin for consistency
SVN-Revision: 32770
2012-07-17 16:47:57 +00:00
Florian Fainelli
d243c1e1f2 add missing configuration symbols
SVN-Revision: 32769
2012-07-17 16:40:28 +00:00
Florian Fainelli
f7dfd20f97 au1000: implement sysupgrade platform.sh
Signed-off-by: Bruno Randolf <br1@einfach.org>

SVN-Revision: 32768
2012-07-17 16:40:24 +00:00
Florian Fainelli
ac6bf6d62f au1000: clean up profiles
Signed-off-by: Bruno Randolf <br1@einfach.org>

SVN-Revision: 32767
2012-07-17 16:39:52 +00:00
Florian Fainelli
b2d76e1e05 au1000: fix InternetBox idsel and remove broken flag
The following patch is necessary for the InternetBox (Surfbox) board-specific
idsel to work with newer kernels. Acutally I don't exactly understand why this
was not necessary before, but without the udelay, the MiniPCI adapter in slot 3
is not detected and set up correctly.

Also remove platform broken flag, it works.

Signed-off-by: Bruno Randolf <br1@einfach.org>

SVN-Revision: 32766
2012-07-17 16:39:47 +00:00
Gabor Juhos
21de1b9d85 ar71xx: enable I2C_GPIO, the PB44 board needs that
SVN-Revision: 32738
2012-07-15 17:52:52 +00:00
Gabor Juhos
7daf851adf ar71xx: fix PB44 board detection
SVN-Revision: 32737
2012-07-15 17:52:50 +00:00
Gabor Juhos
c7fa38484c ar71xx: use gpio_set_value_cansleep on sleeping GPIOs in ath79_spi
SVN-Revision: 32736
2012-07-15 17:52:48 +00:00
Luka Perkov
03a6d65c37 kernel: add Marvell SoC built-in RTC to modules
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 32732
2012-07-15 14:25:30 +00:00
Florian Fainelli
c727c2aacf set DEVICE_TYPE to other to avoid pulling unecessary packages
SVN-Revision: 32731
2012-07-15 14:10:03 +00:00
Florian Fainelli
a5d72815b5 add compatible property to pci node
SVN-Revision: 32730
2012-07-15 14:09:40 +00:00
Florian Fainelli
b5578d83d5 use ohci_err() instead of err()
SVN-Revision: 32729
2012-07-15 14:09:32 +00:00
Florian Fainelli
0e0b396663 make sure we properly unmap DMA mappings we created
SVN-Revision: 32728
2012-07-15 14:09:24 +00:00
Florian Fainelli
0f0e42f28e nuport-mac: add definitions of the various bits/masks used
SVN-Revision: 32727
2012-07-15 14:09:18 +00:00
Luka Perkov
c89e87d186 kirkwood: add support for seagate goflexnet and goflexhome
Signed-off-by: Martin Mueller <mm@sig21.net>

SVN-Revision: 32725
2012-07-15 12:18:29 +00:00
Luka Perkov
952ce3473d kirkwood: revert config changes from r32053
SVN-Revision: 32719
2012-07-15 00:08:52 +00:00
Gabor Juhos
33220828dc ar71xx: build firmware image for the TP-Link TL-WDR4310 v1.0
The hardware for TP-Link TL-WDR4300 v1.1 and TL-WDR4310 v1.0 is
identical, but requires different firmware headers:

TL-WDR4300:
00000040  43 00 00 01 00 00 00 01  00 00 00 00 76 fb 83 40  |C...........v..@|

TL-WDR4310:
00000040  43 10 00 01 00 00 00 01  00 00 00 00 38 2b 50 6c  |C...........8+Pl|

[juhosg: change commit message, use a different model name]

Signed-off-by: Stefan Lippers-Hollmann <s.l-h@gmx.de>

SVN-Revision: 32683
2012-07-12 13:38:40 +00:00
Gabor Juhos
372945185d ramips: rt305x: add support for Edimax 3G-6200N
Support for Edimax 3G-6200N router with USB.

Signed-off-by: Lukasz Golebiowski <lgolebio@gmail.com>

SVN-Revision: 32682
2012-07-12 13:29:46 +00:00
Gabor Juhos
e9af340016 generic: ocf: restore terminating entry of pci_id_table in hifnHIPP
SVN-Revision: 32680
2012-07-12 08:34:23 +00:00
Gabor Juhos
d3c8852fd1 ar71xx: select ATH79_DEV_M25P80 for the WRT400N board
SVN-Revision: 32679
2012-07-12 08:34:22 +00:00
Gabor Juhos
c75c895d24 ar71xx: airrouter power led support
This patch adds support for power led to Unifi Airrouter AP.

[juhosg:fold the patch into 608-MIPS-ath79-ubnt-xm-add-more-boards.patch]

Signed-off-by: Rocco Folino <lordzen@autistici.org>

SVN-Revision: 32678
2012-07-12 08:34:21 +00:00
Gabor Juhos
466f010303 ar71xx: unifi reset button support
This patch adds support for reset button to Ubiquiti UniFi AP.

[juhosg: fold the patch into 608-MIPS-ath79-ubnt-xm-add-more-boards.patch]

Signed-off-by: Rocco Folino <lordzen@autistici.org>

SVN-Revision: 32677
2012-07-12 08:34:20 +00:00
Gabor Juhos
5ce9c90ca8 ar71xx: airrouter reset button support
This patch adds support for reset button to Ubiquiti Airrouter AP.

[juhosg: fold the patch into 608-MIPS-ath79-ubnt-xm-add-more-boards.patch]

Signed-off-by: Rocco Folino <lordzen@autistici.org>

SVN-Revision: 32676
2012-07-12 08:34:18 +00:00
Luka Perkov
283021ac15 ocf: update to version 20120127
SVN-Revision: 32672
2012-07-11 23:38:14 +00:00
Hauke Mehrtens
45d55161a6 kernel: bcma: update to version from wireless-testing tag master-2012-07-11
SVN-Revision: 32670
2012-07-11 22:17:05 +00:00
Florian Fainelli
b94d9eb302 remove bcm63xx_pci_register() call in livebox board
SVN-Revision: 32661
2012-07-11 09:15:26 +00:00
Florian Fainelli
f8446c3d4c use physmap-flash on livebox (#8677)
SVN-Revision: 32660
2012-07-11 09:15:22 +00:00
Florian Fainelli
8765e49fbe nuport-mac: check netif_receive_skb() return value
We did not reassign status to netif_receive_skb() return value, we thus
almost always incremented the dropped counter because the descriptor status
value never matches the NET_RX_DROP.

SVN-Revision: 32659
2012-07-11 08:29:01 +00:00
Florian Fainelli
93bf00ff36 fix typo on of_node_put()
SVN-Revision: 32653
2012-07-09 14:44:15 +00:00
Florian Fainelli
bb1488e5e7 Detect alternative "cfe-" version bootloaders (found in 963281T_TEF board)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 32643
2012-07-06 22:10:37 +00:00
Gabor Juhos
fe015f399f ar71xx: swizzle address for PCI byte/word access on AR71xx
Closes #11683.

SVN-Revision: 32639
2012-07-06 16:33:12 +00:00
Gabor Juhos
b39df5bb81 ar71xx: select SOC_AR933X and ATH79_DEV_WMAC for the OM2P board
SVN-Revision: 32638
2012-07-06 11:12:02 +00:00
Gabor Juhos
e258367c19 ar71xx: merge new board patches into the generic patch
SVN-Revision: 32637
2012-07-06 11:12:01 +00:00
Gabor Juhos
b020a7e7c3 ar71xx: OM2P LC sysupgrade patch
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 32635
2012-07-06 11:11:58 +00:00
Florian Fainelli
110fd3525a call of_node_put() on ethernet node
SVN-Revision: 32628
2012-07-05 18:46:55 +00:00
Florian Fainelli
a8fab2cb78 fix EPHY clock bit definition after r32489
SVN-Revision: 32627
2012-07-05 18:46:52 +00:00
Florian Fainelli
81681d7367 give an unique partition identifier for dLAN USB Extender Combined partition
SVN-Revision: 32626
2012-07-05 18:46:48 +00:00
Gabor Juhos
eabf96dc22 ar71xx: set firmware version for the TL-WR2543N
This ensures that the resulting firmware can
be flashed from the latest (v3.13.17) offical
firmware.

SVN-Revision: 32617
2012-07-05 16:25:31 +00:00
Gabor Juhos
7c932579fa ar71xx: make 2.4GHz wlan LED work on the WR2543N
Because ath9k does not supports separate LEDs for
different bands yet, the 2.4GHz LED will show the
activity, even if the 5GHz band is selected.

SVN-Revision: 32615
2012-07-05 16:25:26 +00:00
Gabor Juhos
b2f0476871 ar71xx: OM2P sysupgrade support
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 32613
2012-07-05 08:26:57 +00:00
Gabor Juhos
797944d3f1 ar71xx: add support for the OpenMesh OM2P-LC board
Patch-by: Marek Linder <marek@open-mesh.com>

SVN-Revision: 32611
2012-07-05 08:26:53 +00:00
Gabor Juhos
1ea2a3cfd8 ar71xx: add profile and build image for the Atheros AP136 reference board
SVN-Revision: 32609
2012-07-05 08:26:51 +00:00
Gabor Juhos
b219848bfc ar71xx: AP136 user-space support
SVN-Revision: 32608
2012-07-05 08:26:50 +00:00
Gabor Juhos
f0cda65bb6 ar71xx: add initial support for the Qualcomm Atheros AP136 board
SVN-Revision: 32607
2012-07-05 08:26:48 +00:00
Gabor Juhos
d1b237b335 ar71xx: add initial support for the QCA955X SoCs
SVN-Revision: 32606
2012-07-05 08:26:47 +00:00
Gabor Juhos
7284cf73d6 ar71xx: refactor PCI code to allow registering multiple PCI controllers
SVN-Revision: 32605
2012-07-05 08:26:45 +00:00
Gabor Juhos
6b8392eb12 generic: ar8216: start aneg on each PHY of the AR8327
SVN-Revision: 32604
2012-07-05 08:26:39 +00:00
Florian Fainelli
0fdac1102d add missing interrupts properties to some device nodes
SVN-Revision: 32603
2012-07-04 19:37:11 +00:00
Felix Fietkau
bfef2d17eb ar71xx: update the EW Dorin MTD layout, increase kernel partition size (requested by EW)
SVN-Revision: 32599
2012-07-04 10:55:56 +00:00
Jonas Gorski
0a3e9c3148 bcm63xx: bcm63xx-spi does not depend on spi-bitbang
SVN-Revision: 32594
2012-07-03 21:42:17 +00:00
Jonas Gorski
fad888a85c bcm63xx: 96348A-122 improvements (Comtrend 5365)
1) Improve WLAN button.
2) Add 96348A-122 image.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 32593
2012-07-03 21:42:15 +00:00
Jonas Gorski
0c7e676342 bcm63xx: fix second caldata address calculation
thanks Noltari for spotting this.

SVN-Revision: 32592
2012-07-03 21:42:12 +00:00
Jonas Gorski
988147111c bcm63xx: update patches to latest upstream versions
SVN-Revision: 32591
2012-07-03 21:42:07 +00:00
Jonas Gorski
1e2262df76 kernel: generic: spi: allow empty (un)prepare transfer
SVN-Revision: 32590
2012-07-03 21:42:03 +00:00
Gabor Juhos
b8618fd3f2 ar71xx: improve MDIO busy wait code
SVN-Revision: 32586
2012-07-03 15:24:02 +00:00
Gabor Juhos
86013d40d5 ar71xx: remove the built-in MTD map of the ALL0258N
Pass the mtd_layout via the kernel command line instead.
Also increase the kernel partition size to 1024k, so current kernel can fit in.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 32585
2012-07-03 15:24:01 +00:00
Florian Fainelli
4cdc4b1f36 refresh patches
SVN-Revision: 32581
2012-07-03 09:45:46 +00:00
Hauke Mehrtens
bd9fa13c73 kernel: ssb/bcma: update to version from wireless-testing tag master-2012-07-02
SVN-Revision: 32580
2012-07-02 23:12:58 +00:00
Florian Fainelli
52bae2d2bd fix watchdog and rng drivers section mismatch (#11767)
SVN-Revision: 32522
2012-06-29 09:07:54 +00:00
Felix Fietkau
5570b76642 ar71xx: detect and enable MIPS DSP extensions, AR9344 supports them (fixes #11762)
SVN-Revision: 32520
2012-06-28 16:05:08 +00:00
Felix Fietkau
a5c684de26 kernel: switch openwrt default to TCP cubic from westwood (patch by Dave Täht)
Despite Westwood's theoretical advantages, in nearly
every benchmark we ran last year, TCP cubic won, whether it be
on correct RTT estimates, amount of buffering, responsiveness,
etc. on current hardware and software designs.

(both need timestamps on to work well, besides)

TCP cubic is better maintained and understood than westwood,
also.

While a scenario where westwood would win possibly exists,
there is too much buffering in the wifi stack in particular
at present, to see any improvement.

If you wish to exercise various TCPs under contention,
the current svn head of netperf (2.6) has options to switch
congestion control agorithms on the fly, as does iperf.

SVN-Revision: 32514
2012-06-27 22:32:47 +00:00
Florian Fainelli
1d7878a38b fix SPI clock frequency selection
SVN-Revision: 32512
2012-06-27 22:14:50 +00:00
Felix Fietkau
41909c6568 kernel: add missing config symbol
SVN-Revision: 32498
2012-06-24 20:21:27 +00:00
Vasilis Tsiligiannis
eee358338c ramips: mac address detection for Fonera 2.0n
Detect and apply MAC address of a Fonera 2.0n (ramips)

Signed-off-by: Malte Forkel <malte.forkel@berlin.de>
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>

SVN-Revision: 32490
2012-06-23 13:58:29 +00:00
Florian Fainelli
81e8757da4 provide an early ioremap cookie of the system configuration register
SVN-Revision: 32489
2012-06-23 11:03:50 +00:00
Florian Fainelli
98b2bc9189 group SYSDBG register defines in mcs814x.h
SVN-Revision: 32488
2012-06-23 11:03:45 +00:00
Florian Fainelli
a8965f0005 make hardware.h a forward inclusion of mcs814x.h
mach/hardware.h is soon to be removed by upstream kernel

SVN-Revision: 32487
2012-06-23 11:03:40 +00:00
Florian Fainelli
7c984552ed remove platform specific initialization from ethernet driver
Hardware filtering must always be enabled as long as there is an Ethernet
device registered, and use device tree for setting the link activity and
buffer shifting enable/disable bit.

SVN-Revision: 32486
2012-06-23 11:03:35 +00:00
Florian Fainelli
2c47bbc199 regroup interrupt controller register definitions in hardware.h
SVN-Revision: 32485
2012-06-23 11:03:29 +00:00
Florian Fainelli
481c9faf20 remove handle_irq callback in board-mcs8140-dt.c
This should have been removed in r32470.

SVN-Revision: 32481
2012-06-21 12:20:47 +00:00
Florian Fainelli
4b33e0996e fix USB led triggers
SVN-Revision: 32474
2012-06-20 21:58:00 +00:00
Florian Fainelli
a98c74164e use generic uci defaults functions
SVN-Revision: 32473
2012-06-20 21:57:56 +00:00
Florian Fainelli
007fa4d638 remove uselss cache invalidations
SVN-Revision: 32472
2012-06-20 21:57:53 +00:00
Florian Fainelli
9a2367aa6d improve ethernet driver debugging
SVN-Revision: 32471
2012-06-20 21:57:49 +00:00
Florian Fainelli
3b0dba382b do not use MULTI_IRQ_HANDLER it is bogus on our platform
This caused stalls in the Ethernet DMA block, so until properly
written and sorted out, fallback to the assembly version instead.

SVN-Revision: 32470
2012-06-20 21:57:45 +00:00
Mirko Vogt
f45cd30543 verified to work - remove broken flag
SVN-Revision: 32469
2012-06-20 19:04:35 +00:00
Vasilis Tsiligiannis
1978c07539 Fix sysupgrade for squashfs, jffs2 and ext4 images
* use 'fsync' with 'dd' for image writing
	* save config to boot partition

SVN-Revision: 32465
2012-06-19 22:36:53 +00:00
Florian Fainelli
f4afa00862 add Moschip MSC814x support
This target currently only supports Moschip's MCS8140 SoC, but support
for other chips in the same family (MCS8142, MCS8144) will be easy to add.

Target support is entirely using Device Tree for probing peripherals.
Drivers support include:
- PCI
- USB 1 & 2
- watchdog
- random number generator
- UART
- timer
- internal Ethernet PHY
- Ethernet MAC core

Support for the following boards is included using Device Tree
- Devolo dLAN USB Extender
- Tigal RBT-832

SVN-Revision: 32462
2012-06-19 14:48:56 +00:00
Gabor Juhos
7c87391c55 ar71xx: create profile and build image for the TL-WDR4300 board
SVN-Revision: 32461
2012-06-19 11:51:20 +00:00
Gabor Juhos
2d97a52045 ar71xx: add user space support for the TL-WDR4300
SVN-Revision: 32460
2012-06-19 11:51:18 +00:00
Gabor Juhos
8b9931fd27 ar71xx: add support for the TL-WDR4300 board
SVN-Revision: 32459
2012-06-19 11:51:17 +00:00
Gabor Juhos
e6a10d5cdd ar71xx: refresh patches
SVN-Revision: 32458
2012-06-19 11:51:15 +00:00
Gabor Juhos
86c6543259 ar71xx: make AR8327 LEDs working on the DB120 board
SVN-Revision: 32457
2012-06-19 10:44:17 +00:00
Gabor Juhos
b934fa2f16 generic: ar8216: allow to configure AR8327 LEDs via platform data
SVN-Revision: 32456
2012-06-19 10:44:16 +00:00
Gabor Juhos
f509a87f2d ar71xx: remove superfluous include of asm/mach-ath79/pci.h
SVN-Revision: 32455
2012-06-19 10:13:43 +00:00
Gabor Juhos
1a1121158f ar71xx: add a common function to configure USB power GPIOs
SVN-Revision: 32454
2012-06-19 10:13:41 +00:00
Gabor Juhos
27fea0b6d7 ar71xx: correctly detect NETGEAR WNDRMAC
This patch helps properly detect a WNDRMAC device. Before this
patch the model is detected as "NETGEAR ?????????N".

Signed-off-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>

SVN-Revision: 32453
2012-06-19 10:13:38 +00:00
Gabor Juhos
ee9bc123fb ar71xx: add USB LED support by default for WNDR3700/WNDR3800/WNDRMAC
This adds kmod-leds-wndr3700-usb package to a default build for
WNDR3700, WNDR3800 and WNDRMAC in order to support the green USB LED.

Signed-off-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>

SVN-Revision: 32452
2012-06-19 10:13:37 +00:00
Gabor Juhos
833b4af816 ramips: rt305x: add support for the Petatel PSR-680W Wireless CDMA Router
This patch adds support for the Korean made Petatel PSR-680W Wireless CDMA Router.
The platform is based on Ralink RT3052.
http://wiki.openwrt.org/toh/petatel/psr-680w

Signed-off-by: Dmitry Shmygov <shmygov at rambler.ru>

SVN-Revision: 32450
2012-06-19 09:52:15 +00:00
Felix Fietkau
26cf21df02 ar71xx: add support for the embeddedwireless Dorin board (based on patch by embeddedwireless.de)
SVN-Revision: 32447
2012-06-19 00:22:04 +00:00
Felix Fietkau
5d364d0ca1 ar71xx: add support for reading the MAC address from OTP ROM on AR933x
SVN-Revision: 32446
2012-06-19 00:21:58 +00:00
Jo-Philipp Wich
f06473f8ff optimize kernel config for kvm_guest
This patch enables few extra kernel options for the kvm_guest subtarget:
- Tickless kernel to avoid timer ticks in idle guests, reduces CPU usage
- Enable paravirtualization steal time support

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 32436
2012-06-18 23:36:50 +00:00
Jo-Philipp Wich
cbac321164 remove inittab override
SVN-Revision: 32422
2012-06-18 11:50:37 +00:00
Florian Fainelli
b89c81929e fix SPI message control handling for BCM6338/6348
BCM6338 and BCM6338 have their MSG_CONTROL register width of 8-bits instead of
16-bits. We were previously using a 16-bits write which corrupted the first
byte of the TX FIFO. Also the message type was always set to Full-duplex even
in the case of half-duplex messages.

SVN-Revision: 32409
2012-06-17 16:17:29 +00:00
Felix Fietkau
50958f5e03 kernel: replace the brcm47xx fuse workaround patches with a generic patch that applies to all mips targets
The dcache bug that it works around is a generic issue, not a brcm47xx cache quirk

SVN-Revision: 32395
2012-06-16 21:06:33 +00:00
Florian Fainelli
b391548cf0 remove broken flags
Thanks to Nicolas Le Falher for testing on Bifferboard.

SVN-Revision: 32389
2012-06-16 16:45:28 +00:00
Jo-Philipp Wich
e3663ff907 use ttyS0 @ 115200 baud as default for KVM guests
SVN-Revision: 32384
2012-06-15 12:59:49 +00:00
Luka Perkov
1c80d9f21d kirkwood: fix typo in uci-defaults/leds
Signed-off-by: Martin Mueller <mm@sig21.net>

SVN-Revision: 32343
2012-06-13 18:41:42 +00:00
Felix Fietkau
dddf321b6e ar71xx: swap the PHY address of the ethernet port of TL-MR3040/TL-MR11U similar to TL-MR3020 to fix ethernet link detection
SVN-Revision: 32336
2012-06-13 12:54:22 +00:00
Jonas Gorski
f2271efc4e bcm63xx: readd accidentially dropped ignore_oc in ehci driver
fixes overcurrent warning spam on 3.3 kernels for bcm63xx again.

SVN-Revision: 32221
2012-06-11 22:24:58 +00:00
Felix Fietkau
7cb42738e6 package/index: filter out the libc package from the index
SVN-Revision: 32187
2012-06-11 01:29:11 +00:00
Luka Perkov
be5229f0ba kirkwood: ib62x0 fix reboot
SVN-Revision: 32131
2012-06-08 23:17:46 +00:00
Felix Fietkau
43b5706ef5 xburst: remove an obsolete CompareKernelPatchVer call
SVN-Revision: 32115
2012-06-07 16:32:44 +00:00
Florian Fainelli
6e5242952c fix 553-board_96348w3.patch patch wrt gpio-keys-polled
SVN-Revision: 32096
2012-06-06 20:58:45 +00:00
Felix Fietkau
624505df56 ar71xx: fix LZMA loader build regression from r32090 (thx, juhosg)
SVN-Revision: 32095
2012-06-06 19:37:49 +00:00
Felix Fietkau
8b46a72583 kernel: add a few more tracing related symbols
SVN-Revision: 32094
2012-06-06 18:04:00 +00:00
Felix Fietkau
73b8805e78 ar71xx: fix PHY setup on TL-MR3020 (fixes #11572)
SVN-Revision: 32093
2012-06-06 17:24:12 +00:00
Felix Fietkau
dc9675282e ar71xx: add a helper function for setting up PHY4 swapping on ar933x
SVN-Revision: 32092
2012-06-06 17:24:09 +00:00
Felix Fietkau
072bed4760 target: do not make target/*/install depend on target/*/compile - removes one redundant kernel build dir call on target/install
SVN-Revision: 32091
2012-06-06 17:24:05 +00:00
Felix Fietkau
02ab0d3ef9 ar71xx: only build all loader images if the image builder is enabled - saves some time on make target/install
SVN-Revision: 32090
2012-06-06 17:24:01 +00:00