Commit Graph

2765 Commits (576621f1e353339fe81ece6cff7e8bcd12cbc7b8)

Author SHA1 Message Date
John Crispin d6550887a9 ar71xx: fix the SingleProfile kernel size limit for dLAN devices
it ends up as $(2) of CatFiles and must be a plain decimal value.

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

SVN-Revision: 47555
9 years ago
John Crispin 99fd9a7041 ar71xx: add support for the devolo dLAN Hotspot
Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>

SVN-Revision: 47554
9 years ago
John Crispin ac23207803 ar71xx: fix AR71XX_MODEL on TP-Link TL-WR703N
The hwid check was wrong, causing the AR71XX_MODEL value to end with a
space (as $hwver was unset).

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

SVN-Revision: 47553
9 years ago
Jo-Philipp Wich 605621fc3f ar71xx: fix wndr3700_board_detect for some NETGEAR WNDR3700v2 (again)
When fixing the model string for WNDR3700v2 which contain a model string
followed by 0xff in r46455, the match for other versions of the WNDR3700v2
which just contain lots of 0xff broke (as the 0xff $model is checked for
is stripped off).

Fix by stripping off non-printable characters only for the actual output
string, but not for the internal matching.

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

SVN-Revision: 47538
9 years ago
Jo-Philipp Wich ade2c06d61 ar71xx: migrate led and network setup to board detection framework
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47534
9 years ago
Hauke Mehrtens fa137d51f5 ar71xx: add Arduino Yun
This is based on patches from Federico Fissore <f.fissore@arduino.cc>
especially this one:
7e2976fa83

The console is running with 250000 baud which is a non standard baud
rate and needs an extra patch to be applied, I will try to get this
patch upstream or something else which accomplish the same.

Some upstream code looks like there are many different versions of this
SoC, are these only internal versions and all versions on the consumer
market are the same? I saw different GPIO configuration and flash sizes
of 8MB and 16MB?

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47451
9 years ago
Hauke Mehrtens 1bfbf2de6d ar71xx: serial: core: add support for boot console with arbitrary baud rates
The Arduino Yun uses a baud rate of 250000 by default. The serial is
going over the Atmel ATmega and is used to connect to this chip.
Without this patch Linux wants to switch the console to 230400 Baud.

With this patch Linux will use the configured baud rate and not some
standard one which is near by.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47450
9 years ago
Hauke Mehrtens abea1127c9 ar71xx: add function to access the GPIO function2 register
Add access to the function2 gpio register. This probably has to be
converted into a pimux driver later on. This is needed for some setup
functions on the Arduino Yun.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47449
9 years ago
Felix Fietkau 7f75961e38 ar71xx: add support for TP-LINK TL-WR941ND v6 (international version)
The international version is completely different from the already
supported Chinese version. The WLAN of the QCA956x SoC used by this router
has been fixed in r46948.

This patch looks like it changes a lot in
700-MIPS-ath79-openwrt-machines.patch; that is not the case. Unfortunately,
quilt decided to completely reorganize the Kconfig patch even though only
a single section has been added.

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

