compile error while building yocto for imx6qsabrelite

cancel
Showing results for 
Search instead for 
Did you mean: 

compile error while building yocto for imx6qsabrelite

1,674 Views
zhangmeiyu
Contributor I

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 :

pastedImage_19.png

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.

Labels (4)
0 Kudos
5 Replies

375 Views
gary_bisson
Senior Contributor III

Hi,

Yes you need to use the 'nitrogen6x' machine, it will work on the SabreLite:

meta-freescale-3rdparty/nitrogen6x.conf at master · Freescale/meta-freescale-3rdparty · GitHub 

Regards,

Gary

0 Kudos

375 Views
zhangmeiyu
Contributor I

Hi,Gary

Thanks for replying !

I changed the" MACHINE=imx6qsabrelite " to "MACHINE=nitrogen6x",but it still didn't work, when I  built scenarios , I used the command like this:

$ repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.10.53-1.1.0_ga

it seems like that the 3.10.53 release is not supported, use the yocto branch like "dylan" or "dizzy" may work ,but it is not the release I need , I need the linux kernel 3.10.53 ,so what should I do ? Please help.

Best Regards,

zhang

0 Kudos

375 Views
gary_bisson
Senior Contributor III

Hi,

The "nitrogen6x" platform is only available in the community Yocto BSP:

GitHub - Freescale/fsl-community-bsp-platform: BSP platform manifest 

However there's no community BSP were the Linux kernel is 3.10.53 for Nitrogen6x, why using such an old kernel?

If you want (or need) to use the NXP BSP, maybe the "imx6qsabrelite" is the right machine but we can't help you with it since they dropped SabreLite support early.

Regards,

Gary

0 Kudos

375 Views
zhangmeiyu
Contributor I

Hi,Gary:

Thanks for replying.

3.10.53 is in conjunction with other projects. Now that I can only try other ways.

Thanks again.

Best Regards.

zhang

0 Kudos

375 Views
joanxie
NXP TechSupport
NXP TechSupport

the command you use is for list in the machine directory, obviously, imx6qsabrelite doesn't belong to it, as you known,the machine 'imx6qsabrelite' to be an alias of 'nitrogen6x' and pointed it at linux-boundary in the machine file. maybe you can refer to the link as below

https://community.nxp.com/docs/DOC-93304 

0 Kudos