Commit Graph

1896 Commits (67fe3b7ad49e7a5bf805a1d742c6e14e78882786)

Author SHA1 Message Date
Gabor Juhos f4b2c62d60 kernel: update linux 3.7 to 3.7.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 13:57:40 +00:00
Gabor Juhos 3c9d4a38c1 ar71xx: update MAC address assignment for dir-825-c1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 12:47:37 +00:00
Gabor Juhos 8be514f386 ar71xx: fixes leds for dir-825-c1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 12:47:33 +00:00
Luka Perkov 3fc6a70a19 ar71xx: add support for Buffalo WZR 600DHP
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-01 13:46:01 +00:00
Gabor Juhos bf3da89866 ar71xx: add profile and build image fot the TL-WA830RE v1 board
Added support for the TP-LINK TL-WA830RE v1 Range Extender.
Based on the WA901ND v1 support. Hardware IDs checked against
original firmware. Patch was successfully tested on hardware.

Signed-off-by: Ronald Hecht <ronald.hecht@gmx.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-25 20:37:35 +00:00
Gabor Juhos 62b6477607 ar71xx: add model detection for the TL-WA830RE board
Signed-off-by: Ronald Hecht <ronald.hecht@gmx.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-25 20:37:33 +00:00
Gabor Juhos 54b63b1428 ar71xx: fix MAC address assignment on the DIR-825-Bx boards
Use the same MAC addresses as the original firmware.

Based on a patch from #10421.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Tested-by: Gabor Varga <vargagab@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 17:58:21 +00:00
Gabor Juhos 48222aa3da ar71xx: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 17:47:15 +00:00
Jonas Gorski 40128d4c23 ar71xx: print image build warnings/errors to stderr
Makes warnings/errors visible when building with V=w/V=1.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 11:45:29 +00:00
Gabor Juhos c02092f81e ar71xx: remove __dev{init,exit} annotations from kernel files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 20:52:06 +00:00
Gabor Juhos a954352276 ar71xx: migrate to common led helper functions
[juhosg: migrate to status_led_blink_{preinit,failsafe} helpers]

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 09:56:27 +00:00
Gabor Juhos ca34712a7c kernel: update linux 3.7 to 3.7.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 21:32:42 +00:00
Gabor Juhos 4633f1708b ar71xx: add user-space support for the Mikrotik RB951G board
[juhosg: change rb-951g to rb-951g-2hnd in the scripts]

Patchwork: http://patchwork.openwrt.org/patch/3257/
Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 10:08:41 +00:00
Gabor Juhos 1faf7940dc ar71xx: add kernel support for the Mikrotik RB951G board
This is platform definition for the RB951G device. It's mostly rework
of RB2011UAS patchset with network taken from the RB751 patches.
The main difference is the flash layout used by this device.

[juhosg:
  - remove dead code from mach-rb951g
  - add "-2HnD" suffix to the machine name
  - use a separate 615-MIPS-ath79-RB951G-support.patch]

Patchwork: http://patchwork.openwrt.org/patch/3257/
Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 10:08:35 +00:00
Gabor Juhos 3becae3332 ar71xx: fix kmod-usb2 package name
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 17:33:06 +00:00
Gabor Juhos 240c27a41f kernel: update linux 3.7 to 3.7.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-15 07:36:15 +00:00
Gabor Juhos 92a3247d9a ar71xx: fix factory image creation for dir-825-c1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-13 16:36:26 +00:00
Gabor Juhos bede9dff8a ar71xx: fix switch-config for dir-825-c1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-13 16:36:23 +00:00
Gabor Juhos 8601a4452e kernel: update linux 3.7 to 3.7.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-12 09:51:11 +00:00
Gabor Juhos 00a47a6c78 ar71xx: add script for automatic switch name migration
Thanks to Jonas Gorski for the help.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 21:41:16 +00:00
Felix Fietkau 069528fb36 ar71xx: allow unknown multicast frames to pass to the CPU on AR934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 18:59:05 +00:00
Gabor Juhos 49e680f157 ar71xx: use switchX names in network configuration
Accessing the AR8xxx switches via the name of the
attached ethernet device is not possible since
r35560. Change the uci-defaults script to use
switchX names in switch configurations.

