Commit graph

8127 commits

Author SHA1 Message Date
Gabor Juhos
a43e2f508f ar71xx: prebuild all loaders in Image/Prepare stage
SVN-Revision: 29878
2012-01-24 09:47:22 +00:00
Gabor Juhos
faf17f197f ImageBuilder: respect the PROFILE parameter
Based on a patch from #10766

SVN-Revision: 29877
2012-01-24 09:47:20 +00:00
Gabor Juhos
9cf1d4e06e ramips: scripts updates
In this patch:

* rename Argus leds to avoid underscores
* rename Belkin F5D8235 v1 leds from f5d8234 to f5d8235
* remove Belkin F5D8235 v1 status led defined as storage led (it was
  defined as usb led earlier, just in wrong place) - it should have
  router led as in v2
* add Argus, Sparklan and Belkin F5D8235 v2 status leds
* add Belkin F5D8235 v1 and v2 usb leds
* fix Belkin F5D8235 v2 network config generation and mac address axtraction
* fix Sparklan board identification
* add Sparklan usb led (this board doesn't have usb connector by
  default and the led is hidden also but if you are going to solder
  the connector then you'll see the led too)
* add Sparklan network config generation and mac address extraction
* fix empty string test in network script and...
* ...sort case entries by the first board in the list

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29871
2012-01-23 10:23:32 +00:00
Gabor Juhos
44517a3789 ar71xx: 3.2: fix build errors if PCI is not enabled
SVN-Revision: 29870
2012-01-23 08:52:21 +00:00
Gabor Juhos
778db0a13d ar71xx: fix compiler warning if PCI is not enabled
SVN-Revision: 29869
2012-01-23 08:52:18 +00:00
Gabor Juhos
af015f956c ar71xx: add initial support for 3.2
Tested on the following boards:
  ALFA AP96
  TL-MR3220 v1
  TL-WR1043ND v1
  TL-WR2543ND v1
  TL-WR703N v1
  TL-WR741ND v1
  TL-WR741ND v4
  WNDR3700 v1
  WZR-HP-G300NH

SVN-Revision: 29868
2012-01-22 22:38:19 +00:00
Gabor Juhos
386cbfe45b ar71xx: move arch specific files to files-2.6.39
SVN-Revision: 29867
2012-01-22 22:38:11 +00:00
Gabor Juhos
7b7427e52c ar71xx: build ALFA AP96 images with default profile as well
SVN-Revision: 29866
2012-01-22 22:33:15 +00:00
Gabor Juhos
dd49cca9d6 generic: 3.2: allow to build myloader mtd parser for ATH79
SVN-Revision: 29860
2012-01-22 18:43:39 +00:00
Gabor Juhos
9be1b91644 generic: allow to build myloader mtd parser for 3.2+
SVN-Revision: 29858
2012-01-22 18:36:49 +00:00
Gabor Juhos
809fe38e41 ramips fix f5d8235-v1 diag LED support
SVN-Revision: 29857
2012-01-22 18:11:39 +00:00
Gabor Juhos
e7dee3aeed ar71xx: wrt160nl_part: include module.h and fix compiler warnings
SVN-Revision: 29856
2012-01-22 17:55:38 +00:00
Gabor Juhos
a7d344565b ar71xx: tplinkpart: include module.h
SVN-Revision: 29855
2012-01-22 17:55:36 +00:00
Gabor Juhos
6c2638c5e2 ar71xx: rename vsc7385 spi driver
SVN-Revision: 29853
2012-01-22 13:51:57 +00:00
Gabor Juhos
bb16739db9 ar71xx: rename ap81 spi driver
SVN-Revision: 29852
2012-01-22 13:51:56 +00:00
Gabor Juhos
5ef8b922fa ar71xx: rename rb4xx spi drivers
SVN-Revision: 29851
2012-01-22 13:51:54 +00:00
Gabor Juhos
aad175d5b6 ar71xx: rename the nxp_74hc153 driver
SVN-Revision: 29850
2012-01-22 13:51:52 +00:00
Gabor Juhos
ef1c53b7b7 ar71xx: change board id of the UniFi board
SVN-Revision: 29849
2012-01-22 13:51:50 +00:00
Gabor Juhos
f90e578903 ar71xx: include linux/module.h in the micrel phy driver
SVN-Revision: 29848
2012-01-22 13:51:49 +00:00
Gabor Juhos
e9d8deaaed ramips: add sysled and sysupgrade to wr512-3gn
Patch from #10035.

SVN-Revision: 29847
2012-01-22 13:43:23 +00:00
Gabor Juhos
8e662f28fe generic: 3.2: don't disable lockdep for OOT modules
SVN-Revision: 29846
2012-01-22 09:57:39 +00:00
Gabor Juhos
4625c9b5a4 generic: rtl8366: add rtl8366_smi_write_reg_noack helper
After issuing a soft reset on the RT8366{S,RB}
switch, waiting for the last acknowlegement fails
in rtl8366_smi_write_reg. Add a _noack version of
the function and use that for issuing a soft reset.

SVN-Revision: 29844
2012-01-21 22:44:09 +00:00
Hauke Mehrtens
26d4e1876c brcm47xx: add support for pcie host controller on bcma based SoCs.
This also adds minimal support for the BCMA43224 pcie wireless card.

SVN-Revision: 29843
2012-01-21 22:39:20 +00:00
Gabor Juhos
557cf076b4 ramips: sysupgrade for ESR-9753
This patch add sysupgrade for Engenius ESR-9753

Signed-off-by: Artur Wronowski <arteqw@gmail.com>

SVN-Revision: 29824
2012-01-20 10:49:26 +00:00
Jonas Gorski
aa8f9171f2 kernel: fix OCF for linux 3.2
Add skb_frag_page from 3.2 to OCF for 3.1 and earlier and use it.

SVN-Revision: 29818
2012-01-19 19:51:54 +00:00
Jo-Philipp Wich
fc512193a0 add missing kernel symbols
SVN-Revision: 29790
2012-01-19 01:57:22 +00:00
Jo-Philipp Wich
2fc3fe1d09 Make the grub timeout configurable on x86 targets
Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>

SVN-Revision: 29786
2012-01-19 01:14:45 +00:00
Jo-Philipp Wich
095f7f2da3 x86/config-3.2: add linux-3.2 symbols for x86
The following symbols are missing for x86, in sorted order.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 29783
2012-01-19 00:31:39 +00:00
Florian Fainelli
dbfeb5d158 fix thinko in 102-ehci_hcd_ignore_oc patch
SVN-Revision: 29773
2012-01-18 07:56:02 +00:00
John Crispin
49eb3fd845 gigaset 76x
* fixes leds
* adds all leds found on the sx763 board
* removes board_config from flash layout because wireless data is stored in kernel (ath5k)
* fix button handling

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 29763
2012-01-17 12:10:35 +00:00
John Crispin
a2708d11e8 ramips: Rework ramips_eth to not require irqsave locking anymore
Previously the tx housekeeping was done in a spin_lock_irqsave critical
section which causes irqs to be disabled during that time. Since the
housekeeping is already prepared to be scheduled as a tasklet process
the housekeeping only in softirq context and revise the locking between
the tx path and the housekeeping tasklet by using a normal spin_lock
which in most situations will be a NOP anyway.

This makes sure that interrupts are only disabled for a short time
since in the worst case the housekeeping might have to free up to 256
skbs.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 29762
2012-01-17 11:23:11 +00:00
Hauke Mehrtens
034cf5643f brcm47xx: add support for kernel 3.2
SVN-Revision: 29756
2012-01-15 21:18:34 +00:00
Hauke Mehrtens
c3d134af12 brcm47xx: run kernel_oldconfig
SVN-Revision: 29755
2012-01-15 14:53:32 +00:00
Imre Kaloz
f9e41adc80 add support for OMAP4 based boards, starting with the PandaBoard
SVN-Revision: 29753
2012-01-14 23:02:56 +00:00
Imre Kaloz
6274648199 fixup arm xz support with recent changes
SVN-Revision: 29750
2012-01-14 22:55:04 +00:00
Imre Kaloz
e65195c246 add missing symbols
SVN-Revision: 29749
2012-01-14 22:53:28 +00:00
Felix Fietkau
b0479e2ca2 kernel: disable bridge igmp snooping in 3.2 as well
SVN-Revision: 29747
2012-01-14 14:57:03 +00:00
Felix Fietkau
66895b7115 kernel: disable bridge igmp snooping by default to avoid multicast issues
SVN-Revision: 29744
2012-01-14 13:50:25 +00:00
Jonas Gorski
9eb73ee6b7 kernel: ppc40x: ppc44x: add missing kernel config symbol
SVN-Revision: 29742
2012-01-14 12:04:17 +00:00
Hauke Mehrtens
d5bc3a994b brcm47xx: update usb driver
Add workarround for BCM5357 and BCM4749.

This patch contains the following fixes from George Kashperko:
* separate subroutines for controller initialization workarounds -
   following CodingStyle recommendations;
* __devinit __devexit __devinitconst annotations for CONFIG_HOTPLUG;
* fix leak in ssb_hcd_create_pdev/bcma_hcd_create_pdev - as hci_res being
   kmalloc'ed is never freed anywhere while platform_device_add_resources
   will kmemdup resources right away;
* fix compilation error in ssb_hcd_resume - it will fail as soon as
   CONFIG_PM is selected.

SVN-Revision: 29734
2012-01-13 20:11:23 +00:00
Jo-Philipp Wich
9d497cb132 rtl8366: fix rtl8366_smi_detect() after r29677
SVN-Revision: 29732
2012-01-13 19:17:58 +00:00
Jonas Gorski
3883e71097 brcm63xx: add support for linux 3.2
SVN-Revision: 29731
2012-01-13 14:59:50 +00:00
Jonas Gorski
1bc0abb058 kernel: add support for linux 3.2.1
SVN-Revision: 29730
2012-01-13 14:55:07 +00:00
Jonas Gorski
f3f1075655 kernel: backport overlayfs v11 to 3.0 and 2.6.39
Should fix whiteout issues and missing files when using extroot.

SVN-Revision: 29727
2012-01-13 14:42:53 +00:00
Jonas Gorski
c560444a58 kernel: update linux 3.1 to 3.1.9
SVN-Revision: 29726
2012-01-13 14:38:28 +00:00
Jonas Gorski
e49d3e1d5b kernel: update linux 3.0 to 3.0.17
SVN-Revision: 29725
2012-01-13 14:10:44 +00:00
Felix Fietkau
e87bb77966 ar8216: use vlan configuration for connecting ports (forced to be untagged) even with vlan_enable=0, but keep them isolated before the switch has been configured this makes enable_vlan=0 practical for vlan passthrough
SVN-Revision: 29719
2012-01-12 10:15:11 +00:00
Felix Fietkau
c33e016fa5 ar8216: do not strip vlan tags when running with vlan_enable=0
SVN-Revision: 29718
2012-01-12 10:15:08 +00:00
Gabor Juhos
fbf81c8e79 ar71xx: move irq_to_gpio and gpio_to_irq into gpio.c
SVN-Revision: 29713
2012-01-11 18:00:50 +00:00
Daniel Dickinson
034b7f0ef5 Remove invalid LED GPIO from GW6200 board definition. GPIO 35 isn't intended to control ethernet LED (the led behaviour is a side effect) and using the gpio as an led causes kernel panics.
SVN-Revision: 29712
2012-01-11 13:47:48 +00:00
Gabor Juhos
67f62cf5cf ar71xx: disable ath79 in order to get rid of Kconfig warnings
SVN-Revision: 29711
2012-01-11 09:14:19 +00:00
Gabor Juhos
88d8cdd503 ar71xx: pb44_spi: add shutdown handler
This allows to access the flash from a kexec'd kernel.

SVN-Revision: 29710
2012-01-11 09:14:18 +00:00
Gabor Juhos
e1b7995aef ar71xx: pb44_spi: call pb44_spi_{en,dis}able from probe/remove
SVN-Revision: 29709
2012-01-11 09:14:17 +00:00
Gabor Juhos
67444c7795 ar71xx: pb44_spi: introduce pb44_spi_{en,dis}able helpers
SVN-Revision: 29708
2012-01-11 09:14:15 +00:00
Gabor Juhos
0f566a376c ar71xx: ar71xx_spi: add shutdown handler
This allows to access the flash from a kexec'd kernel.

SVN-Revision: 29707
2012-01-11 09:14:14 +00:00
Gabor Juhos
09a6e3f662 ar71xx: ar71xx_spi: save and restore regs from probe/remove
SVN-Revision: 29706
2012-01-11 09:14:13 +00:00
Gabor Juhos
714a9bd641 ar71xx: ar71xx_wdt: add shutdown handler
SVN-Revision: 29705
2012-01-11 09:14:11 +00:00
Gabor Juhos
9727256330 ar71xx: refresh patches
SVN-Revision: 29683
2012-01-07 19:36:43 +00:00
Gabor Juhos
4edff7d3ef ar71xx: add a profile and build images for the TL-WR2543N/ND
SVN-Revision: 29682
2012-01-07 19:36:42 +00:00
Gabor Juhos
a1dcbc66a6 ar71xx: add initial support for the TL-WR2543N/ND board
The WLAN LEDs are not working yet.

SVN-Revision: 29680
2012-01-07 19:36:35 +00:00
Gabor Juhos
a56bdeff9d ar71xx: allow to specify max read size for m25p80
Reading from the flash chip on the TL-WR2543ND seems buggy.
If the SPI flash driver tries to read too much data in one
SPI transfer, the flash chip returns bogus values. This can
be caused by a buggy flash chip on my board, or it can
be a bug in our SPI driver.

Add a workaround to the m25p80 driver until I find out the
root cause of the problem. The patch allows to specify the
maximum numner of bytes which can be read safely withint
one SPI transfer.

SVN-Revision: 29679
2012-01-07 19:36:33 +00:00
Gabor Juhos
8b567fb508 generic: add driver for the RTL8367R/M switches
SVN-Revision: 29678
2012-01-07 19:36:31 +00:00
Gabor Juhos
87fb92ee03 generic: rtl8366: preparing for RTL8367 support
* make clock delay configurable
* make read,write commands configurable
* use u16 for member and untag fields

SVN-Revision: 29677
2012-01-07 19:36:30 +00:00
Gabor Juhos
43196813d7 generic: rtl8366_smi: add timeout message
SVN-Revision: 29676
2012-01-07 19:36:25 +00:00
Gabor Juhos
67b2814842 ar71xx: local mac support on the wndr3700
The wndr3700 at least has no eth0 mac address and usually leverages
the first wireless device's mac when in a bridged scenario. If,
however, you want to route, and not bridge the interfaces, you
need a unique mac address for it.

This patch sets the local bit on the mac address pulled from the
wireless chip and uses the resulting address for eth0.

Patch-by: Dave Taht <dave.taht@gmail.com>

SVN-Revision: 29675
2012-01-07 17:24:44 +00:00
Gabor Juhos
6c74274c8d generic: improve MIPS kexec support
It is based on patches from the linux-longsoon-community git tree:
http://dev.lemote.com/cgit/linux-loongson-community.git/

Now the kernel can use the command line parameter from kexec-tools.

Runtime tested on ar71xx with 2.6.39.4 (the wathdog must be stopped
before executing the new kernel). Compile tested with lantiq (3.1.4)
and brcm47xx (3.0.12).

SVN-Revision: 29674
2012-01-07 16:29:16 +00:00
Gabor Juhos
f638c6207b ar71xx: fix sysupgrade on the TL-WR841N/ND v7 boards
SVN-Revision: 29672
2012-01-06 15:54:59 +00:00
Gabor Juhos
1e848b17ad ar71xx: add support for Redwave RW2458N
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 29669
2012-01-06 07:20:59 +00:00
Gabor Juhos
84cd8a5ee0 ar71xx: fix RB-750 network configuration
SVN-Revision: 29668
2012-01-06 07:20:54 +00:00
Gabor Juhos
8eb0b7ab3d ar71xx: fix sections mismatch warnings in the nand drivers
SVN-Revision: 29667
2012-01-05 18:08:33 +00:00
Gabor Juhos
232eb83f74 ar71xx: fix LED configuration on the RB-750
SVN-Revision: 29666
2012-01-05 18:08:28 +00:00
Gabor Juhos
d65c6fe720 ar71xx: create profile and build image for the ALFA AP96 board
SVN-Revision: 29663
2012-01-04 21:13:57 +00:00
Gabor Juhos
b8f0d86115 ar71xx: add inital support for the ALFA Network AP96 board
The microSD slot and the Real Time Clock is not working yet.
The miniPCIe interface is not tested due to the lack of a
suitable card.

SVN-Revision: 29662
2012-01-04 21:13:54 +00:00
Gabor Juhos
807e046193 ar71xx: specify console kernel parameter for the Compex boards
SVN-Revision: 29660
2012-01-04 17:30:59 +00:00
Gabor Juhos
923f3e3752 ar71xx: allow to use the command line hack on compex devices
SVN-Revision: 29659
2012-01-04 17:30:58 +00:00
Gabor Juhos
2f53f82203 ar71xx: use the TL-MR3x20 code for the TL-WR841N/ND v7
These models are based on the AP99 reference board,
and uses the AR7241 SoC.

SVN-Revision: 29658
2012-01-04 17:30:57 +00:00
Gabor Juhos
301b1b4f92 ar71xx: show correct model name on TL-WA701N/ND boards
SVN-Revision: 29657
2012-01-04 17:30:55 +00:00
Gabor Juhos
ac68f0d8fa ar71xx: add profile and build image for the TL-WA701N/ND boards
SVN-Revision: 29656
2012-01-04 17:30:54 +00:00
Gabor Juhos
72019009c7 ar71xx: fix network configuration for the TL-WA901N/ND boards
SVN-Revision: 29654
2012-01-04 17:30:52 +00:00
Gabor Juhos
90bfef9ec9 ar71xx: allow to use LAN LED on the TL-WA901N/ND boards
SVN-Revision: 29653
2012-01-04 17:30:50 +00:00
Gabor Juhos
5eb502d9c1 ar71xx: add default LED configuration for the TL-MR3020
Also use the system LED for diagnostic.

SVN-Revision: 29652
2012-01-04 17:30:49 +00:00
Gabor Juhos
1045c83527 ar71xx: add support for TP-Link TL-MR3020
This patch adds support for the TP-Link device TL-MR3020 which is very
similiar to the TL-WR703N.
The TL-MR3020 uses 5 LEDs, 1 push button and a switch with 3 positions.
Only four LEDs can be controlled via GPIO. The power LED is connected to
the power supply.
The WPS push button has been mapped to KEY_WPS_BUTTON. The two GPIO signals
of the sliding switch have been mapped to BTN_0 and BTN_1.

I have also setup a wiki page with details here:
http://wiki.openwrt.org/toh/tp-link/tl-mr3020

USB is working and has been tested with USB mass storage and USB UMTS
stick.

Wifi also seems to work.

Ethernet is working too.

Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>

SVN-Revision: 29651
2012-01-04 17:30:47 +00:00
Gabor Juhos
88223f87d1 ar71xx: use the new om-watchdog package for OM2P
Signed-off-by: Antonio Quartulli <ordex@autistici.org>

SVN-Revision: 29648
2012-01-04 17:30:41 +00:00
Jo-Philipp Wich
a788f199c9 remove current RTSP support
SVN-Revision: 29643
2012-01-04 00:29:29 +00:00
Jo-Philipp Wich
237282ae8c backport upstream commit e1738bd9cecc5c867b0e2996470c1ff20f66ba79 to affected kernels (#9802) commit 8efa88540635 (sch_sfq: avoid giving spurious NET_XMIT_CN signals) forgot to call qdisc_tree_decrease_qlen() to signal upper levels that a packet (from another flow) was dropped, leading to various problems.
SVN-Revision: 29642
2012-01-03 23:08:15 +00:00
Gabor Juhos
8854c90119 ar71xx: add profile and build factory image for the Hornet-UB board
SVN-Revision: 29637
2012-01-01 19:30:29 +00:00
Gabor Juhos
1d3de89f3c ar71xx: build images for the ALFA Network N2/N5 boards
SVN-Revision: 29636
2012-01-01 19:30:28 +00:00
Gabor Juhos
1e68f10b87 ar71xx: add support for the ALFA Network N2/N5 boards
SVN-Revision: 29635
2012-01-01 19:30:25 +00:00
Gabor Juhos
5c067db8a7 ar71xx: define LAN/WAN LEDs for the TL-WR741N/ND boards
SVN-Revision: 29631
2011-12-31 15:02:46 +00:00
Gabor Juhos
fff02e6ea8 ar71xx: enable SWCONFIG_LEDS
SVN-Revision: 29630
2011-12-31 15:02:40 +00:00
Gabor Juhos
5fa65cba6e kernel: swconfig: introduce a generic switch LED trigger
SVN-Revision: 29627
2011-12-31 15:02:30 +00:00
Gabor Juhos
8c2482f76e ar71xx: ag71xx: implement get_port_{link,stats} callbacks
SVN-Revision: 29626
2011-12-31 15:02:26 +00:00
Gabor Juhos
975355a2b1 kernel: swconfig: add get_port_{link,stats} callbacks
SVN-Revision: 29625
2011-12-31 15:02:24 +00:00
Gabor Juhos
557009bbdb ar71xx: fix LEDs on the WRT400N
SVN-Revision: 29624
2011-12-31 13:54:11 +00:00
Gabor Juhos
244c322d25 ramips: rt288x: add support for the Belkin F5D8235-4 v1 board
Patch-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 29617
2011-12-28 08:43:43 +00:00
Gabor Juhos
f50b02b559 ramips: rt288x: change base address and window size of flash bank 0
SVN-Revision: 29616
2011-12-28 08:43:36 +00:00
Gabor Juhos
98437278c4 ramips: rt305x: add support for the ALFA Networks W502U (R36) board
SVN-Revision: 29615
2011-12-28 08:43:32 +00:00
Gabor Juhos
76dacee995 ar71xx: enable sysupgrade support for airrouter
Works for me! ;-)

Patch-by: Russell Senior <russell@personaltelco.net>

SVN-Revision: 29614
2011-12-27 16:59:43 +00:00
Gabor Juhos
c6ee919b2a ar71xx: fix sysupgrade on PB42/PB44 boards
SVN-Revision: 29613
2011-12-27 16:57:01 +00:00
Gabor Juhos
723d8dd74f ramips: rt288x: add support for the Buffalo WLI-TX4-AG300N board
SVN-Revision: 29612
2011-12-27 16:56:30 +00:00
Jo-Philipp Wich
9fa33ceee2 add missing config symbol
SVN-Revision: 29610
2011-12-25 13:33:18 +00:00
Hauke Mehrtens
11125d68ed brcm47xx: fix usb on more recent bcma based devices.
SVN-Revision: 29605
2011-12-23 17:21:52 +00:00
Gabor Juhos
7b1e525b56 ramips: initial support for Sitecom WL-351 v1 002
This add support for the Sitecom WL-351 v1 002.
In principle the Engenius ESR9850 should also work with this, but I
don't have the hardware to test it.

Since an external gigabit switch (RTL8366RB) is used,
I had to modify the ramips_esw driver to add a 'bypass' mode, which
just configures it to not filter the vlan tags.
Also two initialization words (FCT2 and FPA2) are set to different
values by u-boot than what the driver is using and it only seems to
work correctly when they not overridden by the driver, so I
added them to the platform specific data as reg_initval_fct2 and
reg_initval_fpa2.

With this wired lan works as expected, however I'm still having some
trouble with the wireless lan:
It only works after I rmmod & re-insmod rt2800pci and then
reconfigure it in the webinterface, but not directly after
rebooting.

The symptom of this is wpad saying:
Dec 20 15:45:09 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> IEEE 802.11: associated (aid 1)
Dec 20 15:45:09 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> WPA: pairwise key handshake completed (RSN)
Dec 20 15:45:22 OpenWrt daemon.info hostapd: wlan1: STA <notebookmac> IEEE 802.11: authenticated

But wpa_supplicant on the client saying:
Authentication with <wl351mac> timed out.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 29604
2011-12-23 14:27:16 +00:00
Gabor Juhos
2cb946f5b4 ramips: add support for the Senao/EnGenius ESR-9753 board
Signed-off-by: Artur Wronowski <arteqw@gmail.com>

SVN-Revision: 29603
2011-12-23 14:27:10 +00:00
Gabor Juhos
03bce34384 ramips: define firmware partition for Omnima MiniEMBWiFi
Patch-by: Ivan Ignjatic <ivan@omnima.co.uk>

SVN-Revision: 29602
2011-12-23 14:27:05 +00:00
Felix Fietkau
db0a1db257 ar71xx: set a reserved bit that resets to 1 when writing the address table control register on the ar7240 switch (should fix #10547)
SVN-Revision: 29598
2011-12-22 05:43:53 +00:00
Jonas Gorski
8799627ef0 ar71xx: add default network config for buffalo WZR-HP-G300NH2 and WZR-HP-G450H
Thanks netprince for reporting and testing.

SVN-Revision: 29595
2011-12-21 19:32:40 +00:00
Jo-Philipp Wich
ebefe1eb3a the mach file of the WZR-HP-G300NH2 accidentally claimed the mach id of the WZR-HP-AG300H, correct the id (#10649)
SVN-Revision: 29593
2011-12-21 01:27:48 +00:00
Hauke Mehrtens
0cd03df3b1 brcm47xx: remove patch starting adding brcm4716 to ssb
brcm4716 is supported by bcma now we do not need this patch

SVN-Revision: 29576
2011-12-19 23:55:20 +00:00
Hauke Mehrtens
5b8686c303 brcm47xx: add new usb driver for bcma bus and replace ssb usb driver.
This new usb driver uses an extra device so the ehci and the ohci driver are not depending on ech other any more.

SVN-Revision: 29575
2011-12-19 23:39:13 +00:00
Hauke Mehrtens
1aa5a61754 kernel: update bcma and ssb to version master-2011-12-16 from wireless-testing
SVN-Revision: 29574
2011-12-19 23:33:03 +00:00
Hauke Mehrtens
91d0ef6f19 brcm47xx: remove support for kernel 2.6.39
There are problems with the patches for kernel 2.6.39 and I do not want to support two different sets of patches.

SVN-Revision: 29573
2011-12-19 23:26:15 +00:00
Felix Fietkau
11013ad947 ar71xx: add missing wireless led changes for wzr-hp-g300nh2
SVN-Revision: 29568
2011-12-19 09:04:15 +00:00
Felix Fietkau
0cc056cb7e ar71xx: add support for the wzr-hp-g300nh2
Signed-off-by: Mark Deneen <mdeneen@gmail.com>

SVN-Revision: 29567
2011-12-18 22:20:17 +00:00
Gabor Juhos
5a0a2b2f1b ar71xx: use 64kraw template on more TP-Link boards
SVN-Revision: 29561
2011-12-17 18:49:55 +00:00
Gabor Juhos
67c7980290 ar71xx: connect GMAC0 to the internal switch on DB120
Because the external switch has no driver yet, connect GMAC0
to the PHY4 of the internal switch for now. This allows to
use the DB120 board as a router with 4LAN+1WAN ports.

SVN-Revision: 29557
2011-12-15 22:25:38 +00:00
Gabor Juhos
5bbd416e38 ar71xx: add defines for the AR934X GMAC interface
SVN-Revision: 29556
2011-12-15 22:25:36 +00:00
Gabor Juhos
e47a8c2bb2 ar71xx: fix GMAC1 interface speed on the DB120 board
SVN-Revision: 29555
2011-12-15 22:25:35 +00:00
Gabor Juhos
36bc2c2c80 ar71xx: ag71xx: fix switch port setup for AR934X
SVN-Revision: 29554
2011-12-15 22:25:32 +00:00
Gabor Juhos
00667c3846 ar71xx: ag71xx: allow to connect PHY4 to the CPU on AR934X
SVN-Revision: 29553
2011-12-15 22:25:30 +00:00
Gabor Juhos
0540970345 ar71xx: ag71xx: setup switch interface mode on AR934X
SVN-Revision: 29552
2011-12-15 22:25:29 +00:00
Gabor Juhos
44014110b8 ar71xx: ag71xx: detect the built-in switch of the AR934X SoCs
SVN-Revision: 29551
2011-12-15 22:25:28 +00:00
Gabor Juhos
e2a546d475 ar71xx: allow to attach the internal switch for AR934x
SVN-Revision: 29550
2011-12-15 22:25:22 +00:00
Gabor Juhos
9ae65588d8 ar71xx: introduce ar71xx_switch_data
SVN-Revision: 29549
2011-12-15 22:25:11 +00:00
Gabor Juhos
bfe747b7d9 ar71xx: build images for TL-WR741N/ND v2
SVN-Revision: 29548
2011-12-15 22:03:48 +00:00
Gabor Juhos
aefff26624 ar71x: use raw squashfs images for TP-Link boards
SVN-Revision: 29547
2011-12-15 22:03:46 +00:00
Gabor Juhos
d5bd28ffae ar71xx: create a template for using unpadded squashfs images
SVN-Revision: 29546
2011-12-15 22:03:45 +00:00
Gabor Juhos
dbc4fa4b5b ar71xx: put squash image right after the kernel on TP-Link boards
SVN-Revision: 29545
2011-12-15 22:03:44 +00:00
Gabor Juhos
850be54b72 ar71xx: tplinkpart: allow to detect JFFS2 as well
SVN-Revision: 29543
2011-12-15 22:03:40 +00:00
Gabor Juhos
b7d7481b07 ar71xx: ag71xx: check PHY IDs before accessing the switch registers
SVN-Revision: 29541
2011-12-15 13:25:23 +00:00
Gabor Juhos
0655552860 ar71xx: ag71xx: don't use port 4 of the switch, it is not connected on ar724x
SVN-Revision: 29540
2011-12-15 13:25:21 +00:00
Gabor Juhos
204fc6bed5 ar71xx: ag71xx: nuke ar7240sw_init
SVN-Revision: 29539
2011-12-15 13:25:20 +00:00
Gabor Juhos
d1f7783612 ar71xx: fix mac addresses on jjPlus devices
SVN-Revision: 29538
2011-12-15 13:25:18 +00:00
Gabor Juhos
d3058b8f8c ar71xx: build image for the Hornet-UB board
SVN-Revision: 29536
2011-12-14 20:54:11 +00:00
Gabor Juhos
b9c5cb5c9a ar71xx: add support for ALFA Network's Hornet-UB board
SVN-Revision: 29535
2011-12-14 20:54:10 +00:00
Gabor Juhos
66c8cc0f6d ar71xx: add GPIO function bit defines for AR933X
SVN-Revision: 29534
2011-12-14 20:54:07 +00:00
Gabor Juhos
0c38d36488 ramips: add support for Omnima MiniEMBWiFi board
This patch adds support for the Omnima MiniEMBWiFi
Ralink RT3050F based board.

Based on a patch by Ivan Ignjatic <ivan at omnima.co.uk>

SVN-Revision: 29533
2011-12-14 20:51:26 +00:00
Felix Fietkau
7076d74b21 ar71xx: fix gpio count for ar7241/ar7242
SVN-Revision: 29532
2011-12-14 20:47:24 +00:00
Felix Fietkau
b878f4a927 ar71xx: register extra leds behind the wireless mac on wzr-hp-g450h
SVN-Revision: 29531
2011-12-14 20:21:42 +00:00
Felix Fietkau
e3017bc05e ath9k: add support for registering extra leds connected to the wmac gpio lines
SVN-Revision: 29530
2011-12-14 20:21:36 +00:00
Gabor Juhos
d2717d3d47 ar71xx: get rid of squashfs-4k images
SVN-Revision: 29522
2011-12-13 20:41:24 +00:00
Gabor Juhos
5afedc67e2 generic: disable 'small sector' erase in m25p80 driver
This fixes the issues with the jffs2 images on various boards. Using
JFFS2 on devices with 4KiB erase sectors is not safe:
http://lists.infradead.org/pipermail/linux-mtd/2011-June/036591.html

SVN-Revision: 29521
2011-12-13 20:41:22 +00:00
Felix Fietkau
4a441570ca kernel: move linux/ath9k_platform.h to generic files so that it can be reused from other targets
SVN-Revision: 29516
2011-12-13 15:14:59 +00:00
Felix Fietkau
3806671fe5 ar71xx: fix wireless led on wzr-hp-g450h
SVN-Revision: 29515
2011-12-13 15:00:43 +00:00
Gabor Juhos
2dd7dfb1c9 ar71xx: enable AR9341 support at setup.c
Patch-by: dyq <729650915@qq.com>

SVN-Revision: 29514
2011-12-13 14:59:43 +00:00
Gabor Juhos
058998acdb ar71xx: Build images for Netgear WNDRMAC and WNDRMACv2
The WNDRMAC is a WNDR3700v2 (64MB RAM, 16MB flash) in a white case. The
WNDRMACv2 is a WNDR3800 (128MB RAM, 16MB flash) in a WNDRMAC case.

The WNDRMAC case doesn't have "holes" or labels for the 2.4GHz LED or
switch ports 2-4. The stock firmware uses a single LED (in the 5GHz
position) to indicate the status of both radios, and a single LED (in the
switch port 1 position) to indicate the status of all LAN ports. The
"missing" LEDs are present on the board, and easily shine through the
case. Unlike the stock firmware, OpenWrt will use these "hidden" LEDs.

I've tested the WNDRMACv2 image. I don't have a v1 WNDRMAC, but assume
that this is sufficient to build a fully-functional image.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 29513
2011-12-13 14:59:40 +00:00
Felix Fietkau
48f9717371 ar71xx: add gpios and usb for wzr-hp-g450h
SVN-Revision: 29509
2011-12-13 13:33:44 +00:00
Gabor Juhos
4ca2d86493 ar71xx: use RedBoot parser on PB44
SVN-Revision: 29501
2011-12-11 15:52:47 +00:00
John Crispin
934eef78ca convert to gpiolib
Signed-off-by:	karlp@tweak.net.au

SVN-Revision: 29486
2011-12-09 07:52:10 +00:00
Gabor Juhos
6e69765559 ar71xx: fix WNDR3x00 factory image generation
Factory images for WNDR3700v2 and WNDR3800 should contain these model IDs
for the device: field in their DNI tags, not WNDR3700.

This regressed in r29434, which redid WNDR3x00 model detection. The sixth
parameter to Image/Build/Netgear is only used as the -B argument to
mkdniimg, which is used to set the device: field. In r29434, this was
erroneously changed to be WNDR3700 for all models. The tools to flash
factory images (U-Boot's TFTP server and the factory software's upgrade
utility) may refuse to honor images with incorrect device: fields in their
DNI tags.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 29473
2011-12-07 06:55:50 +00:00
Gabor Juhos
8eb8a6e1e7 ar71xx: fix WNDR3x00 model detection
Detect the model name for /tmp/sysinfo/model based on 10 bytes at offset
56 in the art (caldata) mtd partition.

r29434 redid WNDR3x00 model detection, attempting to distinguish between
WNDR3700v2 and WNDR3800 by checking MemTotal in /proc/meminfo. However, it
contained a bug: it put the awk inside a $(...), with the result that all
WNDR3700v2 and WNDR3800 models would be reported as WNDR3800. This patch
checks the model name stored in the art partition, as is done by U-Boot
shipping on the WNDR3800. It has the likely advantage of working with
future models based on the WNDR3700 board. It also will not mis-detect
units on which people install more memory.

I have tested this patch on WNDR3700 (v1), WNDR3700v2, and WNDR3800.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 29472
2011-12-07 06:55:39 +00:00
Gabor Juhos
43bd4c6ad1 ramips: fix mac addresses on the DIR-300/600 boards
SVN-Revision: 29471
2011-12-06 20:06:08 +00:00
Jonas Gorski
e33bb9ec66 linux: update 3.1 to 3.1.4
SVN-Revision: 29470
2011-12-06 19:50:30 +00:00
Jonas Gorski
6e2ae90f4a linux: update 3.0 to 3.0.12
SVN-Revision: 29469
2011-12-06 19:50:25 +00:00
Gabor Juhos
c6b2b98812 ar71xx: create firmware image for the TL-WR740N/ND v4 boards
Based on a patch by Cristian Deluxe <djcristiandeluxe@gmail.com>

SVN-Revision: 29468
2011-12-06 16:26:44 +00:00
Gabor Juhos
fbfad4e9b4 ar71xx: use hw_id, hw_rev and flash_layout with mktplinkfw
SVN-Revision: 29467
2011-12-06 16:26:43 +00:00
Gabor Juhos
d753e08c79 ar71xx: fix TL-MR3x20 profile names in image/Makefile
SVN-Revision: 29463
2011-12-06 13:53:21 +00:00
Gabor Juhos
62d8009cdd ar71xx: cleanup TP-Link profiles
SVN-Revision: 29461
2011-12-06 10:29:25 +00:00
Gabor Juhos
f7a482d382 ar71xx: add TP-Link board detection
SVN-Revision: 29459
2011-12-05 21:11:01 +00:00
Gabor Juhos
bdc2eca7de ar71xx: use correct mac on the lan interface on several TP-LINK devices
SVN-Revision: 29458
2011-12-05 21:10:58 +00:00
Gabor Juhos
0103069372 ar71xx: allow to pass negative offset values for ar71xx_init_mac
SVN-Revision: 29457
2011-12-05 21:10:55 +00:00
Gabor Juhos
ada92aee62 ar71xx: don't register PCI controller on AR934x if PCIE_RC bit is not set
SVN-Revision: 29456
2011-12-05 18:21:15 +00:00
Gabor Juhos
c6bcf8d1d8 ar71xx: verify hardware id of firmware images on TP-Link boards
SVN-Revision: 29455
2011-12-05 18:11:51 +00:00
Gabor Juhos
5ef6ec4a31 ramips: set mac addresses for the NBG-419N
Based on a patch by Nerijus Baliunas <nerijus@users.sourceforge.net>

SVN-Revision: 29454
2011-12-05 17:27:07 +00:00
Gabor Juhos
750d560767 ramips: set preinit interface mac on the hw550-3g board
Based on a patch by Daniel Golle <dgolle@allnet.de>

SVN-Revision: 29453
2011-12-05 17:27:06 +00:00
Gabor Juhos
b5d7b359b2 ramips: use ramips_get_mac_* functions in the preinit script
SVN-Revision: 29452
2011-12-05 17:27:04 +00:00
Gabor Juhos
4d5b940e66 ramips: move ramips_get_mac_* functions to lib/ramips.sh
SVN-Revision: 29451
2011-12-05 17:27:03 +00:00
Gabor Juhos
cc853acb3a ramips: add ramips_ prefix to get_mac_{binary,nvram} functions
SVN-Revision: 29450
2011-12-05 17:27:02 +00:00
Gabor Juhos
b1137d48a4 ramips: fix network configuration setup
SVN-Revision: 29448
2011-12-05 16:54:48 +00:00
Gabor Juhos
4dc9092f4b ar71xx: reclaim some unused space on TP-Link boards
With the default OpenWrt configuration, this increases the size
of the rootfs_data partition by 384KB/128KB on the older/newer
TP-Link models.

SVN-Revision: 29447
2011-12-05 14:52:36 +00:00
Gabor Juhos
3e7a6d182a ar71xx: check squashfs signature in TP-Link mtd parser
SVN-Revision: 29446
2011-12-05 14:52:33 +00:00
Gabor Juhos
feebf484ba ar71xx: use the lzma-loader on TP-Link boards w/o lzma support
SVN-Revision: 29444
2011-12-05 14:52:28 +00:00
Gabor Juhos
d42968351f ar71xx: add lzma loader
SVN-Revision: 29443
2011-12-05 14:52:25 +00:00
Felix Fietkau
1f809532de ar71xx: add preliminary support for wzr-hp-g450h
SVN-Revision: 29441
2011-12-05 14:20:51 +00:00
Felix Fietkau
d1f63f8538 ar71xx: move multi-m25p80 concat code from wzr-hp-ag300h mach code to dev-m25p80.c, other buffalo routers use it as well
SVN-Revision: 29440
2011-12-05 14:20:44 +00:00
Gabor Juhos
4cc2b9bb06 ar71xx: rewrite WNDR3700/3800 handling
SVN-Revision: 29434
2011-12-05 13:03:54 +00:00
Jo-Philipp Wich
78699c2e51 add some missing wndr3800 base-files definitions
SVN-Revision: 29433
2011-12-05 12:56:21 +00:00
Gabor Juhos
5177814ade ar71xx: change user-space board detection
SVN-Revision: 29432
2011-12-05 12:56:20 +00:00
Gabor Juhos
8a3a60fc64 ar71xx: allow WNDR3700 image creation to fail if kernel/rootfs too big
SVN-Revision: 29431
2011-12-05 12:47:53 +00:00
Gabor Juhos
56c9b50006 ramips: fix argus board rootfs size
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29422
2011-12-04 15:24:57 +00:00
Gabor Juhos
7cfa39f032 ar71xx: use the tp-link parser on the tp-link boards
Also remove static partition maps.

SVN-Revision: 29416
2011-12-03 18:13:31 +00:00
Gabor Juhos
514b1167c9 ar71xx: add mtd partition parser for the TP-Link boards
SVN-Revision: 29415
2011-12-03 18:13:27 +00:00
Gabor Juhos
fc7fb29bae ar71xx: run the RedBoot parser only on the RedBoot based boards
SVN-Revision: 29414
2011-12-03 18:13:25 +00:00
Gabor Juhos
9cc28d5aa0 ar71xx: run the MyLoader parser only on the WP543 board
SVN-Revision: 29413
2011-12-03 18:13:23 +00:00
Gabor Juhos
67a0b9aada ar71xx: run the wrt160nl parser only on the WRT160NL board
Also remove static mtd partition definitions.

SVN-Revision: 29412
2011-12-03 18:13:20 +00:00
Gabor Juhos
c8acd6e013 ar71xx: allow to pass part_probe types to the m25p80 driver
SVN-Revision: 29411
2011-12-03 18:13:18 +00:00
Gabor Juhos
20483faed0 ar71xx: create initramfs images for the newer TP-Link boards
SVN-Revision: 29410
2011-12-03 16:57:23 +00:00
Gabor Juhos
9a2005e5e6 ar71xx: remove swconfig and wpad-mini from custom profiles
SVN-Revision: 29408
2011-12-03 16:33:41 +00:00
Gabor Juhos
bc1d818610 ar71xx: add uboot-envtools to the default package list
SVN-Revision: 29407
2011-12-03 16:33:40 +00:00
Gabor Juhos
a02a9c3f8b ar71xx: reclaim unused space in WNDR3700/3800 images
Patch by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 29406
2011-12-03 16:33:38 +00:00
Gabor Juhos
ac82296c53 ar71xx: add a profile and build image for the OM2P board
[juhosg: the name of the final image has been changed to
'openwrt-ar71xx-generic-om2p-squashfs-factory.bin']

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 29397
2011-12-01 22:49:05 +00:00
Gabor Juhos
f188f1bad5 ar71xx: add support for Ubiquiti AirRouter
Signed-off-by: Gergely Barta <gergely.barta@printerfairkft.hu>

SVN-Revision: 29395
2011-12-01 22:49:02 +00:00
Gabor Juhos
0612667c34 ar71xx: configure default led behavior for the OM2P
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 29394
2011-12-01 22:48:59 +00:00
Gabor Juhos
3fccc3b376 ramips: enable sysupgrade on the RT-N15 board
SVN-Revision: 29393
2011-12-01 22:48:58 +00:00
Gabor Juhos
4b2d1c3ad3 ramips: wrap long line in platform upgrade script
SVN-Revision: 29392
2011-12-01 22:48:57 +00:00
Gabor Juhos
d622263588 ramips: add profile for the Asus RT-N15
This uses previously submitted rtl8366 kernel packages.

[juhosg: The kmod-gpio-dev package has been removed from the package list.]

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29391
2011-12-01 22:48:55 +00:00
Gabor Juhos
3a9e02fa41 ramips: setup default network configuration for RT-N15
Based on a patch by Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29390
2011-12-01 22:48:54 +00:00
Gabor Juhos
fc61c107f0 ramips: rt288x: add swconfig and rtl8366{s,_smi} drivers to the default profile
It is needed by the RT-N15 board.

SVN-Revision: 29389
2011-12-01 22:48:53 +00:00
Gabor Juhos
80221fcd2a ramips: remove default network configuration, and generate that from uci-defaults
SVN-Revision: 29387
2011-12-01 22:48:51 +00:00
Gabor Juhos
4f6c58adac ramips: use /lib/functions/uci-defaults.sh
SVN-Revision: 29386
2011-12-01 22:48:48 +00:00
Gabor Juhos
39348e387f ar71xx: use /lib/functions/uci-defaults.sh
SVN-Revision: 29385
2011-12-01 22:48:47 +00:00
Gabor Juhos
569d8de6d6 ramips: simplify uci-defaults/network script
SVN-Revision: 29383
2011-12-01 22:48:45 +00:00
Gabor Juhos
66c9a351dd ramips: setup mac and network interfaces from separate functions
SVN-Revision: 29382
2011-12-01 22:48:43 +00:00
Gabor Juhos
62d18e9f9a ramips: fix Asus RT-N15 board support
Fix Asus RT-N15 flash partitions and make an image.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29381
2011-12-01 22:48:42 +00:00
Gabor Juhos
2dd79d55c7 ramips: Sparklan wcr-150gn board fixes
* Fix partition sizes.
 * Add buttons and leds.
 * Register usb.
 * Remove unnecessary stuff from image Makefile
 * Fix rt2x00 eeprom extract.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29380
2011-12-01 22:48:41 +00:00
Gabor Juhos
7c678e7511 ramips: fix package name of kmod-input-gpio-buttons
Based on a patch from Omnima Limited.

SVN-Revision: 29379
2011-12-01 22:48:39 +00:00
Gabor Juhos
2ed38b24a8 ramips: move kmod-rt2800-pci to DEFAULT_PACKAGES
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 29378
2011-12-01 22:48:38 +00:00
Gabor Juhos
295e04084c ramips: setup bc2 mac addresses from the generic network script
SVN-Revision: 29377
2011-12-01 22:48:37 +00:00
Gabor Juhos
02f95d4fb3 ramips: combine network setup for all boards in one file
Inspired by the patch from Roman Yeryomin. Thanks, Roman!
This removes unnecessary duplication and simplifies network setup for new
boards. It would be a one line change most likely.

[juhosg: setup lan and wan interfaces for unspecified rt3x0x based boards
in order to avoid regression]

Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>

SVN-Revision: 29376
2011-12-01 22:48:35 +00:00
John Crispin
88cb7ae104 omap24xx: bump to 3.1.3
SVN-Revision: 29349
2011-11-28 12:46:18 +00:00
John Crispin
bf7316424c lantiq: bump to 3.1.3
SVN-Revision: 29348
2011-11-28 10:22:58 +00:00
Nicolas Thill
5e83009a52 targets: fix CONFIG_USB_STORAGE_* inconsistency
* all options were switched from bool to tristate in 2.6.30
 * add/change/move them to generic, disabled by default
 * remove extinct CONFIG_USB_STORAGE_DPCM dropped in 2.6.29, merged with CONFIG_USB_STORAGE_SDDR09
 * remove extinct CONFIG_USB_STORAGE_SIERRA option in 2.6
 * cleanup ordering

SVN-Revision: 29337
2011-11-25 20:47:44 +00:00
Gabor Juhos
f20797306a ar71xx: modify phy mask of the WP543 board
This fixes ethernet on newer boards. Based on a patch from #9702.

SVN-Revision: 29328
2011-11-24 20:09:43 +00:00
Gabor Juhos
c20d7378e5 ar71xx: fix wndr3800 machine name
This fixes the machine name in /proc/cpuinfo and luci status page machine name.

Signed-off-by: Petri Rosenström <petri.rosenstrom@gmail.com>

SVN-Revision: 29326
2011-11-24 20:09:38 +00:00
Gabor Juhos
600b6efc41 ar71xx: copy atheros initramfs images to the image directory
SVN-Revision: 29325
2011-11-24 20:09:35 +00:00
Gabor Juhos
d97cf76790 ar71xx: specify mtd layout in command line for the DB120 board
SVN-Revision: 29324
2011-11-24 20:09:32 +00:00
John Crispin
9389593db9 lantiq: drop 009-MIPS-make-oprofile-use-cp0_perfcount_irq-if-it-is-se.patch
This patch is/was a duplicate of generic/patches-3.1/307-mips_oprofile_fix.patch

SVN-Revision: 29294
2011-11-23 12:22:15 +00:00
John Crispin
4982ca983c lantiq: * fixes ath5k eeprom handling * fixes sx76x * adds sx76x to userland api * minor style cleanups
Signed-of-by: Andrej Vlašić <andrej.vlasic0@gmail.com>

SVN-Revision: 29292
2011-11-22 18:50:51 +00:00
Florian Fainelli
718907b661 don't package gpioctl by default
SVN-Revision: 29288
2011-11-21 16:36:39 +00:00
Nicolas Thill
c33f21ae95 target/uml: export atomic64_* functions on 32-bit x86
SVN-Revision: 29287
2011-11-21 14:28:33 +00:00
Gabor Juhos
9990523a0f ar71xx: set GE0 phy_mask for AR933x
SVN-Revision: 29274
2011-11-20 11:30:10 +00:00
Jo-Philipp Wich
b5739aabd9 fix D-Link DSL-2650U image generation
SVN-Revision: 29266
2011-11-19 21:34:51 +00:00
Jonas Gorski
8bac0df4ae linux: update 3.0 to 3.0.9
SVN-Revision: 29264
2011-11-19 18:39:12 +00:00
Florian Fainelli
ae90aa4efd build images for D-Link DSL-2650U (#9003)
SVN-Revision: 29238
2011-11-18 10:37:03 +00:00
Michael Büsch
0b86c2648a omap24xx: Fix cbus nested IRQ acking
SVN-Revision: 29237
2011-11-17 22:31:27 +00:00
Michael Büsch
df2810831c omap24xx: Fix initialization of software IRQ mask
SVN-Revision: 29236
2011-11-17 21:02:00 +00:00
Michael Büsch
3f92f7dd90 omap24xx: Update 3.1 config
SVN-Revision: 29234
2011-11-17 19:35:57 +00:00
Michael Büsch
4793be2df9 omap24xx: Some retu/tahvo IRQ fixes
SVN-Revision: 29233
2011-11-17 18:06:19 +00:00
Michael Büsch
630bafc5dd omap24xx: Add basic kexec fixes.
SVN-Revision: 29232
2011-11-17 14:57:34 +00:00
Michael Büsch
06c986984e omap24xx: Add workaround for omapfb locking bug.
SVN-Revision: 29201
2011-11-16 22:34:38 +00:00
Michael Büsch
0f03e17bd0 Revert r29193
SVN-Revision: 29195
2011-11-16 19:03:23 +00:00
Michael Büsch
93f02b1ba0 omap24xx: Set platform specific optimization flags
SVN-Revision: 29194
2011-11-16 19:02:12 +00:00
Michael Büsch
b058e97af4 n810: Add xmodmap to profile
SVN-Revision: 29193
2011-11-16 19:01:19 +00:00
Florian Fainelli
8d66465b08 include bridge and 8021q modules by default
SVN-Revision: 29164
2011-11-15 22:24:22 +00:00
John Crispin
bbe96f13a6 lantiq: add runtime generation of /etc/config/network
SVN-Revision: 29161
2011-11-15 18:21:00 +00:00
John Crispin
79a4642b40 lantiq: fix falcon build breakage
dev-wifi-rt2x00 fails to build on falcon due to missing pci

SVN-Revision: 29129
2011-11-14 18:55:58 +00:00
Gabor Juhos
f27548448b ar71xx: fix USB LED on the DB120 board
SVN-Revision: 29126
2011-11-14 17:43:15 +00:00
Gabor Juhos
6ebbb1329d ar71xx: add a function for selecting output signal on a given GPIO pin
SVN-Revision: 29125
2011-11-14 17:43:14 +00:00
Gabor Juhos
0c1d3617d7 ar71xx: fix GPIO function handling on AR934x
SVN-Revision: 29124
2011-11-14 17:43:13 +00:00
Gabor Juhos
aa0c8c4885 ar71xx: add AR71XX_ prefix to GPIO_REG_* defines
SVN-Revision: 29123
2011-11-14 17:43:11 +00:00
Gabor Juhos
62a7795afd ar71xx: merge nand scan patch
SVN-Revision: 29122
2011-11-14 17:43:10 +00:00
Gabor Juhos
12dae96097 ar71xx: fix a compiler warning
SVN-Revision: 29110
2011-11-14 13:07:47 +00:00
Gabor Juhos
5ae0fd802c ar71xx: fix GPIO count for AR934x
SVN-Revision: 29109
2011-11-14 13:07:45 +00:00
Gabor Juhos
e52269364a ar71xx: flush DDR writeback buffers for WMAC and PCIe on AR934X
SVN-Revision: 29108
2011-11-14 11:49:53 +00:00
Gabor Juhos
3104d70552 ar71xx: use a dummy irq chip for WMAC and PCIe irq hadling
SVN-Revision: 29107
2011-11-14 11:49:51 +00:00
Gabor Juhos
42e8ae09b5 ar71xx: add AR934X_RESET_REG_PCIE_WMAC_INT_STATUS defines
SVN-Revision: 29106
2011-11-14 11:49:49 +00:00
Gabor Juhos
c15caea360 ar71xx: add an irq parameter for ar724x_pcibios_init
SVN-Revision: 29105
2011-11-14 11:49:47 +00:00
Gabor Juhos
cf90b24bb9 ar71xx: remove hardwired interface parameters from mach-* files
SVN-Revision: 29103
2011-11-14 07:38:09 +00:00
Gabor Juhos
defc79cb40 ar71xx: force hardwired interface parameters in ar71xx_add_device_eth
SVN-Revision: 29102
2011-11-14 07:38:07 +00:00
Gabor Juhos
6f4bc1ce37 ar71xx: use if-else instead of conditional operators in ar71xx_add_device_eth
SVN-Revision: 29101
2011-11-14 07:38:05 +00:00
Florian Fainelli
7f787707de build images for Pirelli A226M (#10409)
SVN-Revision: 29045
2011-11-13 19:19:22 +00:00
Florian Fainelli
5dc2098448 register uart0 on DWV-S0 boards (#10409)
SVN-Revision: 29044
2011-11-13 19:19:18 +00:00
Florian Fainelli
56a96ba876 refresh 3.0 patches
SVN-Revision: 29043
2011-11-13 19:19:14 +00:00
Florian Fainelli
54da5cf11f refresh 2.6.39 patches
SVN-Revision: 29042
2011-11-13 19:19:10 +00:00
Florian Fainelli
717a4391d7 rename 456-board_DWV-S0_ehci.patch to 456-board_DWV-S0_fixes.patch
SVN-Revision: 29041
2011-11-13 19:19:05 +00:00
Florian Fainelli
c093c9df34 fix typo, load ip17xx switch module
SVN-Revision: 29039
2011-11-13 18:41:26 +00:00
Gabor Juhos
368bbc510b ar71xx: enable has_gbit flag on AR724{0,1}
SVN-Revision: 29026
2011-11-13 17:36:36 +00:00
Gabor Juhos
15d7016c9f ar71xx: fixup onboard PCIe chip registration on the DB120 board
SVN-Revision: 29022
2011-11-13 12:48:03 +00:00
Gabor Juhos
f623066e60 ar71xx: drop DB120_WMAC_MAC_OFFSET, it is not needed
SVN-Revision: 29021
2011-11-13 12:48:01 +00:00
Gabor Juhos
d2316b2a45 ar71xx: ag71xx: add support for getting switch port link status
SVN-Revision: 29017
2011-11-13 11:27:04 +00:00
Gabor Juhos
d0db89133c ar71xx: remove mii_ctrl resources of the ethernet devices
SVN-Revision: 29016
2011-11-13 11:27:03 +00:00
Gabor Juhos
34015ed6e8 ar71xx: ag71xx: remove unused mii_ctrl field from struct ag71xx
SVN-Revision: 29015
2011-11-13 11:27:01 +00:00
Gabor Juhos
2d882cff23 ar71xx: ag71xx: remove unused mii_cfg related functions and defines
SVN-Revision: 29014
2011-11-13 11:27:00 +00:00
Gabor Juhos
538a9493b9 ar71xx: set MII interface speed from the set_speed callbacks
SVN-Revision: 29013
2011-11-13 11:26:59 +00:00
Gabor Juhos
93cd46be13 ar71xx: rename set_pll callback to set_speed in ag71xx_platform_data
Also rename the corresponding callback functions.

SVN-Revision: 29012
2011-11-13 11:26:57 +00:00
Gabor Juhos
9579bb4267 ar71xx: ag71xx: remove MII interface setup code
SVN-Revision: 29011
2011-11-13 11:26:56 +00:00
Gabor Juhos
da64ce8603 ar71xx: configure MII interface type from ar71xx_setup_phy_if_mode
SVN-Revision: 29010
2011-11-13 11:26:54 +00:00
Gabor Juhos
0112153a0e ar71xx: fix occasional kernel hangs during boot on AR934x
The patch taken from the linux-mips mailing list.

The Kernel hangs occasionally during boot after
"Calibrating delay loop..". This is caused by the
c0_compare_int_usable() routine in cevt-r4k.c
returning false which causes the system to disable
the timer and hang later. The false return happens
because the routine is using a series of four calls
to irq_disable_hazard() as a delay while it waits
for the timer changes to propagate to the cp0 cause
register. On newer MIPS cores, like the 74K, the
series of irq_disable_hazard() calls turn into ehb
instructions and can take as little as a few clock
ticks for all 4 instructions. This is not enough of
a delay, so the routine thinks the timer is not
working.

This fix uses up to a max number of cycle counter
ticks for the delay and uses back_to_back_c0_hazard()
instead of irq_disable_hazard() to handle the hazard
condition between cp0 writes and cp0 reads.

SVN-Revision: 29009
2011-11-13 11:26:52 +00:00
Gabor Juhos
1afc76ea13 ar71xx: refresh kernel patches
SVN-Revision: 29008
2011-11-13 11:26:51 +00:00
Jonas Gorski
d8acb75009 linux: update 3.1 to 3.1.1
SVN-Revision: 29007
2011-11-13 10:48:05 +00:00
John Crispin
a8797d0de6 lantiq: add uci-defaults code for handling leds
SVN-Revision: 29004
2011-11-12 23:40:21 +00:00
John Crispin
832e02cd77 lantiq: add /lib/lantiq.sh and make hotplug handlers use it
SVN-Revision: 29003
2011-11-12 23:40:16 +00:00
John Crispin
5dcbbf0160 lantiq: rename leds
SVN-Revision: 29002
2011-11-12 23:40:12 +00:00
John Crispin
d84b7596d9 lantiq: split compat headers out of bsp header patch
SVN-Revision: 29001
2011-11-12 23:40:07 +00:00
John Crispin
2cff80f015 lantiq: adds hotplug handler for loading rt2x00 firmware
SVN-Revision: 29000
2011-11-12 23:40:01 +00:00
John Crispin
3660c51c40 lantiq: adds hotplug handler for handling buttons and makes w303v work with it
SVN-Revision: 28999
2011-11-12 23:39:56 +00:00
John Crispin
4248705108 lantiq: cleanup default package selection
SVN-Revision: 28998
2011-11-12 23:39:51 +00:00
John Crispin
eb20ab87e6 lantiq: w303v has its rt2860 eep on the nor flash. tell compat-wireless how to use it
SVN-Revision: 28994
2011-11-12 18:41:15 +00:00
Gabor Juhos
bbfaaeffd6 kernel: ar8216: add support for the AR8236 switch
SVN-Revision: 28993
2011-11-12 14:09:52 +00:00
Gabor Juhos
ecb3690d0a kernel: ar8216: move port vlan setup into a separate function
SVN-Revision: 28992
2011-11-12 14:09:50 +00:00
Gabor Juhos
5ad763075e ar71xx: use the button for WPS control on the DB120
SVN-Revision: 28990
2011-11-12 12:50:20 +00:00
Gabor Juhos
4555be2bec ar71xx: register the second ethernet interface on the DB120 board
SVN-Revision: 28989
2011-11-12 12:50:19 +00:00
Gabor Juhos
368c6605a0 ar71xx: implement SoC specific phy interface setup
SVN-Revision: 28988
2011-11-12 12:50:18 +00:00
Gabor Juhos
21d317b9cc ar71xx: move phy interface setup into a separate function
SVN-Revision: 28987
2011-11-12 12:50:16 +00:00
Gabor Juhos
aff0c84ffa ar71xx: register both MDIO bus on the DB120 board
SVN-Revision: 28986
2011-11-12 12:09:59 +00:00
Gabor Juhos
b144249108 ar71xx: add AR934X specific MDIO registration code
SVN-Revision: 28985
2011-11-12 12:09:56 +00:00
Gabor Juhos
f835106c8c ar71xx: add a secondary mdio bus
SVN-Revision: 28984
2011-11-12 12:09:54 +00:00
Gabor Juhos
90a42da270 ar71xx: rename ar71xx_mdio_* structures to ar71xx_mdio0_*
SVN-Revision: 28983
2011-11-12 12:09:50 +00:00
Gabor Juhos
9daa2149fd ar71xx: add an id argument to ar71xx_add_device_mdio
SVN-Revision: 28982
2011-11-12 12:09:48 +00:00
Gabor Juhos
b07b687aec ar71xx: pass netdev and miidev pointer to ar71xx_add_device_dsa
SVN-Revision: 28981
2011-11-12 12:09:42 +00:00
Gabor Juhos
a9216bb76e ar71xx: add AR934x specific USB setup
SVN-Revision: 28980
2011-11-12 10:54:20 +00:00
Gabor Juhos
346e44105a ar71xx: register the first ethernet interface on the DB120 board
SVN-Revision: 28979
2011-11-12 10:54:18 +00:00
Gabor Juhos
b1ba5e2f3d ar71xx: allow to register ethernet interfaces for AR934X
SVN-Revision: 28978
2011-11-12 10:54:17 +00:00
Gabor Juhos
2f9e535e89 ar71xx: ag71xx: use fixed link parameters if the mii bus is not registered
SVN-Revision: 28977
2011-11-12 10:54:16 +00:00
Gabor Juhos
e962b07c8b ar71xx: add AR934X specific bootstrap and reset register bits
SVN-Revision: 28976
2011-11-12 10:54:15 +00:00
Gabor Juhos
d461fdd519 ar71xx: add diag support for the DB120 board
SVN-Revision: 28975
2011-11-12 10:54:10 +00:00
Gabor Juhos
d8db8e94c8 ar71xx: fix GPIO direction setup for AR934x
SVN-Revision: 28974
2011-11-12 10:54:09 +00:00
Gabor Juhos
43e993e5f5 ar71xx: fix AR934X clock frequency calculation
SVN-Revision: 28973
2011-11-12 10:54:08 +00:00
Gabor Juhos
8687fc3e41 ar71xx: generate ubootenv from uci-defaults instead of providing defconfig
I noticed most of /etc/defconfig was replaced by /etc/uci-defaults, which is
indeed much nicer. So I moved over ubootenv from having a defconfig-entry to
also be generated from uci-defaults.

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

SVN-Revision: 28971
2011-11-12 10:54:04 +00:00
John Crispin
fda4ee22a0 lantiq: improve falcon package selection
SVN-Revision: 28962
2011-11-11 21:59:11 +00:00
John Crispin
e1dc73be90 lantiq: fix breakage introduced in 3.1 bump
SVN-Revision: 28961
2011-11-11 21:59:01 +00:00
Jo-Philipp Wich
be49daffc8 base-files, target: assign name to system timeserver section, makes it easier to set servers on the cli
SVN-Revision: 28933
2011-11-10 12:16:41 +00:00
Jonas Gorski
f53128f79b target: linux: mtd: fix MTDREFRESH to an arbitrary high number
To make the ioctl number "stable", use an arbitrary high number to prevent
conflicts with new mtd ioctls that would push MTDREFRESH's number.

Also make mtd use the in-kernel mtd headers.

SVN-Revision: 28893
2011-11-09 21:16:36 +00:00
Felix Fietkau
7a2efd8c28 ar71xx: remove dead code
SVN-Revision: 28851
2011-11-08 00:33:20 +00:00
Felix Fietkau
94309039b7 ar71xx: on ar7240, exclude ports from their own port vlan destination mask
SVN-Revision: 28850
2011-11-08 00:33:15 +00:00
Felix Fietkau
b06efd636a kernel: add a top level menuconfig option for enabling lockdep
SVN-Revision: 28848
2011-11-08 00:32:57 +00:00
Gabor Juhos
87704b8078 ar71xx: create TL-WA901ND network config from uci-defaults
SVN-Revision: 28833
2011-11-07 21:44:24 +00:00
Gabor Juhos
09fdfa444f ar71xx: create ALL0258N network config from uci-defaults
SVN-Revision: 28832
2011-11-07 21:44:23 +00:00
Gabor Juhos
63348f5fed ar71xx: create NBG{460N,550N,550NH} network config from uci-defaults
SVN-Revision: 28831
2011-11-07 21:44:20 +00:00
Gabor Juhos
c3692c8331 ar71xx: create WZR-HP-G300NH network config from uci-defaults
SVN-Revision: 28830
2011-11-07 21:44:17 +00:00
Gabor Juhos
ee1a07a11d ar71xx: create RB-493G network config from uci-defaults
SVN-Revision: 28829
2011-11-07 21:44:12 +00:00
Gabor Juhos
d82d063d81 ar71xx: create TL-WR1043ND network config from uci-defaults
SVN-Revision: 28828
2011-11-07 21:44:11 +00:00
Gabor Juhos
68be590894 ar71xx: create WRT160NL network config from uci-defaults
SVN-Revision: 28827
2011-11-07 21:44:09 +00:00
Gabor Juhos
83901e47c9 ar71xx: create PB92 network config from uci-defaults
SVN-Revision: 28826
2011-11-07 21:44:08 +00:00
Gabor Juhos
22ab9fc9ad ar71xx: create DIR-825-B1 network config from uci-defaults
SVN-Revision: 28825
2011-11-07 21:44:07 +00:00
Gabor Juhos
e866ba5753 ar71xx: create TL-WR{841N-v1,941ND} network config from uci-defaults
SVN-Revision: 28824
2011-11-07 21:44:03 +00:00
Gabor Juhos
9298c7afe5 ar71xx: create RB-450 network config from uci-defaults
SVN-Revision: 28823
2011-11-07 21:44:02 +00:00
Gabor Juhos
ac256f97bd ar71xx: create RB-450G, RouterStation Pro network config from uci-defaults
SVN-Revision: 28822
2011-11-07 21:44:01 +00:00
Gabor Juhos
944ac3f6cf ar71xx: create RB-433{,U} network config from uci defaults
SVN-Revision: 28821
2011-11-07 21:43:58 +00:00
Gabor Juhos
6e8390ae6c ar71xx: create even more network configs from the uci-defaults script
Create the default network configuration dynamically for the
AR724x/AR9331 boards. Some other boards are using the same
configuration, so convert those as well.

SVN-Revision: 28820
2011-11-07 21:43:56 +00:00
Gabor Juhos
b62560413a ar71xx: create more network configs from the uci-defaults script
Create the default network configuration dynamically for the boards with
swapped eth0, eth1 interfaces.

SVN-Revision: 28819
2011-11-07 21:43:54 +00:00
Gabor Juhos
6c92b26bac ar71xx: create a bunch of network configs from the uci-defaults script
Create the default network configuration dynamically for the boards with
a single ethernet interface.

SVN-Revision: 28818
2011-11-07 21:43:52 +00:00
Gabor Juhos
0a8e5dbf7b ar71xx: create generic network config from an uci-defaults script
SVN-Revision: 28817
2011-11-07 21:43:51 +00:00
Gabor Juhos
54c034ae7a ar71xx: remove AP81 defconfig, it is the same as the generic config
SVN-Revision: 28816
2011-11-07 21:34:33 +00:00
Gabor Juhos
5b6cc3eb9f ar71xx: change generated Buffalo firmware versions
With version 1.76 the upgrade may fail with newer Buffalo firmwares with
a message like this:
"You can not update the firmware because the firmware version is earlier
than 1.82. Please use 1.82 or later version for firmware update."

SVN-Revision: 28815
2011-11-07 21:34:32 +00:00
Imre Kaloz
cc2cf8f3d5 update 3.1 patches
SVN-Revision: 28814
2011-11-07 21:13:13 +00:00
Imre Kaloz
c4bc2552a3 update arm mach-types
SVN-Revision: 28813
2011-11-07 21:12:26 +00:00
Gabor Juhos
eb9ef60e2d ar71xx: enable sysupgrade on the WHR-G301N and WHR-HP-GN boards
SVN-Revision: 28812
2011-11-07 20:25:00 +00:00
Gabor Juhos
8456840d82 ar71xx: wrap long lines in the upgrade script
SVN-Revision: 28811
2011-11-07 20:24:59 +00:00
Gabor Juhos
c60baf78ce ar71xx: fix WHR-HP-G300N firmware partition offset
SVN-Revision: 28810
2011-11-07 20:24:57 +00:00
Gabor Juhos
b27254a2c5 ar71xx: add default network configuration for the WHR-HP-GN
SVN-Revision: 28807
2011-11-07 13:32:43 +00:00
Gabor Juhos
034b2b7cde ar71xx: build image for the Buffalo WHR-HP-GN
SVN-Revision: 28806
2011-11-07 12:59:11 +00:00
Gabor Juhos
a801d620a7 ar71xx: add support for the Buffalo WHR-HP-GN board
SVN-Revision: 28805
2011-11-07 12:59:10 +00:00
Gabor Juhos
0d9ae0a036 ar71xx: build image for the Buffalo WHR-G301N
SVN-Revision: 28804
2011-11-07 12:59:08 +00:00
Gabor Juhos
4509af17ed ar71xx: add support for the Buffalo WHR-G301N board
SVN-Revision: 28803
2011-11-07 12:59:07 +00:00
Gabor Juhos
63784ea2bc ar71xx: fix WHR-HP-G300N image generation
SVN-Revision: 28802
2011-11-07 12:59:05 +00:00
Gabor Juhos
b3b21cb3bf ar71xx: enable WHR-HP-G300N support in kernel config
SVN-Revision: 28801
2011-11-07 12:59:04 +00:00
Gabor Juhos
4aace1e2e3 ar71xx: fix WHR-HP-G300N MTD partitions
SVN-Revision: 28800
2011-11-07 12:59:03 +00:00
Michael Büsch
05ce57c005 omap24xx: Add cbus tahvo locking fix.
SVN-Revision: 28767
2011-11-05 16:10:18 +00:00
Michael Büsch
6288ac7ed4 omap24xx: Fix n810bm compilation
SVN-Revision: 28766
2011-11-05 16:01:53 +00:00
Gabor Juhos
297ac9a7f1 kernel: swconfig: add a missing unlock in error path
SVN-Revision: 28753
2011-11-04 14:38:31 +00:00
Jo-Philipp Wich
d6f02b62d4 add timeserver config to target specific system configs as well
SVN-Revision: 28750
2011-11-04 12:53:35 +00:00
Felix Fietkau
82bd0a43f1 kernel: merge regression fixes for the netfilter patches to the 3.1 kernel patches (patch by tripolar)
SVN-Revision: 28734
2011-11-03 20:02:31 +00:00
John Crispin
95d36d3efe lantiq: remove obseleted folder. we use 3.1 now
SVN-Revision: 28728
2011-11-03 16:33:27 +00:00
John Crispin
ea36ad76bc lantiq: bump to 3.1
SVN-Revision: 28721
2011-11-03 15:15:52 +00:00
Gabor Juhos
4c985724af ar71xx: add missing AR71XX_MACH_TL_WR741ND_V4
SVN-Revision: 28709
2011-11-01 14:38:12 +00:00
Gabor Juhos
fc8adbb854 ar71xx: build image for the TL-WR741ND v4 board
SVN-Revision: 28708
2011-11-01 11:20:55 +00:00
Gabor Juhos
91f08d47c2 ar71xx: add initial support for the TL-WR741ND v4 board
The ethernet port LEDs are not working yet.

SVN-Revision: 28706
2011-11-01 11:20:52 +00:00
Gabor Juhos
21e651c9a1 ar71xx: add AR933X GMAC register defines
SVN-Revision: 28705
2011-11-01 11:20:50 +00:00
Gabor Juhos
43e2e2e4ef ar71xx: combine LEDs setup in one file
SVN-Revision: 28704
2011-11-01 11:20:49 +00:00
Gabor Juhos
f372620ffa ar71xx: unify LED names on Planex boards
SVN-Revision: 28703
2011-11-01 11:20:47 +00:00
Gabor Juhos
66ab406d5a ar71xx: unify LED names on Buffalo boards
SVN-Revision: 28702
2011-11-01 11:20:46 +00:00
Gabor Juhos
e7586959df ar71xx: unify LED names on TP-Link boards
SVN-Revision: 28701
2011-11-01 11:20:44 +00:00
Gabor Juhos
3a7b12a27d ar71xx/all0258n: sysupgrade support
U-Boot on the ALL0258N needs offset, size and md5 for kernel and rootfs to be
stored in the U-Boot environment.
If the checksums don't match during boot, a failsafe-system is booted instead.
This patch adds a board-specific sysupgrade hack for the all0258n which
calculates and updates the checksums for the U-Boot environment.

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

SVN-Revision: 28700
2011-11-01 09:23:32 +00:00
Gabor Juhos
f40557a692 ar71xx/all0258n: add default config
This adds default network and uboot-env settings for the ALL0258N.

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

SVN-Revision: 28699
2011-11-01 09:23:31 +00:00
Gabor Juhos
06d9653b36 ar71xx: remove default network config of the mzk-w04nu board as well
It works with the generic config.

SVN-Revision: 28695
2011-11-01 09:23:25 +00:00
Gabor Juhos
693c777eaf ar71xx: remove LED setup of nonexistent interfaces on RB750
SVN-Revision: 28693
2011-10-31 14:26:56 +00:00
Gabor Juhos
2bcd612e72 ar71xx: remove default network config of the wnr2000 board
It is the same as the generic configuration.

SVN-Revision: 28692
2011-10-31 14:26:51 +00:00
Vasilis Tsiligiannis
17ccd4aec4 rt305x: Create factory image for Fonera 2.0n
SVN-Revision: 28689
2011-10-31 09:23:44 +00:00
Michael Büsch
29958120a2 omap24xx: Default to linux-3.1
SVN-Revision: 28687
2011-10-30 22:42:00 +00:00
Michael Büsch
c00fd42353 omap24xx: Fix n810 LCD initialization
SVN-Revision: 28685
2011-10-30 20:31:45 +00:00
Michael Büsch
f37c24d35f omap24xx: Fix n810 boot
SVN-Revision: 28683
2011-10-30 18:46:45 +00:00
Gabor Juhos
39b3bfcf6a ar71xx/sysupgrade: use $magic_long instead of $magic when comparing with a 32-bit value
Aparently $magic_long was meant here instead of $magic when comparing with
32-bit values.

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

SVN-Revision: 28678
2011-10-30 13:06:30 +00:00
Michael Büsch
fd0e6e1452 omap24xx: Refresh 3.1 config
SVN-Revision: 28677
2011-10-29 22:52:44 +00:00
Michael Büsch
ba9ee13744 omap24xx: Refresh 3.1 patches
SVN-Revision: 28676
2011-10-29 22:52:07 +00:00
Michael Büsch
e184bfe6f0 Fix tusb patch
SVN-Revision: 28675
2011-10-29 22:33:59 +00:00
Michael Büsch
a3db2f2055 omap24xx: Fix MUSB compile
SVN-Revision: 28674
2011-10-29 22:26:27 +00:00
Michael Büsch
5dde93038f omap24xx: Add n800 touchscreen and keypad drivers. Thanks to Marat Radchenko.
SVN-Revision: 28673
2011-10-29 20:35:36 +00:00
Michael Büsch
7d123a86e3 omap24xx: Add 3.1 patchset.
SVN-Revision: 28672
2011-10-29 19:02:50 +00:00
Gabor Juhos
415814f051 ar71xx: fix typos in image/Makefile
SVN-Revision: 28618
2011-10-27 07:54:52 +00:00
Gabor Juhos
1646346798 ar71xx: add initial support for the OpenMesh OM2P board
Based on a patch by Marek Lindner <marek@open-mesh.com>

SVN-Revision: 28617
2011-10-27 07:54:51 +00:00
Gabor Juhos
d02f22fea1 ar71xx/all0258n: fix partition layout
A miscalculation in the original patch makes OpenWrt destroy the failsafe image.

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

SVN-Revision: 28615
2011-10-27 07:54:47 +00:00
Michael Büsch
f15f6bc76f Update my email address
SVN-Revision: 28603
2011-10-26 14:54:26 +00:00
Felix Fietkau
b17bfe4f68 x86: disable crashlog, ioremap of RAM does not work properly here
SVN-Revision: 28599
2011-10-26 11:49:25 +00:00
Gabor Juhos
4a70cace09 ar71xx: create image for the WNDR3800
This adds support for the Netgear WNDR3800, it is almost the same as
the WNDR3700v2. It just has more RAM so the hd_id had to be adjusted.

Signed-off-by: Petri Rosenström <petri.rosenstrom@gmail.com>

SVN-Revision: 28597
2011-10-26 06:12:47 +00:00
Jo-Philipp Wich
3d1d93cb0c target: remove CONFIG_IDE_PROC_FS support as well
SVN-Revision: 28586
2011-10-25 16:40:06 +00:00
Jo-Philipp Wich
de7cae82e9 brcm47xx: revert accidentially added EARLY_PRINTK symbol from previous commit
SVN-Revision: 28585
2011-10-25 16:19:52 +00:00
Jo-Philipp Wich
a9e64493d8 target: globally disable BSD process accounting
SVN-Revision: 28584
2011-10-25 16:18:36 +00:00
Gabor Juhos
ee8077f0fe ramips: Support for NexAira BC2
The preconfiguration of the USB LED has benn move to the
/etc/uci-defaults/leds script. [juhosg]

Signed-off-by: Adam Porter <porter.adam at gmail.com>

SVN-Revision: 28571
2011-10-24 21:49:36 +00:00
Gabor Juhos
18452a753b ramips: fix switch-port assignment for HW550-3G
WAN is on swtich port 0 for Aztech HW550-3G.

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

SVN-Revision: 28570
2011-10-24 21:49:32 +00:00
Gabor Juhos
68a01c0180 ramips: combine led setup for all boards in one file
This removes unnecessary duplication and simplifies led setup for new
boards. It would be a one line change most likely.

Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>

SVN-Revision: 28569
2011-10-24 21:49:31 +00:00
Gabor Juhos
c8b9086ac5 ar71xx: build image for the Buffalo WHR-HP-G300N
Based on a patch by Yoichi Shinoda <shinoda@jaist.ac.jp>

SVN-Revision: 28568
2011-10-24 21:49:29 +00:00
Gabor Juhos
9d51cda2db ar71xx: Buffalo WHR-HP-G300N kernel support
The initial support for the Buffalo WHR-HP-G300N box.
The code was confirmed to boot and run, but not tested in depth.

Known problem: iw phy phy0 info shows:
	Coverage class: 0 (up to 0m)
	Available Antennas: TX 0 RX 0

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

SVN-Revision: 28567
2011-10-24 21:49:26 +00:00
Gabor Juhos
0ab6be2ba3 ar71xx: build image for the Allnet ALL0258N board
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 28565
2011-10-24 21:49:23 +00:00
Gabor Juhos
d96e321bd1 ar71xx: add kernel support for the Allnet ALL0258N board
This patchs adds support for the Allnet ALL0258N outdoor AP/bridge.
The ALL0258N is based on the AR7240 SoC paired with an AR9285 radio,
it got 8MB of NOR and 32MB SDRAM.

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

SVN-Revision: 28564
2011-10-24 21:49:21 +00:00
Gabor Juhos
ef41e0a61c ar71xx: don't override CONFIG_FSNOTIFY
SVN-Revision: 28563
2011-10-24 21:49:18 +00:00
Jo-Philipp Wich
b61de9c865 base-files: make sure inittab-console-fixup returns with success (#10275)
SVN-Revision: 28562
2011-10-24 21:35:43 +00:00
Nicolas Thill
b0d9bccafc x86: allow VDI & VMDK images for all subtargets (closes: #10255)
SVN-Revision: 28518
2011-10-22 13:09:15 +00:00
Jonas Gorski
40d088446f linux: generic: refresh patches for 3.1-rc10
Hopefully the last one and identical to final.

SVN-Revision: 28492
2011-10-20 10:32:44 +00:00
Jonas Gorski
a136b67604 linux: ar71xx: add support for Mikrotik Routerboard RB493G
SVN-Revision: 28423
2011-10-11 23:05:16 +00:00
Jonas Gorski
03f91068d1 ar71xx: add a workaround for ar8316 not always driving the TA bit to low
AR8316 behind a GPIO bitbanged MDIO bus fails to drive the turnaround bit
to low despite returning a valid value. Ignore it and just use the
returned value anyway.

SVN-Revision: 28422
2011-10-11 23:05:13 +00:00
Jonas Gorski
b7a2a74823 ar8216: use mdiobus_{read,write} to ensure proper locking
SVN-Revision: 28421
2011-10-11 23:05:10 +00:00
John Crispin
0a866293bd * update patches to 3.0
* add basic vr9 support
* backport 3.1 fixes
* backport 3.2 queue (falcon)

SVN-Revision: 28405
2011-10-10 15:13:46 +00:00
Jonas Gorski
c674c874b7 ag71xx: close a race between the phy state machine and link state
A fast stop/start cycle could leave the ag71xx interrupts and tx engine
disabled when using a phy driver with a fixed link and the start/stop
happens between two phy state machine polls.

Prevent this by always forcing the link down on stop regardless of phy
state and having a phy connected.

SVN-Revision: 28380
2011-10-08 11:37:14 +00:00
Jo-Philipp Wich
ce5e1abbb7 add IDs for Huawai K3770, K3771, K4510 and K4511 to option driver
SVN-Revision: 28376
2011-10-06 18:23:16 +00:00
Florian Fainelli
829ae01f16 add missing kernel config symbols
SVN-Revision: 28363
2011-10-04 09:15:37 +00:00
Daniel Dickinson
b0345ef184 Was specifying input-polled-keys and not input-keys-polled as the module name. Philip Prindeville - 2011-10-03 03:58:17
SVN-Revision: 28357
2011-10-03 04:39:54 +00:00
Daniel Dickinson
c0a625ffbf Add patch for linux-3.0 as well.
Fix typo from previous submission with input-keys-polled.
Philip Prindeville - 2011-10-03 01:44:55

SVN-Revision: 28356
2011-10-03 03:09:20 +00:00
Daniel Dickinson
7e372b6dcf New x86 platform specific symbol needed for 3.1-rc3. 2011-10-03 03:06:29 +00:00
Daniel Dickinson
541aa8e38e A lot of these options get set automatically when Geode is selected.
Don't make the config more complicated than it needs to be.
Philip Prindeville - 2011-08-29 03:15:27

SVN-Revision: 28353
2011-10-03 03:02:42 +00:00
Florian Fainelli
3802769ea1 add vlan definitions for Siemens SE505v2
Hi,

this patch adds the correct vlan definitions for the Siemens SE505v2. It
applies to trunk as well as backfire (please apply here too). On
backfire this also patches brcm-2,4, because brcm47xx base-files is just
symlinked to brcm-2.4.

It also fixes two whitespace issues.

Tested with brcm47xx on both trunk and backfire branch and works as
expected.

Signed-off-by: Manuel Munz <freifunk@somakoma.de>

SVN-Revision: 28336
2011-09-30 12:55:33 +00:00
John Crispin
aecc73de77 The enable function was using the global timeout variable for local operations. This resulted in the value of the global variable being corrupted, thus breaking the code.
SVN-Revision: 28310
2011-09-26 10:35:51 +00:00
John Crispin
1ef8066bff * remove obseleted m25p80 patch
SVN-Revision: 28309
2011-09-26 09:36:02 +00:00
John Crispin
cf59e7255d * rebase 3.0 patches * fold some fixes into existing patches
SVN-Revision: 28308
2011-09-26 09:35:02 +00:00
Gabor Juhos
6ac4156136 ar71xx: fix MAC addresses on the DIR-825-B1 board
Patch-by: Lukas Kuna

SVN-Revision: 28295
2011-09-23 19:56:39 +00:00
Gabor Juhos
e45d7d7006 ar71xx: enable login only on the system console by default
SVN-Revision: 28294
2011-09-23 19:56:38 +00:00
Alexandros C. Couloumbis
5fc14dfb87 linux/generic: commit an upstream kernel 3.0 patch (fixes busubox-1.19.2 build failure)
SVN-Revision: 28293
2011-09-23 10:00:13 +00:00
Gabor Juhos
49ac36e818 ar71xx: build images for the TP-Link TL-WR703N v1 board
Based on a patch by dongyuqi <729650915@qq.com>

SVN-Revision: 28279
2011-09-21 11:47:56 +00:00
Gabor Juhos
733399600f ar71xx: add support for the TP-Link TL-WR703N v1 board
Based on a patch by dongyuqi <729650915@qq.com>

SVN-Revision: 28277
2011-09-21 11:47:53 +00:00
Gabor Juhos
d3617ac7d3 ar71xx: add AR933x specific USB setup function
SVN-Revision: 28276
2011-09-21 11:47:51 +00:00
Gabor Juhos
91340d8af7 ar71xx: add ar71xx_device_reset_rmw helper
SVN-Revision: 28275
2011-09-21 11:47:50 +00:00
Gabor Juhos
9fa51d5c38 ar71xx: fix copy&paste bug in WZRHPAG300H profile description
SVN-Revision: 28274
2011-09-21 11:47:48 +00:00
Gabor Juhos
079e746fc4 ar71xx: remove 'default [yn]' from machine Kconfig entries
SVN-Revision: 28273
2011-09-21 11:47:47 +00:00
Gabor Juhos
73dac07c44 ar71xx: sort AR71XX_MACH_* entries
SVN-Revision: 28272
2011-09-21 11:47:45 +00:00
Gabor Juhos
ef2431c8d9 ar71xx: create image for the TP-Link TL-WR743ND v1
Same hardware as WR741ND but with PoE support.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

SVN-Revision: 28271
2011-09-21 11:47:44 +00:00
Gabor Juhos
76d0d1a837 ar71xx: create image for the TP-Link TL-WR740N v3
Signed-off-by: Martin Raykov <martin.raykov@gmail.com>

SVN-Revision: 28269
2011-09-21 11:47:40 +00:00
Gabor Juhos
93c093057d generic: jumbo frames support for rtl8366s
This patch adds the option to enable jumbo frames on the rtl8366s
switch. This is almost exactly the same as the first patch at
https://dev.openwrt.org/ticket/7977 and it has been requested
in a comment there.

I have tested this and it successfully allows devices on the switch
using jumbo frames to communicate.

Signed-off-by: Ash Hughes <ashley.hughes@blueyonder.co.uk>

SVN-Revision: 28267
2011-09-21 11:47:38 +00:00
Jo-Philipp Wich
34f2cfc657 fix generation for arm platforms Based on patch by Roman Yeryomin <roman@advem.lv>
SVN-Revision: 28225
2011-09-13 07:39:14 +00:00
Felix Fietkau
1bdf65f580 ar71xx: fix register range check for DMA stuck checks (thx, Frédéric Moulins)
SVN-Revision: 28213
2011-09-11 17:44:12 +00:00
Jo-Philipp Wich
1e24383ae6 Various enhancements from Manuel Munz <freifunk@somakoma.de> - don't regenerate Package index unless the packagedir changes - remove opkg lists from rootfs, saves > 1MB uncompressed - don't direct errors on index creation into packagelist
SVN-Revision: 28205
2011-09-09 17:25:20 +00:00
Jo-Philipp Wich
ba46c7b3c6 Xen DomU: make sure kernel is gzip compressed, pygrub cannot handle xz
SVN-Revision: 28197
2011-09-08 22:18:26 +00:00
Felix Fietkau
65d809ef19 ar71xx: do not count normal interrupts as spurious (fixes #10037)
SVN-Revision: 28182
2011-09-06 05:38:23 +00:00
Felix Fietkau
de8cabe839 ar71xx: clean up profiles, put in kmod-ath9k and wpad-mini by default (fixes #9954)
SVN-Revision: 28173
2011-09-05 18:37:48 +00:00
Imre Kaloz
ed2c8bdc92 upgrade testing kernel support to 3.1
SVN-Revision: 28165
2011-09-04 15:06:05 +00:00
Imre Kaloz
4f0b1a6602 cleanup config
SVN-Revision: 28164
2011-09-04 15:02:37 +00:00
Imre Kaloz
0569cff6e1 refresh patches
SVN-Revision: 28163
2011-09-04 15:01:56 +00:00
Imre Kaloz
6d17e13cde add missing symbols
SVN-Revision: 28162
2011-09-04 15:01:25 +00:00
Felix Fietkau
24dfe525c2 brcm47xx: fix padding of trx images, padjffs2 does not work properly on empty files by default
SVN-Revision: 28125
2011-08-29 21:23:51 +00:00
Felix Fietkau
cd2c68501c ar71xx: fix ethernet PLL setting on ar7242
SVN-Revision: 28124
2011-08-29 21:23:46 +00:00
Hamish Guthrie
cc037a5e27 Remove subpage align patch
SVN-Revision: 28086
2011-08-25 11:49:55 +00:00
Hamish Guthrie
21f7943561 Re-order patches, add nand sub-page alignment
SVN-Revision: 28084
2011-08-25 10:37:30 +00:00
Florian Fainelli
cbd28ad0ec bump to 2.6.39.4
Since linux gets developed on x86 more than all other hardware,
hardly makes sense to have our default x86 version be trailing
by over a year.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 28082
2011-08-25 09:35:51 +00:00
Florian Fainelli
d2652dee9d update alix2 platform driver
Add support for Ed Wildgoose's alix platform driver plus my
enhancement to add GPIO soft button support.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 28081
2011-08-25 09:35:45 +00:00
Jonas Gorski
71adaae258 kernel: add two missing config symbols for 3.1
SVN-Revision: 28080
2011-08-24 11:43:25 +00:00
Gabor Juhos
72e117ec79 ramips: rt305x: add support for the ZyXEL NBG-419N board
SVN-Revision: 28078
2011-08-22 20:41:49 +00:00
Gabor Juhos
4b96d3af2a ramips: rt305x: remove unused defines from mach-nw718.c
SVN-Revision: 28077
2011-08-22 20:41:48 +00:00
Gabor Juhos
462ca22e9c ramips: sort Makefile entries
SVN-Revision: 28076
2011-08-22 20:41:47 +00:00
Gabor Juhos
d50494f3bb ramips: sort RAMIPS_MACH_* defines
SVN-Revision: 28075
2011-08-22 20:41:45 +00:00
Gabor Juhos
90686691ce ramips: fix wireless firmware extraction for wr512-3gn
Signed-off-by: Andrew Andrianov <necromant@necromant.ath.cx>

SVN-Revision: 28073
2011-08-22 18:08:45 +00:00
Gabor Juhos
f0049824b9 ramips: remove 'default [yn]' keywords from machine Kconfig entries
SVN-Revision: 28054
2011-08-19 15:55:12 +00:00
Gabor Juhos
6720025497 ramips: rt305x: fix wr512n image generation
SVN-Revision: 28053
2011-08-19 15:55:11 +00:00
Gabor Juhos
9085b05d9e ramips: rt305x: support for wr512-3gn-like routers
Signed-off-by: Andrew Andrianov <necromant@necromant.ath.cx>

SVN-Revision: 28052
2011-08-19 15:55:10 +00:00
Gabor Juhos
46b101ad0a ramips: register usb on Belkin F5D8235 v2 and Argus ATP-52-B routers
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 28051
2011-08-19 15:55:08 +00:00
Gabor Juhos
05209860da ramips: fix wireless on Belkin F5D8235 v2
Fix wireless firmware extract from flash for Belkin F5D8235 v2.

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 28050
2011-08-19 15:55:07 +00:00
Gabor Juhos
f8ab604eb6 ramips: fix typo in default packages
Fix fivebytepypo - there is no such kernel module wpad-mini :)

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 28049
2011-08-19 15:55:05 +00:00
Hamish Guthrie
048d4aca76 omap35xx: Add 3.0.3 kernel support for Gumstix
SVN-Revision: 28047
2011-08-19 12:00:08 +00:00
Hauke Mehrtens
464539b074 kernel: update to version 3.0.3
SVN-Revision: 28043
2011-08-18 12:54:12 +00:00
Jo-Philipp Wich
ebb152295b fix the default network configuration for the ASUS WL-330gE (#8751)
SVN-Revision: 28024
2011-08-17 03:16:59 +00:00
Hauke Mehrtens
09b1073f9b kernel: update kernel to version 2.6.39.4
SVN-Revision: 28022
2011-08-16 22:04:10 +00:00
Jonas Gorski
3e94ee9642 kernel: generic: refresh patches for 3.1-rc2
SVN-Revision: 28021
2011-08-16 21:42:15 +00:00
Gabor Juhos
ace8ce0845 ramips: use maccalc instead of hexdump + sed
SVN-Revision: 28007
2011-08-15 19:00:23 +00:00
Gabor Juhos
bfc47ffead ramips: rt305x: fix mac addresses on the Netcore NW718 board
SVN-Revision: 28006
2011-08-15 18:55:53 +00:00
Gabor Juhos
17c041cd0b ramips: add maccalc to the default package list
SVN-Revision: 28005
2011-08-15 18:55:52 +00:00
Gabor Juhos
67e480971c ramips: add input drivers to the default package list
SVN-Revision: 28003
2011-08-15 18:55:50 +00:00
Gabor Juhos
35ecf12059 ramips: rt305x: make config and factory partitions read-only on the ATP-52B
SVN-Revision: 28002
2011-08-15 18:55:48 +00:00
Gabor Juhos
75e2360ab3 ramips: add uci-defaults scripts to preconfigure USB LEDs
SVN-Revision: 28000
2011-08-15 14:12:00 +00:00
Gabor Juhos
e1b176de82 ramips: rt305x: add some USB modules to the default profile
SVN-Revision: 27999
2011-08-15 14:11:58 +00:00
Gabor Juhos
169d68c98c ramips: rt305x: add dwc_otg driver
Based on a patch by Layne Edwards <ledwards@astrumtech.net>

SVN-Revision: 27997
2011-08-15 14:11:55 +00:00
Gabor Juhos
0ca16a4600 ramips: rt305x: register the dwc_otg device on the relevant boards
SVN-Revision: 27996
2011-08-15 14:11:52 +00:00
Gabor Juhos
addc86fdbd ramips: rt305x: add dwc_otg platform device
Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su>

SVN-Revision: 27995
2011-08-15 14:11:51 +00:00
Gabor Juhos
6ef87ff5e6 ramips: sync kernel config
SVN-Revision: 27993
2011-08-15 14:11:48 +00:00
Gabor Juhos
4ee4fc9725 ramips: load the input drivers during preinit
SVN-Revision: 27992
2011-08-15 14:11:47 +00:00
Gabor Juhos
a3c7e71ae1 ramips: add support for Argus ATP-52B
[The ESW related changes has been removed - juhosg]

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 27991
2011-08-15 14:11:45 +00:00
Gabor Juhos
1ebcf03789 ramips: allow to specify port layout for the switch of the RT305x/RT3350
Based on a patch by Roman Yeryomin <roman@advem.lv>

SVN-Revision: 27990
2011-08-15 14:11:43 +00:00
Gabor Juhos
bb64fb2e58 generic: ar8216: add support for get link status
SVN-Revision: 27989
2011-08-15 14:11:41 +00:00
Felix Fietkau
50817f6afe kernel: disable cfi cmdset 0002 erase suspend
on some platforms, erase suspend leads to data corruption and lockups when write
ops collide with erase ops. this has been observed on the buffalo wzr-hp-g300nh.
rather than play whack-a-mole with a hard to reproduce issue on a variety of devices,
simply disable erase suspend, as it will usually not produce any useful gain on
the small filesystems used on embedded hardware.

SVN-Revision: 27984
2011-08-15 00:15:36 +00:00
Felix Fietkau
12c84f8eeb ar71xx: add some code to detect DMA stuck conditions on ar7240
SVN-Revision: 27975
2011-08-13 22:30:14 +00:00
Felix Fietkau
85ccc74e1b ar71xx: on ar724x only reset the link status in the restart handler, the fast reset takes care of DMA stuck issues
SVN-Revision: 27973
2011-08-13 21:49:46 +00:00
Hauke Mehrtens
77218b0338 brcm47xx: fix flash detection on chipcommon less devices.
This closes #9906
Thank you for the report Kim

SVN-Revision: 27967
2011-08-12 16:37:22 +00:00
Felix Fietkau
82a05d1a19 initramfs: allow preinit to enable switching from initramfs to tmpfs to allow overlayfs to be mounted on top of it
SVN-Revision: 27960
2011-08-11 20:32:57 +00:00
Felix Fietkau
d26bb6c59c ar71xx: adjust the mtd layout of tew-632brp and dir-615c to match the image layout (fixes #9922)
SVN-Revision: 27959
2011-08-11 13:52:40 +00:00
Florian Fainelli
ce2ced7311 package more board specific modules:
- keyboard matrix driver
- SoC sound support

based on patch by KanjiMonster

SVN-Revision: 27957
2011-08-11 11:18:44 +00:00
Florian Fainelli
f7dbf2ef04 add more missing touchscren symbols (3.0+)
SVN-Revision: 27956
2011-08-11 11:18:41 +00:00
Florian Fainelli
11b1f687d4 disable hardware perf support to work in qemu
SVN-Revision: 27955
2011-08-11 11:18:37 +00:00
Hauke Mehrtens
20de21593b kernel: revert r27953
KanjiMonster did the right patch, I was just confused because of linux-3.0 and linux-2.6.30

SVN-Revision: 27954
2011-08-11 09:54:02 +00:00
Hauke Mehrtens
409f8211e1 kernel: fix ocf patch for kernel 2.6.30
find_task_by_vpid is already exported by the kernel without any patches needed.

SVN-Revision: 27953
2011-08-11 09:47:36 +00:00
Jonas Gorski
7304dcad2a kernel: 2.6.30: remove bogus additional find_task_by_vpid export from OCF
find_task_by_vpid is already exported, thus breaking builds.

SVN-Revision: 27952
2011-08-11 09:46:30 +00:00
Jonas Gorski
def60e2918 ar71xx: make ehci patch apply again
SVN-Revision: 27951
2011-08-10 23:02:56 +00:00
Felix Fietkau
9e5ead9a51 ar71xx: fix a copy&paste bug that broke wzr-hp-g300nh and wzr-hp-ag300h images (#9918)
SVN-Revision: 27950
2011-08-10 22:24:56 +00:00
Florian Fainelli
b59ab7d13b fix ehci build on 3.0+
SVN-Revision: 27946
2011-08-10 11:37:25 +00:00
Florian Fainelli
0e40c19b45 add ignore_oc in struct ehci_hcd
SVN-Revision: 27945
2011-08-10 11:37:21 +00:00
Florian Fainelli
458716389c update to 3.0.1
SVN-Revision: 27943
2011-08-09 13:13:22 +00:00
Florian Fainelli
f124358722 add CONFIG_EARLY_PRINTK
SVN-Revision: 27942
2011-08-09 13:13:16 +00:00
Jonas Gorski
6b5f483efa bcm63xx: add support for linux 3.1-rc1
SVN-Revision: 27941
2011-08-09 12:19:49 +00:00
Jonas Gorski
cf2070bd5b linux: generic: add support for 3.1-rc1
SVN-Revision: 27940
2011-08-09 12:19:43 +00:00
Daniel Dickinson
7ef004a144 Add packages that will be relant as "There's a new Alix platform driver hitting linux-next upstream. Get ready for it in 2.6.39.4 and 3.0.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>"

SVN-Revision: 27929
2011-08-08 02:33:18 +00:00
Felix Fietkau
ba9e7889dd kernel: fix another typo in the netfilter optimization patches
SVN-Revision: 27927
2011-08-07 21:17:18 +00:00
Hauke Mehrtens
6f4151b7f0 kernel: add missing option
SVN-Revision: 27925
2011-08-06 16:46:04 +00:00
Felix Fietkau
ac96ae6731 kernel: add missing checks in the netfilter optimization patch which broke some rules containing only source/destination address checks
SVN-Revision: 27923
2011-08-06 12:39:31 +00:00
Hauke Mehrtens
a1d5ad7655 uml: add some missing options
SVN-Revision: 27921
2011-08-06 11:23:45 +00:00
Hauke Mehrtens
d447cb5164 kernel: add some missing config options
These options where found by buildbot

SVN-Revision: 27920
2011-08-06 10:41:15 +00:00
Hauke Mehrtens
51be984655 kernel: update to kernel version 3.0.1
SVN-Revision: 27918
2011-08-06 09:51:55 +00:00
Florian Fainelli
55e020cd14 update to kernel 3.0
SVN-Revision: 27912
2011-08-05 13:48:42 +00:00
Florian Fainelli
698c1b4952 add more missing config symbols
SVN-Revision: 27911
2011-08-05 13:48:38 +00:00
Florian Fainelli
48af2495b4 update to kernel 3.0
SVN-Revision: 27910
2011-08-05 13:48:35 +00:00
Florian Fainelli
a8e79cbdf8 add 101-perf_arm_uclibc.patch to 3.0 patches
SVN-Revision: 27909
2011-08-05 13:48:31 +00:00
Florian Fainelli
c99d08f050 add missing config symbol
SVN-Revision: 27908
2011-08-05 13:48:28 +00:00
Gabor Juhos
7e5a1bc1d0 ar71xx: fix image generation
SVN-Revision: 27907
2011-08-05 10:31:52 +00:00
Hauke Mehrtens
77966b81d8 brcm47xx: use kernel 3.0
As this target changes often these days it is hard to support more kernel versions. Now only kernel 3.0 is supported.

SVN-Revision: 27906
2011-08-04 20:10:24 +00:00
Hauke Mehrtens
8428ebd8e8 brcm47xx: update patches
* this adds sflash support for ssb devices
* the flash is now a platform device
* minor updates

SVN-Revision: 27902
2011-08-04 20:04:54 +00:00
Gabor Juhos
85b858fae6 ar71xx: enable sysupgrade on the AP96 and DB120 boards
SVN-Revision: 27901
2011-08-04 19:41:18 +00:00
Gabor Juhos
fb77134596 ar71xx: use the same test for AP121 and Zcomax sysupgrade images
SVN-Revision: 27900
2011-08-04 19:41:17 +00:00
Gabor Juhos
fd3a5f64f2 ar71xx: cleanup image generation Makefile
SVN-Revision: 27899
2011-08-04 19:41:16 +00:00
Felix Fietkau
4b75394056 ar71xx: fix ethernet FIFO state corruption on ar7240
When starting/stopping DMA sometimes the FIFO state gets corrupted,
leading to wildly fluctuating latencies or packet data corruption.
Fix this by issuing a fast MAC reset as soon as the link is detected
as up. Fixes #9689, #9405

SVN-Revision: 27896
2011-08-04 17:36:31 +00:00
Felix Fietkau
d2aeca6b6d ag71xx: fix memory corruption issues on ar7240 on ethernet start/stop
When the DMA engine state gets corrupted due to a hardware issues, it
often won't stop rx until a full reset is issued. In that case the hardware
must keep a valid descriptor, otherwise it will write to random places in
system RAM, triggering random crashes. To fix this, keep a dummy descriptor
without a buffer that keeps the DMA engine in a sane state until the reset
is done

SVN-Revision: 27895
2011-08-04 17:36:27 +00:00
Felix Fietkau
500c3a1475 ar71xx: fix MAC/MDIO reset mask handling
SVN-Revision: 27894
2011-08-04 17:36:23 +00:00
Jonas Gorski
3b36e83a29 generic: Add missing config symbol
SVN-Revision: 27887
2011-08-03 23:28:00 +00:00
Florian Fainelli
4543f6d659 remove 8*1-usb_serial_endpoint_size.patch
This is breaking some devices out there such as Winchiphead CH341 adapters (#9601)

SVN-Revision: 27885
2011-08-03 13:23:21 +00:00
Florian Fainelli
c37a9544bf add support for BCM6345 Ethernet DMA engine
SVN-Revision: 27881
2011-08-02 18:55:55 +00:00
Florian Fainelli
11c4128770 improve BCM6345 support
- runtime detect the amount of memory available
- define EBI_BASE as MPI_BASE to get rid of chip-select specific hacks
- fix GPIO control

SVN-Revision: 27880
2011-08-02 18:55:46 +00:00
Florian Fainelli
c4af036ec7 refresh 3.0 patches
SVN-Revision: 27879
2011-08-02 18:55:38 +00:00
Felix Fietkau
54d97e6782 ar71xx: add some hacks to work around the misalignment in IP packets received on AR71xx and AR91xx ethernet MACs decreases CPU load with the default firewall for routing 95 mbit/s from 78% to 55%
SVN-Revision: 27878
2011-08-02 15:12:08 +00:00
Florian Fainelli
a0ce3668a6 fix r6040 multicast patch, thanks nicolas le falher
SVN-Revision: 27876
2011-08-02 14:13:00 +00:00
Jonas Gorski
ed2b7cd342 linux/generic: remove obsolete kernel options from 3.0
Also fix one typo.

SVN-Revision: 27875
2011-08-02 09:58:16 +00:00
Jonas Gorski
61e2e03311 kernel: Fix firewire for 2.6.37+
The old ieee1394 stack was removed in 2.6.37. The new firewire stack is
available for all kernel versions, but experimental for the older one, so
make both available where appropriate.

SVN-Revision: 27874
2011-08-02 09:53:19 +00:00
Felix Fietkau
e5e17a1ce8 imagebuilder: clean opkg files if requested (patch from #9866)
SVN-Revision: 27872
2011-08-01 23:58:11 +00:00
Felix Fietkau
62b8cba9c0 kernel: enable inotify by default (#8055)
SVN-Revision: 27853
2011-07-31 18:12:23 +00:00
Felix Fietkau
19eaf1c5f7 kernel: add a new version of my netfilter speedup patches for linux 2.6.39 and 3.0
SVN-Revision: 27840
2011-07-30 15:39:52 +00:00
Imre Kaloz
e4b6839fd3 upgrade to 3.0 (magicbox ata and openrb usb is broken, but the current kernel didn't compile at all, so...)
SVN-Revision: 27826
2011-07-29 10:16:48 +00:00
Jonas Gorski
e18ceb1dac ar71xx: merge WZR-HP-G301NH support into WZR-HP-G300NH
Now that we can use a generic name for the switch there is no need for a
separate image for the WZR-HP-G301NH.
Update the default network config and remove the extra image.

SVN-Revision: 27814
2011-07-28 11:57:51 +00:00
Gabor Juhos
ea211c4d90 ramips: rt305x: add support for the Netcore NW718 board
SVN-Revision: 27813
2011-07-28 10:56:32 +00:00
Gabor Juhos
437e184484 ramips: rt305x: add support for the Asus RT-G32 B1 board
Based on a patch by: Sergiy <piratfm@gmail.com>

SVN-Revision: 27812
2011-07-28 10:56:30 +00:00
Gabor Juhos
7193f29d96 ramips: rt305x: enable M25P80 driver
Based on a patch by Sergiy <piratfm@gmail.com>

SVN-Revision: 27811
2011-07-28 10:56:28 +00:00
Gabor Juhos
c6db514de8 ramips: rt305x: introduce rt305x_register_spi helper
Based on a patch by Sergiy <piratfm@gmail.com>

SVN-Revision: 27810
2011-07-28 10:56:27 +00:00
Gabor Juhos
57122e7ccc ramips: add SPI controller driver
Based on a patch by Sergiy <piratfm@gmail.com>

SVN-Revision: 27809
2011-07-28 10:56:25 +00:00
Gabor Juhos
3f986df05f ramips: rt305x: add support for the DIR-600 B1,B2 boards
SVN-Revision: 27808
2011-07-28 10:56:24 +00:00
Gabor Juhos
857c1028ac ramips: rt305x: change machine id for DIR-300
SVN-Revision: 27807
2011-07-28 10:56:22 +00:00
Gabor Juhos
42d3a55347 ramips: rt305x: rename LEDs on the DIR-300-B1
SVN-Revision: 27806
2011-07-28 10:56:21 +00:00
Gabor Juhos
39689b648f ramips: rt305x: sort Kconfig/Makefile entries
SVN-Revision: 27805
2011-07-28 10:56:19 +00:00
Gabor Juhos
32c0534516 ramips: rt305x: fix uci-defaults/network script for the RT3350 based boards
This change corrects expected CPU name of Ralink RT3050, which
describes itself as RT3350 (this name is ripped off chip and elevated
to user space via /proc/cpuinfo.)
This patch fixes wired network on DIR-300 rev B and DIR-600 rev B

Signed-off-by: Slawomir Cygan <wiewior@wiewior.eu.org>

SVN-Revision: 27804
2011-07-28 10:56:18 +00:00
Gabor Juhos
57663ce25b ramips: fix PWH2004 image generation
SVN-Revision: 27803
2011-07-28 10:56:15 +00:00
Jonas Gorski
eaa935658b swconfig: Add generic switch identifiers
Also make switches available under a generic name "switch<num>" for device
name agnostic access. The old device name is used as an alias for backward
compatibility.

SVN-Revision: 27800
2011-07-27 18:00:18 +00:00
Felix Fietkau
4da138d899 x86/alix2: include WAN interface by default
Include WAN interface by default, instead of putting both ports in the LAN bridge.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27787
2011-07-26 16:37:48 +00:00
Felix Fietkau
41db64f8e0 x86/alix2: fix typo in target makefile
Cut and paste cruft from borrowing from Geos platform.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27786
2011-07-26 16:37:44 +00:00
Hauke Mehrtens
80956276a7 x86: add missing config symbols
This adds some config symbols for kernel 3.0.

Thank you realopty for the patch.

This is from #9719.

SVN-Revision: 27775
2011-07-25 21:21:01 +00:00
Jonas Gorski
4e6c93bef1 bcm63xx: Fix SPI commands and register offsets for BCM6348
In 240-spi.patch, spi registers for bcm6348 were all messed up. This patch fixes that.
It also fixes some spi commands for all bcm63xx.

Signed-off-by: Anthony Blakemore <stokie-ant@raverbaby.co.uk>

SVN-Revision: 27774
2011-07-25 19:52:47 +00:00
Imre Kaloz
f0f10fa599 add missing symbols for generic and x86 on 3.0, based on Philip Prindeville's patch
SVN-Revision: 27762
2011-07-24 22:04:08 +00:00
Jo-Philipp Wich
f66871e836 From: George Kashperko <george@znau.edu.ua> Issue map read after Write Buffer Load command to ensure chip is ready to receive data. Signed-off-by: George Kashperko <george@znau.edu.ua>
SVN-Revision: 27760
2011-07-24 15:37:00 +00:00
Jo-Philipp Wich
6eb9e39bc4 refresh 501-yaffs_cvs_2009_04_24.patch for Linux 3.0 final
SVN-Revision: 27759
2011-07-24 15:36:33 +00:00
Hauke Mehrtens
4815eaa4c3 brcm47xx: run ssb_pcicore_fix_sprom_core_index just for ssb bus on pci
ssb_pcicore_fix_sprom_core_index accesses the sprom on the pci bus but
this causes a data bus error (oops) on a SoC.

SVN-Revision: 27758
2011-07-24 15:18:29 +00:00
Felix Fietkau
9e4113b493 ar71xx: autodetect rtl8366s/rtl8366rb on wzr-hp-g300nh
SVN-Revision: 27756
2011-07-24 14:40:35 +00:00
Felix Fietkau
5b32d62fcf rtl8366_smi: implement a function for detecting whether the attached switch is RTL8366S or RTL8366RB
SVN-Revision: 27755
2011-07-24 14:40:31 +00:00
Felix Fietkau
1afe8a0726 rtl8366: unify rtl8366s and rtl8366rb platform data
SVN-Revision: 27754
2011-07-24 14:40:23 +00:00
Hauke Mehrtens
00dd85d8f6 ocf-linux: version bump to 20110720
Fixes problem with TFM allocation in cryptosoft.c

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

Hauke:
 * remove ubsec_ssb package and take it from ocf-linux
 * use patches from ocf-linux package
 * refresh all patches
 * readd some build fixes for OpenWrt.
 * readd CRYPTO_MANAGER dependency

SVN-Revision: 27753
2011-07-24 14:17:58 +00:00
Felix Fietkau
b5e3f6cd81 x86: 2.6.39 requires additional symbol
Sysfs support for DMI BIOS was added in 2.6.39.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27749
2011-07-24 09:41:07 +00:00
Felix Fietkau
a6f7e72cf7 atheros: fix mii phy read/write ioctl
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 27747
2011-07-24 09:11:10 +00:00
Felix Fietkau
6d3bddb056 geos: include pppstats and pppdump in default packaging
As the Geos box includes an ADSL modem that's targeted towards PPPoE, PPPoA, and bridged utilization, including these useful tools allows for easier configuration and troubleshooting.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27743
2011-07-24 08:41:58 +00:00
Felix Fietkau
9105dad418 ar71xx: enable the usb power regulator on the wzr-hp-ag300h through gpio 2 (#9684)
SVN-Revision: 27739
2011-07-24 08:02:20 +00:00
Imre Kaloz
193845ce7a upgrade to 3.0
SVN-Revision: 27738
2011-07-23 20:44:08 +00:00
Imre Kaloz
5e29e14795 upgrade to 3.0
SVN-Revision: 27737
2011-07-23 20:43:53 +00:00