summaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/image/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: update the Image/Build/Cameo macroGabor Juhos2013-09-231-19/+21
| | | | | | | | | | | | | | | - append the root squashfs directly to the kernel, - use the 64kraw/64kraw-nojffs template instead of 64k/squashfs-only, - ensure, that the signature is placed at the correct offset in the *-factory images, - ensure that the generated images have enough erase blocks for JFFS2 garbage collection, Tested on DIR-600-A1 and TEW-632BR devices only. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38129
* ar71xx: image: add new macros for AP99 based Cameo devicesGabor Juhos2013-09-231-1/+7
| | | | | | | | | | | | | | | The MTD layout of the AP99 based devices is different. Add new macros to reflect that and use the new macros for the DIR-615-E4 board. This prevents overwriting of the 'mac' partition which contain vital informations. The disadvantage of the change is that the usable space is reduced by 192KiB. Blame the vendors for the unfriendly partition layout. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38128
* ar71xx: image: rename the Cameo macrosGabor Juhos2013-09-231-34/+34
| | | | | | | | | Use the reference board name in the macro instead of the SoC number. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38127
* ar71xx: image: add optional JFFS2 padding support to the CatFiles macroGabor Juhos2013-09-221-7/+9
| | | | | | | | | Also remove the similar code from the Netgear profile and use the new feature instead. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38126
* ar71xx: image: remove too big files in the CatFiles macroGabor Juhos2013-09-221-1/+2
| | | | | | | | Also improve the warning message. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38125
* ar71xx: simplify wndr3700 image generationGabor Juhos2013-09-221-69/+41
| | | | | | | | | | | | | | | - remove the kernel and rootfs partitions from the mtd layout, the kernel creates those automatically, - remove estimation step, it is not needed anymore - put the root squashfs directly after the kernel - use the 64kraw template With the default configuration, this allows to use more space for rootfs_data with 64KiB. Tested on WNDR3700 v1 only. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38120
* ar71xx: image: add mtdpartsize macroGabor Juhos2013-09-221-0/+4
| | | | | | | | | The new macro will be used to determine the firmware partition size from an MTD layout. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38117
* ar71xx: image: improve the rootfs_align macroGabor Juhos2013-09-221-1/+1
| | | | | | | | | Improve the macro to return correct value for all squashfs variant. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38116
* ar71xx: image: improve the CatFiles macroGabor Juhos2013-09-221-2/+14
| | | | | | | | | Make it possible to append the rootfs image directly to the kernel. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38115
* ar71xx: image: override mkcameofw statusGabor Juhos2013-09-211-0/+1
| | | | | | | | | This allows to build images for other boards, even if the image is too big for Cameo devices. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38095
* ar71xx: fix Cameo934x initramfs image generationGabor Juhos2013-09-201-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38084
* ar71xx: add profile and build image for the WD My Net N600 boardGabor Juhos2013-09-191-0/+35
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38076
* ar71xx: add profile and build image for the TL-MR13U boardGabor Juhos2013-09-191-0/+1
| | | | | | | | Signed-off-by: Oleg Titov <oleg.titov@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/4063/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38066
* ar71xx: add profile and build image for the WNR2200 boardGabor Juhos2013-09-191-0/+2
| | | | | | | | | Signed-off-by: Aidan Kissane <aidankissane@googlemail.com> Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Patchwork: http://patchwork.openwrt.org/patch/4055/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38061
* ar71xx: add support for TL-MR3040 v2Gabor Juhos2013-09-131-1/+3
| | | | | | | | | | This patch adds support for building firmware images for the TP-Link TL-MR3040 v2. Tested and working on v2.1 hardware. Signed-off-by: Mads Hansen <d@taba.se> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37964
* ar71xx: use the lzma loader for the WRT160NLGabor Juhos2013-09-071-2/+2
| | | | | | | | | | | | | | | | | | | | Partition layout before: 0x000000040000-0x0000001a0000 : "kernel" 0x0000001a0000-0x0000007e0000 : "rootfs" mtd: partition "rootfs" set to be root filesystem mtd: partition "rootfs_data" created automatically, ofs=0x350000, len=0x490000 0x000000350000-0x0000007e0000 : "rootfs_data" after: 0x000000040000-0x000000140000 : "kernel" 0x000000140000-0x0000007e0000 : "rootfs" mtd: partition "rootfs" set to be root filesystem mtd: partition "rootfs_data" created automatically, ofs=0x2f0000, len=0x4f0000 0x0000002f0000-0x0000007e0000 : "rootfs_data" Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37915
* ar71xx: fix NetGear initramfs image namesGabor Juhos2013-09-031-1/+1
| | | | | | | | | The '-initramfs' string is duplicated in the image names, fix it. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37892
* ar71xx: image: reorder Image/Build/* macrosGabor Juhos2013-09-021-18/+35
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37889
* ar71xx: image: simplify more oneliner macrosGabor Juhos2013-09-021-46/+10
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37888
* ar71xx: image: simplify oneliner loader macrosGabor Juhos2013-09-021-9/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37887
* ar71xx: image: simplify oneliner initramfs macrosGabor Juhos2013-09-021-42/+15
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37886
* ar71xx: image: simplify oneliner buildkernel macrosGabor Juhos2013-09-021-22/+6
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37885
* ar71xx: optimize kernel generationGabor Juhos2013-09-021-25/+77
| | | | | | | | | | | | | When the squashfs and jffs2 images are generated in the same turn, the compressed kernel images are generated twice with the same parameters. Move compressed kernel generation into a separate phase to avoid that. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37881
* ar71xx: image: dynamically generate Image/Build/Template/* macrosGabor Juhos2013-09-021-79/+21
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37879
* ar71xx: remove fs_* variables from image/MakefileGabor Juhos2013-09-021-170/+165
| | | | | | | | | | | | Those are not needed since we are generating the initramfs images along with the others. Remove the variables and use the template names directly. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37876
* ar71xx: fix initramfs image generation for Cameo933x profilesGabor Juhos2013-09-021-1/+5
| | | | | | | | | | | | | | | | Initramfs images are not generated for profiles which are using the squashfs-only template. Add the missing 'Image/Build/Template/squashfs-only/initramfs' to fix that. Also, 'Image/Build/Cameo933x/initramfs' uses wrong parameters for 'MkuImageLzma/initramfs' due to a misplaced commma. Remove that to fix the generated initramfs images. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37871
* ar71xx: build factory image for DIR-505 A1Gabor Juhos2013-08-241-3/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37834
* ar71xx: allow to override kernel size in the CameoHornet profileGabor Juhos2013-08-241-2/+2
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37833
* ar71xx: add support for hornet-ub-x2Luka Perkov2013-08-151-0/+2
| | | | | | | | The hornet-ub-x2 is hornet-ub variant with double more flash and ram. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37788
* ar71xx: Fix factory image for DIR 505 A1John Crispin2013-08-141-1/+1
| | | | | | | | | | | Based on the original firmware, the file must have the tag HORNET-PACKET-DIR505A1-3, not HORNET-RT-DIR505A1-3. http://patchwork.openwrt.org/patch/3945/ Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> SVN-Revision: 37781
* ar71xx: add support for dir 505 a1John Crispin2013-08-051-2/+12
| | | | | | | | | | this patch is based on ... -> https://forum.openwrt.org/viewtopic.php?pid=179902#p179902 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37703
* ar71xx: add profile and build image for the WNR612 v2 boardGabor Juhos2013-07-281-0/+1
| | | | | | | | Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3876/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37577
* ar71xx: add profile and build image for the TL-WR710N boardGabor Juhos2013-07-281-0/+1
| | | | | | | | Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3873/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37574
* ar71xx: build image for the MERCURY MW4530R boardGabor Juhos2013-07-281-1/+2
| | | | | | | | | | | | Mercury MW4530R is a TP-Link TL-WDR4310 clone but with a much lower price tag (~ $40). This patch is tested to work at trunk r37525. Signed-off-by: Leon Xu <ylxu72@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3856/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37571
* ar71xx: add profile and fixup image generation for the TL-MR10U boardGabor Juhos2013-07-261-1/+1
| | | | | | | | | | | | | | | Create a separate board profile and update the profile name in image/makefile. Also use the correct machtype string in kernel command line. Based on andelf's patch: http://andelf.diandian.com/post/2013-05-22/40050677370 Signed-off-by: Oleg Titov <oleg.titov@gmail.com> Patchwork: http://patchwork.openwrt.org/patch/3840/ Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37550
* ar71xx: build image for the TP-LINK TL-WR941N v6 boardGabor Juhos2013-07-201-1/+2
| | | | | | | | | | | | TL-WR941N v6 use almost same IC as WDR3500. [juhosg: change subject, and change fw layout from 4M to 4Mlzma] Patchwork: http://patchwork.openwrt.org/patch/3719/ Signed-off-by: ShuYu Wang <andelf@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37471
* ar71xx: fix uimage split for ew-dorinFelix Fietkau2013-07-151-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37350
* ar71xx: use uimage split for WHR-HP-G300NFelix Fietkau2013-07-141-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37303
* ar71xx: use uimage split for dlrtdevFelix Fietkau2013-07-141-4/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37302
* ar71xx: use uimage split for Allnet devicesFelix Fietkau2013-07-141-4/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37301
* ar71xx: use uimage split for Cameo devicesFelix Fietkau2013-07-141-9/+9
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37300
* ar71xx: use uimage split for DIR-825B1Felix Fietkau2013-07-141-4/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37299
* ar71xx: use uimage split for Embedded Wireless DorinFelix Fietkau2013-07-141-3/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37298
* ar71xx: use uimage split for Ubiquiti XM devicesFelix Fietkau2013-07-141-6/+6
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37297
* ar71xx: increase kernel size for wndr3700 based devicesFelix Fietkau2013-07-141-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37296
* ar71xx: use uimage split for WZR-HP-G300NH2Felix Fietkau2013-07-141-23/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37295
* ar71xx: enable uimage split for wzr-hp-ag300h/wzr-600dhpFelix Fietkau2013-07-141-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37294
* ar71xx: use uimage split for WZR-HP-G300NHFelix Fietkau2013-07-141-1/+23
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37293
* ar71xx: use uimage split for WZR-HP-G450HFelix Fietkau2013-07-141-1/+23
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37292
* ar71xx: enable uimage split and use it for carambola2Felix Fietkau2013-07-141-3/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37291