repo init -u git://code.qt.io/yocto/boot2qt-manifest -m v6.4.3.xml
repo sync
Thats how we got the boot2qt sources.
after that we downloaded mender using git clone to kirkstone branch.
git clone GitHub - mendersoftware/meta-mender-community: Community supported integration layers for Mender on various boards -b kirkstone
git clone GitHub - mendersoftware/meta-mender: Yocto Project meta layer for the Mender client -b kirkstone
updated the local.conf baed on lessons from this post.
https://hub.mender.io/t/toradex-apalis-imx8-yocto-with-mender/3759
here are local.conf variables:
MENDER_ARTIFACT_NAME = “release-1”
INHERIT += “mender-full”
DISTRO_FEATURES:append = " systemd"
VIRTUAL-RUNTIME_init_manager = “systemd”
DISTRO_FEATURES_BACKFILL_CONSIDERED = “sysvinit”
VIRTUAL-RUNTIME_initscripts = “”
INHERIT += “mender-toradex”
MENDER_FEATURES_ENABLE:append = " mender-uboot mender-image-sd"
MENDER_FEATURES_DISABLE:append = " mender-grub mender-image-uefi"
IMAGE_CLASSES += “image_type_mender_tezi”
IMAGE_FSTYPES:append = " mender_tezi"
IMAGE_FSTYPES:remove = " teziimg"
Default is Image.gz, which is not compatible with GRUB
KERNEL_IMAGETYPE:aarch64_mender-grub = “Image”
boot.scr conflicts when using GRUB
IMAGE_BOOT_FILES:remove:mender-grub = “boot.scr-verdin-imx8mm;boot.scr”
Remove files from boot partition that are loaded by Mender
from the root partitions; this allows the files to be updated OTA
IMAGE_BOOT_FILES:remove:mender-uboot = “zImage ${KERNEL_DEVICETREE} overlays.txt overlays/*;overlays/”
MENDER_IMAGE_BOOTLOADER_BOOTSECTOR_OFFSET:apalis-imx8 = “0”
MENDER_BOOT_PART_SIZE_MB:apalis-imx8 = “32”
OFFSET_SPL_PAYLOAD:apalis-imx8 = “”
MENDER_STORAGE_DEVICE:apalis-imx8 = “/dev/mmcblk0”
MENDER_STORAGE_TOTAL_SIZE_MB:apalis-imx8 = “12288”
MENDER_UBOOT_POST_SETUP_COMMANDS:append = " ; setenv tdxargs ${tdxargs} ${bootargs}; "
MENDER_UBOOT_POST_SETUP_COMMANDS:append = " ; setenv overlays_file /boot/overlays.txt;setenv overlays_prefix boot/overlays/ "