Devtool modify failed

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Devtool modify failed

ソリューションへジャンプ
463件の閲覧回数
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 解決策
402件の閲覧回数
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 返答(返信)
425件の閲覧回数
Zhiming_Liu
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信
403件の閲覧回数
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 件の賞賛
返信