Commit Graph

1910 Commits (24c39ddcf720bb8c692038d32f479a1df08ffdcc)

Author SHA1 Message Date
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
12 years ago
Gabor Juhos 5dec87afef ar71xx: fix ethernet device registration for QCA9558
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34853
12 years ago
Gabor Juhos 84a7051cef ar71xx: rename QCA9558 ETH_CFG bit defines
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

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

SVN-Revision: 34851
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
Gabor Juhos e108cb91c0 ar71xx: rename fix-ar933x-reset patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34798
12 years ago
Mirko Vogt e34a4e0c7b Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
SVN-Revision: 34793
12 years ago
Gabor Juhos 5f82aa4d15 ar71xx: merge machine patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34783
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
Gabor Juhos 44b9898251 kernel: update linux 3.6 to 3.6.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34748
12 years ago
Gabor Juhos fc0da6852e ar71xx: nuke 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34743
12 years ago
Gabor Juhos 61d715505c ar71xx: add profile and build image for UniFi AP Pro
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34730
12 years ago
Gabor Juhos abbd18776e ar71xx: add user-space support for UniFi AP Pro
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34728
12 years ago
Gabor Juhos ff3f28265f ar71xx: add kernel support for the UniFi AP Pro
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34727
12 years ago
Gabor Juhos 2e2c88b625 ar71xx: reorder some patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34674
12 years ago
Gabor Juhos 34411a0cbd ar71xx: merge unifi outdoor patch into the ubnt-xm one
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34673
12 years ago
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
12 years ago
Gabor Juhos dcdfcb75f0 ar71xx: add user-space support for the NETGEAR WNDR4300
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34649
12 years ago
Gabor Juhos bc82db7d78 ar71xx: add kernel support for the NETGEAR WNDR4300
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34647
12 years ago
Gabor Juhos 75b71f4a74 ar71xx: add ap91_pci_init_simple helper
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34646
12 years ago
Gabor Juhos d7cebac243 ar71xx: add ath79_wmac_register_simple helper
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34645
12 years ago
Gabor Juhos ec26814b0e ar71xx: refresh 3.3 patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34644
12 years ago
Gabor Juhos cdfc300948 ar71xx: remove superfluous USB patches for 3.3
SVN-Revision: 34643
12 years ago
Gabor Juhos 2b378d11c8 kernel: update linux 3.6 to 3.6.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34639
12 years ago
Gabor Juhos 3cbc1a49e2 ar71xx: load ar934x_nfc driver earlier
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34589
12 years ago
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
12 years ago
Gabor Juhos 2581173660 kernel: update linux 3.6 to 3.6.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34578
12 years ago
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
12 years ago
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
12 years ago
Gabor Juhos 4f5defdc3b ar71xx: switch to 3.6.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34414
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
Gabor Juhos 4468fd7ae4 ar71xx: refresh rb4xx_nand patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34277
12 years ago
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
12 years ago
Gabor Juhos 674b91ce0e ar71xx: fix GPIO function selection for AR934x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34275
12 years ago
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
12 years ago
Gabor Juhos 33a99ce46b ar71xx: install lzma compressed elf kernel image from wget2nand
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34273
12 years ago
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
12 years ago
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
12 years ago
Gabor Juhos 8e4cefc7f8 refresh all kernel configurations
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34267
12 years ago
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
12 years ago
Gabor Juhos 169e596268 ar71xx: add user-space support for the RB435G board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34240
12 years ago
Gabor Juhos d44d954dec ar71xx: add kernel support for the RB435G board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34239
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
Gabor Juhos ce9d4fadfa ar71xx: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34186
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
Gabor Juhos 3a86affcdd ar71xx: enable sysupgrade for the CAP4200AG board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33960
12 years ago
Gabor Juhos e99d557c08 ar71xx: add profile and build image for the CAP4200AG
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33958
12 years ago
Gabor Juhos 9287e0c863 ar71xx: add user-space part for the CAP4200AG
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33957
12 years ago
Gabor Juhos d54c9653e9 ar71xx: add support for the Senao CAP4200AG board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33956
12 years ago
Gabor Juhos 3b7cb4eb4a ar71xx: add ath79_wmac_disable_[25]ghz helpers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33955
12 years ago
Gabor Juhos 269872fe1e ar71xx: use mtd_read in wrt160nl_part
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33951
12 years ago
Gabor Juhos 973eda6077 ar71xx: use mtd_read in tplinkpart
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33950
12 years ago
Gabor Juhos 28f3adc2ed ar71xx: generate 4,8,16M images for the WPE72
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33949
12 years ago
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
12 years ago
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
12 years ago
Gabor Juhos 7a72f01a72 ar71xx: merge machine support patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33820
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
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
12 years ago
Gabor Juhos befb648642 ar71xx: build image for the TL-WR841N/ND v8
SVN-Revision: 33623
12 years ago
Gabor Juhos 02a85dfd85 ar71xx: user-space support for TL-WR841N/ND v8
SVN-Revision: 33622
12 years ago
Gabor Juhos 196c6c5b45 ar71xx: add support for the TL-WR841N/ND v8 board
SVN-Revision: 33621
12 years ago
Gabor Juhos 170cd7a19a ar71xx: avoid possible NULL pointer dereference in ath79_init_{,local}_mac
SVN-Revision: 33575
12 years ago
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
12 years ago
Gabor Juhos e7b1949d87 ar71xx: automatically find WLAN calibration data on TEW-673GRU
SVN-Revision: 33539
12 years ago
Gabor Juhos 8ed8e51e74 ar71xx: automatically find WLAN calibration data on DIR-825-B1
SVN-Revision: 33538
12 years ago
Gabor Juhos e2504a977a ar71xx: add missing backslash to uci-defaults/leds (closes #12240)
SVN-Revision: 33537
12 years ago
Gabor Juhos e70ad61e44 ar71xx: use different machtype and setup for the TL-MR3040
Should fix #12211. Compile tested only.

SVN-Revision: 33535
12 years ago
Gabor Juhos 79ffd1032a ar71xx: fix a typo in TEW-637GRU image names
SVN-Revision: 33460
12 years ago
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
12 years ago
Gabor Juhos a7c5c4390a ar71xx: register the NAND flash controller device on DB120
SVN-Revision: 33455
12 years ago
Gabor Juhos 7c85646176 ar71xx: ar934x_nfc: remove unused oob parameter of ar934x_nfc_send_read
SVN-Revision: 33454
12 years ago
Gabor Juhos 3bdf0bc36f ar71xx: ar934x_nfc: increase DMA retry count
SVN-Revision: 33453
12 years ago
Gabor Juhos b7cb43f6a6 ar71xx: ar934x_nfc: optimize READOOB operation on large page devices
SVN-Revision: 33452
12 years ago
Gabor Juhos 96dde2e591 ar71xx: ar934x_nfc: fix RNDOUT operation
SVN-Revision: 33451
12 years ago
Gabor Juhos 338b698fb6 ar71xx: ar934x_nfc: fix READ{0,1} operation on large page devices
SVN-Revision: 33450
12 years ago
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
12 years ago
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
12 years ago
Felix Fietkau ed14ffc7da ar71xx: fix WP543 image builds
SVN-Revision: 33413
12 years ago
Gabor Juhos 61dc6e65c0 ar71xx: merge machine support patches
SVN-Revision: 33389
12 years ago
Gabor Juhos 5804b9d1b7 ar71xx: register the NAND controller device on the RB2011
SVN-Revision: 33388
12 years ago
Gabor Juhos 4fd67c3cd4 ar71xx: add device registration code for the AR934x NAND flash controller
SVN-Revision: 33387
12 years ago
Gabor Juhos 10cd35c0e7 ar71xx: package the AR934x NAND driver module
SVN-Revision: 33386
12 years ago
Gabor Juhos 1e5fdbeae5 ar71xx: ar934x_nfc: experimental NAND Flash Controller driver for AR934x
SVN-Revision: 33385
12 years ago
Gabor Juhos 40a5f5c16e ar71xx: define NAND controller base address and register size for AR934X/QCA955x
SVN-Revision: 33382
12 years ago
Gabor Juhos 4ee5b528de ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on QCA955x
SVN-Revision: 33362
12 years ago
Gabor Juhos 2e0e38ad69 ar71xx: fix QCA955X_EHCI_SIZE
SVN-Revision: 33360
12 years ago
Jo-Philipp Wich caa66bd150 fix description of nand/Ath5k profile (#12149)
SVN-Revision: 33352
12 years ago
Gabor Juhos aa2f4d4c8d ar71xx: add initial support for RB2011UAS-2HnD
SVN-Revision: 33349
12 years ago
Gabor Juhos 3686e18727 ar71xx: use routerboot_find_tag to find wlan data offset on RB751
SVN-Revision: 33348
12 years ago
Gabor Juhos ccabe4a1b4 ar71xx: add RouterBoot related helper routines
SVN-Revision: 33347
12 years ago
Gabor Juhos 44bf7c7cc1 ar71xx: define MTD partitions for RB2011
SVN-Revision: 33345
12 years ago
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
12 years ago
Gabor Juhos 94bac7366c ar71xx: use dynamic clock dividers on the 2nd MDIO of AR934x
SVN-Revision: 33343
12 years ago
Gabor Juhos 7592057774 ar71xx: add dynamic MDIO clock calculation
SVN-Revision: 33342
12 years ago
Gabor Juhos 88a5478781 ar71xx: use the RLE library for RB751
SVN-Revision: 33338
12 years ago
Gabor Juhos 73df240bb3 ar71xx: add library code for RLE decoding
It will be used for the MikroTik boards.

SVN-Revision: 33337
12 years ago
Gabor Juhos f4be8a76de ar71xx: fix CPU/DDR frequency calculation for SRIF PLLs on AR934x
SVN-Revision: 33335
12 years ago
Gabor Juhos 70d00ac64e ar71xx: refresh kernel patches
SVN-Revision: 33334
12 years ago
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
12 years ago
Gabor Juhos 069f544d2b ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on AR934x
SVN-Revision: 33318
12 years ago
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
12 years ago
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
12 years ago
Gabor Juhos eb9a97a360 ar71xx: all0315n: fix ethernet according to vendor info
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33309
12 years ago
Gabor Juhos 02cb5f9dcd ar71xx: add RSSI LEDs of ALL0315N to uci-defaults/leds
SVN-Revision: 33308
12 years ago
Gabor Juhos 0c5688cc38 ar71xx: image: fix Profile name for TL-WA701 (closes #12094)
SVN-Revision: 33295
12 years ago
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
12 years ago
Gabor Juhos f2030c3113 ar71xx: add profile for Allnet devices
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33287
12 years ago
Gabor Juhos d65c06c15c ar71xx: generate image for ALL0315N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33286
12 years ago
Gabor Juhos 4079f3163f ar71xx: sysupgrade for the ALL0315N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33285
12 years ago
Gabor Juhos abffa4ecfb ar71xx: rename all0258n.sh to allnet.sh
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33284
12 years ago
Gabor Juhos 1d96b0275c ar71xx: detect ALL0315N board
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33282
12 years ago
Gabor Juhos eebdd633e4 ar71xx: add support for the Allnet ALL0315N board
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33281
12 years ago
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
12 years ago
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
12 years ago
Gabor Juhos f3d5edffdc ar71xx: image: fix TL-WR1043ND board id (#12079)
SVN-Revision: 33272
12 years ago
Gabor Juhos 773b33d7d2 ar71xx: image: group and sort {Single,Multi}Profiles
SVN-Revision: 33264
12 years ago
Gabor Juhos a5e0eb0d95 ar71xx: image: group and sort mtdlayout definitions
SVN-Revision: 33263
12 years ago
Gabor Juhos f0ad972aba ar71xx: image: use the MultiProfile helper for the Madwifi profile
SVN-Revision: 33262
12 years ago
Gabor Juhos 333f030b79 ar71xx: image: automatically build a list of SingleProfiles
Use that for Default/Minimal profiles.

SVN-Revision: 33261
12 years ago
Gabor Juhos 5dce77837f ar71xx: image: use the new helpers for the ZyXEL images
SVN-Revision: 33260
12 years ago
Gabor Juhos be4be2d82a ar71xx: image: use the new helpers for the Zcomax images
SVN-Revision: 33259
12 years ago
Gabor Juhos 74bdb68ea4 ar71xx: image: use the new helpers for the WRT400 images
SVN-Revision: 33258
12 years ago
Gabor Juhos 8cf9a7b1c7 ar71xx: image: use the new helpers for the WZRHPG30XNH images
SVN-Revision: 33257
12 years ago
Gabor Juhos c965d8ead8 ar71xx: image: use the new helpers for the WHRHPG300N images
SVN-Revision: 33256
12 years ago
Gabor Juhos 71af43a7c7 ar71xx: image: use the new helpers for the UBNTXM images
SVN-Revision: 33255
12 years ago
Gabor Juhos 097e9938b4 ar71xx: image: use the new helpers for the UBNT images
SVN-Revision: 33254
12 years ago
Gabor Juhos 216e9b7a92 ar71xx: image: use the new helpers for the TPLINKOLD images
SVN-Revision: 33253
12 years ago
Gabor Juhos 48d6081fa5 ar71xx: image: use the new helpers for the TPLINK-LZMA images
SVN-Revision: 33252
12 years ago
Gabor Juhos 8546e00157 ar71xx: image: use the new helpers for the TPLINK images
SVN-Revision: 33251
12 years ago
Gabor Juhos 27feea1070 ar71xx: image: use the new helpers for the Planex images
SVN-Revision: 33250
12 years ago
Gabor Juhos 4dbabe5c21 ar71xx: image: use the new helpers for the PB4X images
SVN-Revision: 33249
12 years ago
Gabor Juhos bbaa0b9200 ar71xx: image: use the new helpers for the OpenMesh images
SVN-Revision: 33248
12 years ago
Gabor Juhos 4edc55f475 ar71xx: image: use the new helpers for the Netgear images
SVN-Revision: 33247
12 years ago
Gabor Juhos d9f933b8b8 ar71xx: image: use the new helpers for the MyLoader images
SVN-Revision: 33246
12 years ago
Gabor Juhos a409d0cf46 ar71xx: image: use the new helpers for the DIR825B1 images
SVN-Revision: 33245
12 years ago
Gabor Juhos b7e05e3a59 ar71xx: image: use the new helpers for the CyberTAN images
SVN-Revision: 33244
12 years ago
Gabor Juhos 292f074ad7 ar71xx: image: use the new helpers for the Cameo933x images
SVN-Revision: 33243
12 years ago
Gabor Juhos 4c9a428614 ar71xx: image: use the new helpers for the Cameo913x images
SVN-Revision: 33242
12 years ago
Gabor Juhos 19d840980f ar71xx: image: use the new helpers for the Cameo7240 images
SVN-Revision: 33241
12 years ago
Gabor Juhos ce91228e2b ar71xx: image: use the new helpers for the AthGzip images
SVN-Revision: 33240
12 years ago
Gabor Juhos 70e3dda99c ar71xx: image: use the new helpers for the AthLzma images
SVN-Revision: 33239
12 years ago
Gabor Juhos 31a88650d7 ar71xx: image: use the new helpers for the ALFA images
SVN-Revision: 33238
12 years ago
Gabor Juhos 2379e6f2a3 ar71xx: image: add a few helper functions
These functions will be used to simplify the Makefile.

SVN-Revision: 33237
12 years ago
Gabor Juhos 6ebc77af73 ar71xx: image: pass mtdlayout as a separate parameter for the ALFA template
SVN-Revision: 33236
12 years ago
Gabor Juhos a2f82cf7ec ar71xx: add profile and build image for the TEW-712BR
SVN-Revision: 33234
12 years ago
Gabor Juhos 8744f8d183 ar71xx: TEW-712BR user space support
SVN-Revision: 33232
12 years ago
Gabor Juhos 8b3d95bba9 ar71xx: add support for the TRENDnet TEW-712BR board
SVN-Revision: 33231
12 years ago
Gabor Juhos 4073317695 ar71xx: fix serial clock calculation on AR933x
Closes #12031.

SVN-Revision: 33230
12 years ago
Gabor Juhos 2811d6c183 ar71xx: fix comment style in mach-tl-wr2543n.c
SVN-Revision: 33227
12 years ago
Gabor Juhos dc13dc1d54 ar71xx: fix mtd layout of the AP113
The 'mtdparts=' prefix and the name of the flash device is missing.

SVN-Revision: 33226
12 years ago
Gabor Juhos 5a694e09c8 ar71xx: add ALL0305 board alias
For the pure convenience of having a correctly named
image and system name in /proc/cpuinfo , until we can
do that by having system names in DTS...

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

SVN-Revision: 33224
12 years ago
Gabor Juhos 0517183b9c ar71xx: add support for TP-Link TL-WDR3600
The TL-WDR3600 is identical to the TL-WDR4300 with the exception that is has
only two antennas.

[juhosg: remove the custom machine type, change the board name instead]

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 33219
12 years ago
John Crispin 968ac3fd03 add led defintion for the WR2543 5GHz WLAN LED
Signed-off-by: Andy Leiserson <andy@leiserson.org>

SVN-Revision: 33215
12 years ago
Gabor Juhos 182a18a369 ar71xx: setup WLAN LED for the TL-WA901ND v2
Closes #11889.

SVN-Revision: 33202
12 years ago
Gabor Juhos 5fc4b7f5fd ar71xx: uci-defaults/leds for ALL0258N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33165
12 years ago
Gabor Juhos e320a7e649 ar71xx: simplify misc IRQ handling
SVN-Revision: 32948
12 years ago
Gabor Juhos 3e1e52a524 ar71xx: fix AR934X_EHCI_SIZE
SVN-Revision: 32947
12 years ago
Gabor Juhos b873051706 ar71xx: image: stop the switch from the lzma-loader on the TL-WR1043ND
SVN-Revision: 32946
12 years ago
Gabor Juhos e29d6bec6f ar71xx: image: allow to use board specific code in the lzma-loader
SVN-Revision: 32945
12 years ago
Gabor Juhos 79a8660d67 ar71xx: init switch hw_reset on the TL-WR1043ND board
SVN-Revision: 32944
12 years ago
Gabor Juhos 563400ef10 ar71xx: ew-dorin: added router firmware generation
[juhosg: remove dead code]

Signed-off-by: embedded wireless GmbH <info@embeddedwireless.de>

SVN-Revision: 32934
12 years ago