This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM6442: Bitbake build error

Part Number: AM6442

Hi expert Ti,

I'm getting an error while building the distribution for AM64xx

after  "MACHINE=am64xx-evm bitbake tisdk-tiny-image"

| ERROR: _exec_cmd: export PATH=/home/lanbt/tisdk-yocto/build/arago-tmp-external-arm-glibc/work/am64xx_evm-linux/tisdk-tiny-image/1.0-r0/recipe-sysroot-native/sbin:/home/lanbt/tisdk-yocto/build/arago-tmp-external-arm-glibc/work/am64xx_evm-linux/tisdk-tiny-image/1.0-r0/recipe-sysroot-native/usr/sbin:/home/lanbt/tisdk-yocto/build/arago-tmp-external-arm-glibc/work/am64xx_evm-linux/tisdk-tiny-image/1.0-r0/recipe-sysroot-native/usr/bin:/home/lanbt/tisdk-yocto/build/arago-tmp-external-arm-glibc/work/am64xx_evm-linux/tisdk-tiny-image/1.0-r0/recipe-sysroot-native/bin:/home/lanbt/tisdk-yocto/build/arago-tmp-external-arm-glibc/hosttools:$PATH;parted -s /home/lanbt/tisdk-yocto/build/arago-tmp-external-arm-glibc/work/am64xx_evm-linux/tisdk-tiny-image/1.0-r0/tmp-wic/sdimage-2part-efi-202110051352-sda.direct set 1 boot on returned '1' instead of 0
| output: Error: Error opening /home/lanbt/tisdk-yocto/build/arago-tmp-external-arm-glibc/work/am64xx_evm-linux/tisdk-tiny-image/1.0-r0/tmp-wic/sdimage-2part-efi-202110051352-sda.direct: Operation not permitted
|
| WARNING: /home/lanbt/tisdk-yocto/build/arago-tmp-external-arm-glibc/work/am64xx_evm-linux/tisdk-tiny-image/1.0-r0/temp/run.do_image_wic.18804:1 exit 1 from 'BUILDDIR="/home/lanbt/_GIT/tisdk-yocto/build" PSEUDO_UNLOAD=1 wic create "$wks" --vars "/home/lanbt/tisdk-yocto/build/arago-tmp-external-arm-glibc/sysroots/am64xx-evm/imgdata/" -e "tisdk-tiny-image" -o "$build_wic/" -w "$tmp_wic"'
| ERROR: Execution of '/home/lanbt/tisdk-yocto/build/arago-tmp-external-arm-glibc/work/am64xx_evm-linux/tisdk-tiny-image/1.0-r0/temp/run.do_image_wic.18804' failed with exit code 1
ERROR: Task (/home/lanbt/tisdk-yocto/sources/meta-arago/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb:do_image_wic) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2614 tasks of which 2613 didn't need to be rerun and 1 failed.
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 1 seconds
NOTE: Writing buildhistory
NOTE: Writing buildhistory took: 1 seconds

Summary: 1 task failed:
/home/lanbt/tisdk-yocto/sources/meta-arago/meta-arago-distro/recipes-core/images/tisdk-tiny-image.bb:do_image_wic

I need your help with this error.

Thanks and regards,

Huy