summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/image
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* ar71xx: fix WNDR4300v1 / WNDR3700v4 build (FS#56)Felix Fietkau2016-07-211-3/+9
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix more image build code whitespace/tab issuesFelix Fietkau2016-07-211-6/+6
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix tab vs whitespace issue in image building codeFelix Fietkau2016-07-211-180/+180
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: remove obsolete MultiProfile template codeFelix Fietkau2016-07-211-40/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: add support for gl-ar300mZhao Gang2016-07-201-0/+10
| | | | | | | This add initial support for gl-ar300m router. Product page: http://www.gl-inet.com/ar300m/ Signed-off-by: Zhao Gang <gang.zhao.42@gmail.com>
* ar71xx: add support for jjPlus JWAP230Piotr Dymacz2016-07-131-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | jjPlus JWAP230 is based on Qualcomm Atheros QCA9558 + QCA8337. Short specification: - 720/600/200 MHz (CPU/DDR/AHB) - 2x 10/100/1000 Mbps Ethernet - 128 MB of RAM (DDR2) - 16 MB of FLASH - 3T3R 2.4 GHz with external PA (SST12LP15A), up to 28 dBm - 3x MMCX connectors - power input: 802.3at PoE or wide range DC (36-57 V) - optional 802.3af PSE - 1x mini-PCIe connector with PCIe, USB buses and SIM slot - 1x mini-PCIe connector with PCIe bus - 1x USB type-A connector - 6x LED, 1x button (hardware reset) - RS232 (MAX3223) and (E)JTAG headers Default configuration: - WAN on eth1 (RJ45 near LEDs with PoE input) - LAN on eth0 (RJ45 near DC jack) - left top LED set to be status LED - all LEDs configurable form user space Flash instruction (do it under U-Boot, using RS232): 1. tftp 0x80060000 lede-ar71xx-generic-jwap230-squashfs-sysupgrade.bin 2. erase 0x9f050000 +$filesize 3. cp.b $fileaddr 0x9f050000 $filesize 4. setenv bootcmd "bootm 0x9f050000" 5. saveenv && reset Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: add support for Wallys DR531Piotr Dymacz2016-07-131-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wallys DR531 is based on Qualcomm Atheros QCA9531 v2. Short specification: - 550/400/200 MHz (CPU/DDR/AHB) - 2x 10/100 Mbps Ethernet - 64 MB of RAM (DDR2) - 8 MB of FLASH - 2T2R 2.4 GHz with external PA (SE2576L), up to 30 dBm - 2x MMCX connectors - mini-PCIe connector with PCIe/USB buses and SIM slot - 7x LED, 1x button, 1x optional buzzer - UART, (E)JTAG and LED headers Default configuration: - WAN on eth1 (RJ45 near DC jack) - LAN on eth0 (RJ45 near button) - S4 LED set to be status LED - all LEDs configurable form user space - button configured for reset Flash instruction (do it under U-Boot, using UART): 1. tftp 0x80060000 lede-ar71xx-generic-dr531-squashfs-sysupgrade.bin 2. erase 0x9f050000 +$filesize 3. cp.b $fileaddr 0x9f050000 $filesize 4. setenv bootcmd "bootm 0x9f050000" 5. saveenv && reset Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: fix build error when initramfs is disabledFelix Fietkau2016-07-131-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: fix a legacy image porting issueFelix Fietkau2016-07-132-8/+1
| | | | | | | Get rid of remaining IMAGE_PROFILE references and move template calls the right place Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: Fix PowerCloud CAP324 No Cloud titleDaniel Dickinson2016-07-111-1/+1
| | | | | | CAP324 nocloud was missing (No-Cloud) in description Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
* ar71xx: image: fix typo in MTDPARTS def for qihoo-c301Yousong Zhou2016-07-111-1/+1
| | | | | Reported-by: Syrone Wong <wong.syrone@gmail.com> Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ar71xx: image: seama: fix making factory and sysupgrade imageYousong Zhou2016-07-111-11/+12
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ar71xx: fix nand device profileJohn Crispin2016-07-054-19/+19
| | | | Signed-off-by: John Crispin <john@phrozen.org>