1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-01 02:47:32 +02:00
Commit Graph

24981 Commits

Author SHA1 Message Date
juhosg
3e84f7b9f1 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:33 +00:00
juhosg
55772106df generic: add driver for the RTL8367R/M switches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:31 +00:00
juhosg
d80f2ee46b generic: rtl8366: preparing for RTL8367 support
* make clock delay configurable
* make read,write commands configurable
* use u16 for member and untag fields

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:30 +00:00
juhosg
d43b4effd9 generic: rtl8366_smi: add timeout message
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29676 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 19:36:25 +00:00
juhosg
54bc3d42c4 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 17:24:44 +00:00
juhosg
c2243d1fb9 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).

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-07 16:29:16 +00:00
juhosg
66663e2809 ar71xx: fix sysupgrade on the TL-WR841N/ND v7 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-06 15:54:59 +00:00
jow
b8e63f1c54 [package] openssl: bump to v1.0.0f (CVE-2011-4108, CVE-2011-4576, CVE-2011-4577, CVE-2011-4619, CVE-2012-0027)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-06 15:18:30 +00:00
juhosg
01c809eff1 ar71xx: add support for Redwave RW2458N
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29669 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-06 07:20:59 +00:00
juhosg
4c93839943 ar71xx: fix RB-750 network configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29668 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-06 07:20:54 +00:00
juhosg
c63a29ee7f ar71xx: fix sections mismatch warnings in the nand drivers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29667 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-05 18:08:33 +00:00
juhosg
978d04d680 ar71xx: fix LED configuration on the RB-750
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-05 18:08:28 +00:00
juhosg
2f01b6f43a package/kernel: add package for the PCF2123 RTC driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 21:16:21 +00:00
juhosg
6c8dc3bd72 ar71xx: create profile and build image for the ALFA AP96 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 21:13:57 +00:00
juhosg
b8e2e95b70 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 21:13:54 +00:00
juhosg
3d14a486be ar71xx: specify console kernel parameter for the Compex boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:59 +00:00
juhosg
86c95a9481 ar71xx: allow to use the command line hack on compex devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:58 +00:00
juhosg
bf238aa8e9 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29658 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:57 +00:00
juhosg
c96ab77e4e ar71xx: show correct model name on TL-WA701N/ND boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:55 +00:00
juhosg
06483eda3d ar71xx: add profile and build image for the TL-WA701N/ND boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29656 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:54 +00:00
juhosg
8eede392b8 firmware-utils/mktplinkfw: add support for TL-WA701N/ND
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:53 +00:00
juhosg
342be7abf7 ar71xx: fix network configuration for the TL-WA901N/ND boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29654 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:52 +00:00
juhosg
9229d15c65 ar71xx: allow to use LAN LED on the TL-WA901N/ND boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:50 +00:00
juhosg
28c6546050 ar71xx: add default LED configuration for the TL-MR3020
Also use the system LED for diagnostic.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:49 +00:00
juhosg
2b1cf2b32c 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:47 +00:00
juhosg
5ecee7ec9f firmware-utils/mktplinkfw: add support for TL-MR3020
Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:44 +00:00
juhosg
331431beeb package: remove the om2p-watchdog package
Signed-off-by: Antonio Quartulli <ordex@autistici.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:42 +00:00
juhosg
7e491e9a72 ar71xx: use the new om-watchdog package for OM2P
Signed-off-by: Antonio Quartulli <ordex@autistici.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:41 +00:00
juhosg
53e47d1bc3 package: add om-watchdog package
om2p-watchdog package is OM2P specific. However a similar watchdog
mechanism exists on OM1P as well. This new package wants to substitute
om2p-watchdog with a new one which is suitable either for OM1P and OM2P.

Signed-off-by: Antonio Quartulli <ordex@autistici.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 17:30:39 +00:00
jow
5c8f292566 [toolchain] disable UCLIBC_HAS_XLOCALE and UCLIB_HAS_GLIBC_DIGIT_GROUPING if BUILD_NLS is on (#10735)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 12:32:47 +00:00
jow
66aeab36ac add CT target and TTL/HL match+target
This patch adds the CT target for conntrack (enables manipulation of
conntrack events and supercedes NOTRACK) as well as the TTL/HL target and
match.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 02:52:54 +00:00
jow
8b51caf859 [netfilter] remove current RTSP support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-04 00:29:29 +00:00
jow
8f76f46fa3 [generic] 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-03 23:08:15 +00:00
juhosg
ced006ab54 ar71xx: add profile and build factory image for the Hornet-UB board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29637 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-01 19:30:29 +00:00
juhosg
adfe1a4686 ar71xx: build images for the ALFA Network N2/N5 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29636 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-01 19:30:28 +00:00
juhosg
fd1bdc7c45 ar71xx: add support for the ALFA Network N2/N5 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29635 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-01 19:30:25 +00:00
jow
3329b43e76 [package] iwinfo: factor txpower offset into info display output, recompile if driver selection changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-01 16:17:10 +00:00
jow
e2b9e1a026 [toolchain] if CONFIG_BUILD_NLS is selected, compile uClibc with locale support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-01 15:11:11 +00:00
juhosg
a604775f66 ar71xx: define LAN/WAN LEDs for the TL-WR741N/ND boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 15:02:46 +00:00
juhosg
5a33add62c ar71xx: enable SWCONFIG_LEDS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 15:02:40 +00:00
juhosg
ca385d45a3 package/base-files: add support for the switch LED trigger
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 15:02:35 +00:00
juhosg
4c27fd2675 package/base-files: use case statement in led init script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 15:02:32 +00:00
juhosg
55894a40aa kernel: swconfig: introduce a generic switch LED trigger
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 15:02:30 +00:00
juhosg
b042bd4e4d ar71xx: ag71xx: implement get_port_{link,stats} callbacks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 15:02:26 +00:00
juhosg
c400bf085d kernel: swconfig: add get_port_{link,stats} callbacks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 15:02:24 +00:00
juhosg
096af0d2e8 ar71xx: fix LEDs on the WRT400N
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-31 13:54:11 +00:00
juhosg
c1be681672 ramips: rt288x: add support for the Belkin F5D8235-4 v1 board
Patch-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-28 08:43:43 +00:00
juhosg
71c649d097 ramips: rt288x: change base address and window size of flash bank 0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-28 08:43:36 +00:00
juhosg
0cbcd33f32 ramips: rt305x: add support for the ALFA Networks W502U (R36) board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-28 08:43:32 +00:00
juhosg
0d1ced0ac9 ar71xx: enable sysupgrade support for airrouter
Works for me! ;-)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2011-12-27 16:59:43 +00:00