Reported-by: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 16:54:52 +00:00
Jonas Gorski c9157a2388 ar71xx: register the micro sd card reader on RB493G
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35535 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 12:31:38 +00:00
Gabor Juhos ef45eb419f ar71xx: Routerboard 751 Mac Address Offset Fix
We utilize many Routerboard 751's and discovered that our latest batch
of RB751's would not initialize the wireless radio. We have determined
Mikrotik has changed where the mac address was located inside hardconfig.
As such we utilize "routerboot_find_tag" to find the location of the mac
address. We should remove "RB751_MAC_ADDRESS_OFFSET" as it is ambiguous
by machine manufacturing date. The newer batch of RB751's that we received
had a RB751_MAC_ADDRESS_OFFSET 0x10.

Signed-off-by: Davey Hutchison <dhutchison@bluemesh.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-08 09:34:53 +00:00
Gabor Juhos d619b697b5 kernel: update linux 3.7 to 3.7.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-04 10:02:56 +00:00
Gabor Juhos f202f27310 ar71xx: use backported PCI_MEM_SIZE patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35470 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 18:17:58 +00:00
Gabor Juhos bdb89be1bf ar71xx: rename ar933x_uart patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35469 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 18:17:53 +00:00
Gabor Juhos aad50acc53 ar71xx: fixes whitespaces for dir-825-c1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 15:02:19 +00:00
Gabor Juhos 8e165e35f3 ar71xx: build images for the TP-LINK TL-WR743ND v2
AR9331 based, these same as 741v4

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 10:01:15 +00:00
Gabor Juhos 45fd50fa0e ar71xx: fix mac address calculation on the OpenMesh MR600
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 08:47:41 +00:00
Gabor Juhos 5097903af5 ar71xx: sysupgrade - fix OpenMesh MR600 total flash size
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 15:50:54 +00:00
Gabor Juhos ad997fedac ar71xx: add sysupgrade support for OpenMesh MR600v2
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35430 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 15:50:47 +00:00
Gabor Juhos d1e5422c3e ar71xx: add user-space support for OpenMesh MR600v2
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 15:50:45 +00:00
Gabor Juhos b144a405e5 ar71xx: add kernel support for the OpenMesh MR600v2
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 15:50:42 +00:00
Gabor Juhos 6fcc5334ce ar71xx: remove unused OpenMesh MR600 led definitions
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 15:50:39 +00:00
Gabor Juhos 69cef1be4d ar71xx: remove unused OpenMesh MR6000 platform code
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35426 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 15:50:37 +00:00
Gabor Juhos 17b86ba3fe ar71xx: build image for the TL-WDR3500 board
Based on http://patchwork.openwrt.org/patch/3208/

Thanks-to: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gui Iribarren <gui@altermundi.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 15:50:34 +00:00
Gabor Juhos dbe317a045 ar71xx: add user-space support for TL-WDR3500 board
Based on http://patchwork.openwrt.org/patch/3208/

Thanks-to: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gui Iribarren <gui@altermundi.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35424 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 15:50:32 +00:00
Gabor Juhos f4df386361 ar71xx: add kernel support for the TL-WDR3500 board
WDR3500 is similar to WDR3600 except it doesn't have gigabit ethernet,
and has only 1 USB port.

Pending issues:

  * Leds are not working at all (except power and wlan_5g)
  * LAN switch ethernet ports are reversed with respect to case label.

  [Label] -> soft device
  [LAN1] -> eth0.4
  [LAN2] -> eth0.3
  [LAN3] -> eth0.2
  [LAN4] -> eth0.1

Based on http://patchwork.openwrt.org/patch/3208/

