aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/image/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: drop targetAdrian Schmutzler2020-08-301-69/+0
| | | | | | | | | | This target has been mostly replaced by ath79 and won't be included in the upcoming release anymore. Finally put it to rest. This also removes all references in packages, tools, etc. as well as the uboot-ar71xx and vsc73x5-ucode packages. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* build: image: move IMAGE_SIZE to image.mkSungbo Eo2020-03-111-1/+1
| | | | | | | | | | IMAGE_SIZE is widely used in many targets. Declare it in the default template to clean up redundant code. This also prevents deriving IMAGE_SIZE unintentionally from the previously defined device. While at it, remove duplicate KERNEL_SIZE declaration. Signed-off-by: Sungbo Eo <mans0n@gorani.run>
* ar71xx: Move some targets to tinyKoen Vandeputte2018-10-171-1/+1
| | | | | | | | | | | | | | | | | | | Recent changes on ar71xx (switch to 4.14, memory compaction, ...) cause an increase in kernel size, making it too big for some devices. Move these devices to the tiny target, where kernel symbols and optimization for speed are disabled, reducing the kernel size. Devices: - EnGenius ENS202EXT - OCEDO Koala Compile-tested targets: - ar71xx->generic->default - ar71xx->smallFlash->Default Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* ar71xx: move boards to tiny subtargetMathias Kresin2018-07-121-0/+1
| | | | | | | Move boards to the tiny subtarget which break the build if the kernel is set to "Optimize for performance". Signed-off-by: Mathias Kresin <dev@kresin.me>
* ar71xx: create new ar71xx/tiny subtarget for 4MB flash devicesMatthias Schiffer2018-01-131-0/+4
| | | | | | | | | | | This new subtarget sets the small_flash flag and removes unused kernel configuration. small_flash removes KERNEL_KALLSYMS, which saves ~107KB in the default configuration; removing unneeded hardware support from ar71xx/tiny saves another ~18KB (both after LZMA). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx/generic: add generic- prefix to vendor-specific image Makefile snippetsMatthias Schiffer2018-01-131-4/+4
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: image: use simply expanded variablesPiotr Dymacz2017-06-111-1/+1
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: image: keep custom Build/* functions in separate filesPiotr Dymacz2017-06-111-51/+1
| | | | | | | | Most of the custom Build/* functions in ar71xx target are rarely used by image building code for devices from more than one subtarget. As they don't need to be always included, move them to corresponding *.mk files. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: add support for EnGenius ENS202EXTMarty Plummer2017-05-301-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EnGenius ENS202EXT is an outdoor wireless access point with 2-port 10/100 switch, detachable antennas and proprietery PoE. The device is based on Qualcomm/Atheros AR9341 v1. Specifications: - 535/400/200 MHz (CPU/DDR/AHB) - 64 MB of RAM - 16 MB of FLASH - UART (J1) header on PCB (unpopulated) - 2x 10/100 Mbps Ethernet - 2.4 GHz, up to 26dBm - 2x external, detachable antennas - 7x LED, 1x button Flash instructions: You have three options: - Use the vendor firmware upgrade page on the web interface and give it the factory.img. This is the easiest way to go about it. - If you have serial access during u-boot, interrupt the normal boot (any key before timeout) and run 'run failsafe_boot'; this will bring you to a minimal openwrt luci image on ip 192.168.1.1 useful if you've bricked the normal firmware. - Use the vendor's management cli, which can be accessed via telnet with the same credentials as the web login (default admin:admin), then issue the following commands: *** Hi admin, welcome to use cli(V-1.6.7) *** ---========= Commands Help =========--- stat -- Status sys -- System wless2 -- 2.4G-Wireless mgmt -- Management tree -- Tree help -- Help reboot -- Reboot ens202ext>mgmt Management ---========= Commands Help =========--- admin -- Administration mvlan -- Management VLAN settings snmp -- SNMP settings backup -- Backup/Restore settings autorb -- Auto reboot settings fwgrade -- Firmware upgrade time -- Time settings wifisch -- Wifi schedule log -- Log diag -- Diagnostics disc -- Device Discovery logout -- Logout help -- Help exit -- Exit ens202ext/mgmt>fwgrade Management --> Firmware upgrade ---========= Commands Help =========--- fwup -- Firmware upgrade help -- Help exit -- Exit ens202ext/mgmt/fwgrade>fwup http://web.server/lede-ar71xx-generic-ens202ext-squashfs-factory.bin Signed-off-by: Marty Plummer <ntzrmtthihu777@gmail.com>
* ar71xx: convert mikrotik routerboard support to UBIFelix Fietkau2017-01-161-0/+3
| | | | | | | | | | Remove the wget2nand script, drop the need for manual installation, use sysupgrade instead. There are now two different NAND images, one for 64 MiB flashes, the other for >= 128 MiB Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: remove obsolete jffs2 image building codeFelix Fietkau2016-11-291-3/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix kernel relocate stub parallel build issueFelix Fietkau2016-11-081-4/+5
| | | | | | Use per-kernel directory Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: build relocate stub for generic and legacy imagesStijn Tintel2016-10-271-1/+4
| | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: John Crispin <john@phrozen.org>
* ar71xx: add relocation loaderMatthias Schiffer2016-10-111-0/+9
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* image: remove padding parameter from append-kernel/append-rootfsMathias Kresin2016-09-131-1/+1
| | | | | | | | | | | Using pad-to instead of passing the optional padding to append-kernel or append-rootfs. It could be that the value of a variable is passed. In case the variable is empty no error is thrown. Furthermore the purpose of the extra parameter is hard to get without reading the code. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ar71xx: fix a legacy image porting issueFelix Fietkau2016-07-131-2/+0
| | | | | | | Get rid of remaining IMAGE_PROFILE references and move template calls the right place Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix nand device profileJohn Crispin2016-07-051-0/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: image: remove duplicate IMAGES definitionYousong Zhou2016-06-301-1/+0
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ar71xx: move nand device image definitions to a separate fileFelix Fietkau2016-05-231-24/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: move generic device image definitions to a separate fileFelix Fietkau2016-05-231-339/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: split ubnt image building code into a separate fileFelix Fietkau2016-05-231-247/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: split legacy image building code into a separate fileFelix Fietkau2016-05-231-1212/+9
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: split tp-link image building code into a separate fileFelix Fietkau2016-05-231-746/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: add support for TP-LINK TL-WR842N/ND v3Cezary Jackiewicz2016-05-141-1/+8
| | | | | | | | | | | - CPU QCA9531-BL3A - RAM: 64MB - flash: 16MB - USB AP143 platform, similar to tl-wr841n v10/v11, but with USB Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* ar71xx: add proper support for Archer-C7 V2John Crispin2016-05-141-1/+1
| | | | | | This has minor differences to the V1 Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: Add support for Ubiquiti UniFi AP AC PROP.Wassi2016-05-121-1/+7
| | | | | Add support for the Ubiquiti UniFi AP AC PRO Signed-off-by: P.Wassi <p.wassi at gmx.at>
* ar71xx: Rename unifiac to unifiac-liteP.Wassi2016-05-121-8/+13
| | | | | | | To avoid confusion with different unifiac devices, rename existing target "unifiac" to "unifiac-lite", before "unifiac-pro" is introduced. Signed-off-by: P.Wassi <p.wassi at gmx.at>
* ar71xx: add TP-Link TL-WR810N supportblogic2016-05-101-0/+8
| | | | | | | | | This patch adds support for the TP-Link TL-WR810N. https://wiki.openwrt.org/toh/tp-link/tl-wr810n Signed-off-by: Jens Steinhauser <jens.steinhauser@gmail.com> SVN-Revision: 49286
* ar71xx: Add support for the OMYlink OMY-G1rebootJohn Crispin2016-04-261-1/+8
| | | | | | | | | | https://wiki.openwrt.org/toh/omylink/omy-g1 http://www.omylink.com/ Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 49258
* ar71xx: Add TP-Link TL-WR740N v6 support to trunkJohn Crispin2016-04-261-1/+8
| | | | | | | | | | | | This patch adds support for the TP-Link TL-WR740N v6 into OpenWrt trunk. Hardware wise, it's very similar to the TL-WR841N v10. See the forum thread [1]. Credit goes to the user 'traveler' who did the legwork and tested builds. Also thanks to Matthias Schiffer for clarifying the DEVICE_PROFILE settings. Signed-off by: Stijn Segers <francesco.borromini@inventati.org> [1]: https://forum.openwrt.org/viewtopic.php?pid=318704 SVN-Revision: 49245
* ar71xx: build TP-LINK Archer C7 images with US region codeJohn Crispin2016-04-211-0/+1
| | | | | | | | | | | | | | | Since December 2015, the Archer C7 comes with an US-specific firmware. This firmware will only allow upgrades with images that contain the US region code in the firmware header. The "universal" firmware distributed in the rest of the world doesn't care about the region code, so we can just unconditionally set the region to US for now. When other region-specific firmwares appear, we'll need to create a factory image for each of them. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 49217
* ar71xx: fix giving extra arguments to Build/mktplinkfwJohn Crispin2016-04-211-13/+14
| | | | | | | | | | | | | | The build command will always get the whole argument string in $(1), regardless of whitespace. We need to use word/wordlist to split the string after the first word. Whitespace and quotation will be given to the command verbatim (make will ignore it), so to give multiple arguments, no quotation marks may be used. Fixes: r47174 ("ar71xx/image: add options argument to mktplinkfw step") Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 49216
* ar71xx: add TP-Link TL-WA901ND-v4 supportJohn Crispin2016-04-091-1/+9
| | | | | | Signed-off-by: Tiziano Bacocco <tizbac2@gmail.com> SVN-Revision: 49158
* ar71xx: add support for Compex WPJ342John Crispin2016-04-091-0/+3
| | | | | | | | | | | | OpenWrt can be flashed with following uboot commands: tftpboot 0x80500000 openwrt-ar71xx-generic-wpj342-16M-squashfs-sysupgrade.bin erase 0x9f030000 +$filesize cp.b $fileaddr 0x9f030000 $filesize Signed-off-by: Christian Mehlis <christian@m3hlis.de> SVN-Revision: 49157
* ar71xx: create profile and build image for the OpenMesh OM5P-AC boardJohn Crispin2016-04-091-1/+2
| | | | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com> SVN-Revision: 49148
* ar71xx: Add TL-WR841N/ND v11 supportJohn Crispin2016-04-011-1/+8
| | | | | | | | | | | | | | This patch adds support for the TP-Link TL-WR841N/ND to trunk. It is similar to the already supported v10 - see [1]. I have added support based on that topic; in the meantime it has been confirmed working (see the forum thread, and also [2]). Signed-off by Stijn Segers <francesco.borromini@inventati.org> [1]: https://forum.openwrt.org/viewtopic.php?id=61309 [2]: https://forum.openwrt.org/viewtopic.php?id=63657 SVN-Revision: 49099
* ar71xx: cosmetic fix of alfa ap120c/ap96 orderingLuka Perkov2016-03-241-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 49086
* ar71xx: add support for ap120cLuka Perkov2016-03-231-0/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 49082
* ar71xx: migrate tplink cpe510 to new build stepsJohn Crispin2016-03-231-48/+26
| | | | | | | | | cpe510: Tested sysupgrade and initramfs. Untested: webIf w/ factory.bin & recovery.bin Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 49081
* ar71xx/image: allow builds of loader without cmdline injectingJohn Crispin2016-03-231-3/+7
| | | | | | | | | | | | | On most platforms the cmdline is supplied by the loader to the kernel. When using an elf loader with cmdline the size is bloated by 512k. For loader-elf platforms like the cpe510 better use loader-elf but patch the cmdline into the kernel. wdr1043: Tested loader still works using sysupgade image. Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 49080
* ar71xx/image: introduce LOADER_TYPE to support elf loadersJohn Crispin2016-03-231-3/+4
| | | | | | | | | The loader decompress a lzma compressed kernel. Some bootloaders only support elf files like the tplink cpe510 Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 49079
* ar71xx: Add support for the OMYlink OMY-X1John Crispin2016-03-161-0/+8
| | | | | | | | | | | | This patch adds support for the OMYlink OMY-X1 https://wiki.openwrt.org/toh/omylink/omy-x1 http://www.omylink.com/ Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 49026
* ar71xx: add support for the Telldus TellStick ZNet LiteJohn Crispin2016-03-101-0/+9
| | | | | | Signed-off-by: Micke Prag <micke.prag@telldus.se> SVN-Revision: 48977
* ar71xx, firmware-utils: split ubdev01 flash layout from XMFelix Fietkau2016-02-291-1/+1
| | | | | | | | | The ubdev01 profile defines its own MTDPARTS with smaller firmware partition, so give it its own UBNT_BOARD in mkfwimage. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> SVN-Revision: 48828
* ar71xx: correct imagename for TPlink WA730REJohn Crispin2016-02-251-2/+2
| | | | | | | | - insert missing "-" to separate model and version Signed-off-by: Sven Roederer <devel-sven@geroedel.de> SVN-Revision: 48769
* ar71xx: correct imagename for TPlink WA701NDJohn Crispin2016-02-251-2/+2
| | | | | | | | - it seems there was never a 701N-model build Signed-off-by: Sven Roederer <devel-sven@geroedel.de> SVN-Revision: 48768
* ar71xx: matchup of TPlink WR841N(D)-namesJohn Crispin2016-02-251-8/+8
| | | | | | | | | | | | | - remove the suffix (N, ND) to indicate that the image is for all WR841-models - some of these models have a "N"-suffix, others have (ND)-suffix, but the boards are the same - only difference is the detachable antenna on "D"-models - discussed this idea to remove the suffix in IRC with jow and Borromini Signed-off-by: Sven Roederer <devel-sven@geroedel.de> SVN-Revision: 48767
* ar71xx: Support for Ubiquiti UniFi AP AC LITEJohn Crispin2016-02-121-1/+10
| | | | | | | Add support for the Ubiquiti UniFi AP AC LITE Signed-off-by: P.Wassi <p.wassi at gmx.at> SVN-Revision: 48711
* ar71xx: Added support for TL-WA801NDv3John Crispin2016-02-121-1/+8
| | | | | | Signed-off-by: Tiziano Bacocco <tizbac2@gmail.com> SVN-Revision: 48705
* ar71xx/image: use SOURCE_DATE_EPOCH for mksquashfs-lzmaFelix Fietkau2016-01-311-2/+5
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 48589