summaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/image
Commit message (Collapse)AuthorAgeFilesLines
* kirkwood: fix uimage creation for some kirkwood devicesbobafetthotmail2016-09-191-1/+0
| | | | | | | | | because with the current system I'm getting fake uImages that are actually a renamed zImage, and that's plain wrong. This fixes bug https://bugs.lede-project.org/index.php?do=details&task_id=131 and https://bugs.lede-project.org/index.php?do=details&task_id=139 Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
* image: remove padding parameter from append-kernel/append-rootfsMathias Kresin2016-09-131-2/+2
| | | | | | | | | | | 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-131-1/+0
| | | | | This reverts commit ec37a565878fd79d4127cbb843c17ce3b8dc97c0 and fixes the underlying issue.
* build: drop UBI EOF marker from images by defaultFelix Fietkau2016-09-121-0/+1
| | | | | | | | Only add them where they are actually required. Should help with compatibility issues with stock U-Boot images that access UBI Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image: use k as unit suffix for blocksizeMathias Kresin2016-09-041-1/+1
| | | | | | | Use k as unit suffix for kilobyte to have a the same unit regardless of the used filesystem. Signed-off-by: Mathias Kresin <dev@kresin.me>
* 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>
* image: remove shell calls from legacy ubi/ubifs image codeFelix Fietkau2016-07-251-3/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: fix UBIFS_OPTS variable in image buildFelix Fietkau2016-07-251-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: remove obsolete code for including kernel/dtb in rootfsFelix Fietkau2016-07-201-45/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: remove obsolete ubinize.cfg fileFelix Fietkau2016-07-201-13/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: clean up redundant variables in the image building codeFelix Fietkau2016-07-201-15/+9
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: get rid of useless ubifs/ubi option variablesFelix Fietkau2016-07-201-33/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: clean up redundant code related to DEVICE_DTSFelix Fietkau2016-07-151-2/+1
| | | | | | | | It is used by a core build template, so the variable should be initialized and added to DEVICE_VARS in the core. Same for DEVICE_DTS_DIR Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image: clean up UBI related device variable definitionsFelix Fietkau2016-07-141-1/+1
| | | | | | | Move UBI related variable export to core, since the variables are used by a core Build/ template Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: Move append-dtb to common image-commandsBen Whitten2016-06-221-4/+0
| | | | | | This build step is used by various targets, move it to a common section. Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
* kirkwood: install kernel binaries into bin/ for use with external storageFelix Fietkau2016-06-071-0/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: move ubi/ubifs options to the image makefileFelix Fietkau2016-05-191-0/+36
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* linux/kirkwood: migrate goflexhome/goflexnet to new ubi styleLuka Perkov2016-03-141-7/+13
| | | | | | | | Also using the new image build step format Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 49013
* kirkwood/dockstar: use ubi(kernel, squashfs, ubifs) imagesLuka Perkov2016-03-141-4/+1
| | | | | | | | | | | | | | | | | | | The new image requires `bootz` because of devicetree appending. To flash a new image boot initramfs: tftpboot 0x800000 openwrt-kirkwood-dockstar-initramfs-kernel.bin bootz 0x800000 # detach if already attached ubidetach -p /dev/$(grep ubi /proc/mtd|awk -F: '{print $1}') # scp openwrt-kirkwood-dockstar-squashfs-factory.bin /tmp ubiformat -f /tmp/openwrt-kirkwood-dockstar-squashfs-factory.bin # attach is important to resize rootfs_data otherwise it wont boot ubiattach -p /dev/$(grep ubi /proc/mtd|awk -F: '{print $1}') Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 49010
* kirkwood: add DEVICE_VAR KERNEL_IN_UBI for kernel as volume in ubi imagesLuka Perkov2016-03-141-1/+16
| | | | | | | | depending on KERNEL_IN_UBI, the image.mk will create a ubi volume for the kernel Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 49009
* targets: add kernel image dependencies on device tree filesFelix Fietkau2016-01-061-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48146
* kirkwood: add Linksys routers to default profileLuka Perkov2015-11-111-2/+2
| | | | | | Signed-off-by: Claudio Leite <leitec@staticky.com> SVN-Revision: 47458
* kirkwood: rename EA3500/EA4500 profilesLuka Perkov2015-11-101-2/+2
| | | | | | | | Match the engineering board names now used elsewhere. Signed-off-by: Claudio Leite <leitec@staticky.com> SVN-Revision: 47436
* kirkwood: generate factory images for Linksys EA[34]500Luka Perkov2015-11-101-6/+39
| | | | | | | | | This is done with the new image generation system and board names. It also generates a sysupgrade.tar image. Signed-off-by: Claudio Leite <leitec@staticky.com> SVN-Revision: 47432
* kirkwood: add initial support for NSA310sLuka Perkov2015-11-011-0/+3
| | | | | | | Signed-off-by: Tony Dinh <mibodhi@gmail.com> Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 47330
* kirkwood: image: Remove custom mkfs targz override as base should be fine nowFelix Fietkau2015-10-311-5/+0
| | | | | | | | | It was wrong anyway, missing file sort order parameter which was fixed in base month ago. Signed-off-by: Petr Štetiar <ynezz@true.cz> SVN-Revision: 47313
* kirkwood: image: Refactor sanitize_profile_name using PROFILE_SANITIZED varFelix Fietkau2015-10-311-18/+14
| | | | | | Signed-off-by: Petr Štetiar <ynezz@true.cz> SVN-Revision: 47309
* image: fix jffs2(_nand) image generationJonas Gorski2015-08-051-2/+3
| | | | | | | | | | | | Variables dependend on JFFS2_BLOCKSIZE and NANDBLOCK_SIZE are used for template generation, so need to be present before inclusion of image.mk in target image Makefiles. So move all declarations to before any includes. Fixes: r42878 ("image.mk: clean up and parallelize mkfs calls") Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46564
* kirkwood: add support for the Seagate GoflexHomeLuka Perkov2015-05-081-0/+3
| | | | | | | | Add Support for the Seagate GoflexHome <http://wiki.openwrt.org/toh/seagate/goflexhome> Signed-off-by: L. D. Pinney <ldpinney@gmail.com> SVN-Revision: 45647
* kirkwood: add sheevaplug and derivativesLuka Perkov2014-12-171-0/+12
| | | | | | | | | | | | Add kirkwood FDT: - SheevaPlug - SheevaPlug with eSATA - GuruplugServerPlus - Topkick1281P2 Signed-off-by: Gérald Kerma <drEagle@doukki.net> SVN-Revision: 43735
* kirkwood: sort 110-nas profileLuka Perkov2014-12-111-3/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 43642
* kirkwood: Add support for Iomega StorCenter ix2-200John Crispin2014-11-261-0/+3
| | | | | | Signed-off-by: Richard Kunze <richard.kunze@web.de> SVN-Revision: 43391
* kirkwood: add support for Linksys EA3500Luka Perkov2014-11-101-0/+3
| | | | | | | | http://wiki.openwrt.org/toh/linksys/ea3500 Signed-off-by: Dan Walters <dan@walters.io> SVN-Revision: 43230
* image.mk: clean up and parallelize mkfs callsFelix Fietkau2014-10-121-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42878
* target/linux/*/image/Makefile: use new dts path variableJohn Crispin2014-07-211-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41791
* kirkwood: add support for Linksys EA4500Luka Perkov2014-05-281-0/+3
| | | | | | | Support is added only for kernel 3.14 - do not show it until the switch is made. Following uboot env changes are needed to make it work on stock uboot:
* kirkwood: add support for Seagate GoFlexNetLuka Perkov2014-02-161-0/+3
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 39595
* kirkwood: update support for iconnectLuka Perkov2014-02-151-3/+3
| | | | | | | | | | | | | | | | | | Previous patch was pushed due to false user report. While at it fix alphabetic ordering. The board is optimized for ubi(fs) and boots OpenWrt without changes to uboot environment if OpenWrt's uboot package is used. In order to flash the image run following commands in uboot shell: nand erase 0x200000 0x1fe00000 ubi part root ; ubi remove rootfs ; ubi create rootfs tftpboot 0x800000 openwrt-kirkwood-iconnect-rootfs.ubifs ; ubi write 0x800000 rootfs ${filesize} ; reset Signed-off-by: Luka Perkov <luka@openwrt.org> CC: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39591
* kirkwood: add support for iomega iconnectLuka Perkov2013-11-231-0/+3
| | | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> Signed-off-by: Daniel Engberg <daniel.engberg@pyret.net> SVN-Revision: 38897
* kirkwood: add support for dockstarLuka Perkov2013-11-061-0/+3
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38664
* kirkwood: add userland support for Pogoplug E02Luka Perkov2013-10-311-0/+3
| | | | | | | | | This patch adds the userland support for the Pogoplug E02 by Cloud Engines, Inc. Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> SVN-Revision: 38631
* kirkwood: extend image/MakefileLuka Perkov2013-10-311-17/+34
| | | | | | | | | | | * use lower case letters in generated images * extend support for boot/ directory * fix some typos Signed-off-by: Luka Perkov <luka@openwrt.org> Signed-off-by: Felix Kaechele <heffer@fedoraproject.org> SVN-Revision: 38629
* build: make MkuImage more genericLuka Perkov2013-10-231-8/+8
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38516
* kirkwood: upgrade to 3.10.15Luka Perkov2013-10-141-30/+73
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38402
* ubifs: enable building modular imagesLuka Perkov2013-10-121-2/+14
| | | | | | | | | Now it is possible to build ubi/ubifs images for only selected boards inside single target. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38375
* kirkwood: add support for UBI (3.10.x)Luka Perkov2013-10-042-5/+36
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38301
* kirkwood: enable dts compilationLuka Perkov2013-10-031-0/+6
| | | | | | | | In 3.10 we might build those, so for now just add this functionality. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38297
* kirkwood: fix initramfs imagesLuka Perkov2013-10-031-2/+4
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 38296
* kirkwood: drop PROFILE from image namesLuka Perkov2013-10-021-3/+3
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 38281
* targets: prepare for supporting normal and initramfs imagesFlorian Fainelli2013-06-271-4/+0
| | | | | | | | | | | | In order to support both normal images and initramfs, ensure that each target sets KERNELNAME properly so that the generic kernel building code can copy the corresponding files over $(KDIR) with the appropriate extension. Update the various paths to the kernel and wrapper images from $(LINUX_DIR)/arch/$(ARCH)/boot/$(foo) to $(KDIR)/$(foo). Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 37049