Commit Graph

461 Commits (b855faecc0fee06711ef9805f77f31696e51303c)

Author SHA1 Message Date
Felix Fietkau b855faecc0 ar71xx: update Carambola2 platform data
Change list:
 * Remove button info on GPIO12, there is no button there.
 * Remove nvram mtd partition, as it's not used for anything, saves 64k for user data.

Tested building for carambola2 target.

Signed-off-by: Mantas Pucka <mantas@8devices.com>

SVN-Revision: 41993
10 years ago
Imre Kaloz dc628f2e08 add support for the archer c5
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 41814
10 years ago
John Crispin eae9b2541a ar71xx: split wndr4300 and wndr3700v4 into 2 seperate mips machines
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41788
10 years ago
John Crispin 34c9bc0596 ar71xx: create profile and build image for the OpenMesh OM5P board
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 41775
10 years ago
John Crispin d19530c693 ar71xx: Add UBNT airGateway support
This patch adds support for the Ubiquiti Networks airGateway.

Based in part on code posted by David Hutchison <dhutchison@bluemesh.net> on openwrt-devel:
  https://lists.openwrt.org/pipermail/openwrt-devel/2013-December/023035.html

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

SVN-Revision: 41766
10 years ago
Gabor Juhos 2adff1734f ar71xx: add profile and build image for the EnGenius EAP300 v2 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41661
10 years ago
Gabor Juhos 495aef39f4 ar71xx: add profile and build image for the Tube2H board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41652
10 years ago
Gabor Juhos fec2596282 ar71xx: add profile and build image for the EnGenius ESR900
Signed-off-by: Forest Crossman <cyrozap@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5715/
[juhosg: change subject]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41642
10 years ago
John Crispin e503eeb465 ar71xx: add support for nanostation m xw
SVN-Revision: 41636
10 years ago
Gabor Juhos c4c25e741e ar71xx: add profile and build image for EnGenius ESR1750
Signed-off-by: Jon Suphammer <jon@suphammer.net>
Patchwork: http://patchwork.openwrt.org/patch/5840/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41626
10 years ago
Gabor Juhos a749d8163f ar71xx: add profile and build image for GL.iNet v1
Patch is based on http://patchwork.openwrt.org/patch/5273/.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Signed-off-by: Mark Janssen <mark@sig-io.nl>
Signed-off-by: alzhao <alzhao@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5653/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 41621
10 years ago
John Crispin 9e26031a88 ar71xx: add support for TP-LINK TL-WA860RE v1
New router/repeater from TP-LINK

- CPU: Atheros AR9341-DL3A (AP123)
- Flash: 4MB
- Ram: 32MB

Similar to TL-WA850RE.

Changes: rename file after r41596

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

SVN-Revision: 41598
10 years ago
John Crispin 42a37b2a89 ar71xx: added support for TL-WA830RE V2
Corrected patch ath79 insted of auth79. Sorry.

Signed-off-by: Fredrik Jonson <fredrik@famjonson.se>

SVN-Revision: 41596
10 years ago
John Crispin e6e6a85dc9 ar71xx: add support for EasyLink M150 and M-mini
v3 refreshes the patch on trunk@41337

This patch adds support for the EasyLink EL-M150 and M-mini

http://wiki.openwrt.org/toh/easylink/el-m150
http://wiki.openwrt.org/toh/easylink/el-m-mini

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

SVN-Revision: 41348
10 years ago
John Crispin baa534a8b7 ar71xx: nbg6716: Enable procd nand sysupgrage
This enables the procd nand upgrade for ZyXEL NBG 6716. Also the ubi config
is cleaned up to match the wndr4300.

Signed-off-by: André Valentin <avalentin@marcant.net>

SVN-Revision: 41346
10 years ago
John Crispin 1bb3e5c40a ar71xx: fix wndr3700v4 image header
https://dev.openwrt.org/ticket/16840

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

SVN-Revision: 41333
10 years ago
John Crispin 22a35a7b11 SysupgradeNAND: include rootfs-type in image name
also add quotes to paths

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 41326
10 years ago
John Crispin c973fb031e ar71xx: add sysupgrade support for wndr4300
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41131
10 years ago
John Crispin 9a0b4ab4ed ar71xx: remove the explicit ubi.mtd- paramaters and rename ubiroot to ubi
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 41130
10 years ago
John Crispin 5c1105d2a1 ar71xx: add profile and build image for HiWiFi HC6361.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

