Devtool modify failed

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Devtool modify failed

跳至解决方案
842 次查看
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.

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
781 次查看
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 项奖励
回复
2 回复数
804 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复
782 次查看
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 项奖励
回复