AnsweredAssumed Answered

IMX8QXP linux-imx build failed

Question asked by Jing Xu on Aug 5, 2019
Latest reply on Aug 7, 2019 by Jing Xu

Hi,

I want to bulid Linux kernel in standslone environment for i.mx8qxp mek board, follow these steps in i.MX_Porting_Guide.pdf

Toolchain : environment-setup-aarch64-poky-linux
Linux_Config: defconfig
ARCH=arm64
CROSS_COMPILE=aarch64-poky-linux

$ cd linux-imx
$ make distclean
$ make defconfig

$ make -j 8

 

this error appeared:

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
make: *** Waiting for unfinished jobs....

How can i solve it ?

Outcomes