IMX8QXP make dtbs failed

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

IMX8QXP make dtbs failed

ソリューションへジャンプ
6,208件の閲覧回数
jing_xu1
Contributor II

Hi,

I want to make dtbs,but failed:

xujing@shsw:~/imx-yocto-bsp/linux-imx$ make dtbs
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK include/generated/bounds.h
CHK include/generated/timeconst.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CHK scripts/mod/devicetable-offsets.h
DTC arch/arm64/boot/dts/al/alpine-v2-evp.dtb
In file included from arch/arm64/boot/dts/al/alpine-v2-evp.dts:35:0:
arch/arm64/boot/dts/al/alpine-v2.dtsi:37:10: fatal error: dt-bindings/interrupt-controller/arm-gic.h: No such file or directory
#include <dt-bindings/interrupt-controller/arm-gic.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
scripts/Makefile.lib:317: recipe for target 'arch/arm64/boot/dts/al/alpine-v2-evp.dtb' failed
make[2]: *** [arch/arm64/boot/dts/al/alpine-v2-evp.dtb] Error 1
scripts/Makefile.build:587: recipe for target 'arch/arm64/boot/dts/al' failed
make[1]: *** [arch/arm64/boot/dts/al] Error 2
arch/arm64/Makefile:138: recipe for target 'dtbs' failed
make: *** [dtbs] Error 2

I searched this problem on the Internet, the following is the most used way, but it doesn't work for me, do you have any other solution?

create an include directory and symlink dt-bindings from there to the actual location of include/dt-bindings/

Best Regard,

Jing

ラベル(2)
0 件の賞賛
返信
1 解決策
5,687件の閲覧回数
radhikasomaiya
Senior Contributor II

Hi Jing Xu,

 

You can build the dtb file by following the below step (from yocto build directory).

$ bitbake -f -c deploy linux-imx 

 

You can find the generated .dtb file under: <build dir>/tmp/work/imx8qxpmek-poky-linux/linux-imx/<linux_version>/git/arch/arm/boot/dts.

 

Ragards,

Radhika Somaiya.

元の投稿で解決策を見る

3 返答(返信)
5,688件の閲覧回数
radhikasomaiya
Senior Contributor II

Hi Jing Xu,

 

You can build the dtb file by following the below step (from yocto build directory).

$ bitbake -f -c deploy linux-imx 

 

You can find the generated .dtb file under: <build dir>/tmp/work/imx8qxpmek-poky-linux/linux-imx/<linux_version>/git/arch/arm/boot/dts.

 

Ragards,

Radhika Somaiya.

4,863件の閲覧回数
karl1688
Contributor II

Actually I can find new build dtb and kernel in path

<buidl dir>/tmp/work/<platform name>/linux-imx/<version>/deploy-linux-imx

0 件の賞賛
返信
5,686件の閲覧回数
radhikasomaiya
Senior Contributor II

Hi Jing Xu,

Can you please let us know which yocto BSP version you are using and from which path you have tried "make dtbs"?

Ragards,

Radhika Somaiya.

0 件の賞賛
返信