Hi,
I am trying to build OP-TEE from the link https://github.com/linaro-swg/optee_android_manifest/tree/hikey-n-4.9-master. Everything is successful except the last step
$ make TARGET_BUILD_KERNEL=true TARGET_BUILD_UEFI=true TARGET_TEE_IS_OPTEE=true CFG_SECURE_DATA_PATH=n TARGET_BOOTIMAGE_USE_FAT=true
However, I haven’t run the step 3.6 as per my understanding it is NO longer require. Please see below and help me to understand the reason and cause of this error.
[ 7% 3587/49755] build out/target/product/hikey/boot_fat.uefi.img
FAILED: /bin/bash -c “(dd if=/dev/zero of=out/target/product/hikey/boot_fat.uefi.img bs=512 count=98304 ) && (mkfs.fat -n “boot” out/target/product/hikey/boot_fat.uefi.img ) && (mcopy -i out/target/product/hikey/boot_fat.uefi.img out/target/product/hikey/kernel ::kernel ) && (mcopy -i out/target/product/hikey/boot_fat.uefi.img out/target/product/hikey/hi6220-hikey.dtb ::hi6220-hikey.dtb ) && (mcopy -s -i out/target/product/hikey/boot_fat.uefi.img device/linaro/hikey/bootloader/* :: ) && (mcopy -i out/target/product/hikey/boot_fat.uefi.img out/target/product/hikey/ramdisk.img ::ramdisk.img )”
98304+0 records in
98304+0 records out
50331648 bytes (50 MB, 48 MiB) copied, 0.098181 s, 513 MB/s
mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
mkfs.fat 3.0.28 (2015-05-16)
/bin/bash: mcopy: command not found
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target ‘ninja_wrapper’ failed
make: *** [ninja_wrapper] Error 1
Regards,
Moakht