SVN-Revision: 40975
10 years ago
John Crispin 85b889940d ar71xx: add support to TP-LINK TL-WA730RE v1
The TL-WA730RE seems to be almost identical to TL-WA701ND, just
that it comes without PoE and a stock-firmware claiming the device
to be a "Range Extender".

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 40972
10 years ago
John Crispin 60ec05fdcb ar71xx: add support for dlink dir-615-e1
Dlink dir-615-e1 can use dir-600-a1's image, but the image can't be
uploaded through dlink's normal firmware update web page.

Add profile for dir-615-e1 so the generated image can be uploaded
through the firmware update web page.

Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>

SVN-Revision: 40969
10 years ago
Gabor Juhos 0d7197116e ar71xx: add profile and build image for the ZyXEL NBG6716 board
Signed-off-by: André Valentin <avalentin@marcant.net>
Patchwork: http://patchwork.openwrt.org/patch/5101/
[juhosg: remove the non-existing zyxelnand subtarget specific stuff]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40502
10 years ago
Gabor Juhos 22916814e3 ar71xx: build firmware image for the WNDR3700 v4 board
Based on the the WNDR3700v4 support patch from Ralph Perlich:
  http://patchwork.openwrt.org/patch/4763/

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

SVN-Revision: 40481
10 years ago
Gabor Juhos a67578ce33 ar71xx/image: allow to use more arguments for some macros
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40480
10 years ago
Gabor Juhos 17f848538c ar71xx: fix image generation
Move the comments out from the shell script to fix build
breakage introduced in r40464.

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

SVN-Revision: 40466
10 years ago
Gabor Juhos fd53cfa31b ar71xx: add comments for image Makefile.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/5075/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40464
10 years ago
Gabor Juhos 1bce5e8328 ar71xx: initial support for TP-Link Archer C7v2
The C7v2 has 16 MB flash and QCA9880-BR4A rev 2 supported by ath10k driver.
The C7v1 had 8 MB flash and the unsupported QCA9880-AR1A rev 1.

Signed-off-by: Adam Serbinski <adam@serbinski.com>
Patchwork: http://patchwork.openwrt.org/patch/5071/
[juhosg:
 - remove the v2 specific profile add the ath10k driver to the existing
   Archer C7 profile instead. Although on v1 devices it does not change
   the non-working behaviour, but the ath10k driver is useful for users
   whom have replaced the wifi card with a supported one in their units.
 - update image/Makefile to build firmware image for both boards if the
   Archer C7 profile is selected]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40463
10 years ago
Felix Fietkau 7131a104f5 ar71xx: add support for the TP-LINK TL-WR841N/ND v9
Everything seems to be working fine. Potential issues:

* VLAN port IDs are reversed with regard to the numbers on the case.

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

SVN-Revision: 40400
10 years ago
Gabor Juhos b68564ed3f ar71xx: build image for TL-WDR4300v1 (IL)
The version of TL-WDR4300 sold in Israel comes with a different
hardware id.

Patch-by: Daniel <daniel@makrotopia.org>
Patchwork: http://patchwork.openwrt.org/patch/5001/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40038
10 years ago
Gabor Juhos 4ea54b827f ar71xx: add profile and build firmware image for the Oolite v1 board
Patch-by: Lars Bøgild Thomsen <lth@cow.dk>
Patchwork: http://patchwork.openwrt.org/patch/4922/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40036
10 years ago
Felix Fietkau 802d17ceaf ar71xx: Add 16MB Flash version for Embedded Wireless Dorin Platform
Signed-off-by: Embedded Wireless GmbH <info at embeddedwireless.de>

SVN-Revision: 39764
10 years ago
Gabor Juhos f433088d50 ar71xx: add profile and build image for TP-Link TL-WDR4900 v2.0 board
Patch-by: TenNinjas <tenninjas@tenninjas.ca>
Patchwork: http://patchwork.openwrt.org/patch/4850/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39637
10 years ago
Gabor Juhos d6cb5215a9 ar71xx: WNR2200: fix mounting root fs problem
Solves ticket #14356 <https://dev.openwrt.org/ticket/14356>

Without this patch, UART output will show only 4 partitions:
  [    0.740000] 4 cmdlinepart partitions found on MTD device spi0.0
  [    0.750000] Creating 4 MTD partitions on "spi0.0":
  [    0.750000] 0x000000000000-0x000000050000 : "u-boot"
  [    0.760000] 0x000000050000-0x000000070000 : "u-boot-env"
  [    0.770000] 0x000000070000-0x0000007f0000 : "firmware"
  [    0.790000] 0x0000007f0000-0x000000800000 : "art"
and then linux complains :VFS: Cannot open root device "(null)"

