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.

PROCESSOR-SDK-DRA8X-TDA4X: Failed to devtool modify virtual/kernel in PSDKLA v7.1.0

Part Number: PROCESSOR-SDK-DRA8X-TDA4X

Hi,

I got an error while using devtool to modify kernel:

ERROR: [Errno 2] No such file or directory: '/home/keelung/ti/psdk/linux/yocto-build/downloads/0002-DRA821A-Adding-DRA821A-emulation-dtbo.patch'
ERROR: Logfile of failure stored in: /home/keelung/ti/psdk/linux/yocto-build/build/arago-tmp-external-arm-glibc/work/j7_evm-linux/linux-ti-staging/5.4.74+gitAUTOINC+9574bba32a-r0a.arago5_psdkla/devtooltmp-vatfjfka/temp/log.do_patch.32379

But I failed to cat logfile, enev if use the copied the path:

cat /home/keelung/ti/psdk/linux/yocto-build/build/arago-tmp-external-arm-glibc/work/j7_evm-linux/linux-ti-staging/5.4.74+gitAUTOINC+9574bba32a-r0a.arago5_psdkla/devtooltmp-vatfjfka/temp/log.do_patch.32379
cat: /home/keelung/ti/psdk/linux/yocto-build/build/arago-tmp-external-arm-glibc/work/j7_evm-linux/linux-ti-staging/5.4.74+gitAUTOINC+9574bba32a-r0a.arago5_psdkla/devtooltmp-vatfjfka/temp/log.do_patch.32379: No such file or directory

I'm using TDA4VM, and kernel's bb file path is:

bitbake virtual/kernel -e | grep -E ^FILE=
FILE="/home/keelung/ti/psdk/linux/yocto-build/sources/meta-ti/recipes-kernel/linux/linux-ti-staging_5.4.bb"

But I don't know why devtool is trying patch 0002-DRA821A-Adding-DRA821A-emulation-dtbo.patch

grep -F 0002-DRA821A-Adding-DRA821A-emulation-dtbo.patch -rw ../sources
Binary file ../sources/meta-psdkla/.git/index matches
../sources/meta-psdkla/recipes-kernel/linux/linux-ti-staging_%.bbappend:    file://0002-DRA821A-Adding-DRA821A-emulation-dtbo.patch \

In recipes-kernel/linux/linux-ti-staging_%.bbappend:

SRC_URI_append_j7-evm = " \
    file://0001-Memory-map-updates-for-vision-apps.patch \
"

SRC_URI_append_j7200-evm = " \
    file://0001-Memory-map-updates-for-vision-apps.patch \
    file://0002-DRA821A-Adding-DRA821A-emulation-dtbo.patch \
"

Seems my MACHINA is changed from j7-evm to j7200-evm. But I've defined it in conf/setenv and sourced

export TOOLCHAIN_BASE=$HOME/ti/toolchain
export MACHINE=j7-evm

  • Keelung,

    We do not test the devtool or use it extensively at the moment.

    Any issues found with the devtool will not be immediately addressable. Please try to modify/manage recipes without the devtool.

    Regards

    Karthik