- When we are using a WIC image, we should compress it (xz), provide a
sha256sum of the compressed image and provide a bmap file for the
uncompressed image.
- Ensure that in these targets we are listing WIC as the
AGL_EXTRA_IMAGE_FSTYPES to be used.
- Based on the Beaglebone example, add WIC support for dra7xx-evm. The
only change from Beaglebone is that we must also include uEnv.txt as
this is what controls the DTB for the correct LCD.
Bug-AGL: SPEC-899
Change-Id: I3f310a2eb268a4aaa0d791dfaa68d7fee350e150
Tested-by: Matt Porter <mporter@konsulko.com> (dra7xx-evm)
Tested-by: Tom Rini <trini@konsulko.com> (Intel)
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/11161
Reviewed-by: Scott Murray <scott.murray@konsulko.com>
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
SECURITY_LDFLAGS_pn-libatasmart = ""
-AGL_EXTRA_IMAGE_FSTYPES = "wic.xz"
+AGL_EXTRA_IMAGE_FSTYPES = "wic.xz wic.bmap wic.xz.sha256sum"
${PACKAGES_MULTIMEDIA} \
cmem \
"
+
+# Include WIC support based on beaglebone
+do_image_wic[depends] += "mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
+WKS_FILE = "sdimage-bootpart.wks"
+IMAGE_BOOT_FILES = "MLO u-boot.img uEnv.txt"
+
+AGL_EXTRA_IMAGE_FSTYPES = "wic.xz wic.bmap wic.xz.sha256sum"
va-intel \
gstreamer1.0-vaapi"
-AGL_DEFAULT_IMAGE_FSTYPES = "wic hddimg"
+AGL_EXTRA_IMAGE_FSTYPES = "wic.xz wic.bmap wic.xz.sha256sum hddimg"
INITRD_LIVE = "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE_LIVE}-${MACHINE}.ext4.gz"
NOISO = "1"
gstreamer1.0-vaapi"
OSTREE_BOOTLOADER ?= "u-boot"
-AGL_DEFAULT_IMAGE_FSTYPES = "wic hddimg"
+AGL_EXTRA_IMAGE_FSTYPES = "wic.xz wic.bmap wic.xz.sha256sum hddimg"
INITRD_LIVE = "${DEPLOY_DIR_IMAGE}/${INITRD_IMAGE_LIVE}-${MACHINE}.ext4.gz"
NOISO = "1"