AnsweredAssumed Answered

compile error while building yocto for imx6qsabrelite

Question asked by zhang meiyu on Feb 1, 2018
Latest reply on Mar 12, 2018 by zhang meiyu

Hello,

Recently  I have tried to bulid yocto development environment for imx6qsabrelite ,my host is ubuntu 64bit, following the Freescale_Yocto_Project_User's_Guide(3.10.53), but I tried many times, it will stop at error when do_install linux-imx_3.10.53.bb everytime, my partner has the same problems as me using his host.

 

$:MACHINE=imx6qsabrelite source fsl-setup-release.sh -b build-x11 -e x11

$:bitbake core-image-base

 

zmy@zmy-virtual-machine:~/fsl-release-bsp/build-x11$ bitbake core-image-base
Loading cache: 100% |###########################################| ETA: 00:00:00
Loaded 2185 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION = "1.22.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Ubuntu-14.04"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "imx6qsabrelite"
DISTRO = "poky"
DISTRO_VERSION = "1.6.2"
TUNE_FEATURES = "armv7a vfp neon callconvention-hard cortexa9"
TARGET_FPU = "vfp-neon"
meta
meta-yocto = "(nobranch):30b8d9378b8260e452552b806610dc9b6fe0b69f"
meta-oe = "(nobranch):8065dd8456913457a0114ddb2b4bd4842847b2a3"
meta-fsl-arm = "(nobranch):9bc540eec9a7e280af13371ea70650fcc47ea627"
meta-fsl-arm-extra = "(nobranch):e1085deb3d915d2a95a65cceadc77c6de0dadfb6"
meta-fsl-demos = "(nobranch):f141c7d1158b8addbd6f1ed047a1b47c2ed85f8f"
meta-fsl-arm
meta-fsl-demos = "(nobranch):0c5367e963b5f7797ded59f835313466b896d7e9"
meta-browser = "(nobranch):63963cc56c8d0291779693e62b66cb16e5c86883"
meta-gnome
meta-networking
meta-ruby = "(nobranch):8065dd8456913457a0114ddb2b4bd4842847b2a3"
meta-qt5 = "(nobranch):c29c317e0f22202bfaa85329a580564bbc179089"
meta-fsl-qt5
meta-fsl-bluez = "(nobranch):0c5367e963b5f7797ded59f835313466b896d7e9"

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Failed to fetch URL http://zlib.net/pigz/pigz-2.3.1.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL ftp://ftp.debian.org/debian/pool/main/b/base-passwd/base-passwd_3.5.29.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL ftp://ftp.debian.org/debian/pool/main/libc/libcap2/libcap2_2.22.orig.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL http://www.mega-nerd.com/libsndfile/files/libsndfile-1.0.25.tar.gz, attempting MIRRORS if available
WARNING: Failed to fetch URL http://www.mega-nerd.com/SRC/libsamplerate-0.1.8.tar.gz, attempting MIRRORS if available
ERROR: Function failed: do_install (log file is located at /home/zmy/fsl-release-bsp/build-x11/tmp/work/imx6qsabrelite-poky-linux-gnueabi/linux-imx/3.10.53-r0/temp/log.do_install.14733)
ERROR: Logfile of failure stored in: /home/zmy/fsl-release-bsp/build-x11/tmp/work/imx6qsabrelite-poky-linux-gnueabi/linux-imx/3.10.53-r0/temp/log.do_install.14733
Log data follows:
| DEBUG: Executing python function package_get_auto_pr
| DEBUG: Python function package_get_auto_pr finished
| DEBUG: Executing shell function do_install
| NOTE: make -j 4 DEPMOD=echo INSTALL_MOD_PATH=/home/zmy/fsl-release-bsp/build-x11/tmp/work/imx6qsabrelite-poky-linux-gnueabi/linux-imx/3.10.53-r0/image modules_install
| INSTALL drivers/i2c/algos/i2c-algo-pca.ko
| INSTALL crypto/tcrypt.ko
| INSTALL drivers/input/evbug.ko
| INSTALL drivers/i2c/algos/i2c-algo-pcf.ko
| INSTALL drivers/input/mouse/psmouse.ko
| INSTALL drivers/input/serio/serport.ko
| INSTALL drivers/media/platform/mxc/capture/adv7180_tvin.ko
| INSTALL drivers/media/platform/mxc/capture/csi_v4l2_capture.ko
| INSTALL drivers/media/platform/mxc/capture/fsl_csi.ko
| INSTALL drivers/media/platform/mxc/capture/ipu_bg_overlay_sdc.ko
| INSTALL drivers/media/platform/mxc/capture/ipu_csi_enc.ko
| INSTALL drivers/media/platform/mxc/capture/ipu_fg_overlay_sdc.ko
| INSTALL drivers/media/platform/mxc/capture/ipu_prp_enc.ko
| INSTALL drivers/media/platform/mxc/capture/ipu_still.ko
| INSTALL drivers/media/platform/mxc/capture/mxc_v4l2_capture.ko
| INSTALL drivers/media/platform/mxc/capture/mxc_vadc_tvin.ko
| INSTALL drivers/media/platform/mxc/capture/ov5640_camera.ko
| INSTALL drivers/media/platform/mxc/capture/ov5642_camera.ko
| INSTALL drivers/media/platform/mxc/capture/ov5640_camera_mipi.ko
| INSTALL drivers/media/usb/gspca/gspca_main.ko
| INSTALL drivers/media/usb/uvc/uvcvideo.ko
| INSTALL drivers/media/v4l2-core/videobuf2-vmalloc.ko
| INSTALL drivers/mxc/mlb/mxc_mlb.ko
| INSTALL drivers/net/usb/asix.ko
| INSTALL drivers/net/usb/ax88179_178a.ko
| INSTALL drivers/net/usb/cdc_eem.ko
| INSTALL drivers/net/usb/cdc_ether.ko
| INSTALL drivers/net/usb/net1080.ko
| INSTALL drivers/net/usb/cdc_ncm.ko
| INSTALL drivers/net/usb/cdc_subset.ko
| INSTALL drivers/net/usb/pegasus.ko
| INSTALL drivers/net/usb/r8152.ko
| INSTALL drivers/net/usb/rtl8150.ko
| INSTALL drivers/net/usb/zaurus.ko
| INSTALL drivers/net/usb/usbnet.ko
| INSTALL drivers/net/wireless/ath/ath6kl/ath6kl_core.ko
| INSTALL drivers/usb/gadget/g_ether.ko
| INSTALL drivers/usb/gadget/g_mass_storage.ko
| INSTALL drivers/net/wireless/ath/ath6kl/ath6kl_sdio.ko
| INSTALL drivers/usb/gadget/g_ncm.ko
| INSTALL drivers/usb/gadget/g_serial.ko
| INSTALL drivers/usb/gadget/g_zero.ko
| INSTALL drivers/usb/gadget/libcomposite.ko
| INSTALL drivers/usb/gadget/u_serial.ko
| INSTALL drivers/usb/gadget/usb_f_obex.ko
| INSTALL drivers/usb/gadget/usb_f_acm.ko
| INSTALL drivers/usb/gadget/usb_f_serial.ko
| INSTALL drivers/usb/gadget/usb_f_ss_lb.ko
| INSTALL drivers/usb/misc/ehset.ko
| INSTALL drivers/video/mxc/mxc_dcic.ko
| INSTALL fs/binfmt_misc.ko
| INSTALL fs/fat/msdos.ko
| INSTALL fs/configfs/configfs.ko
| INSTALL fs/isofs/isofs.ko
| INSTALL fs/nls/nls_iso8859-15.ko
| INSTALL fs/udf/udf.ko
| INSTALL lib/crc-ccitt.ko
| INSTALL lib/crc-itu-t.ko
| INSTALL lib/crc7.ko
| INSTALL lib/libcrc32c.ko
| INSTALL sound/core/snd-hwdep.ko
| INSTALL sound/core/snd-rawmidi.ko
| INSTALL sound/usb/snd-usb-audio.ko
| INSTALL sound/usb/snd-usbmidi-lib.ko
| DEPMOD 3.10.53-1.1.0_ga+g496fbe0
| 0 blocks
| NOTE: make -j 4 -C /home/zmy/fsl-release-bsp/build-x11/tmp/work/imx6qsabrelite-poky-linux-gnueabi/linux-imx/3.10.53-r0/image/usr/src/kernel CC=arm-poky-linux-gnueabi-gcc -mno-thumb-interwork -marm LD=arm-poky-linux-gnueabi-ld.bfd clean _mrproper_scripts
| make: Entering directory `/home/zmy/fsl-release-bsp/build-x11/tmp/work/imx6qsabrelite-poky-linux-gnueabi/linux-imx/3.10.53-r0/image/usr/src/kernel'
| HOSTCC scripts/basic/fixdep
| HOSTCC scripts/kconfig/conf.o
| HOSTCC scripts/kconfig/zconf.tab.o
| HOSTLD scripts/kconfig/conf
| scripts/kconfig/conf --silentoldconfig Kconfig
| make: Leaving directory `/home/zmy/fsl-release-bsp/build-x11/tmp/work/imx6qsabrelite-poky-linux-gnueabi/linux-imx/3.10.53-r0/image/usr/src/kernel'
| make: Entering directory `/home/zmy/fsl-release-bsp/build-x11/tmp/work/imx6qsabrelite-poky-linux-gnueabi/linux-imx/3.10.53-r0/image/usr/src/kernel'
| CLEAN .
| CLEAN arch/arm/kernel
| CLEAN firmware
| CLEAN kernel
| CLEAN lib
| CLEAN usr
| CLEAN arch/arm/boot/compressed
| CLEAN arch/arm/boot/dts
| CLEAN arch/arm/boot
| CLEAN scripts/basic
| CLEAN scripts/dtc
| CLEAN scripts/genksyms
| CLEAN scripts/kconfig
| CLEAN scripts/mod
| CLEAN scripts
| CLEAN drivers/tty/vt
| CLEAN drivers/video/logo
| make: Leaving directory `/home/zmy/fsl-release-bsp/build-x11/tmp/work/imx6qsabrelite-poky-linux-gnueabi/linux-imx/3.10.53-r0/image/usr/src/kernel'
| NOTE: make -j 4 imx6q-sabrelite.dtb
| CC scripts/mod/devicetable-offsets.s
| GEN scripts/mod/devicetable-offsets.h
| HOSTCC scripts/mod/file2alias.o
| HOSTLD scripts/mod/modpost
| make[1]: `arch/arm/boot/dts/imx6q-sabrelite.dtb' is up to date.
| NOTE: make -j 4 imx6q-nitrogen6_max.dtb
| CC scripts/mod/devicetable-offsets.s
| GEN scripts/mod/devicetable-offsets.h
| HOSTCC scripts/mod/file2alias.o
| HOSTLD scripts/mod/modpost
| make[1]: *** No rule to make target `arch/arm/boot/dts/imx6q-nitrogen6_max.dtb'. Stop.
| make: *** [imx6q-nitrogen6_max.dtb] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_install (log file is located at /home/zmy/fsl-release-bsp/build-x11/tmp/work/imx6qsabrelite-poky-linux-gnueabi/linux-imx/3.10.53-r0/temp/log.do_install.14733)
ERROR: Task 68 (/home/zmy/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.10.53.bb, do_install) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1342 tasks of which 411 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
/home/zmy/fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.10.53.bb, do_install
Summary: There were 5 WARNING messages shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
zmy@zmy-virtual-machine:~/fsl-release-bsp/build-x11$

 

 

I found an answer at  imx6qsabrelite yocto switching kernel,he said  like this :

 

It sounds like that  linux-imx_3.10.53.bb can't be installed at imx6qsabrelite, so what should I supposed to do ? What if I compiled with "MACHINE=nitrogen6x"? Will it work for imx6qsabrelite?Or could you provide me a guide for building yocto(L3.10.53) for imx6qsabrelite? Thanks a lot!

 

Regards

zhang.

Outcomes