aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/image
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: remove legacy devices that cannot be supported due to kernel ↵Felix Fietkau2016-11-292-38/+0
| | | | | | partition size limits Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: remove legacy gzip imagesFelix Fietkau2016-11-291-6/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: remove obsolete jffs2 image building codeFelix Fietkau2016-11-292-27/+7
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: move DomyWifi DW33D to nand subtargetPiotr Dymacz2016-11-242-11/+11
| | | | | | | | | This device uses NAND FLASH, so it should be kept in nand subtarget. Also, inlcude in packages kmod-usb-ledtrig-usbport instead of obsolete kmod-ledtrig-usbdev. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: add support for YunCore CPE830Piotr Dymacz2016-11-211-0/+8
| | | | | | | | | CPE830 is a clone of AP90Q, with different type of antenna (panel) and additional 4 LEDs for WiFi signal level indication. Use the same flash approach as for YunCore AP90Q. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: add support for YunCore CPE870Piotr Dymacz2016-11-211-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | YunCore CPE870 is an outdoor CPE/AP based on Atheros AR9341. Short specification: - 535/400/200 MHz (CPU/DDR/AHB) - 2x 10/100 Mbps Ethernet, passive PoE support - 64/128 MB of RAM (DDR2) - 8 MB of FLASH - 2T2R 2.4 GHz with external PA (SKY65174-21), up to 30 dBm - internal 14 dBi panel antenna - 8x LED, 1x button - UART (JP1) header on PCB Flash instruction (do it under U-Boot, using UART): 1. tftp 0x80060000 lede-ar71xx-generic-cpe870-squashfs-sysupgrade.bin 2. erase 0x9f020000 +$filesize 3. cp.b $fileaddr 0x9f020000 $filesize 4. setenv bootcmd "bootm 0x9f020000" 5. saveenv && reset Vendor firmware access (login/password): Admin/5up Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: add support for YunCore AP90QPiotr Dymacz2016-11-211-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | YunCore AP90Q is an outdoor CPE/AP based on Qualcomm/Atheros QCA9531 v2. Short specification: - 650/600/216 MHz (CPU/DDR/AHB) - 2x 10/100 Mbps Ethernet, passive PoE support - 64/128 MB of RAM (DDR2) - 16 MB of FLASH - 2T2R 2.4 GHz with external PA, up to 29 dBm - 2x internal 5 dBi omni antennas - 4x LED, 1x button - UART (JP1) header on PCB Flash instruction under U-Boot, using UART: 1. tftp 0x80060000 lede-ar71xx-generic-ap90q-squashfs-sysupgrade 2. erase 0x9f050000 +$filesize 3. cp.b $fileaddr 0x9f050000 $filesize 4. setenv bootcmd "bootm 0x9f050000" 5. saveenv && reset Flash instruction under vendor fimrware, using telnet/SSH: 1. Connect PC with 192.168.1.x address to WAN port 2. Power up device, enter failsafe mode with button (no LED indicator!) 3. Change root password and reboot (mount_root, passwd ..., reboot -f) 4. Upload lede-ar71xx-generic-ap90q-squashfs-sysupgrade.bin to /tmp using SCP 5. Connect PC with 192.168.188.x address to LAN port, SSH to 192.168.188.253 6. Invoke: - cd /tmp - fw_setenv bootcmd "bootm 0x9f050000" - mtd erase firmware - mtd -r write lede-ar71xx-generic-ap90q-squashfs-sysupgrade.bin firmware Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: add support for COMFAST CF-E380AC v1 and v2Piotr Dymacz2016-11-211-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | COMFAST CF-E380AC v1/v2 is a ceiling mount AP with PoE support, based on Qualcomm/Atheros QCA9558+QCA9880+AR8035. There are two versions of this model, with different RAM and U-Boot mtd partition sizes: - v1: 128 MB of RAM, 128 KB U-Boot image size - v2: 256 MB of RAM, 256 KB U-Boot image size Version number is available only inside vendor GUI, hardware and markings are the same. Short specification: - 720/600/200 MHz (CPU/DDR/AHB) - 1x 10/100/1000 Mbps Ethernet, with PoE support - 128 or 256 MB of RAM (DDR2) - 16 MB of FLASH - 3T3R 2.4 GHz, with external PA (SE2576L), up to 28 dBm - 3T3R 5 GHz, with external PA (SE5003L1), up to 30 dBm - 6x internal antennas - 1x RGB LED, 1x button - UART (T11), LEDs/GPIO (J7) and USB (T12) headers on PCB - external watchdog (Pericon Technology PT7A7514) Flash instruction: Original firmware is based on OpenWrt. Use sysupgrade image directly in vendor GUI. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: add support for COMFAST CF-E320N v2 and CF-E520N/CF-E530NPiotr Dymacz2016-11-211-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As we already have support for CF-E316N v2 and many devices from this vendor look similar, the support was included in existing mach-*.c file, with few cleanups and fixes. All 3 devices are based on Qualcomm/Atheros QCA9531 v2. COMFAST CF-E320N v2 is a ceiling mount AP with PoE support. Short specification: - 650/393/216 MHz (CPU/DDR/AHB) - 2x 10/100 Mbps Ethernet, both with PoE support - 64 MB of RAM (DDR2) - 16 MB of FLASH - 2T2R 2.4 GHz, up to 22 dBm - 2x internal antennas - 1x RGB LED, 1x button - UART (J1), GPIO (J9) and USB (J2) headers on PCB - external watchdog (Pericon Technology PT7A7514) COMFAST CF-E520N/CF-E530N are in-wall APs with USB and PoE support. They seem to have different only the front panel. Short specification: - 650/393/216 MHz (CPU/DDR/AHB) - 2x 10/100 Mbps Ethernet, WAN with PoE support - 1x USB 2.0 (in CF-E520N covered by panel, available on PCB) - 32 MB of RAM (DDR2) - 8 MB of FLASH - 2T2R 2.4 GHz, up to 22 dBm - 2x internal antennas - 1x LED, 1x button - UART (J1) headers on PCB Flash instruction: Original firmware is based on OpenWrt. Use sysupgrade image directly in vendor GUI. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: tl-wpa8630: Use dynamic parsing of the firmware partitionHenryk Heisig2016-11-161-2/+0
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ar71xx: add support for Buffalo BHR-4GRV2FUKAUMI Naoki2016-11-161-0/+21
| | | | Signed-off-by: FUKAUMI Naoki <naobsd@gmail.com>
* ar71xx: fix DEVICE_TITLE for Ubiquiti UAP Outdoor+Matthias Schiffer2016-11-151-1/+1
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: generate region-coded factory images for TP-Link TL-WR841ND v11Matthias Schiffer2016-11-111-0/+3
| | | | | | | | The latest stock firmwares for US and EU regions have started checking the region code. Tested-by: Andreas Ziegler <ml@andreas-ziegler.de> Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* 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: tl-wpa8630: Fix kernel lenghtHenryk Heisig2016-11-081-1/+1
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ar71xx: wpa8630: change board name to tl-wpa8630Henryk Heisig2016-11-081-12/+12
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ar71xx: Add support to Powerline ac TP-Link WPA8630Henryk Heisig2016-10-311-0/+12
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ar71xx: add support for D-Link DAP-2695 rev. A1Stijn Tintel2016-10-271-0/+29
| | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: John Crispin <john@phrozen.org>
* ar71xx: build relocate stub for generic and legacy imagesStijn Tintel2016-10-272-7/+4
| | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> Acked-by: John Crispin <john@phrozen.org>
* ar71xx: Ignore firmware building errors of UBNT and CyberTAN devicesChuanhong Guo2016-10-262-13/+14
| | | | Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
* ar71xx: add support for TP-Link WR802N v1Julius Schulz-Zander2016-10-261-0/+10
| | | | | | | This patch adds support solely for version 1 of the TP-Link WR802N. It is based on Rick Pannen's patch posted on the OpenWrt devel list. Signed-off-by: Julius Schulz-Zander <julius@inet.tu-berlin.de>
* ar71xx: add mac partition to the MR12/MR16Chris Blake2016-10-261-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | On the stock Meraki Firmare for the MR12/MR16, a chunk of SPI space after u-boot-env is used to store the boards Mac address. Sadly as this was removed on any device already on OpenWRT/LEDE, moving forward a new, 64k partition named "mac" will be used to store the mac address for the device (which is the minimum size). This allows users to properly set the correct MAC, without editing the ART partition (which holds the same MAC for all devices). The reason the space is taken from kernel instead of rootfs is currently kernels are only 1.3MB, so that way we can leave the current rootfs space alone for users who fully utilize the available storage space. Once this partition is added to a device, you can set your MAC doing the following: mtd erase mac echo -n -e '\x00\x18\x0a\x33\x44\x55' > /dev/mtd5 sync && reboot Where 00:18:0a:33:44:55 is your MAC address. This was tested, and confirmed working on both the MR12 and MR16. Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
* ar71xx: Move MR12 & MR16 from legacy to genericChris Blake2016-10-263-16/+26
| | | | | | | | | | | This moves the Meraki MR12 and Meraki MR16 to the new generic target. Tested and verified working on both devices. Note that kernel/rootfs images are still generated. This is because they are used for the inital flashing process due to the fun pace at which UBoot erases/writes to SPI. Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
* ar71xx: Add support to DomyWifi DW33DJing Lin2016-10-251-0/+11
| | | | Signed-off-by: Jing Lin <mumuqz@163.com>
* switch to the new usbport LED triggerRafał Miłecki2016-10-194-64/+64
| | | | | | | This makes init.d script handle existing UCI entries using the new trigger. It also switches all targets to use its package. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* ar71xx: Add support to TP-Link EAP120Henryk Heisig2016-10-181-0/+15
| | | | Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* ar71xx: set EU region code for TP-Link TL-WA901ND v4Matthias Schiffer2016-10-151-0/+1
| | | | | | | | | | | | | There is no US firmware for the TL-WA901ND v4 yet, so we'll just unconditionally set the EU region for now. This makes LEDE flashable on these devices again. The format of the region string is slightly different from the one used on the Archer C7 that is generated by mktplinkfw (the second half of the region string is missing), but it's similar enough to make it work. Tested-by: Jannis Pinter <jannis@pinterjann.is> Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: add support for the Airtight C-60Christian Lamparter2016-10-151-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for the Airtight C-60. SOC: Atheros AR9344 rev 2 (CPU:560.000MHz) RAM: 128 MiB NOR: MX25L3205D 4MiB NAND: ST Micro NAND 32MiB 3,3V 8-bit SW-NET: AR8327N (2 Ports) WLAN1: Dual-Band AR9340 Rev:2 (built-in SoC) WLAN2: Dual-Band AR9300 Rev:4 PCIe Chip The switch is setup for an accesspoint: LAN1: (gigabit) is the wan-port. LAN2: (fast ethernet) is bridged with the br-lan. Flashing Guide (via initramfs): 1. Connect a PC to the serial port of the C-60. power up the C-60. Enter u-boot command prompt: #> nand erase #> setenv bootcmd "bootm 0x9f060000" #> saveenv #> setenv ipaddr 192.168.1.1 #> setenv netmask 255.255.255.0 #> setenv serverip 192.168.1.100 #> setenv bootfile lede-ar71xx-nand-c-60-initramfs-kernel.bin #> tftpboot #> bootm 2. Wait for the C-60 to boot LEDE. On the root prompt. Enter: # ubiformat /dev/mtd4 # ubiattach -p /dev/mtd4 3. After that copy the sysupgrade.tar onto the router and run: # sysupgrade sysupgrade.tar to flash the image. Special thanks to Chris Blake <chrisrblake93@gmail.com>. He provided a C-60 unit and he helped with debugging the switch, LEDs and platfrom support. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* ar71xx: move dragino2 from legacy to genericKarl Palsson2016-10-133-8/+10
| | | | | | Tested on real hardware with r1804. Signed-off-by: Karl Palsson <karlp@etactica.com>
* ar71xx: add userspace support for D-Link DIR-869 A1, generate imagesFlorian Beier2016-10-111-1/+15
| | | | | | Signed-off-by: Florian Beier <beier.florian@gmail.com> [Matthias Schiffer: fix factory image, improve commit message] Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: avoid double lzma compression of kernel for SEAMA imagesMatthias Schiffer2016-10-111-1/+1
| | | | | | | | Use relocation loader instead of lzma loader. Tested on D-Link DIR-869 A1. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: add relocation loaderMatthias Schiffer2016-10-112-0/+15
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: clean up SEAMA image build codeMatthias Schiffer2016-10-111-34/+18
| | | | | | | | | | | Split seama-factory and seama-sysupgrade into smaller pieces (similar to the ramips code) to make the image generation more flexible. Also use standard pad-offset instead of adding a block of zeros at the beginning of the image that is later cut off again. Standard pad-rootfs can be used as the seal header doesn't contain an image size or checksum. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: build image for Archer C7 v2 ILAmir Rachum2016-10-091-1/+11
| | | | | | | TP-Link uses a different region coding mechanism for IL firmware for the Archer C7 v2. Instead of of setting the region, they set a different TPLINK_HWREV. Signed-off-by: Amir Rachum <amir@rachum.com>
* ar71xx: add support for Cisco Meraki Z1 Cloud Managed Teleworker GatewayChris Blake2016-09-271-0/+23
| | | | | | | | | This patch adds support for Cisco's Z1. Detailed instructions for the flashing the device can be found in the OpenWrt wiki: <https://wiki.openwrt.org/toh/meraki/z1> Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
* ar71xx: clean up DEVICE_PACKAGES of legacy devicesMatthias Schiffer2016-09-261-43/+22
| | | | | | Remove arbitrary or redundant packages from DEVICE_PACKAGES. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: mark U-Boot and radio calibration data partitions as read-onlyPiotr Dymacz2016-09-192-17/+17
| | | | | | | General convention is to keep U-Boot and radio calibration data (ART) mtd partitions marked as read-only. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: set region code of TP-Link TL-WDR3600/4300 to USMatthias Schiffer2016-09-151-0/+2
| | | | | | | | There are currently two stock firmwares for the TL-WDR3600/4300, a US and a universal version. Both allow installing images with US region code, so we don't need to provide multiple images. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: separate TP-Link TL-WDR3600/4300/4310 profilesMatthias Schiffer2016-09-151-9/+19
| | | | | | | | | Simplify modifying some of the images without affecting the others. While we're at it, also unify the profiles to use := syntax and add "v1" to the TL-WDR4300 name to make things more consistent. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* image: remove padding parameter from append-kernel/append-rootfsMathias Kresin2016-09-133-9/+9
| | | | | | | | | | | 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>
* image: add KERNEL_SIZE to the default device varsMathias Kresin2016-09-132-3/+3
| | | | | This reverts commit ec37a565878fd79d4127cbb843c17ce3b8dc97c0 and fixes the underlying issue.
* ar71xx: fix typo in image build codeMathias Kresin2016-09-112-3/+3
| | | | | | | | | The kernel size isn't passed to the append-kernel build step and the resulting image bricks the device. Fixes FS#168. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ar71xx: generate US- and EU-specific images for the Archer C7 v2Matthias Schiffer2016-08-281-1/+3
| | | | | | | | | | | | TP-Link has started providing US- and EU-specific stock firmwares that only allow upgrading to firmwares with the same region code. Provide factory images for both these regions. To avoid confusing users outside these regions, we still provide a "universal" factory.bin without a region code, although flashing either of the US and EU images would work as well. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: add support for Zbtlink ZBT-WE1526Piotr Dymacz2016-08-182-0/+7
| | | | | | | | | | | | | | | | | | | | | Zbtlink ZBT-WE1526 is based on Qualcomm Atheros QCA9531 v2. Short specification: - 650/400/200 MHz (CPU/DDR/AHB) - 5x 10/100 Mbps Ethernet - 1x USB 2.0 - 128 MB of RAM (DDR2) - 16 MB of FLASH - 2T2R 2.4 GHz, up to 22 dBm - two external, non-detachable antennas - 8x LED, 1x button - UART header (pinout: VCC, RX, TX, GND) Flash instruction: Use sysupgrade in vendor firmare which is based on OpenWrt. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: fix profile name of Mercury MW4530RChuanhong Guo2016-08-151-1/+1
| | | | | | | | The mw4530r-v1 profile in tp-link.mk is for Mercury MW4530R. There is no such a device called TL-WDR4530. Also change MERCURY to Mercury in /lib/ar71xx.sh Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
* image: add a helper variable for getting kernel/rootfs from within image ↵Felix Fietkau2016-07-313-8/+8
| | | | | | Build/* templates Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: rename sysupgrade-nand to sysupgrade-tarJo-Philipp Wich2016-07-291-1/+1
| | | | | | | Now that the "sysupgrade-nand" step is used by non-NAND targets as well, rename it to "sysupgrade-tar" to make it more generic. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ar71xx: add support for gl-mifiZhao Gang2016-07-241-0/+10
| | | | | | | This add initial support for gl-mifi. Product page: http://www.gl-inet.com/mifi/ Signed-off-by: Zhao Gang <gang.zhao.42@gmail.com>
* ar71xx: clean up legacy-devices.mkMatthias Schiffer2016-07-272-322/+407
| | | | | | | | | Several legacy images were not buildable because of missing profile definitions in legacy-devices.mk since MultiProfile was removed. Update legacy-devices.mk to provide all necessary profiles, and change ordering to match legacy.mk. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: add ath10k firmware to profile defaults where ath10k is usedFelix Fietkau2016-07-224-33/+33
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>