Commit Graph

2032 Commits (35d2b601aa7737c5eebe8557bd4cb056e52b2f5d)

Author SHA1 Message Date
Gabor Juhos 17c36f540c ar71xx: fix kmod-usb2 package name
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35629
2013-02-16 17:33:06 +00:00
Gabor Juhos 162b8e23a5 kernel: update linux 3.7 to 3.7.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35604
2013-02-15 07:36:15 +00:00
Gabor Juhos 7484006498 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>

SVN-Revision: 35589
2013-02-13 16:36:26 +00:00
Gabor Juhos 5f10ec3c36 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>

SVN-Revision: 35588
2013-02-13 16:36:23 +00:00
Gabor Juhos bae4bfe3f8 kernel: update linux 3.7 to 3.7.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35571
2013-02-12 09:51:11 +00:00
Gabor Juhos 1f9ede9cfc ar71xx: add script for automatic switch name migration
Thanks to Jonas Gorski for the help.

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

SVN-Revision: 35567
2013-02-11 21:41:16 +00:00
Felix Fietkau 2e7a4b088d ar71xx: allow unknown multicast frames to pass to the CPU on AR934x
SVN-Revision: 35564
2013-02-11 18:59:05 +00:00
Gabor Juhos 94806a13af 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>

SVN-Revision: 35561
2013-02-11 16:54:52 +00:00
Jonas Gorski f07a33afc2 ar71xx: register the micro sd card reader on RB493G
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35535
2013-02-10 12:31:38 +00:00
Gabor Juhos 6ff973bdda 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>

SVN-Revision: 35519
2013-02-08 09:34:53 +00:00
Gabor Juhos 08ff976720 kernel: update linux 3.7 to 3.7.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35476
2013-02-04 10:02:56 +00:00
Gabor Juhos b1168e70d3 ar71xx: use backported PCI_MEM_SIZE patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35470
2013-02-02 18:17:58 +00:00
Gabor Juhos b9b341f05a ar71xx: rename ar933x_uart patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35469
2013-02-02 18:17:53 +00:00
Gabor Juhos 7c87d28054 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>

SVN-Revision: 35455
2013-02-02 15:02:19 +00:00
Gabor Juhos 9a438b2271 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>

SVN-Revision: 35449
2013-02-02 10:01:15 +00:00
Gabor Juhos 31af0dc186 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>

SVN-Revision: 35446
2013-02-02 08:47:41 +00:00
Gabor Juhos 6805275fdc 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>

SVN-Revision: 35433
2013-02-01 15:50:54 +00:00
Gabor Juhos 979676ffcc ar71xx: add sysupgrade support for OpenMesh MR600v2
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35430
2013-02-01 15:50:47 +00:00
Gabor Juhos 2af995ba1d 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>

SVN-Revision: 35429
2013-02-01 15:50:45 +00:00
Gabor Juhos 8837d3a49b 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>

SVN-Revision: 35428
2013-02-01 15:50:42 +00:00
Gabor Juhos 150bb9d0b1 ar71xx: remove unused OpenMesh MR600 led definitions
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35427
2013-02-01 15:50:39 +00:00
Gabor Juhos fe3db74276 ar71xx: remove unused OpenMesh MR6000 platform code
Signed-off-by: Marek Lindner <marek@open-mesh.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35426
2013-02-01 15:50:37 +00:00
Gabor Juhos 492cbcdd6b 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>

SVN-Revision: 35425
2013-02-01 15:50:34 +00:00
Gabor Juhos 119dc460a3 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>

SVN-Revision: 35424
2013-02-01 15:50:32 +00:00
Gabor Juhos 5bd02ca895 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>

SVN-Revision: 35423
2013-02-01 15:50:29 +00:00
Gabor Juhos f7ff677169 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>

SVN-Revision: 35403
2013-01-29 22:50:57 +00:00
Gabor Juhos 2a5193308f 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>

SVN-Revision: 35402
2013-01-29 22:50:54 +00:00
Gabor Juhos 800da21cb1 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>

SVN-Revision: 35401
2013-01-29 22:50:50 +00:00
Gabor Juhos da9a704e92 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>

SVN-Revision: 35397
2013-01-29 19:12:34 +00:00
Gabor Juhos 5d4ddbce72 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>

SVN-Revision: 35396
2013-01-29 19:12:32 +00:00
Gabor Juhos 5ca187570f 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>

SVN-Revision: 35395
2013-01-29 19:12:30 +00:00
Gabor Juhos 8a9d92f125 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>

SVN-Revision: 35394
2013-01-29 19:12:28 +00:00
Gabor Juhos e9dbff1193 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>

SVN-Revision: 35393
2013-01-29 19:12:26 +00:00
Gabor Juhos df15e5cd61 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>

SVN-Revision: 35392
2013-01-29 19:12:25 +00:00
Gabor Juhos 562ba537fc kernel: update linux 3.7 to 3.7.5
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35390
2013-01-29 18:29:45 +00:00
Gabor Juhos 22ce389e6a 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>

SVN-Revision: 35365
2013-01-29 09:40:29 +00:00
Felix Fietkau ed7ca5d44e kernel: clean up crypto related kconfig options
SVN-Revision: 35327
2013-01-27 17:23:12 +00:00
Felix Fietkau 8a1091ad53 ar71xx: disable support for unsupported mtd configuration, saves about 5K kernel size after lzma
SVN-Revision: 35326
2013-01-27 16:38:27 +00:00
Felix Fietkau 8933b918cd 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