With this patch, UART out will show 7 partitions:
  [    0.740000] 4 cmdlinepart partitions found on MTD device spi0.0
  [    0.750000] Creating 4 MTD partitions on "spi0.0":
  [    0.750000] 0x000000000000-0x000000040000 : "u-boot"
  [    0.760000] 0x000000040000-0x000000050000 : "u-boot-env"
  [    0.770000] 0x000000050000-0x0000007f0000 : "firmware"
  [    0.780000] 2 netgear-fw partitions found on MTD device firmware
  [    0.780000] 0x000000050000-0x00000014b440 : "kernel"
  [    0.790000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
  [    0.800000] 0x00000014b440-0x0000007f0000 : "rootfs"
  [    0.810000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
  [    0.820000] mtd: device 4 (rootfs) set to be root filesystem
  [    0.830000] 1 squashfs-split partitions found on MTD device rootfs
  [    0.830000] 0x000000340000-0x0000007f0000 : "rootfs_data"
  [    0.840000] 0x0000007f0000-0x000000800000 : "art"

This patch is tested against r39502 of trunk.

Signed-off-by: Jonathan Chang <changcs@santos.ee.ntu.edu.tw>
Patchwork: http://patchwork.openwrt.org/patch/4870/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39625
10 years ago
Jo-Philipp Wich b1d7ebae09 ar71xx: fix mtdpartsize macro in image Makefile (#14961)
The mtdpartsize macro triggers shell errors on various Linux distributions
when the partname argument $(1) does not appear within the partmap $(2).

Change the sed pattern to only emit anything if a successful substitution
occured and only evaluate the arithmetic expression if something was printed
by the sed program.

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

SVN-Revision: 39583
10 years ago
Gabor Juhos e41e531e3b ar71xx: image: reserve 4 erase blocks on the TP-Link devices
This ensures that the generated images will have enough erase
blocks for JFFS2.

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

SVN-Revision: 39397
11 years ago
Gabor Juhos f1a9ed8345 ar71xx: image: move WNDAP360 macro
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39394
11 years ago
Gabor Juhos 09bf46d418 ar71xx: image: generate sysupgrade images for the Compex boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39391
11 years ago
Gabor Juhos 0c0b87293e ar71xx: image: use a single firmware partition on Compex devices
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39389
11 years ago
Gabor Juhos 998c89a9a6 ar71xx: image: detect partition sizes in the Image/Build/Ath macro
Get the size of the mtd partitions directly from the
MTD layout and remove the superfluous macro parameters.

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

SVN-Revision: 39384
11 years ago
Gabor Juhos 4556632578 ar71xx: image: fix size verification in the CatFiles macro
The macro checks the size of the rootfs image even if
the second parameter of the macro contains the size of
an eraseblock. It is wrong because the size of the
kernel image will be adjusted to the next eraseblock
and the resulting image might be too large.

Fix the macro to check the size of the final image
instead of the rootfs image.

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

SVN-Revision: 39383
11 years ago
Gabor Juhos 56136c0f34 ar71xx: ap83: define mtd layout via command line
Also use the RKuImage macro becasue the original
firmware starts with the rootfs.

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

SVN-Revision: 39379
11 years ago
Gabor Juhos a59e82761f ar71xx: ap81: define mtd layout via command line
Also use the RKuImage macro becasue the original
firmware starts with the rootfs.

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

SVN-Revision: 39378
11 years ago
Gabor Juhos 9f4e2bf326 ar71xx: image: show size limit in warning messages
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39376
11 years ago
Gabor Juhos 447530995a ar71xx: add initramfs image support for Compex devices
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39375
11 years ago
Imre Kaloz b6e1cbd8dd generate images for the On Networks N150 (rebranded Netgear WNR612v2)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39320
11 years ago
Gabor Juhos 2318a46d84 ar71xx: enable images for WD My Net N750
Now that the switch works correctly we can enable the images for this
board.

Flashing from the factory firmware, the factory failsafe loader and
sysupgrade was tested successfully.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/4617/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39130
11 years ago
Gabor Juhos 749c44b24d ar71xx: build image for the TP-Link TL-WA901ND v3 board
Based-on: http://patchwork.openwrt.org/patch/4507/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39075
11 years ago
Gabor Juhos e2fc4dc4e7 ar71xx: build firmware image for the TL-WA801ND v2
Patch to add the profile for the TP-LINK WA801ND v2

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Patchwork: http://patchwork.openwrt.org/patch/4502/
[juhosg: change subject]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39065
11 years ago
Gabor Juhos 3674062469 ar71xx: image: unify CyberTAN macros
Make the Image/Build/CyberTAN macro more generic,
and use simple wrappers for the GZIP/LZMA variants.
This simplifies the Makefile a bit, and allows to
build sysupgrade images for the devices which are
using LZMA compressed uImages.

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

SVN-Revision: 38965
11 years ago