Commit graph

2320 commits

Author SHA1 Message Date
Gabor Juhos
0a813e9e3c ar71xx: use netgear prefix for WNDAP360 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38102
2013-09-21 15:55:55 +00:00
Gabor Juhos
d0fe16cedf ar71xx: use netgear prefix for WNR612 v2 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38101
2013-09-21 15:55:54 +00:00
Gabor Juhos
ae7d14f701 ar71xx: use netgear prefix for WNR2200 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38100
2013-09-21 15:55:52 +00:00
Gabor Juhos
87f7ac6b4e ar71xx: use netgear prefix for WNR2000 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38099
2013-09-21 15:55:51 +00:00
Gabor Juhos
e33ccdc295 ar71xx: use netgear prefix for WNDR3700 LED names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38098
2013-09-21 15:55:50 +00:00
Gabor Juhos
d381cd170d ar71xx: add an uci-defaults script for LED configuration migration
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38097
2013-09-21 15:55:49 +00:00
Gabor Juhos
10ed605a89 ar71xx: let HW switch control WAN LED on dir-825-c1
Enable GPIO 20. This hands off control of the blue planet led to the
integrated switch. Consequently, remove the led configuration for the
blue planet led.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Patchwork: http://patchwork.openwrt.org/patch/4080/
[juhosg: whitespace fixup]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38096
2013-09-21 14:56:24 +00:00
Gabor Juhos
20c8252a8f ar71xx: image: override mkcameofw status
This allows to build images for other boards, even if
the image is too big for Cameo devices.

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

SVN-Revision: 38095
2013-09-21 14:56:22 +00:00
Gabor Juhos
50f4732438 ar71xx: fix LAN LEDs for dir-825-c1
This patches fixes the lan led configuration. The new configuration is
identical to the one in mach-db120.c and it works. The previous one
didn't work at all.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38094
2013-09-21 12:04:45 +00:00
Gabor Juhos
fe19f5a718 ar71xx: set proper wan mac during initial configuration on dir-825-c1
The goal is to set the WAN MAC address to the one on the
sticker on the bottom of the unit. Currently it is not
used at all. But some users expect the WAN interface to
have the MAC address that is written on the sticker.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38091
2013-09-20 16:59:44 +00:00
Gabor Juhos
1dd33c4d6c ar71xx: tew-712br: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.

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

SVN-Revision: 38090
2013-09-20 16:41:36 +00:00
Gabor Juhos
cb18e38996 ar71xx: tew-673gru: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.

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

SVN-Revision: 38089
2013-09-20 16:41:34 +00:00
Gabor Juhos
a98df83f5f ar71xx: dir-825-c1: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.

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

SVN-Revision: 38088
2013-09-20 16:41:33 +00:00
Gabor Juhos
710314990a ar71xx: dir-825-b1: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.

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

SVN-Revision: 38087
2013-09-20 16:41:32 +00:00
Gabor Juhos
2a777a272c ar71xx: dir-505-a1: use ath79_parse_ascii_mac helper
Remove the local MAC address parser function and use
the generic one instead.

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

SVN-Revision: 38086
2013-09-20 16:41:31 +00:00
Gabor Juhos
e312a917d3 ar71xx: rename ath79_parse_mac_addr to ath79_parse_ascii_mac
Rename the function and extend it in order to make it
usable from board setup code.

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

SVN-Revision: 38085
2013-09-20 16:41:30 +00:00
Gabor Juhos
cf5891fb39 ar71xx: fix Cameo934x initramfs image generation
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38084
2013-09-20 16:41:28 +00:00
Gabor Juhos
cd9ff05845 ar71xx: add profile and build image for the WD My Net N600 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38076
2013-09-19 22:36:43 +00:00
Gabor Juhos
37968b3be1 ar71xx: add sysupgrade support for the WD My Net N600 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38075
2013-09-19 22:36:42 +00:00
Gabor Juhos
7f9d2292fa ar71xx: add user-space support for the WD My Net N600 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38074
2013-09-19 22:36:41 +00:00
Gabor Juhos
9a2e94476a ar71xx: add kernel support for the WD My Net N600 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38072
2013-09-19 22:36:39 +00:00
Gabor Juhos
9200807877 ar71xx: wndr4300: enable HW ECC mode for the NAND controller
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38071
2013-09-19 18:43:43 +00:00
Gabor Juhos
83915a8d78 ar71xx: add ath79_nfc_set_ecc_mode helper
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38070
2013-09-19 18:43:42 +00:00
Gabor Juhos
d6fef0cb39 ar71xx: ar934x_nfc: add experimental support for hardware ECC
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38069
2013-09-19 18:43:41 +00:00
Gabor Juhos
ceecdfb1c9 ar71xx: ar934x_nfc: return error code from some low-level functions
Change some flow-level unctions to return with an
error code in order to be able to report errors
to the core code.

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

SVN-Revision: 38068
2013-09-19 18:43:40 +00:00
Gabor Juhos
df8485c7cb ar71xx: ar934x_nfc: use devm_* functions
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38067
2013-09-19 18:43:38 +00:00
Gabor Juhos
54c0e72f9d ar71xx: add profile and build image for the TL-MR13U board
Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4063/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38066
2013-09-19 17:52:45 +00:00
Gabor Juhos
5e3c7d14ec ar71xx: add user-space support for the TL-MR13U board
Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4063/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38064
2013-09-19 17:52:42 +00:00
Gabor Juhos
e3e31835ae ar71xx: add kernel support for TP-Link TL-MR13U
This patch adds support for TP-Link TL-MR13U router with built-in 10AH
rechargeable battery.

The patch is based on kamwanlai's patch:
https://forum.openwrt.org/viewtopic.php?pid=206746#p206746

