AnsweredAssumed Answered

linux/busfreq-imx.h: No such file or directory

Question asked by Alejandro Lobo on Mar 23, 2018
Latest reply on Mar 26, 2018 by igorpadykov

Hi everyone,

 

I am pretty new at using Yocto and I'm trying to compile the core-image-sato for the machine cubox-i. When executing the command bitbake core-image-sato, the following error appears:

 

Build Configuration:
BB_VERSION = "1.28.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Debian-8.10"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "cubox-i"
DISTRO = "poky"
DISTRO_VERSION = "2.0.3"
TUNE_FEATURES = "arm armv7a vfp thumb neon callconvention-hard cortexa9"
TARGET_FPU = "vfp-neon"
meta
meta-yocto = "HEAD:64297072e8084bde10b0959e0f8b7fe86481bf50"
meta-oe
meta-multimedia = "HEAD:2ea8d7f54a061e902657c4f8ea1f7f7c25c6c4e1"
meta-fsl-arm = "HEAD:417f669e4dede244a81e11aa6d8b60c4e333e589"
meta-fsl-arm-extra = "HEAD:dd074c47af53948041f6c5671e519fbf815b0980"
meta-fsl-demos = "HEAD:8bffde8d803dd2362fbded79781ce084d723b048"

NOTE: Preparing RunQueue
WARNING: /home/msanmar/cubox_jethro/sources/meta-fsl-arm/recipes-kernel/linux/linux-fslc_4.1.bb.do_compile is tainted from a forced run
WARNING: /home/msanmar/cubox_jethro/sources/poky/meta/recipes-core/busybox/busybox_1.23.2.bb.do_compile is tainted from a forced run
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: oe_runmake failed
ERROR: Function failed: do_compile (log file is located at /home/msanmar/cubox_jethro/build/tmp/work/cubox_i-poky-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.4+fslc+gitAUTOINC+2b3290d1c1-r0/temp/log.do_compile.13646)
ERROR: Logfile of failure stored in: /home/msanmar/cubox_jethro/build/tmp/work/cubox_i-poky-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.4+fslc+gitAUTOINC+2b3290d1c1-r0/temp/log.do_compile.13646
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8 -e MAKEFLAGS= KERNEL_SRC=/home/msanmar/cubox_jethro/build/tmp/work-shared/cubox-i/kernel-source KERNEL_PATH=/home/msanmar/cubox_jethro/build/tmp/work-shared/cubox-i/kernel-source KERNEL_VERSION=4.1.13-fslc+ge55a6a9 CC=arm-poky-linux-gnueabi-gcc -mno-thumb-interwork -marm -fuse-ld=bfd LD=arm-poky-linux-gnueabi-ld.bfd AR=arm-poky-linux-gnueabi-ar O=/home/msanmar/cubox_jethro/build/tmp/work-shared/cubox-i/kernel-build-artifacts
| make -C /home/msanmar/cubox_jethro/build/tmp/work-shared/cubox-i/kernel-source M=/home/msanmar/cubox_jethro/build/tmp/work/cubox_i-poky-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.4+fslc+gitAUTOINC+2b3290d1c1-r0/git/kernel-module-imx-gpu-viv-src AQROOT=/home/msanmar/cubox_jethro/build/tmp/work/cubox_i-poky-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.4+fslc+gitAUTOINC+2b3290d1c1-r0/git/kernel-module-imx-gpu-viv-src
| make[1]: Entering directory '/home/msanmar/cubox_jethro/build/tmp/work-shared/cubox-i/kernel-source'
| make[2]: Entering directory '/home/msanmar/cubox_jethro/build/tmp/work-shared/cubox-i/kernel-build-artifacts'
| CC [M] /home/msanmar/cubox_jethro/build/tmp/work/cubox_i-poky-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.4+fslc+gitAUTOINC+2b3290d1c1-r0/git/kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.o
| /home/msanmar/cubox_jethro/build/tmp/work/cubox_i-poky-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.4+fslc+gitAUTOINC+2b3290d1c1-r0/git/kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c:81:31: fatal error: linux/busfreq-imx.h: No such file or directory
| compilation terminated.
| /home/msanmar/cubox_jethro/build/tmp/work-shared/cubox-i/kernel-source/scripts/Makefile.build:258: recipe for target '/home/msanmar/cubox_jethro/build/tmp/work/cubox_i-poky-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.4+fslc+gitAUTOINC+2b3290d1c1-r0/git/kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.o' failed
| make[3]: *** [/home/msanmar/cubox_jethro/build/tmp/work/cubox_i-poky-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.4+fslc+gitAUTOINC+2b3290d1c1-r0/git/kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.o] Error 1
| /home/msanmar/cubox_jethro/build/tmp/work-shared/cubox-i/kernel-source/Makefile:1384: recipe for target '_module_/home/msanmar/cubox_jethro/build/tmp/work/cubox_i-poky-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.4+fslc+gitAUTOINC+2b3290d1c1-r0/git/kernel-module-imx-gpu-viv-src' failed
| make[2]: *** [_module_/home/msanmar/cubox_jethro/build/tmp/work/cubox_i-poky-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.4+fslc+gitAUTOINC+2b3290d1c1-r0/git/kernel-module-imx-gpu-viv-src] Error 2
| make[2]: Leaving directory '/home/msanmar/cubox_jethro/build/tmp/work-shared/cubox-i/kernel-build-artifacts'
| Makefile:146: recipe for target 'sub-make' failed
| make[1]: *** [sub-make] Error 2
| make[1]: Leaving directory '/home/msanmar/cubox_jethro/build/tmp/work-shared/cubox-i/kernel-source'
| Makefile:6: recipe for target 'all' failed
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: /home/msanmar/cubox_jethro/build/tmp/work/cubox_i-poky-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.4+fslc+gitAUTOINC+2b3290d1c1-r0/temp/run.do_compile.13646:1 exit 1 from
| exit 1
| ERROR: Function failed: do_compile (log file is located at /home/msanmar/cubox_jethro/build/tmp/work/cubox_i-poky-linux-gnueabi/kernel-module-imx-gpu-viv/5.0.11.p7.4+fslc+gitAUTOINC+2b3290d1c1-r0/temp/log.do_compile.13646)
ERROR: Task 3473 (/home/msanmar/cubox_jethro/sources/meta-fsl-arm/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_5.0.11.p7.4+fslc.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2593 tasks of which 2578 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
/home/msanmar/cubox_jethro/sources/meta-fsl-arm/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_5.0.11.p7.4+fslc.bb, do_compile
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

 

Any ideas of what is happening?

 

Thanks

Outcomes