Hi,
I changed below line and build the full image for i.MX8MN DDR4. But it failing with some kernel pci tests.
I tried to to mask that layer but did not work. Could you help me in compiling full image successfully.
$vim /home/sandeepraj/imx-yocto-bsp_min/sources/meta-imx/meta-bsp/conf/machine/imx8mnevk.conf
-- require conf/machine/imx8mnlpddr4evk.conf
++ require conf/machine/imx8mnddr4evk.conf
I just changed from lpddr4 to ddr4 in configuration, Since I am using the old board with DDR4.
After that I tried build the image with below command,
$bitbake -k imx-image-full
Now I am getting error in with compilation failure. Please find the log file attached.
If we could not resolve it completely, I am fine to disable the kernel pci tests layer.
Please suggest ways of disabling kernel pci tests. I tried to mask in local.conf, but it did not work.
Error log as below, the same log attached.
------------------------------------------------------------------------------------------------------------------------------
DEBUG: Executing python function copy_pci_source_from_kernel
DEBUG: Python function copy_pci_source_from_kernel finished
DEBUG: Executing shell function do_configure
NOTE: make CROSS_COMPILE=aarch64-poky-linux- ARCH=arm64 CC=aarch64-poky-linux-gcc -mcpu=cortex-a53+crc+crypto -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/sandeepraj/imx-yocto-bsp_full_172021042021/build-wayland/tmp/work/imx8mnevk-poky-linux/kernel-pcitest/1.0-r0/recipe-sysroot AR=aarch64-poky-linux-gcc-ar LD=aarch64-poky-linux-ld --sysroot=/home/sandeepraj/imx-yocto-bsp_full_172021042021/build-wayland/tmp/work/imx8mnevk-poky-linux/kernel-pcitest/1.0-r0/recipe-sysroot DESTDIR=/home/sandeepraj/imx-yocto-bsp_full_172021042021/build-wayland/tmp/work/imx8mnevk-poky-linux/kernel-pcitest/1.0-r0/image clean
Makefile:333: scripts/Kbuild.include: No such file or directory
Makefile:340: scripts/subarch.include: No such file or directory
Makefile:652: arch/arm64/Makefile: No such file or directory
Makefile:714: scripts/Makefile.kcov: No such file or directory
Makefile:715: scripts/Makefile.gcc-plugins: No such file or directory
Makefile:907: scripts/Makefile.kasan: No such file or directory
Makefile:908: scripts/Makefile.extrawarn: No such file or directory
Makefile:909: scripts/Makefile.ubsan: No such file or directory
make: *** No rule to make target 'scripts/Makefile.ubsan'. Stop.
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.
ERROR: Execution of '/home/sandeepraj/imx-yocto-bsp_full_172021042021/build-wayland/tmp/work/imx8mnevk-poky-linux/kernel-pcitest/1.0-r0/temp/run.do_configure.4312' failed with exit code 1:
Makefile:333: scripts/Kbuild.include: No such file or directory
Makefile:340: scripts/subarch.include: No such file or directory
Makefile:652: arch/arm64/Makefile: No such file or directory
Makefile:714: scripts/Makefile.kcov: No such file or directory
Makefile:715: scripts/Makefile.gcc-plugins: No such file or directory
Makefile:907: scripts/Makefile.kasan: No such file or directory
Makefile:908: scripts/Makefile.extrawarn: No such file or directory
Makefile:909: scripts/Makefile.ubsan: No such file or directory
make: *** No rule to make target 'scripts/Makefile.ubsan'. Stop.
WARNING: exit code 1 from a shell command.
-----------------------------------------------------------------------------------------------------------------------------
Thank you
已解决! 转到解答。
I was using fsl-imx-wayland earlier. After changing the DISTRO=fsl-imx-xwayland, I could compile successfully for DDR4 as well.
Please find the steps as below,
$ DISTRO=fsl-imx-xwayland MACHINE=imx8mnevk source imx-setup-release.sh -b build-xwayland
$ bitbake –c cleanall kernel-pcitest
$ bitbake –k imx-image-full
Thank you srinivasarao.chilaka from nxp for supporting over an email.
I was using fsl-imx-wayland earlier. After changing the DISTRO=fsl-imx-xwayland, I could compile successfully for DDR4 as well.
Please find the steps as below,
$ DISTRO=fsl-imx-xwayland MACHINE=imx8mnevk source imx-setup-release.sh -b build-xwayland
$ bitbake –c cleanall kernel-pcitest
$ bitbake –k imx-image-full
Thank you srinivasarao.chilaka from nxp for supporting over an email.