summaryrefslogtreecommitdiff
path: root/recipes-images/images/tdx-image-fstype.inc
AgeCommit message (Collapse)Author
2018-09-13tdx-image-fstype: configure update.sh from KERNEL_DEVICE_TREEMax Krummenacher
The machine configurations provide a list of built device tree files. Use said variable to modify update.sh rather than maintaining the same list in the machine configuartion and update.sh. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2018-03-22tdx-image-fstype: move to a spl/u-boot recovery download chainMax Krummenacher
Move from a recovery u-boot.imx to download first the SPL which immediately goes into SDP download mode again and then download u-boot.img. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2018-03-22tdx-image-fstype: tar with --numeric-ownerMax Krummenacher
If --numeric-owner is not used when creating and/or extracting the archive containing the rootfs then tar tries to change the numeric uid/gid of the files based on owner/group names of the host used to extract the archive. Create the archive with --numeric-owner to prevent this from happening when extracting. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-12-22tdx-image-fstype: follow version variable changeMax Krummenacher
We changed the version variables in meta-toradex-bsp-common/conf/tdx_version.conf Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03tdx-image-fstype: only start imagedeploy after do_image completedMax Krummenacher
do_image makes some optimizations on the rootfs, they should make it into an image. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03tdx-image-fstype: use pbzip2 as the compressor and ignore tar return valueMax Krummenacher
This speeds up compressing the final bz2 image. For angstrom-lxde-image on a 24 core CPU by about 30 seconds. Ignore the tar return value. "file changed as we read it" may be reported because wic is creating hardlinks of files in the rootfs. See openembedded commit 402b4cffbb4c58cfee93db18192f2b218ee0ae35 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03/etc/issue: add the rootfs type and version to all imagesMax Krummenacher
Add this in IMAGE_PREPROCESS so that all image types get this change. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03tdx-image-fstype: use U-Boot with 1kB paddingStefan Agner
Use u-boot-nand.imx which has the 1kB padding expected by boot ROM at the beginning so it can be easily written into raw NAND flash. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-10-03tdx-image-fstype: make burnflash optionalStefan Agner
We might want not to support burn flash for new machines. Make it optional by checking whether the machine specific directory exists. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-10-03tdx-image-fstype: only set u-boot-nand.imx for colibri-imx7Stefan Agner
The new machine colibri-imx7-emmc uses eMMC and hence the regular u-boot.imx binary. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-10-03images: add colibri-imx6ullMax Krummenacher
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
2017-10-03tdx-image-fstype.inc: set PV to Toradex image versionStefan Agner
Use PV variable to define the image version. With that the Tezi image class can use OpenEmbedded variables to get the image version. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
2017-06-30tdx-image-fstype.inc: fix building imx7Marcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
2017-06-30tdx-image-fstype.inc: rename U_BOOT_BINARY to UBOOT_BINARYMarcel Ziswiler
As somebody previously decided to rename U_BOOT_BINARY to UBOOT_BINARY unbreak e.g. i.MX 6 Tezi builds by continuing that rename through the various layers: http://git.toradex.com/cgit/meta-toradex-bsp-common.git/commit/?h=morty&id=02f7fdfe5eaca64e0c710cce4d701a609d499e8b Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>
2017-04-10tdx-image-fstype.inc: renamed from trdx-image-fstype.incMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Dominik Sliwa <dominik.sliwa@toradex.com>