Devtool modify failed

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Devtool modify failed

Jump to solution
264 Views
MJaroc
Contributor II

Hi,

Im using Yocto Kirkstone on IMX8MM devboard. I add custom device tree (custom.dts) to linux-imx recipe by this solution. Image build ok, DTS is as i expect. The problem is that devtool modify create tmp dir with almost all files except my custom.dts (original recipe have it in workdir, devtool cat get it). How can i fix it? Devtool remove tempdir after error and i cant add it by my own.

Labels (1)
Tags (1)
0 Kudos
1 Solution
203 Views
MJaroc
Contributor II

Hi,

the problem was in 

do_configure:append(){
  cp ${WORKDIR}/custom.dts ${S}/arch/arm64/boot/dts/freescale
  echo "dtb-\$(CONFIG_ARCH_MXC) += custom.dtb" >> ${S}/arch/arm64/boot/dts/freescale/Makefile
}

i remove cp and set subdir in SRC_URI

    
SRC_URI = "file://custom.dts;subdir=git/arch/arm64/boot/dts/freescale"

 

Now it works.

View solution in original post

0 Kudos
2 Replies
226 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Have you delete the devtool tmp dir and use devtool to uncompresss again?

0 Kudos
204 Views
MJaroc
Contributor II

Hi,

the problem was in 

do_configure:append(){
  cp ${WORKDIR}/custom.dts ${S}/arch/arm64/boot/dts/freescale
  echo "dtb-\$(CONFIG_ARCH_MXC) += custom.dtb" >> ${S}/arch/arm64/boot/dts/freescale/Makefile
}

i remove cp and set subdir in SRC_URI

    
SRC_URI = "file://custom.dts;subdir=git/arch/arm64/boot/dts/freescale"

 

Now it works.

0 Kudos