Updated to accommodate recent changes introduced with:
ar71xx: remove fs_* variables from image/Makefile

Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4063/
[juhosg:
  - refresh and rename rename 930-add-tl-mr13u-support.patch =>
    625-MIPS-ath79-add-tl-mr13u-support.patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38063
2013-09-19 17:52:41 +00:00
Gabor Juhos
5e23012c77 ar71xx: wnr2200: fix a typo in a LED name
Reported-by: Roman A. aka BasicXP <x12ozmouse@ya.ru>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38062
2013-09-19 17:52:40 +00:00
Gabor Juhos
fe781581df ar71xx: add profile and build image for the WNR2200 board
Signed-off-by: Aidan Kissane <aidankissane@googlemail.com>
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4055/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38061
2013-09-19 16:56:51 +00:00
Gabor Juhos
3d4b042c4b ar71xx: add user-space support for the WNR2200 board
Signed-off-by: Aidan Kissane <aidankissane@googlemail.com>
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4055/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38060
2013-09-19 16:56:50 +00:00
Gabor Juhos
49ed06e36f ar71xx: add kernel support for Netgear WNR2200 wireless router
This patch adds OpenWRT support for the Netgear WNR2200 (N300)
wireless router with USB.

Technical details of this router can be found at
http://www.netgear.com/home/products/wirelessrouters/work-and-play/WNR2200.aspx
and http://wikidevi.com/wiki/Netgear_WNR2200

Signed-off-by: Aidan Kissane <aidankissane@googlemail.com>
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4055/
[juhosg:
  - add commit message and SoB line from the original patch
  - remove dead code from mach-wnr2200.c
  - refresh 624-MIPS-ath79-WNR2200-support.patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38059
2013-09-19 16:56:48 +00:00
Gabor Juhos
a0d6cd4f49 kernel/3.10: add new Kconfig option for firmware partition split
Add a new kernel config option for generic firmware partition
split support and change the uImage split support to depend on
the new option. Aslo rename the MTD_UIMAGE_SPLIT_NAME option to
MTD_SPLIT_FIRMWARE_NAME to make it more generic.

The patch is in preparation for multiple firmware format
support.

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

SVN-Revision: 38002
2013-09-15 17:03:29 +00:00
Gabor Juhos
554772a665 kernel: update 3.10 to 3.10.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38000
2013-09-15 16:00:41 +00:00
Gabor Juhos
0aa1f0be43 ar71xx: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37976
2013-09-13 17:29:16 +00:00
Gabor Juhos
9754aca374 ar71xx: add support for TL-MR3040 v2
This patch adds support for building firmware images for the
TP-Link TL-MR3040 v2. Tested and working on v2.1 hardware.

Signed-off-by: Mads Hansen <d@taba.se>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37964
2013-09-13 15:28:50 +00:00
Gabor Juhos
897c00c145 ar71xx: add wireless bgn led support for dir-825-c1
I checked the GPL code drop from D-Link and tried to get the wireless
and LAN switch LEDs to light up. I found some references in
AthSDK/www/DIR-825_C1/bsp.h as well as
AthSDK/www/DIR-825_C1/rootfs/etc/sysconfig/S2gpio.sh, but in the end I
only got the led for 2.4GHz to work. Anyway, here's the patch.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37963
2013-09-13 15:01:40 +00:00
Gabor Juhos
abad211388 ar71xx: use the lzma loader for the WRT160NL
Partition layout before:
  0x000000040000-0x0000001a0000 : "kernel"
  0x0000001a0000-0x0000007e0000 : "rootfs"
  mtd: partition "rootfs" set to be root filesystem
  mtd: partition "rootfs_data" created automatically, ofs=0x350000, len=0x490000
  0x000000350000-0x0000007e0000 : "rootfs_data"

after:
  0x000000040000-0x000000140000 : "kernel"
  0x000000140000-0x0000007e0000 : "rootfs"
  mtd: partition "rootfs" set to be root filesystem
  mtd: partition "rootfs_data" created automatically, ofs=0x2f0000, len=0x4f0000
  0x0000002f0000-0x0000007e0000 : "rootfs_data"

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

SVN-Revision: 37915
2013-09-07 11:40:45 +00:00
Gabor Juhos
07216b9f46 ar71xx: fix NetGear initramfs image names
The '-initramfs' string is duplicated in the image names,
fix it.

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

SVN-Revision: 37892
2013-09-03 07:22:27 +00:00
Gabor Juhos
d120ec18b2 kernel: update 3.10 to 3.10.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37890
2013-09-02 19:12:54 +00:00
Gabor Juhos
c8cd8c94d8 ar71xx: image: reorder Image/Build/* macros
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37889
2013-09-02 19:05:58 +00:00
Gabor Juhos
1712fdd658 ar71xx: image: simplify more oneliner macros
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37888
2013-09-02 19:05:57 +00:00
Gabor Juhos
02551d3883 ar71xx: image: simplify oneliner loader macros
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37887
2013-09-02 19:05:56 +00:00
Gabor Juhos
0cdf133d20 ar71xx: image: simplify oneliner initramfs macros
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37886
2013-09-02 19:05:55 +00:00
Gabor Juhos
b125a0f6b9 ar71xx: image: simplify oneliner buildkernel macros
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37885
2013-09-02 19:05:54 +00:00
Gabor Juhos
4a11acf81b ar71xx: optimize kernel generation
When the squashfs and jffs2 images are generated
in the same turn, the compressed kernel images
are generated twice with the same parameters.

Move compressed kernel generation into a separate
phase to avoid that.

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

SVN-Revision: 37881
2013-09-02 18:03:39 +00:00
Gabor Juhos
0ceeb6a068 ar71xx: image: dynamically generate Image/Build/Template/* macros
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37879
2013-09-02 16:10:44 +00:00
Gabor Juhos
122a61aa49 ar71xx: configure OBS4 line on TL-WR841N-v8/MR3420v2
It also fixes USB Power on MR3420v2.

This time we took the information from the source of GPL:
http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg18970.html
Confirmed and tested:
https://dev.openwrt.org/ticket/13201#comment:41
Thanks to oguretsagressive for testing.

Signed-off-by: Dmytro <dioptimizer@gmail.com>

SVN-Revision: 37878
2013-09-02 16:09:12 +00:00
Gabor Juhos
1f007eeca1 ar71xx: remove fs_* variables from image/Makefile
Those are not needed since we are generating the
initramfs images along with the others.

Remove the variables and use the template names
directly.

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

SVN-Revision: 37876
2013-09-02 09:24:59 +00:00
Gabor Juhos
e7a5947576 ar71xx: fix initramfs image generation for Cameo933x profiles
Initramfs images are not generated for profiles which
are using the squashfs-only template. Add the missing
'Image/Build/Template/squashfs-only/initramfs' to fix
that.

Also, 'Image/Build/Cameo933x/initramfs' uses wrong
parameters for 'MkuImageLzma/initramfs' due to a
misplaced commma. Remove that to fix the generated
initramfs images.

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

SVN-Revision: 37871
2013-09-02 07:42:03 +00:00
Gabor Juhos
dd421c00a2 ar71xx: add some pending patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37849
2013-08-27 18:06:49 +00:00
Gabor Juhos
d6b4b8f612 ar71xx: don't hardwire cpu_has_dsp{,2} to zero
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37845
2013-08-27 10:48:25 +00:00
Gabor Juhos
9af6a5a88f ar71xx: don't register USB device on WNDAP360
Apparently registering usb device on newest trunk causes
this AP not to boot...
Since there is no USB socket in that device anyway this
can be simply removed (and device boots then no problem).

[juhosg:
  - tweak subject line and description,
  - remove #include "dev-usb.h",
  - remove 'select ATH79_DEV_USB' from Kconfig]

Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37844
2013-08-27 10:48:24 +00:00
Gabor Juhos
42914b0b0e ar71xx: build factory image for DIR-505 A1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37834
2013-08-24 10:11:53 +00:00
Gabor Juhos
f7eb3d94b9 ar71xx: allow to override kernel size in the CameoHornet profile
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37833
2013-08-24 10:11:45 +00:00
Gabor Juhos
043edd8074 kernel: update 3.10 to 3.10.9
Also refresh 3.10 patches.

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

SVN-Revision: 37832
2013-08-23 17:31:04 +00:00
Luka Perkov
5064c81457 ar71xx: add support for hornet-ub-x2
The hornet-ub-x2 is hornet-ub variant with double more flash and ram.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37788
2013-08-15 00:57:47 +00:00
John Crispin
eb7669fc5d ar71xx: fix TL-WR710N board detection
Fix for recognize TL-WR710N

http://patchwork.openwrt.org/patch/3946/

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 37782
2013-08-14 18:15:58 +00:00
John Crispin
6d7d09a126 ar71xx: Fix factory image for DIR 505 A1
Based on the original firmware, the file must have the tag
HORNET-PACKET-DIR505A1-3, not HORNET-RT-DIR505A1-3.

http://patchwork.openwrt.org/patch/3945/

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 37781
2013-08-14 18:15:49 +00:00
Felix Fietkau
bbd4d4c8b8 ar71xx: ethernet: reduce tx dma ring size further to improve cache footprint
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37765
2013-08-13 10:35:10 +00:00
Felix Fietkau
58e049ea80 ar71xx: ethernet: reduce tx and rx DMA ring size to improve cache footprint
256 entries is a bit excessive, even for gigabit speeds

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37762
2013-08-12 17:26:03 +00:00
Felix Fietkau
f43b4ea962 ar71xx: ethernet: cache skb->len in the tx function to avoid accessing it again in completion
Improves ethernet performance, especially during bridging

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37761
2013-08-12 17:26:00 +00:00
Felix Fietkau
53c3b2a193 ar71xx: fix typo
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37759
2013-08-12 12:41:53 +00:00
Felix Fietkau
f18fd5512e ar71xx: ethernet: skip calls to netdev_completed_queue and netif_wake_queue if no tx cleanup was done
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37758
2013-08-12 11:44:35 +00:00
Felix Fietkau
81cfb9e5ed ar71xx: ethernet: do not update the unused dev->last_rx field
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37757
2013-08-12 11:44:31 +00:00
Felix Fietkau
104ff48e25 ar71xx: add missing return statement in ethernet mtu change op
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37756
2013-08-12 11:44:28 +00:00
Felix Fietkau
7b05fe59a4 ar71xx: allow mtu > 1500 based on the configured tx/rx mtu register value
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37748
2013-08-10 15:31:38 +00:00
John Crispin
f835cb6cc4 ar71xx: remove duplicate dir505 entry from board detection code
https://dev.openwrt.org/ticket/14006

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37723
2013-08-06 14:12:02 +00:00
John Crispin
267810f73a ar71xx: add usb modules to dir 505 profile
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37706
2013-08-05 11:08:30 +00:00
John Crispin
553a469728 ar71xx: add support for dir 505 a1
this patch is based on ...

-> https://forum.openwrt.org/viewtopic.php?pid=179902#p179902

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37703
2013-08-05 10:41:48 +00:00
Gabor Juhos
99a12119ca ar71xx: fix tl-wa901nd buttons code
This patch fixes the code of the buttons for TP-Link WA901ND.

Signed-off-by: Rocco Folino <lordzen@autistici.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37696
2013-08-05 09:09:39 +00:00
Gabor Juhos
ccec78beaa ar71xx: ubnt unifi outdoor register gpio button
This patch register the gpio buttons for the Ubiquiti UniFi Outdoor.

Signed-off-by: Rocco Folino <lordzen@autistici.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37695
2013-08-05 09:09:37 +00:00
Felix Fietkau
8f04792531 kernel: update to linux 3.10.4, refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37617
2013-07-29 22:42:22 +00:00
Felix Fietkau
73c4d73d6d build: unify target independent optimization options
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37600
2013-07-29 09:38:29 +00:00
Gabor Juhos
65584ed54f ar71xx: add profile and build image for the WNR612 v2 board
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3876/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37577
2013-07-28 10:23:38 +00:00
Gabor Juhos
41d136f2c8 ar71xx: add user-space support for the WNR612 v2 board
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3876/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37576
2013-07-28 10:23:37 +00:00
Gabor Juhos
6d8163505e ar71xx: add kernel support for the Netgear WNR612 v2 board
Netgear WNR612 v2:
 - cpu Atheros AR7240 (Python) @400MHz
 - flash 4MB
 - ram 32MB
 - ethernet 10/100: 1xwan + 2xlan (only two)
 - radio AR9285

[juhosg: use a separate kernel patch]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3876/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37575
2013-07-28 10:23:36 +00:00
Gabor Juhos
ede1587ed8 ar71xx: add profile and build image for the TL-WR710N board
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3873/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37574
2013-07-28 10:23:34 +00:00
Gabor Juhos
5f5257e234 ar71xx: add user-space support for the TL-WR710N board
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3873/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37573
2013-07-28 10:23:33 +00:00
Gabor Juhos
c5029c2ebf ar71xx: add kernel support for the TP-LINK TL-WR710N v1 board
Small router sold in EU: AR9330@400MHz, 1x USB2.0,
2x ethernet, 8MB flash, 32MB ram, one led, one button.

See: http://galeria.tech-blog.pl/TP-Link_TL-WR710N-EU/

[juhosg: use a separate kernel patch]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3873/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37572
2013-07-28 10:23:32 +00:00
Gabor Juhos
af1dd57a37 ar71xx: build image for the MERCURY MW4530R board
Mercury MW4530R is a TP-Link TL-WDR4310 clone but
with a much lower price tag (~ $40). This patch
is tested to work at trunk r37525.

Signed-off-by: Leon Xu <ylxu72@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3856/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37571
2013-07-28 10:23:31 +00:00
Gabor Juhos
8b6f392b72 ar71xx: add model detection for the MERCURY MW4530R board
Mercury MW4530R is a TP-Link TL-WDR4310 clone but
with a much lower price tag (~ $40). This patch
is tested to work at trunk r37525.

Signed-off-by: Leon Xu <ylxu72@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3856/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37570
2013-07-28 10:23:29 +00:00
Gabor Juhos
b49dc036e8 ar71xx: TEW632BRP has buttons 'active low', fix board config
Looks like trunk@37090 has changed the logic that determines
if router's button was pressed. This resulted in TEW632BRP
always booting into failsafe mode because it detected pressed
button (which was not pressed).

Measure with voltmeter has shown that buttons on this router
are actually active-low. This patch reflects this fact in
board configuration and fixes 'load info failsafe mode' issue.

Note: it looks like Trendnet TEW632BRP and a close relative
to TEW-652BRP V1.0 and D-Link DIR-615C1, so same problem may
exist on those routers as well. This patch doesn't affect
routers other than 632BRP and unfortunately I do not have
hardware to test this issue with other routers.

This patch fixes #13893 and is tested on actuall Trendnet
TEW632BRP.

Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37569
2013-07-28 10:23:22 +00:00
Gabor Juhos
f093cda481 ar71xx: add profile and fixup image generation for the TL-MR10U board
Create a separate board profile and update the profile
name in image/makefile. Also use the correct machtype
string in kernel command line.

Based on andelf's patch:
http://andelf.diandian.com/post/2013-05-22/40050677370

Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37550
2013-07-26 07:32:01 +00:00
Gabor Juhos
f4d5ecdb9f ar71xx: add user-space support for the TL-MR10U board
Based on andelf's patch:
http://andelf.diandian.com/post/2013-05-22/40050677370

Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37548
2013-07-26 07:31:59 +00:00
Gabor Juhos
ec7fe3fab7 ar71xx: add kernel support for the TL-MR10U board
Based on andelf's patch:
http://andelf.diandian.com/post/2013-05-22/40050677370

[juhosg: extend WR703N code to handle the TL-MR10U
instead of adding a separate mach-tl-mr10u file]]

Signed-off-by: Oleg Titov <oleg.titov@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37547
2013-07-26 07:31:57 +00:00
Gabor Juhos
e9688455f6 kernel: update 3.10 to 3.10.3
Also refresh 3.10 patches.

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

SVN-Revision: 37546
2013-07-26 07:19:58 +00:00
Gabor Juhos
ea55883a51 ar71xx: fix switch port map for the Archer C7
The correct port number for the WAN port is 1.
Update the VLAN port maps to reflect that.

https://forum.openwrt.org/viewtopic.php?pid=203755#p203755

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

SVN-Revision: 37507
2013-07-22 16:02:13 +00:00
Gabor Juhos
ef944dcb85 kernel: update 3.10 to 3.10.2
Also refresh 3.10 patches.

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

SVN-Revision: 37502
2013-07-22 15:31:13 +00:00
Gabor Juhos
205f7248ae Revert "ar71xx: override cpu_has_mmips feature"
This reverts r37477. A generic patch is used to fix
this globally, so revert the ar71xx specific change.

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

SVN-Revision: 37480
2013-07-20 10:14:08 +00:00
Gabor Juhos
2d8fd8b58c ar71xx: override cpu_has_mmips feature
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37477
2013-07-20 09:40:32 +00:00
Gabor Juhos
8a6575cf53 ar71xx: use mtd_get_part_size helper
Drop the local get_mtd_part_size implementation and use
the equivalent function provided by lib/functions.sh.

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

SVN-Revision: 37476
2013-07-20 09:26:57 +00:00
Gabor Juhos
4a9d4271d0 ar71xx: build image for the TP-LINK TL-WR941N v6 board
TL-WR941N v6 use almost same IC as WDR3500.

[juhosg: change subject, and change fw layout from 4M to 4Mlzma]

Patchwork: http://patchwork.openwrt.org/patch/3719/
Signed-off-by: ShuYu Wang <andelf@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37471
2013-07-20 08:54:45 +00:00
Jonas Gorski
b1b4e7db13 kernel: move CONFIG_NET_IP_TUNNEL to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37465
2013-07-19 22:58:01 +00:00
Felix Fietkau
8b92613b6c ar71xx: fix uimage split for ew-dorin
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37350
2013-07-15 16:59:58 +00:00
Felix Fietkau
c77eca3108 ar71xx: refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37349
2013-07-15 15:12:41 +00:00
Luka Perkov
9e3eee974b ar71xx: remove patches for 3.8 (leftover after r37315)
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37324
2013-07-14 22:57:47 +00:00
John Crispin
3d15bc6fb2 ar71xx: fix maximum watchdog timeout
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37315
2013-07-14 18:01:09 +00:00
Felix Fietkau
eb0a44917e ar71xx: update to 3.10.1
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37310
2013-07-14 17:29:56 +00:00
Felix Fietkau
936683b2de ar71xx: use uimage split for WHR-HP-G300N
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37303
2013-07-14 14:06:01 +00:00
Felix Fietkau
342946d858 ar71xx: use uimage split for dlrtdev
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37302
2013-07-14 14:05:57 +00:00
Felix Fietkau
594797cdd5 ar71xx: use uimage split for Allnet devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37301
2013-07-14 14:05:53 +00:00
Felix Fietkau
e5b7a20bea ar71xx: use uimage split for Cameo devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37300
2013-07-14 14:05:50 +00:00
Felix Fietkau
4fc17e4d08 ar71xx: use uimage split for DIR-825B1
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37299
2013-07-14 14:05:46 +00:00
Felix Fietkau
c263993197 ar71xx: use uimage split for Embedded Wireless Dorin
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37298
2013-07-14 14:05:42 +00:00
Felix Fietkau
083b0a06a3 ar71xx: use uimage split for Ubiquiti XM devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37297
2013-07-14 14:05:39 +00:00
Felix Fietkau
6702955857 ar71xx: increase kernel size for wndr3700 based devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37296
2013-07-14 14:05:35 +00:00
Felix Fietkau
25d910a78f ar71xx: use uimage split for WZR-HP-G300NH2
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37295
2013-07-14 14:05:31 +00:00
Felix Fietkau
6bff456212 ar71xx: enable uimage split for wzr-hp-ag300h/wzr-600dhp
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37294
2013-07-14 14:05:27 +00:00
Felix Fietkau
fbde376c53 ar71xx: use uimage split for WZR-HP-G300NH
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37293
2013-07-14 14:05:23 +00:00
Felix Fietkau
a7c5f6708b ar71xx: use uimage split for WZR-HP-G450H
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37292
2013-07-14 14:05:19 +00:00
Felix Fietkau
ab5e21a9a5 ar71xx: enable uimage split and use it for carambola2
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37291
2013-07-14 14:05:16 +00:00
Felix Fietkau
8d5d96e833 ar71xx: remove linux 3.8
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37290
2013-07-14 14:05:12 +00:00
Felix Fietkau
d1238718c2 ar71xx: move the watchdog driver to the kernel
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37289
2013-07-14 14:05:08 +00:00
Felix Fietkau
8cf868e1a6 ar71xx: set linux 3.10 as default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37288
2013-07-14 14:05:04 +00:00
Felix Fietkau
9b9c6facfc ar71xx: fix ar933x watchdog clock (#13866)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37273
2013-07-13 22:29:53 +00:00
John Crispin
39531131a9 ar71xx: add carambola2 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37260
2013-07-11 21:16:53 +00:00
John Crispin
2d854d022c ar71xx: set priority of ath79_wdt to 1
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37251
2013-07-11 17:01:08 +00:00
Florian Fainelli
8149689393 ar71xx: fix TPLINK/TPLINKOLD initramfs images typos
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37237
2013-07-10 21:28:34 +00:00
Florian Fainelli
9e40952c92 ar71xx: fix Netgear initramfs images
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37230
2013-07-10 17:18:03 +00:00
Florian Fainelli
399283f875 ar71xx: fix some more issues with initramfs images
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37229
2013-07-10 15:22:47 +00:00
Felix Fietkau
eb2e09c5e9 ar71xx: make implicit alignment in struct pptp_addr explicit to fix ABI breakage caused by the unaligned access hacks patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37223
2013-07-10 11:33:43 +00:00
Felix Fietkau
64dde7d981 ar71xx: add linux 3.10
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37214
2013-07-09 12:52:18 +00:00
Gabor Juhos
e61a77a05c ar71xx: disable JTAG on TL-WR841N-v8/MR3420v2
It also fixes USB Power on MR3420v2.

Signed-off-by: Dmytro <dioptimizer@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37194
2013-07-08 08:40:21 +00:00
Gabor Juhos
446a962481 ar71xx: fix partition layout on Netgear WNDAP360
Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37193
2013-07-08 08:40:20 +00:00
Gabor Juhos
ca02639d17 ar71xx: fix for wrong eth0 mac assignment on Netgear WNDAP360
Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37192
2013-07-08 08:40:18 +00:00
Luka Perkov
ecfb0c6de6 ar71xx: merge patches [611-*,621-*] into 610-*
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37176
2013-07-04 23:31:39 +00:00
Luka Perkov
1f546910cb ar71xx: Buffalo WZR-HP-AG300H (600DHP) enable PCI
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37167
2013-07-04 13:45:29 +00:00
Luka Perkov
7b6e3df6ab ar71xx: $(KDIR_TMP) must be present before starting initramfs build
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37155
2013-07-04 12:48:52 +00:00
Luka Perkov
c9926f77b4 ar71xx: Buffalo WZR-HP-AG300H (600DHP) change button type
switch buttons should be declared as switch so the failsafe shell is not
triggered by accident in procd

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37131
2013-07-02 10:45:32 +00:00
Florian Fainelli
c627ae768e ar71xx: only invoke Initramfs building when enabled
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37129
2013-07-02 10:43:31 +00:00
Florian Fainelli
460233fa2a ar71xx: fix initramfs images generation after r37049
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37120
2013-07-01 15:37:25 +00:00
Florian Fainelli
6a4f2922f6 targets: prepare for supporting normal and initramfs images
In order to support both normal images and initramfs, ensure that each
target sets KERNELNAME properly so that the generic kernel building code
can copy the corresponding files over $(KDIR) with the appropriate
extension. Update the various paths to the kernel and wrapper images
from $(LINUX_DIR)/arch/$(ARCH)/boot/$(foo) to $(KDIR)/$(foo).

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37049
2013-06-27 19:58:31 +00:00
John Crispin
67f5f188b1 base-files: input/button drivers get loaded before preinit by procd
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37000
2013-06-21 16:53:47 +00:00
John Crispin
e6ef318802 base-files: diag does not need to insmod any drivers, procd already did it for us
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36999
2013-06-21 16:53:43 +00:00
John Crispin
2be717560a ar71xx: drop procd_init console hack
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36992
2013-06-21 16:53:11 +00:00
Felix Fietkau
ab529a529b ar71xx: disable routerboard support in the generic subtarget, enable it for the nand subtarget only
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36879
2013-06-07 13:42:50 +00:00
Gabor Juhos
5bb2e8030d ar71xx: add support for WIFI button on tp-link tl-mr3220v2
The TP-LINK TL-MR3220 v2 has a button on the left side
labeled "WIFI". This is GPIO 24. This patch adds the
support for this button.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36848
2013-06-04 13:25:54 +00:00
Gabor Juhos
da66ea52ec ar71xx: register USB port for RB2011U* devices
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36801
2013-05-30 17:38:31 +00:00
Gabor Juhos
23bcceb058 ar71xx: create a separated network interface for the RB2011UAS SFP port
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36800
2013-05-30 17:38:30 +00:00
Gabor Juhos
151dca0935 ar71xx: make the SFP port usable on RB2011*S boards
The port 6 of the switch is connected to the SFP
cage on the RB2011*S boards. Add a helper function
to correctly initialize the switch configuration
data on those boards to make the SFP port usable.

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

SVN-Revision: 36799
2013-05-30 17:38:28 +00:00
Gabor Juhos
3467b17e69 ar71xx: rb2011: add switch led control values
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36796
2013-05-30 17:38:21 +00:00
Gabor Juhos
4cf6e53ccc ar71xx: rb2011: update RGMII RX/TX delay values
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36795
2013-05-30 17:38:20 +00:00
Gabor Juhos
6da63a8793 ar71xx: rb2011: move NAND nCE init to rb2011_nand_init
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36794
2013-05-30 17:38:17 +00:00
Gabor Juhos
50c59c4797 ar71xx: add user-space support for RB2011UAS
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36793
2013-05-30 17:38:15 +00:00
Gabor Juhos
d6554bf66a ar71xx: add kernel support for the RB2011UAS
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36792
2013-05-30 17:38:13 +00:00
Gabor Juhos
d19dae6e2d ar71xx: add profile and build image for the Archer C7 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36790
2013-05-30 16:23:10 +00:00
Gabor Juhos
35b5b38316 ar71xx: add user-space support for TP-LINK Archer C7 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36789
2013-05-30 16:23:09 +00:00
Gabor Juhos
91d7c3efc1 ar71xx: add kernel support for the TP-LINK Archer C7 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36788
2013-05-30 16:23:07 +00:00
Gabor Juhos
f02765086d ar71xx: add USB workarounds for AR934x/QCA955x SoCs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36787
2013-05-30 16:23:06 +00:00
Gabor Juhos
6ff976a87a ar71xx: add profile and build image for the DIR-601-B1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36786
2013-05-30 16:19:30 +00:00
Gabor Juhos
424c4c0b0a ar71xx: allow to build CameoHornet images for multiple regions
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36785
2013-05-30 16:19:29 +00:00
Gabor Juhos
184dd34b6d ar71xx: allow to override fw version in CameoHornet profile
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36784
2013-05-30 16:19:28 +00:00
Gabor Juhos
c4d0a49348 ar71xx: typo in detect TL-MR10U/TL-MR11U
At offset 0x40, signature for TL-MR10U/TL-MR11U begin
from 0x00, not 0x10/0x11.

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

SVN-Revision: 36727
2013-05-26 16:38:00 +00:00
Gabor Juhos
cc7bedf8a3 ar71xx: fix TL-MR10U usb power
MR10U is closer to MR3040 than WR703N. This changes also
enable USB power on GPIO18.

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

SVN-Revision: 36726
2013-05-26 16:37:59 +00:00
Gabor Juhos
46225b99d9 kernel: update linux 3.8 to 3.8.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36724
2013-05-26 16:02:31 +00:00
Gabor Juhos
93ce462b7e ar71xx: set eth0 mac address to match bottom label of the OM2P LC
Signed-off-by: marek@open-mesh.com
CC: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36723
2013-05-26 16:02:29 +00:00
Gabor Juhos
0842478e44 ar71xx: add TP-LINK TL-MR10U
Small router with 4MB flash, 32MB RAM
http://www.tp-link.com.cn/product_300.html

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

SVN-Revision: 36722
2013-05-26 16:02:26 +00:00
Felix Fietkau
fe7e52e4a4 ar71xx: disable jffs2 by default, it confuses users since many devices have incompatible eraseblock sizes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36679
2013-05-21 09:45:46 +00:00
Felix Fietkau
56478636aa ar71xx: remove the xfrm.h chunk from the unaligned access hacks, it breaks ipsec
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36646
2013-05-17 07:31:00 +00:00
Felix Fietkau
144cfb65a4 ar71xx: add hard_cfg offset detection for rb2011 support - fixes wlan on some newer devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36631
2013-05-13 19:13:33 +00:00
Jonas Gorski
526aedb705 kernel: move CONFIG_MIPS_SEAD3 to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36617
2013-05-12 21:41:55 +00:00
Felix Fietkau
0be8dd36dc ar71xx: set mips16 support, tune cflags for 34kc (works well on MIPS 24K as well, but helps a lot for 34K and 74K)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36600
2013-05-09 23:32:46 +00:00
Gabor Juhos
cb3d71ca8e ar71xx: use combined kernel image in the CameoHornet template
This allow us to increase the kernel partition size,
and ensures, that the -factory image still usable via
the original interface.

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

SVN-Revision: 36584
2013-05-08 17:11:10 +00:00
Gabor Juhos
f938a798f8 ar71xx: add profile and build image for the RNX-N360RT board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36582
2013-05-08 17:07:19 +00:00
Gabor Juhos
852b8e9490 ar71xx: add user-space model detection for the RNX-N360RT board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36581
2013-05-08 17:07:18 +00:00
Gabor Juhos
c70694e755 ar71xx: add profile and build image for Netgear WNDAP360
[juhosg: this has been created from the following patch:
http://patchwork.openwrt.org/patch/3620/ ]

Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36580
2013-05-08 17:03:43 +00:00
Gabor Juhos
33a2cbfd5c ar71xx: add user-space support for Netgear WNDAP360
[juhosg: this has been created from the following patch:
http://patchwork.openwrt.org/patch/3620/ ]

Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36579
2013-05-08 17:03:42 +00:00
Gabor Juhos
10b3ca5ccb ar71xx: add kernel support for Netgear WNDAP360
Here is corrected version (only thing not working are wifi LEDs).

[juhosg: this has been created from the following patch:
http://patchwork.openwrt.org/patch/3620/ ]

Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36578
2013-05-08 17:03:34 +00:00
Gabor Juhos
e57c7d6c12 kernel: update linux 3.8 to 3.8.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36576
2013-05-08 08:53:53 +00:00
Gabor Juhos
d09ba5ef10 ar71xx: Fix AP135 partition layout
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36575
2013-05-08 08:53:49 +00:00
Gabor Juhos
ccf95fe938 ar71xx: Fix AP135 PCI
AP135 has a pluggable PCIE slot unlike AP136.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36541
2013-05-03 19:00:58 +00:00
Felix Fietkau
18c588a570 ar71xx: add an external reset callback for ar913x and use it in ath9k - should reduce the frequency of DMA stop failures
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36530
2013-05-03 09:12:19 +00:00
Gabor Juhos
8a9fe26f20 kernel: update linux 3.8 to 3.8.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36507
2013-05-01 22:15:18 +00:00
Gabor Juhos
0ae43dbe9d ar71xx: rename WNR2000v3 support patch
Update the numbering of kernel patch for supporting
Netgear WNR2000v3 from 617 to 618.

Signed-off-by: yousong <yszhou4tech@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36498
2013-04-30 10:44:11 +00:00
Gabor Juhos
f718179af5 kernel: update linux 3.8 to 3.8.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36493
2013-04-30 10:43:59 +00:00
Gabor Juhos
7c2632fbc5 ar71xx: add user-space support for WNR2000v3
Signed-off-by: Mathieu Olivari <mathieu.olivari@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36461
2013-04-26 17:00:54 +00:00
Gabor Juhos
b29b7b65ea ar71xx: add profile and build image for WNR2000v3
Signed-off-by: Mathieu Olivari <mathieu.olivari@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36460
2013-04-26 17:00:53 +00:00
Gabor Juhos
9b3c0d11a2 ar71xx: Add Netgear WNR2000v3 support
Network connectivity works fine (LAN and WAN).
For GPIOs, only pwr led and the green wan leds are supported for now.

Signed-off-by: Mathieu Olivari <mathieu.olivari@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36459
2013-04-26 17:00:52 +00:00
Gabor Juhos
183e2af1c7 ar71xx: add profile and build image for the TL-WR720N v3 board
Signed-off-by: yousong <yszhou4tech@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36458
2013-04-26 17:00:50 +00:00
Gabor Juhos
7c4e2c1f72 ar71xx: add user-space support for the TL-WR720N v3 board
Signed-off-by: yousong <yszhou4tech@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36457
2013-04-26 17:00:49 +00:00
Gabor Juhos
5c11773f8a ar71xx: add kernel support for TPLINK WR720N v3
Add support for TPLINK WR720N v3 which has 4MB flash,
32MB ram, 2 ethernet interfaces, 1 USB 2.0 port.

The patch is mostly a modification from mach-tl-wr703n.c.
GPIO numbers for the slider switch is from mach-tl-mr3020n.c.

Tested on my device and they worked fine.

Signed-off-by: yousong <yszhou4tech@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36456
2013-04-26 17:00:48 +00:00
Gabor Juhos
36d4fd70bc kernel: update linux 3.8 to 3.8.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36453
2013-04-26 16:55:42 +00:00
Steven Barth
4e8f7f37ed Change default IPv6 config to enable DHCPv6-PD
SVN-Revision: 36384
2013-04-22 19:40:16 +00:00
Felix Fietkau
cd35ea2174 ar71xx: merge more unaligned access hacks from cerowrt-next
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36374
2013-04-22 12:53:21 +00:00
Gabor Juhos
151cadfe32 kernel: update linux 3.8 to 3.8.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36363
2013-04-19 08:07:34 +00:00
Gabor Juhos
604395650a kernel: update linux 3.8 to 3.8.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36332
2013-04-14 09:25:53 +00:00
Steven Barth
ea94d66b0f Adapt default network configuration for IPv6
SVN-Revision: 36278
2013-04-09 08:03:08 +00:00
Gabor Juhos
f78c902cfd kernel: update linux 3.8 to 3.8.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36215
2013-04-06 11:40:44 +00:00
Gabor Juhos
f7da2127ab ar71xx: fix ethernet LEDs on the TL-WDR3500
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36122
2013-03-25 06:40:03 +00:00
Gabor Juhos
39c132d154 ar71xx: add GPIO output select values for AR934x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36121
2013-03-25 06:40:00 +00:00
Gabor Juhos
849201b1d8 ar71xx: add default LED configuration for the WL-WRD3500
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36120
2013-03-24 21:07:21 +00:00
Gabor Juhos
cd5cca4ba8 ar71xx: fix USB power GPIO on the TL-WDR3500
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36119
2013-03-24 19:23:47 +00:00
Gabor Juhos
4daefc9480 ar71xx: remove numeric suffix of the TL-WDR3500 USB LED
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36118
2013-03-24 19:23:45 +00:00
Gabor Juhos
a4a2a7189f ar71xx: add diag support for the TL-WDR3500
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36117
2013-03-24 19:23:43 +00:00
Gabor Juhos
38c991311b ar71xx: add default switch configuration for the TL-WDR3500
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36116
2013-03-24 19:23:36 +00:00
Gabor Juhos
07532dca7f kernel: update linux 3.8 to 3.8.3
Also refresh the related generic/platform patches.

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

SVN-Revision: 36039
2013-03-15 14:39:51 +00:00
Gabor Juhos
d614f8a880 ar71xx: build images for the TL-MR11U v2
[juhosg: use different profile name for v1 and v2, and add
multi profile to build for both versions]

Signed-off-by: Guilhem Lettron <guilhem@lettron.fr>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36038
2013-03-15 14:35:52 +00:00
Gabor Juhos
35d41db979 ar71xx: rw2458n - Use eeprom (art) from wifi card
Use eeprom (art) from included wifi card, not hard coded in flash.

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

SVN-Revision: 36037
2013-03-15 14:35:50 +00:00
Gabor Juhos
8deffcba7e ar71xx: Error fix in Kernel for MR3420v2 Ethernet Switch configuration
Error in using another MDIO (AP123 platform using only one GE1 device
for eth0 and eth1) for the router mr3420v2.
?onfirmed: https://forum.openwrt.org/viewtopic.php?pid=194779#p194779

Routers in this sense are the same and the only difference is: USB
port, USB led, instead of the GPIO-switch we have GPIO-button.

Signed-off-by: Dmytro <dioptimizer@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36036
2013-03-15 14:35:48 +00:00
John Crispin
043d56b646 make sure the console works when using procd as our pid 1
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36000
2013-03-13 18:11:00 +00:00
John Crispin
fad5f5700e make sure errors get sent to /dev/null
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 35987
2013-03-12 13:52:33 +00:00
Gabor Juhos
14ca5fc98b ar71xx: om2p-hs: use correct bit mask to disable JTAG functionality
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35966
2013-03-11 19:52:54 +00:00
Gabor Juhos
72fc0c1906 ar71xx: add AR934X_GPIO_FUNC_* defines
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35965
2013-03-11 19:52:51 +00:00
Gabor Juhos
44cc1507e9 ar71xx: makefile changes to build image for MR3420v2
Patch-by: Dmytro <dioptimizer@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3440/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35964
2013-03-11 15:55:25 +00:00
Gabor Juhos
2998abab7c ar71xx: add user-space support for MR3420v2
Patch-by: Dmytro <dioptimizer@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3442/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35962
2013-03-11 15:55:22 +00:00
Gabor Juhos
902dd27383 ar71xx: add kernel support for MR3420v2
[juhosg: use gpio_request_one to enable the USB power]

Patch-by: Dmytro <dioptimizer@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@opewrt.org>

SVN-Revision: 35961
2013-03-11 15:55:20 +00:00
Gabor Juhos
5c5e1c0a9d ar71xx: enabling control GPIO14 and GPIO15 on MR3040/MR11U
LAN1 and LAN2 LEDs not present (it pulled to ground via
resistors) on MR3040 and MR11U devices. This little patch
enabling ability to control GPIO14 and GPIO15.

Patch-by: Dmytro <dioptimizer@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3439/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35960
2013-03-11 15:55:19 +00:00
Gabor Juhos
257bfc21af ar71xx: add profile support for dir-835-a1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Patchwork: http://patchwork.openwrt.org/patch/3427/mbox/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35959
2013-03-11 15:55:17 +00:00
Gabor Juhos
3fa3cbae7c ar71xx: add user space support for dir-835-a1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Patchwork: http://patchwork.openwrt.org/patch/3425/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35958
2013-03-11 15:55:15 +00:00
Gabor Juhos
a7525f5f5d ar71xx: add kernel support for dir-835-a1
[juhosg:
  - remove custom mdio bus info and platform data for ar8327, clear the
    .led_cfg field from dir835a1_setup instead,
  - remove arguments of dir835c1_generic_setup function, register the
    LEDs directly from the board specific setup instead]

Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Patchwork: http://patchwork.openwrt.org/patch/3426/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35957
2013-03-11 15:55:13 +00:00
Gabor Juhos
e8a5312bef ar71xx: correct board name to make LEDs work on RB750
Patch by: Denver A <denvera@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3419/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35919
2013-03-10 07:20:57 +00:00
Gabor Juhos
947bc9d36f ar71xx: add backported watchdog patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35879
2013-03-04 12:08:28 +00:00
Gabor Juhos
1d55249d7c ar71xx: use backported QCA955x patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35878
2013-03-04 11:48:15 +00:00
Gabor Juhos
64a9fe2894 ar71xx: use backported PCI patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35877
2013-03-04 11:48:08 +00:00
Gabor Juhos
12d49b5195 ar71xx: use backported MISC IRQ patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35876
2013-03-04 11:48:06 +00:00
Gabor Juhos
4c31b9f43e ar71xx: use backported GPIO patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35875
2013-03-04 11:48:04 +00:00
Luka Perkov
120028af99 ar71xx: enable building ramdisk images for WZRHPG30XNH board types
Signed-off-by: Luka Perkov <luka@openwrt.org>
Acked-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35874
2013-03-04 11:37:28 +00:00
Gabor Juhos
0ad50b0bec ar71xx: use backported SPI patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35873
2013-03-04 09:40:44 +00:00
Gabor Juhos
3ee484d54c ar71xx: remove 3.7 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35870
2013-03-04 09:03:50 +00:00
Gabor Juhos
d5adb0dbdd ar71xx: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35869
2013-03-04 08:47:38 +00:00
Luka Perkov
a5ebfc79ba ar71xx: rework changes from r35840
Signed-off-by: Luka Perkov <luka@openwrt.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35865
2013-03-03 21:59:34 +00:00
Gabor Juhos
26fbc15a86 kernel: update linux 3.8 to 3.8.1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35862
2013-03-03 13:58:52 +00:00
Gabor Juhos
23b3b3a194 kernel: update linux 3.7 to 3.7.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35860
2013-03-03 13:57:40 +00:00
Gabor Juhos
4491da2bd4 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>

SVN-Revision: 35855
2013-03-03 12:47:37 +00:00
Gabor Juhos
200aa6db83 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>

SVN-Revision: 35854
2013-03-03 12:47:33 +00:00
Luka Perkov
107e0c6d1f ar71xx: add support for Buffalo WZR 600DHP
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 35840
2013-03-01 13:46:01 +00:00
Gabor Juhos
f7879cd8d8 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>

SVN-Revision: 35789
2013-02-25 20:37:35 +00:00
Gabor Juhos
ea71239d8a 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>

SVN-Revision: 35788
2013-02-25 20:37:33 +00:00
Gabor Juhos
bcac3c5569 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>

SVN-Revision: 35730
2013-02-21 17:58:21 +00:00
Gabor Juhos
cf2324fd6b ar71xx: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35728
2013-02-21 17:47:15 +00:00
Jonas Gorski
b91eab631b 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>

SVN-Revision: 35719
2013-02-21 11:45:29 +00:00
Gabor Juhos
4341b11f3e ar71xx: remove __dev{init,exit} annotations from kernel files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35687
2013-02-19 20:52:06 +00:00
Gabor Juhos
f6691c09c1 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>

SVN-Revision: 35650
2013-02-18 09:56:27 +00:00
Gabor Juhos
3f749d1e8e kernel: update linux 3.7 to 3.7.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35644
2013-02-17 21:32:42 +00:00
Gabor Juhos
4215b1c93c 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>

SVN-Revision: 35634
2013-02-17 10:08:41 +00:00
Gabor Juhos
7a709573d7 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>

SVN-Revision: 35633
2013-02-17 10:08:35 +00:00
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