Commit Graph

2849 Commits (73015c4cb3787cccadc72b53fdb84b2d45c90136)

Author SHA1 Message Date
Jo-Philipp Wich 473e9cad43 ar71xx: add missing kernel symbol (#21849)
Also reorder subtarget kernel configs.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 48717
8 years ago
John Crispin cede06cebc ar71xx: Support for Ubiquiti UniFi AP AC LITE
Add support for the Ubiquiti UniFi AP AC LITE
Signed-off-by: P.Wassi <p.wassi at gmx.at>

SVN-Revision: 48711
8 years ago
John Crispin 13a85914ae ar71xx: Make code formatting consistent on ath79/machtypes.h
Signed-off-by: Tiziano Bacocco <tizbac2@gmail.com>

SVN-Revision: 48706
8 years ago
John Crispin d6cb792d21 ar71xx: Added support for TL-WA801NDv3
Signed-off-by: Tiziano Bacocco <tizbac2@gmail.com>

SVN-Revision: 48705
8 years ago
John Crispin 9cf8461394 ar71xx: WNR2000v3: exclude USB modules from image
Netgear WNR2000v3 has no USB port yet default system image
includes USB kernel modules. This patch fixes that.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>

SVN-Revision: 48701
8 years ago
Felix Fietkau 376e3ade79 ag71xx: fix build error with debugfs code
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48695
8 years ago
Felix Fietkau 37dd95b772 ag71xx: increase rx ring size to improve performance
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48694
8 years ago
Felix Fietkau 11ca71cfdb ag71xx: store ring size order instead of ring size to avoid div/mod
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48693
8 years ago
Felix Fietkau 033fbb7778 ag71xx: increase tx ring size to improve performance
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48692
8 years ago
Felix Fietkau b7a2c533da ag71xx: optimize icache footprint of the receive poll function
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48691
8 years ago
Felix Fietkau b1431170ee ar71xx: register only the built-in switch MDIO bus, hook up eth0 to it, should hopefully fix regression reported in #21520
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48652
8 years ago
Felix Fietkau a63fd6faf7 ar71xx: fix MDIO bus probe on QCA956x
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48651
8 years ago
Felix Fietkau a5dd378a0e ar71xx: fold patch 622-MIPS-ath79-add-support-for-QCA956x-ethernet.patch into files/
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48650
8 years ago
Felix Fietkau 411515b368 ar71xx/image: use SOURCE_DATE_EPOCH for mksquashfs-lzma
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 48589
8 years ago
Felix Fietkau 2067f7f1de ar71xx: use page fragment API in the ethernet driver
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48578
8 years ago
Felix Fietkau 2530640f07 ar71xx: add support for linux 4.4
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48563
8 years ago
Felix Fietkau e5b5cce442 ar71xx: fix a few include errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48562
8 years ago
Hauke Mehrtens 4807ca67d6 kernel: update kernel 4.1 to version 4.1.16
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 48497
8 years ago
Felix Fietkau 57776e68ce base-files: remove default /etc/config/network, generate it via board.d instead
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48493
8 years ago
Felix Fietkau 6dc60d54fc Revert "ar71xx: Use full 128MB flash on Netgear WNDR4300 and WNDR3700v4"
This reverts commit r48276.
This can overwrite the caldata_backup partition, so the layout needs to
be changed in a different way.

Thanks to Arjen de Korte for spotting the issue.

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

SVN-Revision: 48456
9 years ago
John Crispin 9df952742d ar71xx: board.d: fix switch defaults on dLAN pro 1200+ WiFi ac
transparent for vlans as originally committed

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>

SVN-Revision: 48358
9 years ago
John Crispin 9d4e076966 ar71xx: fix AR8337 switch initialization on dLAN pro 1200+ WiFi ac
unswap ports 0/6 (broken by 17b8dcd63100a6b9e35199882f38bdc2be640777)

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>

SVN-Revision: 48357
9 years ago
John Crispin ed72c5f846 ar71xx: add support for Netgear WPN824N
Add support for Netgear WPN824N.
Hardware specs:
  * AR7240, 4 LAN ports, 1 WAN port
  * AR9285 WLAN
  * 32 MB RAM
  * 4 MB Flash
  * 16 LEDs (LAN, WAN and Power/Status contain two LEDs for dual color
    effect)
  * 3 Buttons (not supported)

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>

SVN-Revision: 48356
9 years ago
Gabor Juhos 55b0e261a4 ar71xx/lzma-loader: fix O32 ABI conformance
According to the calling convention of the o32 ABI the caller
function must reserve stack space for $a0-$a3 registers in case
the callee needs to save its arguments.

The assembly code of the loader does not reserve stack space for
these registers thus when the 'loader_main' function needs to save
its arguments, those will be stored in the 'workspace' area instead
of the stack.

Because the workspace area is also used by other part of the code, the
saved register values gets overwritten and this often leads to failed
kernel boots.

Fix the code to reserve stack space for the registers to avoid this
error.

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

SVN-Revision: 48279
9 years ago
Felix Fietkau b7aab03486 ar71xx: Use full 128MB flash on Netgear WNDR4300 and WNDR3700v4
Change MTD on WNDR4300 and WNDR3700v4 to fully utilize the 128MB flash.

Credit to @Tuochenlyu on GitHub.

Signed-off-by: Chris Marchesi <chrism@vancluevertech.com>

SVN-Revision: 48276
9 years ago
Felix Fietkau 5c5c60fec4 ar71xx: fix ethernet MAC reset on DMA hang
Fully reset the chip like on a full up/down, but without the PHY
statemachine restart.

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

SVN-Revision: 48228
9 years ago
Felix Fietkau cf2cf43717 ar71xx: extend ethernet DMA stuck check to all ar724x (and newer) chips
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48227
9 years ago
Hauke Mehrtens 93b50ade93 kernel/4.1: update to version 4.1.15
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 48223
9 years ago
Felix Fietkau 826cfa5773 ar71xx: fix ap152 support
- ethernet gigabit pll
- switch configuration
- sysupgrade

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 48187
9 years ago
Felix Fietkau 54b4265873 kernel: move at803x phy patch to generic
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 48108
9 years ago
Felix Fietkau ef215468f1 ar71xx: ensure that LOADADDR is passed to lzma-loader
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48101
9 years ago
Felix Fietkau f49dadb0bd ar71xx: fix factory images for WNR2200 (#19807)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48085
9 years ago
Felix Fietkau 0da9da0d33 ar71xx: another fix to wndr3700_board_detect
My last bugfix (r47538) introduced a new bug in wndr3700_board_detect
(again...).

Assigning the result of ar71xx_get_mtd_offset_size_format to the model
variable before stripping of garbage using awk will cause all NUL bytes to
be removed before awk is applied, leading to model strings like
"NETGEAR WNDRMACv2NETGEAR", where a NUL byte after the v2 is supposed to
terminate the string.

Fix by calling ar71xx_get_mtd_offset_size_format twice, once piping to awk
directly.

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

SVN-Revision: 48075
9 years ago
John Crispin 9242d27b4a V2 ar71xx : Add Support for the Bitmain Antrouter R1
This patch adds support for the Bitmain Antrouter R1

http://wiki.openwrt.org/toh/bitmain/r1

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

SVN-Revision: 48058
9 years ago
Felix Fietkau 5359183b7e ar71xx: fix sysupgrade for wnr2200
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48005
9 years ago
John Crispin e8c6d01d74 ar71xx: Update preinit script for new ath10k firmware
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

SVN-Revision: 47985
9 years ago
John Crispin 698edbbc32 ar71xx: refresh patches
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 47983
9 years ago
John Crispin 502f91b22e ar71xx: add support for QCA956x ethernet
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 47982
9 years ago
John Crispin 67953f30f3 ar71xx: update QCA956x support
- separate qca956x and tp9343 (they use different IDs)
- rename qca9561->qca956x for consistency
- add missing bits (device reset, gpio output select)
- fix wmac setup

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 47981
9 years ago
John Crispin 772f9d4e32 ar71xx: Add support for AirTight Networks C-55
This patch is to add support for the AirTight Networks C-55 Access Point

Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>

SVN-Revision: 47973
9 years ago
Felix Fietkau 814d70b2fd ar8216: rework/fix AR8337 MAC swap handling
In r45970 the MAC swap handling was made opt-in, however some boards
have been forgotten during the conversion. Since the reference design
uses this MAC swapping, and pretty much all known boards using this chip
seem to do so too, enabling the swapping is a more reasonable default
than leaving it disabled.

Change the code to still allow boards to opt-out of this.

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

SVN-Revision: 47956
9 years ago
Felix Fietkau 3fa85af5ad ar71xx: Add ath79_register_m25p80_large to support >16MB SPI chips
The following patch is to add ath79_register_m25p80_large, which sets
is_flash to false to support bit banging. This is needed on some 32MB+
SPI chips, such as the S25FL256S1

Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>

SVN-Revision: 47952
9 years ago
Felix Fietkau c74a690661 ar71xx: scan nand ubi partition for ath9k eeprom files
The MR18 stores the ath9k eeprom values on the NAND.
This patch makes it possible to retrieve the images
from there.

Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>

SVN-Revision: 47948
9 years ago
Felix Fietkau 8e4194797a ar71xx: refactor 10-ath9k-eeprom
move all library includes and 'firmware already exists'
check to the top of the script.

Signed-off-by: Chris R Blake <chrisrblake93@gmail.com>

SVN-Revision: 47947
9 years ago
Felix Fietkau fb1273dfdd ar71xx: PowerCloud CR5000 openwrt configuration
OpenWrt configuration part of support for the PowerCloud Systems
CR5000.  The CR5000 is a dual-band 802.11n wireless router with
8MB flash, 64MB RAM, (unused on stock firmware) USB 2.0 port and
five port gigabit ethernet switch.  The CR5000 was sold as
hardware for the Skydog cloud-managed router service.

    Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>

SVN-Revision: 47946
9 years ago
Felix Fietkau 59fc337a9a ar71xx: PowerCloud CR3000 OpenWrt configuration
OpenWRt configuration part of support for the PowerCloud
Systems CR3000.  The CR3000 is a 802.11n 2.4 GHz wireless router with
8MB flash, 64MB RAM, a four port gigabit ethernet switch, and a fast
ethernet wan port that was sold by PowerCloud Systems as
hardware for the Skydog cloud-managed router service.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>

SVN-Revision: 47945
9 years ago
Felix Fietkau abc1faad0b ar71xx: PowerCloud CAP324 OpenWrt configuration
Openwrt configuration part of support for PowerCloud CAP324
Cloud AP.  The CAP324 Cloud AP is a device sold by PowerCloud Systems
who's stock firmware (CloudCommand) provides 'cloud' based managment
of large numbers access points.

The CAP324 is a dual-band 802.11n wireless access point with 16MB flash
and 128MB RAM and single gigabit ethernet port.  It can be powered via PoE
or a wall wart.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>

SVN-Revision: 47944
9 years ago
Felix Fietkau 4c282ecfe8 ar71xx: Image generation for PowerCloud CR5000 Cloud Router
Kernel part of support for the PowerCloud Systems CR5000.  The
CR5000 is a dual-band 802.11n wireless router with 8MB flash,
64 MB RAM, (unused in stock firmware) USB 2.0 port, and five
port gigabit ethernet switch.  The CR5000 was sold as hardware for
the Skydog cloud-managed router service.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>

SVN-Revision: 47943
9 years ago
Felix Fietkau 09a97f42d9 ar71xx: Image generation for PowerCloud CR3000 Cloud Router
Image generation part of support for PowerCloud CR3000.  The CR3000 is
a 802.11n 2.4 GHz wireless router with 8MB flash, 64MB RAM,
a four port fast ethernet switch, and a fast ethernet wan port which
was sold by PowerCloud Systems as hardware for the Skydog
cloud-managed router service.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>

SVN-Revision: 47942
9 years ago
Felix Fietkau bee52ee579 ar71xx: PowerCloud CAP324 image generation
Image generation (and mtd partition) part of support for
PowerCloud CAP324 Cloud AP. The CAP324 Cloud AP is a device sold by
PowerCloud Systems who's stock firmware (CloudCommand) provides
'cloud' based managment of large numbers of access points.

The CAP324 is a dual-band 802.11n wireless access point with 16MB flash
and 128MB RAM and single gigabit ethernet port.  It can be powered via
PoE or a power adaptor.

Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>

SVN-Revision: 47941
9 years ago