aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/image/legacy.mk
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: remove legacy devices that cannot be supported due to kernel ↵Felix Fietkau2016-11-291-9/+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-291-24/+7
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: build relocate stub for generic and legacy imagesStijn Tintel2016-10-271-6/+0
| | | | | 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-261-7/+7
| | | | Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
* ar71xx: Move MR12 & MR16 from legacy to genericChris Blake2016-10-261-4/+0
| | | | | | | | | | | 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: move dragino2 from legacy to genericKarl Palsson2016-10-131-2/+0
| | | | | | Tested on real hardware with r1804. Signed-off-by: Karl Palsson <karlp@etactica.com>
* ar71xx: add relocation loaderMatthias Schiffer2016-10-111-0/+6
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: mark U-Boot and radio calibration data partitions as read-onlyPiotr Dymacz2016-09-191-11/+11
| | | | | | | 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: add support for Zbtlink ZBT-WE1526Piotr Dymacz2016-08-181-0/+1
| | | | | | | | | | | | | | | | | | | | | 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: clean up legacy-devices.mkMatthias Schiffer2016-07-271-6/+0
| | | | | | | | | 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: remove obsolete MultiProfile template codeFelix Fietkau2016-07-211-40/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* 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-131-6/+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 nand device profileJohn Crispin2016-07-051-1/+0
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: seama: fix making factory imagesYousong Zhou2016-06-301-40/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | rootfs part needs to be aligned to erase block size which is passed as the 6th argument to Image/Build/Seama and is now 65536 since commit commit 5119ee9 "ar71xx: fix bogus hardcoded kernel image size for Seama images (fixes #20585)", but $(($(6) - 64)) still assumes that the argument is a limit on kernel partition size, i.e. 1310720, so the generated factory image is wrong in that the kernel will fail to find the rootfs (FlySpray link at [1]) This patch will workaround it with the following steps 1. Calculate the required space for seama header and META data in step 5 2. Pre-padding 64 bytes to lzma-compressed loader 3. Generate correctly padded image-$(2).tmp 4. Strip out the padding 5. Seal it with seama utility While at it convert seama to new build method [1] FS#35 - mynet-n750 factory images don't find root partition, https://bugs.lede-project.org/index.php?do=details&task_id=35 Reported-by: Steven Haigh <netwiz@crc.id.au> Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ar71xx: further legacy image build fixesJo-Philipp Wich2016-06-271-1/+6
| | | | | | | - Add missing macro to trigger the generation of 64k padded squashfs images - Revert Zcomax image generation to use the prepared 64k squashfs image Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ar71xx: merge profiles into image building codeJo-Philipp Wich2016-06-271-31/+26
| | | | | | | | | | | - Remove old style device profiles and convert them to device definitions within the image building code - Fix the legacy build macros for the changed eval depth in the legacy image build wrapper Signed-off-by: John Crispin <john@phrozen.org> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* Revert "ar71xx: fix legacy image building"John Crispin2016-06-231-15/+20
| | | | | | | | | | | | | | This reverts commit 59e98b27c93d282edb62fad756fd1c1e587c067f. and Revert "ar71xx: merge profiles into image building code" This reverts commit 636089ead6864364798ac988299429d171051c0e. these are still causing issues Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: fix legacy image buildingJo-Philipp Wich2016-06-241-20/+14
| | | | | | | | | | | | | | | | | | After the conversion from legacy device profiles to the newer profile information embedded in the image building code, the legacy recipes got triggered twice with different eval depths, leading to shell syntax errors when processing certain images. The double processing was caused by the remaining Image/Build macro in legacy.mk which serves as main entry point for the new style image build code in conjunction with the newly introduced LegacyDevice/* macros which caused the legacy image build fallback code to kick in. In order to fix the issue, rework all legacy macros to work under the legacy image build wrapper and remove the Image/Build macro of legacy.mk to prevent legacy profiles getting executed in the context of the new build code. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ar71xx: merge profiles into image building codeJohn Crispin2016-06-221-0/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: hiwifi-hc6361: lift size limit on kernel and rootfs partsYousong Zhou2016-06-221-19/+0
| | | | | | | | | | | | | | | | | | | | | | The patch has been run-tested and the relevant dmsg logs are as the following [ 0.762447] Creating 5 MTD partitions on "spi0.0": [ 0.767217] 0x000000000000-0x000000010000 : "u-boot" [ 0.775139] 0x000000010000-0x000000020000 : "bdinfo" [ 0.781014] 0x000000020000-0x000000fe0000 : "firmware" [ 0.810558] 2 uimage-fw partitions found on MTD device firmware [ 0.815043] 0x000000020000-0x000000170000 : "kernel" [ 0.821925] 0x000000170000-0x000000fe0000 : "rootfs" [ 0.827587] mtd: device 4 (rootfs) set to be root filesystem [ 0.831937] 1 squashfs-split partitions found on MTD device rootfs [ 0.837983] 0x0000005c0000-0x000000fe0000 : "rootfs_data" [ 0.845621] 0x000000fe0000-0x000000ff0000 : "backup" [ 0.851445] 0x000000ff0000-0x000001000000 : "art" While at it, convert to new build method Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* ar71xx: convert OM2P to device profileFelix Fietkau2016-06-071-0/+15
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: add WRTnode2Q supportKeLei Liang2016-06-061-0/+2
| | | | Signed-off-by: KeLei Liang <xzmu@wrtnode.com>
* ar71xx/image/edimax shorten the revision to 13 characterAlexander Couzens2016-06-011-2/+2
| | | | | | | edimax fails if the revision is longer than 13 characters. Also change the name from OpenWrt to LEDE Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* ar71xx: Generate sysupgrade images for OpenMesh devicesSven Eckelmann2016-05-231-0/+3
| | | | | | | | | | | | Some OpenWrt based firmwares like Gluon expect that a sysupgrade image exists when a device firmware can be updated via sysupgrade. This image wasn't created until now because OpenMesh devices use the same image for factory and sysupgrade flash. Copying the image from *factory.bin to *sysupgrade.bin is therefore enough to make the sysupgrade functionality visible. Reported-by: Matthias Schiffer <mschiffer@universe-factory.net> Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: Add support for initramfs images for OpenMesh devicesSven Eckelmann2016-05-231-0/+1
| | | | Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
* ar71xx: split legacy image building code into a separate fileFelix Fietkau2016-05-231-0/+1210
Signed-off-by: Felix Fietkau <nbd@nbd.name>