Thanks-to: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gui Iribarren <gui@altermundi.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 15:50:29 +00:00
Gabor Juhos 1a3ad8d937 ar71xx: add profile and build image for dir-825-c1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 22:50:57 +00:00
Gabor Juhos 4d15f58b77 ar71xx: add user space support for dir-825-c1
[juhosg: fix whitespaces in some scripts]

Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 22:50:54 +00:00
Gabor Juhos e184f957b2 ar71xx: add kernel support for dir-825-c1
[juhosg:
 - remove unused GPIO stuff
 - use a separate kernel patch for machine integration]

Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35401 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 22:50:50 +00:00
Gabor Juhos d818117882 ar71xx: add profile and generate images for the AP132 board
Based on http://patchwork.openwrt.org/patch/3162/

Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35397 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 19:12:34 +00:00
Gabor Juhos a2c56296d7 ar71xx: add user-space support for the AP132 board
Based on http://patchwork.openwrt.org/patch/3162/

Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35396 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 19:12:32 +00:00
Gabor Juhos 3b89a20bc7 ar71xx: add kernel support for Atheros AP132 Reference Board
Based on http://patchwork.openwrt.org/patch/3162/

Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35395 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 19:12:30 +00:00
Gabor Juhos 8ba4c7ce6e ar71xx: fix ethernet device registration for the QCA9556 SoC
Based on http://patchwork.openwrt.org/patch/3162/

Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35394 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 19:12:28 +00:00
Gabor Juhos caffade41b ar71xx: add kernel support for the QCA9556 SoC
Based on http://patchwork.openwrt.org/patch/3162/

Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35393 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 19:12:26 +00:00
Gabor Juhos 251015ecee ar71xx: enable fast flash read on dual-flash devices
This improves flash read speed on various Buffalo units.

mtd_speedtest results on the WZR-HP-AG300H:

                          old         new        delta
eraseblock read speed:  726 KiB/s   2068 KiB/s   +184.85%
page read speed:        699 KiB/s   1973 KiB/s   +182.26%
2 page read speed:      711 KiB/s   2043 KiB/s   +187.34%

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 19:12:25 +00:00
Gabor Juhos 046963da3a kernel: update linux 3.7 to 3.7.5
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 18:29:45 +00:00
Gabor Juhos 680983b95c ar71xx: add TP-LINK WA-801ND to run-time model detection
A small cosmetic fix to show the HW model name correctly in LuCI.