SVN-Revision: 47420
9 years ago
Felix Fietkau 0a96564f9b ar71xx: fix typo in r47416
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47417
9 years ago
Felix Fietkau 9dd5c79c47 ar71xx: fix alignment of struct arpt_arp (fixes #14577)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47416
9 years ago
Felix Fietkau 846b8593fc ar71xx: add support for the TP-LINK TL-WR1043ND v3
The hardware of the v3 is identical to the v2.

Based-on-patch-by: Andreas Ziegler <github@andreas-ziegler.de>
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 47406
9 years ago
Felix Fietkau ae7e7239b8 ar71xx: Add support for ZyXEL NBG6616.
Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net>

SVN-Revision: 47405
9 years ago
Felix Fietkau 46f6626052 include/image.mk: Introduce generic option to wrap kernel into JFFS2
Some devices require the kernel to be in a JFFS2 file system. Make the
support for this more generic so that it can be used by other devices.

Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net>

SVN-Revision: 47404
9 years ago
Felix Fietkau 0b296d3808 ar71xx: use correct PLL configuration register bitmask for QCA956x SoC.
Incorrect value causes clock inaccuracy as huge as 1/60.

Signed-off-by: Dmitry Ivanov <dima@ubnt.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47363
9 years ago
John Crispin 7cc3beff32 ar71xx: Add support for wdr7500v3
The device is similar to Archer C7 v2, but with 8M of flash, and 6 external
antennas.  Reason for breaking the naming pattern is that sticker on the back
mentions "WDR7500" and has no mention of "Archer".

Signed-off-by: Srdjan Rosic <rosic@google.com>

SVN-Revision: 47344
9 years ago
Felix Fietkau 9130e4dc32 ar71xx: fix regression in building TL-WDR6500-v2 images
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47333
9 years ago
Felix Fietkau 180713b89b ar71xx/image: remove old unused build code for TPLINK
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47321
9 years ago
Felix Fietkau 958c785868 ar71xx/image: remove old unused build code for TPLINKOLD
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47320
9 years ago
Felix Fietkau 24eb0d1ba1 ar71xx/image: migrate tl-wr841nd-v1.5 to new build step using squashfs+jffs2 instead of squashfs-only
All other tplink images use squashfs+jffs2. I don't see any reason why
this board should use squashfs-only

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47319
9 years ago
Felix Fietkau ebea23b49f ar71xx/image: remove old unused build step TPLINK-64K
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47318
9 years ago
Felix Fietkau c3350394a5 ar71xx/image: migrate tl-wdr6500-v2 to new image build steps
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47317
9 years ago
Felix Fietkau 1bd87413e6 ar71xx/image: refactor templates tplink-chn-v2
SVN-Revision: 47316
9 years ago
Felix Fietkau 153ed674b3 ar71xx/image: introduce TPLINK_HEADER_VERSION variable for tplink image
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47315
9 years ago
John Crispin c89fc7a75a kernel: Fix environment pointer setup in ar71xx/ath79
Observed on ar71xx/ath79 platforms such as Ubiquiti RouterStations.Reported in #20642.:
(https://dev.openwrt.org/ticket/20642).

If embedded command-line text exists with CONFIG_IMAGE_CMDLINE_HACK=y,firmware
init doesn't initialize environment pointer (fw_init_cmdline not called).

arcs_cmdline is not initialized before calling strlcat.

Signed-off-by: Ted Hess <thess@kitschensync.net>
Tested-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 47270
9 years ago
John Crispin c466a46a77 ar71xx: add support for TP-LINK TL-WR841N/ND v10
The TL-WR841N/ND v10 is mostly identical to the v9. Apart from some minor
changes, it contains a newer revision of the QCA9533 SoC and the CPU clock
is significantly higher.

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

SVN-Revision: 47263
9 years ago
John Crispin c9426352ce ar71xx: fix ath79_soc_rev value for QCA9531 ver. 2
ath9k expects to get revision id 2 for the QCA9531 ver. 2 rev. 0. This
fixes the very low TX power on some devices like the TP-LINK
TL-WR841ND v10.

As ath79_soc_rev is only used to get the revision number to ath9k on the
QCA9533, just set it to the expected value on the ver. 2.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Tested-by: Felix Kaechele <felix@kaechele.ca>

SVN-Revision: 47262
9 years ago
John Crispin 632c92094a ar71xx: Bitmain Antminer S1/S3 set GPIO for USB Power
Antminers using the stock bootloader will not hash without this GPIO set.
Applies to DD and CC

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

SVN-Revision: 47261
9 years ago
Hauke Mehrtens da94b00df5 kernel: update kernel 4.1 to version 4.1.11
https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.11

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47252
9 years ago
John Crispin fb152a810c ar71xx: Send power to USB port on WNR2200
This patch fixes ticket #15267 by enabling power on the
WNR2200's USB port. At present, the USB port on the WNR2200
is non-functional due to it not receiving power.

This patch defines an additional GPIO pin, but none of the
current GPIO definitions have been modified.

Signed-off-by: Riley Baird <BM-2cVqnDuYbAU5do2DfJTrN7ZbAJ246S4XiX@bitmessage.ch>

SVN-Revision: 47236
9 years ago
John Crispin 8d8a937272 ar71xx: Add Gainstrong MiniBox v1.0 support to trunk
This patch supersedes the v1 from September 17th.

Bumping the patch version - the MiniBox profile showed up under M, but
since it's called 'Gainstrong MiniBox v1.0' now it looks out of place.
Renamed the profile to gs-minibox-v1.mk to fix that.

The following patch adds support for the Gainstrong MiniBox into trunk
(or 'Designated Driver' :D ).

Fixed items:

- Inverted LED polarity (OOLITE seems to suffer from the same problem).
- Changed uppercase MINIBOX_V1_ prefix as requested.
- Prefixes are now gs_minibox_ similar to gs_oolite_ (same vendor).
- Mention the vendor (Gainstrong) in code headers.

Compiles fine, has been confirmed working by owners on 15.05.

Question: I've seen some boards use tools/firmware-utils/src/mktplinkfw.c,
the MiniBox images build fine without, so I'm wondering: do I need to add
it in there as well? Any added benefit?

Thank you

Signed-off by: Stijn Segers <francesco.borromini@inventati.org>

SVN-Revision: 47234
9 years ago
John Crispin 257e76a3df ar71xx: Bitmain Antminer S1 & S3 cleanup
Sets the LEDs to boardname:color:led-name
Sets the LAN to eth0
Other corrections such as the Machine Name and HWIDs
v2 corrects the profile names in the Makefile and changes tabs to spaces
in the Makefile 'define Device/' like the other devices.

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

SVN-Revision: 47221
9 years ago
John Crispin c9ef7a49c7 ar71xx: TP-LINK Archer C5 image name
There are more version on market, add version number to the name.

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

SVN-Revision: 47179
9 years ago
John Crispin d6ac3faec3 ar71xx/image: migrate all images based on macro TPLINK
Includes images for
rnx-n360rt
tl-mr3220-v1
tl-mr3420-v1
tl-wa701n-v1
tl-wa730rev1
tl-wa7510n
tl-wa801nd-v1
tl-wa830re-v1
tl-wa901nd-v1
tl-wa901nd-v2
tl-wr740n-v1
tl-wr740n-v3
tl-wr743nd-v1
tl-wr841nd-v3
tl-wr841nd-v5
tl-wr841nd-v7
tl-wr842n-v1
tl-wr941nd-v2
tl-wr941nd-v3
tl-wr941nd-v4
tl-wr1043nd-v1

SVN-Revision: 47178
9 years ago
John Crispin abe9f6b025 ar71xx/image: remove old build step TPLINK-LZMA
all boards has been migrated to the new build step

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47177
9 years ago
John Crispin b2e3f71b7c ar71xx/image: migrate last TPLINK-LZMA images to new build system
Migrate TLWR1043V2 TLWR2543

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47176
9 years ago
John Crispin 16517293ac ar71xx/image: refactor tplink-chn-v2 devices
* use build step mktplinkfw with extra arguments
* remove now unused mktplinkfw-chn-v2
* use Device/tplink

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47175
9 years ago
John Crispin 5816fa9a98 ar71xx/image: add options argument to mktplinkfw step
Allow to pass extra arguments to mktplinkfw step. Some board requires
an extra argument to create a valid image.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47174
9 years ago
John Crispin 6f59ea0e80 ar71xx/image: remove unused multiprofile definitons
These profiles covered by new image/Makefile descriptions. Only the old format uses
MultiProfile macro

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 47173
9 years ago
John Crispin 03681684bf ar71xx: Correct WeIO board name
Trivial parch to correct WeIO board name in the system.

Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>

SVN-Revision: 47110
9 years ago
Rafał Miłecki 07fac13b51 ar71xx: rename firmware for Chinese version of TL-WR941ND v6
It seems there are two *different* versions on TL-WR941ND v6: Chinese
and European one. Currently supported by OpenWrt is Chinese one. Rename
firmware to make it clear.
For details see:
http://wiki.openwrt.org/toh/tp-link/tl-wr941nd
https://forum.openwrt.org/viewtopic.php?id=59295

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47107
9 years ago
Hauke Mehrtens 0cd478518f kernel: update 4.1 to 4.1.10
Fixes a regression on spi flash devices (upstream commit 1583eaece6fa).

Changelogs:
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.7
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.8
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.9
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.1.10

096-ipv4-off-by-one-in-continuation-handling-in-proc-net.patch was applied
upstream and dropped.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>
[update from 4.1.9 to 4.1.10]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47104
9 years ago
Felix Fietkau 896d3e3e13 ar71xx: Add WeIO Board Support
Add support for WeIO board (http://we-io.net).
This board is based on Carambola2 board form 8Devices.

Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
Signed-off-by: Felix Fietkau <nbd@openwrt.org> [some cleanups]

SVN-Revision: 47036
9 years ago
Felix Fietkau 5119ee9be6 ar71xx: fix bogus hardcoded kernel image size for Seama images (fixes #20585)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47034
9 years ago
John Crispin ac75fc8d98 ar71xx: add support for ap152 reference board
Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>

SVN-Revision: 46972
9 years ago
John Crispin f6607a4bec ath79: dev-eth: fix QCA9561 set phy interface mode and mask
QCA9563 and QCA9561 are two series of Qualcomm SoC Dragonfly. The only different
is QCA9563 w/o internal switch. It has one GMAC with SGMII interface. But they
have the same device ID(0x1150). So they share the same codes.

Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>

SVN-Revision: 46971
9 years ago
John Crispin fa09d76521 ar71xx: uci-defaults: fix ap143 to appropriate group
Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org>

SVN-Revision: 46970
9 years ago
John Crispin 1297679f4b ar71xx: Add UBNT airGateway Pro support
This patch adds kernel and userspace support for the Ubiquiti Networks airGateway Pro.

Signed-off-by: Matthew Reeve <mreeve at tenxnetworks.com>

SVN-Revision: 46961
9 years ago
John Crispin 0dbced8a48 ar71xx: add TP-LINK TL-WDR3320 v2 support
This patch adds support for TP-LINK TL-WDR3320 v2.

This router uses a chinese version 2 firmware header,.

Signed-off-by: Weijie Gao <hackpascal@gmail.com>

SVN-Revision: 46934
9 years ago
John Crispin bfeae90850 ar71xx: extract ath10k wifi board.bin for the OpenMesh MR1750 board
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 46933
9 years ago