SVN-Revision: 35320
2013-01-26 16:26:13 +00:00
Gabor Juhos 15be1c9ee7 kernel: update linux 3.7 to 3.7.4
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35318
2013-01-24 17:08:37 +00:00
Felix Fietkau 8ce8960959 ar71xx: sync kernel sizes where possible to fix images for some devices (#12874)
SVN-Revision: 35309
2013-01-23 16:29:25 +00:00
Jo-Philipp Wich 3a2cccda2e all targets: use numerically prefixed uci-defaults file names to better control order of execution
SVN-Revision: 35217
2013-01-18 12:42:53 +00:00
Gabor Juhos 0de21d9747 kernel: update linux 3.7 to 3.7.3
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35216
2013-01-18 11:44:42 +00:00
Felix Fietkau 1474359bd3 ar71xx: fix unaligned access in cls_u32
SVN-Revision: 35132
2013-01-13 16:48:23 +00:00
Felix Fietkau e67b6ee395 ar71xx: fix unaligned access in a few more places
SVN-Revision: 35130
2013-01-13 15:37:58 +00:00
Felix Fietkau b5bcbdfbb5 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
SVN-Revision: 35129
2013-01-13 14:54:39 +00:00
Felix Fietkau 53e0ba49b9 ar71xx: avoid __packed define in the unaligned access hack patch, make the ipv6 address struct also 2-byte-aligned/packed
SVN-Revision: 35127
2013-01-13 13:06:09 +00:00
Felix Fietkau 764520975c ar71xx: add more cpu feature overrides, slightly reduces kernel size
SVN-Revision: 35125
2013-01-13 11:33:48 +00:00
Felix Fietkau 310724c14d ar71xx: extend the unaligned access hacks to a few more places that showed up in the new kernel
SVN-Revision: 35124
2013-01-13 11:33:44 +00:00
Gabor Juhos eb2188c0e2 ar71xx: remove 3.6 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35114
2013-01-12 12:25:38 +00:00
Gabor Juhos fe86bc9370 ar71xx: switch to 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35113
2013-01-12 12:25:36 +00:00
Gabor Juhos ba4de984b9 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>

SVN-Revision: 35037
2013-01-07 14:30:37 +00:00
Gabor Juhos 251e4608b0 ar71xx: add missing Makefile entry to the 74HC153 GPIO patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35035
2013-01-07 14:14:41 +00:00
Gabor Juhos e1965a1d1a ar71xx: register the NAND flash controller device on the AP135/136 boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34946
2013-01-01 13:10:41 +00:00
Gabor Juhos 66efec6783 ar71xx: allow to register the NAND flash controller on the QCA955x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34945
2013-01-01 13:10:36 +00:00
Gabor Juhos 2c77e5d7b3 ar71xxx: allow to select ATH79_DEV_NFC for QCA955x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34944
2013-01-01 13:10:34 +00:00
Gabor Juhos d8446d65fe ar71xxx: allow to build the ar934x_nfc driver for QCA955x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34943
2013-01-01 13:10:29 +00:00
Gabor Juhos 93c322cacc ar71xx: fix NAND controller base for QCA955x SoCs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34942
2013-01-01 13:10:26 +00:00
Gabor Juhos b57cc9a538 ar71xx: fold AP135 patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34941
2013-01-01 13:10:22 +00:00
Gabor Juhos 87271e9f28 ar71xx: add support for 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34920
2012-12-29 16:02:31 +00:00
Gabor Juhos a3a6e0f039 ar71xx: Build the AP135 images
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34919
2012-12-29 16:02:28 +00:00
Gabor Juhos dddf05bde2 ar71xx: Add userspace support for AP135
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34918
2012-12-29 16:02:27 +00:00
Gabor Juhos 1a379c5112 ar71xx: Add support for AP135
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34917
2012-12-29 16:02:24 +00:00
Gabor Juhos c6580f64b8 ar71xx: use a backported patch to fix AR933x UART baud rate calculation
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34915
2012-12-29 13:52:38 +00:00
Felix Fietkau 348dc70c8c ar71xx: change the unaligned access hack to assume an alignment of 2 bytes, slightly improves performance and code size
SVN-Revision: 34912
2012-12-28 21:30:24 +00:00
Felix Fietkau 41a039f464 mips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel size after lzma and ~12k squashfs size in the default configuration
SVN-Revision: 34909
2012-12-28 19:17:19 +00:00
Gabor Juhos f5b1cba606 ar71xx: build image for the AP136-020
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34886
2012-12-26 09:50:37 +00:00
Gabor Juhos f3f05d86fe ar71xx: add user-space support for AP136-020
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34885
2012-12-26 09:50:36 +00:00
Gabor Juhos ed1889db33 ar71xx: add kernel support for the AP136-020 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34884
2012-12-26 09:50:34 +00:00
Gabor Juhos c887a7fe4e ar71xx: rename AP136 to AP136-010
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34883
2012-12-26 09:50:31 +00:00
Gabor Juhos f8b4dfd172 ar71xx: dynamically set AR8327's PAD configuration on AP136
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34882
2012-12-25 18:45:32 +00:00
Gabor Juhos 1dc2b6e8fa ar71xx: ag71xx: show PHY interface mode in dmesg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34880
2012-12-25 18:45:29 +00:00
Gabor Juhos 64d31e6c6b 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>

SVN-Revision: 34854
2012-12-22 12:12:50 +00:00
Gabor Juhos 5dec87afef ar71xx: fix ethernet device registration for QCA9558
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34853
2012-12-22 12:12:48 +00:00
Gabor Juhos 84a7051cef ar71xx: rename QCA9558 ETH_CFG bit defines
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34852
2012-12-22 12:12:46 +00:00
Gabor Juhos 4085a5773d ar71xx: fixup allowed PHY interface types for QCA9558
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34851
2012-12-22 12:12:44 +00:00
Gabor Juhos f01a786825 ar71xx: don't assign any MII bus device on QCA9558 by default
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34850
2012-12-22 12:12:43 +00:00
Gabor Juhos 9edcd9d3a3 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>

SVN-Revision: 34849
2012-12-22 12:12:41 +00:00
Gabor Juhos ad0f03d250 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>

SVN-Revision: 34848
2012-12-22 12:12:40 +00:00
Gabor Juhos a0b31f97bb generic: ar8216: rename cpuport_cfg to port0_cfg in ar8327_platform_data
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34846
2012-12-22 12:12:35 +00:00
Gabor Juhos e108cb91c0 ar71xx: rename fix-ar933x-reset patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34798
2012-12-20 14:13:16 +00:00
Mirko Vogt e34a4e0c7b Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
SVN-Revision: 34793
2012-12-19 16:07:50 +00:00
Gabor Juhos 5f82aa4d15 ar71xx: merge machine patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34783
2012-12-19 08:50:45 +00:00
Gabor Juhos cf99770800 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>

SVN-Revision: 34782
2012-12-19 08:50:44 +00:00
Gabor Juhos b1b7aa674e 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>

SVN-Revision: 34780
2012-12-19 08:50:41 +00:00
Gabor Juhos 0767605d17 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>

SVN-Revision: 34779
2012-12-19 08:50:35 +00:00
Gabor Juhos 149534f3ed ar71xx: image: add OpenMesh profile
It allows to build firmware images for all OpenMesh
products in one step.

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

SVN-Revision: 34761
2012-12-18 15:16:05 +00:00
Gabor Juhos 44b9898251 kernel: update linux 3.6 to 3.6.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34748
2012-12-18 14:41:16 +00:00
Gabor Juhos fc0da6852e ar71xx: nuke 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34743
2012-12-17 22:28:09 +00:00
Gabor Juhos 61d715505c ar71xx: add profile and build image for UniFi AP Pro
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34730
2012-12-17 12:28:21 +00:00
Gabor Juhos abbd18776e ar71xx: add user-space support for UniFi AP Pro
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34728
2012-12-17 12:28:11 +00:00
Gabor Juhos ff3f28265f ar71xx: add kernel support for the UniFi AP Pro
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34727
2012-12-17 12:28:02 +00:00
Gabor Juhos 2e2c88b625 ar71xx: reorder some patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34674
2012-12-14 07:16:56 +00:00
Gabor Juhos 34411a0cbd ar71xx: merge unifi outdoor patch into the ubnt-xm one
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34673
2012-12-14 07:16:50 +00:00
Gabor Juhos d085aad288 ar71xx: add profile and build initramfs image for the WNDR4300
It is not yet possible to use the default squasfsh/jffs2 images
on NAND flashes, so only initramfs image is supported for now.

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

SVN-Revision: 34650
2012-12-12 16:49:52 +00:00
Gabor Juhos dcdfcb75f0 ar71xx: add user-space support for the NETGEAR WNDR4300
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34649
2012-12-12 16:49:51 +00:00
Gabor Juhos bc82db7d78 ar71xx: add kernel support for the NETGEAR WNDR4300
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34647
2012-12-12 16:49:49 +00:00
Gabor Juhos 75b71f4a74 ar71xx: add ap91_pci_init_simple helper
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34646
2012-12-12 16:49:48 +00:00
Gabor Juhos d7cebac243 ar71xx: add ath79_wmac_register_simple helper
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34645
2012-12-12 16:49:47 +00:00
Gabor Juhos ec26814b0e ar71xx: refresh 3.3 patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34644
2012-12-12 16:49:46 +00:00
Gabor Juhos cdfc300948 ar71xx: remove superfluous USB patches for 3.3
SVN-Revision: 34643
2012-12-12 16:49:43 +00:00
Gabor Juhos 2b378d11c8 kernel: update linux 3.6 to 3.6.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34639
2012-12-11 20:14:39 +00:00
Gabor Juhos 3cbc1a49e2 ar71xx: load ar934x_nfc driver earlier
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34589
2012-12-10 10:38:11 +00:00
Gabor Juhos 1f7ae58a2c ar71xx: ar934x_nfc: allow to control DMA data swap via platform data
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34588
2012-12-10 10:38:07 +00:00
Gabor Juhos 2581173660 kernel: update linux 3.6 to 3.6.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34578
2012-12-08 15:01:33 +00:00
Gabor Juhos 47f9b2a110 ar71xx: TP-LINK also has a family TL-WDR
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34577
2012-12-07 19:10:57 +00:00
Gabor Juhos d7ba2b4840 ar71xx: add profile and build image for TP-LINK TL-WA801N/ND
Patch-by: Amir Sagie <openwrt-devel@taproot.org.il>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34576
2012-12-07 19:10:56 +00:00
Gabor Juhos 4f5defdc3b ar71xx: switch to 3.6.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34414
2012-11-29 17:53:42 +00:00
Gabor Juhos c2f018fca2 remove common symbols from 3.6 configs
The removed symbols are present in the generic configuration.

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

SVN-Revision: 34404
2012-11-29 15:21:41 +00:00
Gabor Juhos 1f516235ea remove common symbols from 3.3 configs
The removed symbols are present in the generic configuration.

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

SVN-Revision: 34403
2012-11-29 15:21:35 +00:00
Gabor Juhos 3a4d0ebd5c kernel: update linux 3.6 to 3.6.8
Also refresh the affected patches.

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

SVN-Revision: 34402
2012-11-29 07:42:19 +00:00
Gabor Juhos b0b994cf76 ar71xx: set pad6 cfg for AR8327 on the AP136 board
Also override the pll_1000 value. Without these settings
ethernet suffers from packet loss.

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

SVN-Revision: 34316
2012-11-23 20:55:34 +00:00
Gabor Juhos 188908e885 ar71xx: make rb750_nand driver compatible with 3.7
Also add compatibility patches for the currently
supported kernels.

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

SVN-Revision: 34279
2012-11-20 16:29:43 +00:00
Gabor Juhos 8194237789 ar71xx: make ar934x_nfc driver compatible with 3.7
Also add compatibility patches for the currently
supported kernels.

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

SVN-Revision: 34278
2012-11-20 16:29:42 +00:00
Gabor Juhos 4468fd7ae4 ar71xx: refresh rb4xx_nand patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34277
2012-11-20 15:53:17 +00:00
Gabor Juhos 46a3b818b9 ar71xx: remove buffer verification reference from rb4xx_nand.c
It is a dead code.

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

SVN-Revision: 34276
2012-11-20 14:40:22 +00:00
Gabor Juhos 674b91ce0e ar71xx: fix GPIO function selection for AR934x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34275
2012-11-20 14:27:17 +00:00
Gabor Juhos d833ca527d ar71xx: restore rb4xx kernel partition size to the original value
The new lzma compressed elf kernel image fits into
that, even on devices with large page NAND chips.

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

SVN-Revision: 34274
2012-11-20 12:17:45 +00:00
Gabor Juhos 33a99ce46b ar71xx: install lzma compressed elf kernel image from wget2nand
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34273
2012-11-20 12:17:44 +00:00
Gabor Juhos 68b5aa2fdf ar71xx/image: provide lzma compressed elf kernel image
This will be used on the RB4xx/RB7xx/RB2011 boards.

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

SVN-Revision: 34272
2012-11-20 12:17:43 +00:00
Gabor Juhos 97867f8717 ar71xx/image: relink loader.elf image to LOADADDR
This allows to load the resulting image directly
from RouterBOOT.

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

SVN-Revision: 34271
2012-11-20 12:17:41 +00:00
Gabor Juhos 8e4cefc7f8 refresh all kernel configurations
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34267
2012-11-20 07:19:06 +00:00
Gabor Juhos d577d69838 ar71xx: use custom LZMA dictionary size for WNDR3700 images
Based on a patch by Hannu Nyman.

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

SVN-Revision: 34248
2012-11-18 20:25:13 +00:00
Gabor Juhos 169e596268 ar71xx: add user-space support for the RB435G board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34240
2012-11-18 10:18:02 +00:00
Gabor Juhos d44d954dec ar71xx: add kernel support for the RB435G board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34239
2012-11-18 10:18:01 +00:00
Gabor Juhos d62bddc620 ar71xx: update PCI IRQ map for RB4xx devices
Should fix #12269.

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

SVN-Revision: 34238
2012-11-18 09:51:04 +00:00
Gabor Juhos 31881357af ar71xx: create profile and build image for the OpenMesh MR600 board
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34237
2012-11-18 09:32:41 +00:00
Gabor Juhos 9da2c85b67 ar71xx: enable sysupgrade for the OpenMesh MR600
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34235
2012-11-18 09:32:39 +00:00
Gabor Juhos 6380301d01 ar71xx: rename om2p.sh upgrade script to openmesh.sh
It will be used on other boards as well.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34234
2012-11-18 09:32:37 +00:00
Gabor Juhos d325e622d2 scripts/om-fwupgradecfg-gen.sh: add support for the MR600
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34233
2012-11-18 09:32:36 +00:00
Gabor Juhos c3174179b7 ar71xx: add user-space support for the OpenMesh MR600 board
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34232
2012-11-18 09:32:35 +00:00
Gabor Juhos 8d4857d677 ar71xx: add kernel support for the OpenMesh MR600 board
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34231
2012-11-18 09:32:33 +00:00
Gabor Juhos 7da001d068 scripts: rename om2p-fwupgradecfg-gen.sh to more generic om-fwupgradecfg-gen.sh
It will be used for non OM2P boards as well.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34200
2012-11-14 14:18:33 +00:00
Gabor Juhos ee94ed4597 ar71xx: add profile and build image for the Ubiquiti UniFi AP-Outdoor board
Signed-off-by: Daniel Dickinson <daniel@powercloudsystems.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34198
2012-11-13 20:57:19 +00:00
Gabor Juhos 9c5c079329 ar71xx: add user-space support for the Ubiquiti UniFi AP-Outdoor board
Signed-off-by: Daniel Dickinson <daniel@powercloudsystems.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34197
2012-11-13 20:57:18 +00:00
Gabor Juhos 75c1d3ccc2 ar71xx: add support for the Ubiquiti UniFi AP-Outdoor device
[juhosg:
  - rename and refresh 660-MIPS-ath79-ubnt-xm-add-unifi-outdoor patches
  - wrap long lines in mach-ubnt-xm
  - remove default network config, set it from uci-defaults/network
    instead
  - remove user-space, and image generation stuff]

Signed-off-by: Daniel Dickinson <daniel@powercloudsystems.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34196
2012-11-13 20:57:17 +00:00
Gabor Juhos 7ab0e1566f ar71xx: add profiles and build images for old PowerCloud System devices
[juhosg:
  - use 'PowerCloud Systems' instead of 'PCS' in the profiles
  - sort SingleProfile instances in image/Makefile]

Signed-off-by: Daniel Dickinson <daniel@powercloudsystems.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34195
2012-11-13 20:57:15 +00:00
Gabor Juhos 62c8ff19ad ar71xx: add profile and build image for the TL-WA7510N board
[juhosg: separated from the http://patchwork.openwrt.org/patch/2820/ patch]

Signed-off-by: Stefan Helmert <helst_listen@aol.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34190
2012-11-13 14:48:03 +00:00
Gabor Juhos 165b7d2173 ar71xx: user space support for the TL-WA7510N
[juhosg: separated from the http://patchwork.openwrt.org/patch/2820/ patch]

Signed-off-by: Stefan Helmert <helst_listen@aol.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34188
2012-11-13 14:48:01 +00:00
Gabor Juhos 91bab828aa ar71xx: add support for TP-Link TL-WA7510N
It is mostly the same as TL-WA901N. WLAN and LAN
are working. LAN LED is working. WLAN signal
strength LEDs are not working yet.

http://wiki.openwrt.org/toh/tp-link/tl-wa7510n?s[]=wa7510n

[juhosg:
  - cleanup commit message
  - move non kernel related stuff into separate changes
  - rename and refresh 615-MIPS-ath79-TL-WA7510N-v1-support patch
  - merge WA7510N support into the mach-tl-wa901nd.c file
  - add 3.6 support]

Signed-off-by: Stefan Helmert <helst_listen@aol.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34187
2012-11-13 14:48:00 +00:00
Gabor Juhos ce9d4fadfa ar71xx: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34186
2012-11-13 14:47:58 +00:00
Gabor Juhos e92da5e7ae ar71xx: nuke ath79_set_usb_power_gpio helper
It is no longer used.

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

SVN-Revision: 34088
2012-11-05 13:23:28 +00:00
Gabor Juhos f2528b1792 ar71xx: use gpio_request_one instead of ath79_set_usb_power_gpio
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34087
2012-11-05 13:23:27 +00:00
Gabor Juhos ed35253f4c ar71xx: don't use the unknown LED on the ZCN-1523-5 board
According to #12421, GPIO 1 controls the power
output on the unused lines of the LAN2 port.
Remove the LED definition in order to prevent
possible permanent hardware damage.

If someone needs that, the power-out feature can
be controlled via the GPIO sysfs interface.

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

SVN-Revision: 34076
2012-11-04 22:08:54 +00:00
Gabor Juhos 1b744e1ca5 ar71xx: include mtd layout in the command line for ZCN-1523H-* boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34074
2012-11-04 21:12:20 +00:00
Gabor Juhos b78a736dc2 ar71xx: add missing Makefile entry for the ZCN-1523H-{2,5} boards
Also add the missing ATH79_MACH_ZCN_1523H_5 symbol.

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

SVN-Revision: 34072
2012-11-04 20:15:18 +00:00
Gabor Juhos 7228a91a3b ar71xx: fix link speed between AR7242 and AR8327 on the RB750GL/RB751G boards
The default pll_1000 value had to be changed
in order to make it working.

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

SVN-Revision: 33993
2012-10-29 17:24:30 +00:00
Gabor Juhos e4db63fd64 ar71xx: add initial support for 3.6
The nand subtarget is not working yet.

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

SVN-Revision: 33983
2012-10-28 19:52:02 +00:00
Gabor Juhos a6549ac1cb ar71xx: remove NO_AUTOINCR flag from the NAND drivers
The flag is not present in 3.6.
Also add compatibility patches for 3.3.

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

SVN-Revision: 33971
2012-10-28 12:21:15 +00:00
Gabor Juhos e2ec99889e ar71xx: ag71xx: fix build_skb arguments for 3.6
Also add a compatibility patch for 3.3

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

SVN-Revision: 33969
2012-10-27 17:11:06 +00:00
Gabor Juhos 3a86affcdd ar71xx: enable sysupgrade for the CAP4200AG board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33960
2012-10-27 08:55:42 +00:00
Gabor Juhos e99d557c08 ar71xx: add profile and build image for the CAP4200AG
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33958
2012-10-27 08:55:40 +00:00
Gabor Juhos 9287e0c863 ar71xx: add user-space part for the CAP4200AG
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33957
2012-10-27 08:55:39 +00:00
Gabor Juhos d54c9653e9 ar71xx: add support for the Senao CAP4200AG board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33956
2012-10-27 08:55:38 +00:00
Gabor Juhos 3b7cb4eb4a ar71xx: add ath79_wmac_disable_[25]ghz helpers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33955
2012-10-27 08:55:37 +00:00
Gabor Juhos 269872fe1e ar71xx: use mtd_read in wrt160nl_part
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33951
2012-10-27 07:57:58 +00:00
Gabor Juhos 973eda6077 ar71xx: use mtd_read in tplinkpart
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33950
2012-10-27 07:57:57 +00:00
Gabor Juhos 28f3adc2ed ar71xx: generate 4,8,16M images for the WPE72
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33949
2012-10-27 07:57:55 +00:00
Gabor Juhos ff481a5518 ar71xx: reject TP-Link images containing a bootloader
The original TP-Link firmware images can be flashed via
the sysupgrade command, however those may contain a
bootloader. Flashing such an image via sysupgrade
bricks the board, and it can't be recovered without
a serial console.

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

SVN-Revision: 33944
2012-10-26 18:58:13 +00:00
Gabor Juhos f1f388d527 ar71xx: rw2458n - fix flash parts
See #12338. Redwave rw2458 has uboot, not redboot.

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

SVN-Revision: 33867
2012-10-19 18:32:49 +00:00
Gabor Juhos 7a72f01a72 ar71xx: merge machine support patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33820
2012-10-17 18:27:50 +00:00
Gabor Juhos 2e1bc1e15b ar71xx: also use the ath79_set_ar934x_eth_cfg helper for DB120
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33819
2012-10-17 18:27:48 +00:00
Gabor Juhos 31387947c8 ar71xx: use the ath79_set_ar934x_eth_cfg helper in machine setup routines
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33818
2012-10-17 18:27:47 +00:00
Gabor Juhos 5ffc08e3dc ar71xx: add a helper function for setting up ETH_CFG register on AR934x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33817
2012-10-17 18:27:45 +00:00
Gabor Juhos 35a91a4fe8 ar71xx: OM2P-HS sysupgrade support
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33803
2012-10-17 08:26:05 +00:00
Gabor Juhos c5a32cfc92 ar71xx: add support for the OpenMesh OM2P-HS board
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33800
2012-10-17 08:26:01 +00:00
Gabor Juhos f1283d8583 ar71xx: fix sysupgrade for jjPlus JWAP003
[juhosg: change commit message]

Signed-off-by: Artur Wronowski <arteqw@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33769
2012-10-14 16:24:26 +00:00
Gabor Juhos 1944f7b916 ar71xx: ew-dorin: added ethernet switch configuration
Signed-off-by: embedded wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33768
2012-10-14 16:24:25 +00:00
Gabor Juhos 62ab2b0da6 ar71xx: unbreak building images for OpenMesh OM2P/OM2P-LC
Commit r33248 introduced a regression by passing the board name plus
'board=' in the third argument. The board name string has to be put
into the image as identifier of the image type.

[juhosg: fix OpenMesh template instead of use of string substitution]

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33767
2012-10-14 16:24:22 +00:00
Gabor Juhos befb648642 ar71xx: build image for the TL-WR841N/ND v8
SVN-Revision: 33623
2012-10-04 20:16:06 +00:00
Gabor Juhos 02a85dfd85 ar71xx: user-space support for TL-WR841N/ND v8
SVN-Revision: 33622
2012-10-04 20:16:05 +00:00
Gabor Juhos 196c6c5b45 ar71xx: add support for the TL-WR841N/ND v8 board
SVN-Revision: 33621
2012-10-04 20:16:03 +00:00
Gabor Juhos 170cd7a19a ar71xx: avoid possible NULL pointer dereference in ath79_init_{,local}_mac
SVN-Revision: 33575
2012-09-27 20:05:42 +00:00
Gabor Juhos ffc0ea6c5d ar71xx: create 'fat' images for the DIR-825/TEW-673GRU boards
With these images, it is possible to use the 'unused'
partition of the flash. The 'fat' images can be installed
with the sysupgrade command. When a 'fat' image is
installed from a regular one, the platform specific
sysupgrade script copies the calibration data to the
end of the flash. Likewise, when a regular image is
installed  from the 'fat' version the sysupgrade script
copies the calibration data back to the original location.

SVN-Revision: 33540
2012-09-25 12:57:41 +00:00
Gabor Juhos e7b1949d87 ar71xx: automatically find WLAN calibration data on TEW-673GRU
SVN-Revision: 33539
2012-09-25 12:57:40 +00:00
Gabor Juhos 8ed8e51e74 ar71xx: automatically find WLAN calibration data on DIR-825-B1
SVN-Revision: 33538
2012-09-25 12:57:38 +00:00
Gabor Juhos e2504a977a ar71xx: add missing backslash to uci-defaults/leds (closes #12240)
SVN-Revision: 33537
2012-09-25 12:49:43 +00:00
Gabor Juhos e70ad61e44 ar71xx: use different machtype and setup for the TL-MR3040
Should fix #12211. Compile tested only.

SVN-Revision: 33535
2012-09-24 18:45:56 +00:00
Gabor Juhos 79ffd1032a ar71xx: fix a typo in TEW-637GRU image names
SVN-Revision: 33460
2012-09-18 14:32:25 +00:00
Gabor Juhos 9a11f882d7 ar71xx: revert DIR-825-B1 wholeflash image support.
It should be implemmented in a cleaner way.

This reverts the following commits:
[ar71xx] dir-825-b1: Fix wholeflash images
[ar71xx] dir825b1: Add image for DIR-825-B1 that uses the whole flash"

SVN-Revision: 33459
2012-09-18 14:30:57 +00:00
Gabor Juhos a7c5c4390a ar71xx: register the NAND flash controller device on DB120
SVN-Revision: 33455
2012-09-17 20:30:57 +00:00
Gabor Juhos 7c85646176 ar71xx: ar934x_nfc: remove unused oob parameter of ar934x_nfc_send_read
SVN-Revision: 33454
2012-09-17 20:30:55 +00:00
Gabor Juhos 3bdf0bc36f ar71xx: ar934x_nfc: increase DMA retry count
SVN-Revision: 33453
2012-09-17 20:30:54 +00:00
Gabor Juhos b7cb43f6a6 ar71xx: ar934x_nfc: optimize READOOB operation on large page devices
SVN-Revision: 33452
2012-09-17 20:30:53 +00:00
Gabor Juhos 96dde2e591 ar71xx: ar934x_nfc: fix RNDOUT operation
SVN-Revision: 33451
2012-09-17 20:30:51 +00:00
Gabor Juhos 338b698fb6 ar71xx: ar934x_nfc: fix READ{0,1} operation on large page devices
SVN-Revision: 33450
2012-09-17 20:30:50 +00:00
Daniel Dickinson 0f254b4b67 dir-825-b1: Fix wholeflash images: Attempting to flash a wholeflash (-openwrt) image from the normal image would brick (but recoverable via emergency flash) the router if the wholeflash image was larger than the maximum size for a normal image. First we rename the -openwrt images to -wholeflash since -openwrt is really too generic. We also revert the changes to the regular dir-825-b1 image, which now is the same as before, but add a -towholeflash image which is almost the same as the regular dir-825-b1 image, but copies caldata to new location and allows flashing of images that use the full flash (except u-boot, u-boot-env, and caldata paritition space) (these are the -wholeflash images).
SVN-Revision: 33447
2012-09-17 14:17:12 +00:00
Felix Fietkau e8893fdf7a ar71xx: add missing code for ar933x WMAC reset that was left out during the ar71xx->ath79 migration, should fix wifi stability issues on ar933x
SVN-Revision: 33446
2012-09-17 11:17:29 +00:00
Felix Fietkau ed14ffc7da ar71xx: fix WP543 image builds
SVN-Revision: 33413
2012-09-15 10:21:21 +00:00
Gabor Juhos 61dc6e65c0 ar71xx: merge machine support patches
SVN-Revision: 33389
2012-09-13 07:26:28 +00:00
Gabor Juhos 5804b9d1b7 ar71xx: register the NAND controller device on the RB2011
SVN-Revision: 33388
2012-09-13 07:26:26 +00:00
Gabor Juhos 4fd67c3cd4 ar71xx: add device registration code for the AR934x NAND flash controller
SVN-Revision: 33387
2012-09-13 07:26:25 +00:00
Gabor Juhos 10cd35c0e7 ar71xx: package the AR934x NAND driver module
SVN-Revision: 33386
2012-09-13 07:26:23 +00:00
Gabor Juhos 1e5fdbeae5 ar71xx: ar934x_nfc: experimental NAND Flash Controller driver for AR934x
SVN-Revision: 33385
2012-09-13 07:26:22 +00:00
Gabor Juhos 40a5f5c16e ar71xx: define NAND controller base address and register size for AR934X/QCA955x
SVN-Revision: 33382
2012-09-12 19:06:38 +00:00
Gabor Juhos 4ee5b528de ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on QCA955x
SVN-Revision: 33362
2012-09-10 14:38:01 +00:00
Gabor Juhos 2e0e38ad69 ar71xx: fix QCA955X_EHCI_SIZE
SVN-Revision: 33360
2012-09-10 14:32:54 +00:00
Jo-Philipp Wich caa66bd150 fix description of nand/Ath5k profile (#12149)
SVN-Revision: 33352
2012-09-09 21:40:26 +00:00
Gabor Juhos aa2f4d4c8d ar71xx: add initial support for RB2011UAS-2HnD
SVN-Revision: 33349
2012-09-09 14:05:32 +00:00
Gabor Juhos 3686e18727 ar71xx: use routerboot_find_tag to find wlan data offset on RB751
SVN-Revision: 33348
2012-09-09 14:05:30 +00:00
Gabor Juhos ccabe4a1b4 ar71xx: add RouterBoot related helper routines
SVN-Revision: 33347
2012-09-09 14:05:28 +00:00
Gabor Juhos 44bf7c7cc1 ar71xx: define MTD partitions for RB2011
SVN-Revision: 33345
2012-09-09 14:05:24 +00:00
Gabor Juhos 6ae5ec16e0 ar71xx: add preliminary support for Mikrotik RB2011L
This patch adds preliminary support for the Mikrotik RB2011L.
The NAND flash is not yet supported, so only the initramfs
kernel can be used for now.

[juhosg: remove unnecessary PCI/USB related stuff, the board
does not use that, update commit message]

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

SVN-Revision: 33344
2012-09-09 14:05:22 +00:00
Gabor Juhos 94bac7366c ar71xx: use dynamic clock dividers on the 2nd MDIO of AR934x
SVN-Revision: 33343
2012-09-09 14:05:20 +00:00
Gabor Juhos 7592057774 ar71xx: add dynamic MDIO clock calculation
SVN-Revision: 33342
2012-09-09 14:05:17 +00:00
Gabor Juhos 88a5478781 ar71xx: use the RLE library for RB751
SVN-Revision: 33338
2012-09-08 17:51:56 +00:00
Gabor Juhos 73df240bb3 ar71xx: add library code for RLE decoding
It will be used for the MikroTik boards.

SVN-Revision: 33337
2012-09-08 17:51:54 +00:00
Gabor Juhos f4be8a76de ar71xx: fix CPU/DDR frequency calculation for SRIF PLLs on AR934x
SVN-Revision: 33335
2012-09-08 13:39:09 +00:00
Gabor Juhos 70d00ac64e ar71xx: refresh kernel patches
SVN-Revision: 33334
2012-09-08 13:39:04 +00:00
Daniel Dickinson c3b7139ab2 dir825b1: Add image for DIR-825-B1 that uses the whole flash (must first be flashed with the 'standard' image) and an image to revert the change to allow reversion to stock firmware.
SVN-Revision: 33326
2012-09-06 18:15:26 +00:00
Gabor Juhos 069f544d2b ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on AR934x
SVN-Revision: 33318
2012-09-05 19:26:50 +00:00
Gabor Juhos 81bb246a8d ar71xx: add rssileds to package set in profile for devices which got them.
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33317
2012-09-05 19:22:51 +00:00
Gabor Juhos 11c3392b7f Revert "ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240"
That was based on assumptions.

SVN-Revision: 33310
2012-08-29 10:37:55 +00:00
Gabor Juhos eb9a97a360 ar71xx: all0315n: fix ethernet according to vendor info
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33309
2012-08-29 10:37:54 +00:00
Gabor Juhos 02cb5f9dcd ar71xx: add RSSI LEDs of ALL0315N to uci-defaults/leds
SVN-Revision: 33308
2012-08-29 10:37:53 +00:00
Gabor Juhos 0c5688cc38 ar71xx: image: fix Profile name for TL-WA701 (closes #12094)
SVN-Revision: 33295
2012-08-29 10:37:30 +00:00
Gabor Juhos 5fdbb33db4 ar71xx: Buffalo WZR-HP-AG300H LED support
An improved LED support for Buffalo WZR-HP-AG300H.

There will be two new packages to go with this patch
(ar922x-led-fix-hotplug and ar922x-led-fix-init).
These packages essentially perform the same task of
disabling "JTAG over GPIO pins" function which is
currently required for LEDs on AR922x emac GPIO to work,
and are both considered a temporary fix that circumvent
this problem.

[juhosg: add the hotplug script from the proposed
ar922x-led-fix-hotplug package to ar71xx/base-files]

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

SVN-Revision: 33294
2012-08-29 10:11:55 +00:00
Gabor Juhos f2030c3113 ar71xx: add profile for Allnet devices
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33287
2012-08-27 14:55:38 +00:00
Gabor Juhos d65c06c15c ar71xx: generate image for ALL0315N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33286
2012-08-27 14:55:37 +00:00
Gabor Juhos 4079f3163f ar71xx: sysupgrade for the ALL0315N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33285
2012-08-27 14:55:36 +00:00
Gabor Juhos abffa4ecfb ar71xx: rename all0258n.sh to allnet.sh
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33284
2012-08-27 14:55:35 +00:00
Gabor Juhos 1d96b0275c ar71xx: detect ALL0315N board
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33282
2012-08-27 14:55:32 +00:00
Gabor Juhos eebdd633e4 ar71xx: add support for the Allnet ALL0315N board
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33281
2012-08-27 14:55:31 +00:00
Gabor Juhos cca873e8e0 ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33280
2012-08-27 14:55:26 +00:00
Gabor Juhos 5a9c7fda3e ar71xx: unbreak building images for TL-WR1041N-v2, TL-WR2543N
Commit 48788063266ad99bdab03b53cbe7e1a564c2d9b3 (r33251) introduced a
regression with board= kernel command line parameter incorrectly
initialised.

The faulty builds propogated to the snapshots download area. This makes
the device unbootable and TP-Link users have to attach the serial to
recover.

Here is the q&d way i used to identify MIPS boards that didn't have a
corresponding entry in the image/Makefile:

for i in `find ../files/arch/mips/ath79/ -type f -exec cat {} \; \
	| sed -n '/MIPS_MACHINE/ { s/^[^"]*"\([^"]*\)".*$/\1/; p; }'`; do
		grep -q ,$i, Makefile || echo $i;
done > missing-boards.new

Reported-by: Casper on IRC
Signed-off-by: Paul Fertser <fercerpav@gmail.com>

SVN-Revision: 33274
2012-08-26 08:15:11 +00:00
Gabor Juhos f3d5edffdc ar71xx: image: fix TL-WR1043ND board id (#12079)
SVN-Revision: 33272
2012-08-26 06:30:37 +00:00
Gabor Juhos 773b33d7d2 ar71xx: image: group and sort {Single,Multi}Profiles
SVN-Revision: 33264
2012-08-23 13:17:47 +00:00
Gabor Juhos a5e0eb0d95 ar71xx: image: group and sort mtdlayout definitions
SVN-Revision: 33263
2012-08-23 13:14:35 +00:00
Gabor Juhos f0ad972aba ar71xx: image: use the MultiProfile helper for the Madwifi profile
SVN-Revision: 33262
2012-08-23 13:11:25 +00:00
Gabor Juhos 333f030b79 ar71xx: image: automatically build a list of SingleProfiles
Use that for Default/Minimal profiles.

SVN-Revision: 33261
2012-08-23 13:08:15 +00:00
Gabor Juhos 5dce77837f ar71xx: image: use the new helpers for the ZyXEL images
SVN-Revision: 33260
2012-08-23 13:05:05 +00:00
Gabor Juhos be4be2d82a ar71xx: image: use the new helpers for the Zcomax images
SVN-Revision: 33259
2012-08-23 13:01:55 +00:00
Gabor Juhos 74bdb68ea4 ar71xx: image: use the new helpers for the WRT400 images
SVN-Revision: 33258
2012-08-23 12:58:45 +00:00
Gabor Juhos 8cf9a7b1c7 ar71xx: image: use the new helpers for the WZRHPG30XNH images
SVN-Revision: 33257
2012-08-23 12:55:35 +00:00
Gabor Juhos c965d8ead8 ar71xx: image: use the new helpers for the WHRHPG300N images
SVN-Revision: 33256
2012-08-23 12:52:25 +00:00
Gabor Juhos 71af43a7c7 ar71xx: image: use the new helpers for the UBNTXM images
SVN-Revision: 33255
2012-08-23 12:49:15 +00:00
Gabor Juhos 097e9938b4 ar71xx: image: use the new helpers for the UBNT images
SVN-Revision: 33254
2012-08-23 12:46:06 +00:00
Gabor Juhos 216e9b7a92 ar71xx: image: use the new helpers for the TPLINKOLD images
SVN-Revision: 33253
2012-08-23 12:42:56 +00:00
Gabor Juhos 48d6081fa5 ar71xx: image: use the new helpers for the TPLINK-LZMA images
SVN-Revision: 33252
2012-08-23 12:39:46 +00:00
Gabor Juhos 8546e00157 ar71xx: image: use the new helpers for the TPLINK images
SVN-Revision: 33251
2012-08-23 12:36:35 +00:00
Gabor Juhos 27feea1070 ar71xx: image: use the new helpers for the Planex images
SVN-Revision: 33250
2012-08-23 12:33:25 +00:00
Gabor Juhos 4dbabe5c21 ar71xx: image: use the new helpers for the PB4X images
SVN-Revision: 33249
2012-08-23 12:30:15 +00:00
Gabor Juhos bbaa0b9200 ar71xx: image: use the new helpers for the OpenMesh images
SVN-Revision: 33248
2012-08-23 12:27:06 +00:00
Gabor Juhos 4edc55f475 ar71xx: image: use the new helpers for the Netgear images
SVN-Revision: 33247
2012-08-23 12:23:56 +00:00
Gabor Juhos d9f933b8b8 ar71xx: image: use the new helpers for the MyLoader images
SVN-Revision: 33246
2012-08-23 12:20:46 +00:00
Gabor Juhos a409d0cf46 ar71xx: image: use the new helpers for the DIR825B1 images
SVN-Revision: 33245
2012-08-23 12:17:36 +00:00
Gabor Juhos b7e05e3a59 ar71xx: image: use the new helpers for the CyberTAN images
SVN-Revision: 33244
2012-08-23 12:14:26 +00:00
Gabor Juhos 292f074ad7 ar71xx: image: use the new helpers for the Cameo933x images
SVN-Revision: 33243
2012-08-23 12:11:17 +00:00
Gabor Juhos 4c9a428614 ar71xx: image: use the new helpers for the Cameo913x images
SVN-Revision: 33242
2012-08-23 12:08:07 +00:00
Gabor Juhos 19d840980f ar71xx: image: use the new helpers for the Cameo7240 images
SVN-Revision: 33241
2012-08-23 12:04:57 +00:00