Patch-by: Amir Sagie <openwrt-devel@taproot.org.il>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35365 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 09:40:29 +00:00
Felix Fietkau a35962e3b7 kernel: clean up crypto related kconfig options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 17:23:12 +00:00
Felix Fietkau 11bf268fbc ar71xx: disable support for unsupported mtd configuration, saves about 5K kernel size after lzma
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-27 16:38:27 +00:00
Felix Fietkau 081d10c739 kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips
in combination with kernel symbol export stripping this significantly reduces
the kernel image size

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35320 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-26 16:26:13 +00:00
Gabor Juhos 1ccd35ab43 kernel: update linux 3.7 to 3.7.4
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-24 17:08:37 +00:00
Felix Fietkau 97fed15ad2 ar71xx: sync kernel sizes where possible to fix images for some devices (#12874)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-23 16:29:25 +00:00
Jo-Philipp Wich d8c155dfc9 all targets: use numerically prefixed uci-defaults file names to better control order of execution
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-18 12:42:53 +00:00
Gabor Juhos 3ab3849ad3 kernel: update linux 3.7 to 3.7.3
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-18 11:44:42 +00:00
Felix Fietkau cc1bb7b034 ar71xx: fix unaligned access in cls_u32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 16:48:23 +00:00
Felix Fietkau e83e1f9ebe ar71xx: fix unaligned access in a few more places
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 15:37:58 +00:00
Felix Fietkau 269f90bce1 ar71xx: improve unaligned access patches, add a net_hdr_word() macro which assumes 2-byte aligned access and generates better code than {get,put}_unaligned_cpu32
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 14:54:39 +00:00
Felix Fietkau a2161b3e16 ar71xx: avoid __packed define in the unaligned access hack patch, make the ipv6 address struct also 2-byte-aligned/packed
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 13:06:09 +00:00
Felix Fietkau 0f55025e5f ar71xx: add more cpu feature overrides, slightly reduces kernel size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 11:33:48 +00:00
Felix Fietkau 816b21495f ar71xx: extend the unaligned access hacks to a few more places that showed up in the new kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35124 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-13 11:33:44 +00:00
Gabor Juhos 067615aea6 ar71xx: remove 3.6 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 12:25:38 +00:00
Gabor Juhos 54666428ae ar71xx: switch to 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 12:25:36 +00:00
Gabor Juhos 31e74392ab ar71xx: disable PHY_SWAP and PHY_ADDR_SWAP bits on TL-WR703N/MR3020/MR3040/MR11U boards
The PHY_SWAP and PHY_ADDR_SWAP bits are initialized
differently by different versions of the bootloader.
This leads to broken ethernet connection with OpenWrt
on some boards.

Turn both SWAP bits OFF on these boards to make it
consistent regardless of the bootloader used.

Based on a patch by Michel Stempin <michel.stempin@wanadoo.fr>.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35037 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-07 14:30:37 +00:00
Gabor Juhos 703cf9ca91 ar71xx: add missing Makefile entry to the 74HC153 GPIO patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35035 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-07 14:14:41 +00:00
Gabor Juhos e94cdc6bb6 ar71xx: register the NAND flash controller device on the AP135/136 boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:10:41 +00:00
Gabor Juhos 7d6d9dd240 ar71xx: allow to register the NAND flash controller on the QCA955x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:10:36 +00:00
Gabor Juhos 88cac18ac5 ar71xxx: allow to select ATH79_DEV_NFC for QCA955x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:10:34 +00:00
Gabor Juhos d7357eaba6 ar71xxx: allow to build the ar934x_nfc driver for QCA955x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:10:29 +00:00
Gabor Juhos 631c8073a5 ar71xx: fix NAND controller base for QCA955x SoCs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:10:26 +00:00
Gabor Juhos 52b5e35419 ar71xx: fold AP135 patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-01 13:10:22 +00:00
Gabor Juhos 76d465b18f ar71xx: add support for 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 16:02:31 +00:00
Gabor Juhos b0c73c52bc ar71xx: Build the AP135 images
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 16:02:28 +00:00
Gabor Juhos 23d30c887d ar71xx: Add userspace support for AP135
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 16:02:27 +00:00
Gabor Juhos 78720628cc ar71xx: Add support for AP135
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 16:02:24 +00:00
Gabor Juhos d1ec292ab4 ar71xx: use a backported patch to fix AR933x UART baud rate calculation
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 13:52:38 +00:00
Felix Fietkau 2066816243 ar71xx: change the unaligned access hack to assume an alignment of 2 bytes, slightly improves performance and code size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 21:30:24 +00:00
Felix Fietkau c28528a913 mips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel size after lzma and ~12k squashfs size in the default configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 19:17:19 +00:00
Gabor Juhos 907e67ea6a ar71xx: build image for the AP136-020
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-26 09:50:37 +00:00
Gabor Juhos c75b77b225 ar71xx: add user-space support for AP136-020
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-26 09:50:36 +00:00
Gabor Juhos 02a40a7483 ar71xx: add kernel support for the AP136-020 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-26 09:50:34 +00:00
Gabor Juhos 5662c6a1b4 ar71xx: rename AP136 to AP136-010
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-26 09:50:31 +00:00
Gabor Juhos e6d9174a4d ar71xx: dynamically set AR8327's PAD configuration on AP136
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-25 18:45:32 +00:00
Gabor Juhos 17bb18be18 ar71xx: ag71xx: show PHY interface mode in dmesg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-25 18:45:29 +00:00
Gabor Juhos 378c626d62 ar71xx: register the second ethernet interface on the AP136
Also fix the default network configuration
according to the new setup.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:12:50 +00:00
Gabor Juhos 6010f1b825 ar71xx: fix ethernet device registration for QCA9558
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:12:48 +00:00
Gabor Juhos 989e3c0e17 ar71xx: rename QCA9558 ETH_CFG bit defines
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:12:46 +00:00
Gabor Juhos 4f5e30c1b8 ar71xx: fixup allowed PHY interface types for QCA9558
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:12:44 +00:00
Gabor Juhos c301f74b61 ar71xx: don't assign any MII bus device on QCA9558 by default
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:12:43 +00:00
Gabor Juhos 7b0651b99b ar71xx: ag71xx: fix mii_bus_dev sanity check
The mii_bus device is not required if phy_mask is zero.
The driver will use a fixed connection if it is not
specified.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:12:41 +00:00
Gabor Juhos 2b21ed9dd7 ar71xx: ag71xx: don't start/stop built-in switch w/o mii_bus_dev
Trying to do that causes a NULL pointer dereference:

CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 801d170c, ra == 801d18d4
Oops[#1]:
Cpu 0
$ 0   : 00000000 00000000 00000000 00000001
$ 4   : 00000000 802e6390 ffff8f45 00000001
$ 8   : 804b5360 ffffff80 802f93bc 00000000
$12   : 802f93e8 00000000 00000000 00000000
$16   : 8381aba0 8381aba0 00000000 00000000
$20   : 8295eff0 00000032 80000000 004101b8
$24   : 00000000 777265b0
$28   : 82936000 82937cf0 00420000 801d18d4
Hi    : 00000000
Lo    : 00000001
epc   : 801d170c ar7240sw_reset+0x1c/0x19c
    Tainted: G           O
ra    : 801d18d4 ag71xx_ar7240_start+0x28/0xc0
Status: 1100fc03    KERNEL EXL IE
Cause : 00800008
BadVA : 00000000
PrId  : 00019750 (MIPS 74Kc)
Modules linked in: ath79_wdt ohci_hcd ledtrig_usbdev ledtrig_netdev
nf_nat_irc nf_nat_ftp nf_conntrack_irc nf_conntrack_ftp
 ipt_MASQUERADE iptable_nat nf_nat pppoe xt_conntrack xt_CT xt_NOTRACK
iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack
ehci_hcd pppox ipt_REJECT xt_TCPMSS xt_LOG xt_comment xt_multiport
xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tab
les ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) ath9k_hw(O)
ath(O) mac80211(O) usbcore usb_common nls_base crc_ccitt cfg80211(O) c
ompat(O) arc4 aes_generic crypto_blkcipher cryptomgr aead crypto_hash
crypto_algapi ledtrig_timer ledtrig_default_on leds_gpio gpio_button
_hotplug(O)
Process netifd (pid: 677, threadinfo=82936000, task=82cbe140, tls=77803750)
Stack : ffffffff 80087900 00000001 82937d74 8381aba0 8381aba0 00000000 00000000
        8295eff0 801d18d4 8295eff0 801fa4a4 00420000 80092158 00000002 8381aba0
        8381a800 00000000 00000080 801cf900 8027e720 00000000 00000000 8009223c
        8381a800 8381a82c 8027e720 00000000 00000000 7f9d14f0 00420000 801ec08c
        8381a800 801ebfb0 33000000 82937e30 00000001 8381a800 00001003 801ec348
        ...
Call Trace:
[<801d170c>] ar7240sw_reset+0x1c/0x19c
[<801d18d4>] ag71xx_ar7240_start+0x28/0xc0
[<801cf900>] ag71xx_open+0x1d0/0x258
[<801ec08c>] __dev_open+0xcc/0x130
[<801ec348>] __dev_change_flags+0xc0/0x160
[<801ec490>] dev_change_flags+0x20/0x6c
[<801ec5c8>] dev_ifsioc+0xec/0x348
[<801ecdb8>] dev_ioctl+0x594/0x67c
[<800ec00c>] do_vfs_ioctl+0x598/0x5ec
[<800ec0b0>] sys_ioctl+0x50/0x90
[<8006a3c4>] stack_done+0x20/0x40
Code: afbf0024  afb40020  afb10014 <8c910000> 00809021  24100104 24130704  8e440000  02002821

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34848 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:12:40 +00:00
Gabor Juhos 50709b5321 generic: ar8216: rename cpuport_cfg to port0_cfg in ar8327_platform_data
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:12:35 +00:00
Gabor Juhos 969434b252 ar71xx: rename fix-ar933x-reset patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 14:13:16 +00:00
Mirko Vogt f1b359fecb Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 16:07:50 +00:00
Gabor Juhos b156d3ef75 ar71xx: merge machine patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34783 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 08:50:45 +00:00
Gabor Juhos 8cba449d20 ar71xx: build image for the TL-MR3220 v2
Based on the following patch:
http://patchwork.openwrt.org/patch/3043/

[juhosg: reorder MR3220 MultiProfile entry]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34782 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 08:50:44 +00:00
Gabor Juhos 808517d480 ar71xx: add user-space support for the TL-MR3220 v2
Based on the following patch:
http://patchwork.openwrt.org/patch/3043/

[juhosg: add uci-defaults/network support]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 08:50:41 +00:00
Gabor Juhos 08e1b77c36 ar71xx: add kernel support for the TL-MR3220 v2
Based on the following patch:
http://patchwork.openwrt.org/patch/3043/

[juhosg:
 - remove custom LED and button arrays
 - use separate machine specific patch
 - update Kconfig]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 08:50:35 +00:00