From c124a019a430c63bbc511e69bcd2eddb126eea10 Mon Sep 17 00:00:00 2001 From: Gabriel Valcazar Date: Mon, 4 Jan 2021 12:49:19 +0100 Subject: [PATCH] imx-boot: remove "sync" call in the ccimx8mn's do_compile() function This command isn't essential and might not be available on all systems, so remove it. Use the "oflag=sync" dd parameter instead. Signed-off-by: Gabriel Valcazar --- meta-digi-arm/recipes-bsp/imx-mkimage/imx-boot_1.0.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-digi-arm/recipes-bsp/imx-mkimage/imx-boot_1.0.bbappend b/meta-digi-arm/recipes-bsp/imx-mkimage/imx-boot_1.0.bbappend index 92ac322b1..db851ca82 100644 --- a/meta-digi-arm/recipes-bsp/imx-mkimage/imx-boot_1.0.bbappend +++ b/meta-digi-arm/recipes-bsp/imx-mkimage/imx-boot_1.0.bbappend @@ -72,7 +72,7 @@ maintain a custom recipe." cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${ATF_MACHINE_NAME} ${BOOT_STAGING}/bl31.bin # Create dummy DEK blob if [ "${TRUSTFENCE_DEK_PATH}" != "0" ]; then - dd if=/dev/zero of=${BOOT_STAGING}/dek_blob_fit_dummy.bin bs=96 count=1 && sync + dd if=/dev/zero of=${BOOT_STAGING}/dek_blob_fit_dummy.bin bs=96 count=1 oflag=sync fi }