Error during bitbake fsl-image-gui for imx6ulevk

cancel
Showing results for 
Search instead for 
Did you mean: 

Error during bitbake fsl-image-gui for imx6ulevk

3,217 Views
freescale_jive
Contributor II

Hi,!!

I followed closely the steps in "Freescale_Yocto_Project_User's_Guide.pdf" to setup the host PC and yocto, and finally tried to execute the following commands:

$> MACHINE=imx6ulevk source fsl-setup-release.sh -b build-fb03 -e dfb

$> bitbake fsl-image-gui

After several hours, I encountered the following error.

Do you have any advise! Thanks.

==========================================

ERROR:

ERROR: ld.so: object 'libpseudo.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.

Adding system startup for /home/adsuser/work/02_fsl-release-bsp/build-fb03/tmp/work/imx6ulevk-poky-linux-gnueabi/fsl-image-gui/1.0-r0/rootfs/etc/init.d/avahi-daemon.

Output from lttng-tools-2.6.0-r0@cortexa7hf_vfp_neon:

Running groupadd commands...

NOTE: Performing groupadd with [--root /home/adsuser/work/02_fsl-release-bsp/build-fb03/tmp/work/imx6ulevk-poky-linux-gnueabi/fsl-image-gui/1.0-r0/rootfs tracing] and 10 times of retry

ERROR: Function failed: do_rootfs

ERROR: Logfile of failure stored in: /home/adsuser/work/02_fsl-release-bsp/build-fb03/tmp/work/imx6ulevk-poky-linux-gnueabi/fsl-image-gui/1.0-r0/temp/log.do_rootfs.2541

ERROR: Task 7 (/home/adsuser/work/02_fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/fsl-image-gui.bb, do_rootfs) failed with exit code '1'

NOTE: Tasks Summary: Attempted 4180 tasks of which 4173 didn't need to be rerun and 1 failed.

No currently running tasks (4179 of 4181)

Summary: 1 task failed:

  /home/adsuser/work/02_fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images/fsl-image-gui.bb, do_rootfs

Summary: There were 5 WARNING messages shown.

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

Labels (2)
Tags (2)
14 Replies

241 Views
yashavanthashet
Contributor V

Dear Yuri,

Thank you for your reply.Could you please tell the size of swap partition needed. I have 4GB swap partition. can I do with this?

Regards,

Yashavantha

0 Kudos

241 Views
Yuri
NXP TechSupport
NXP TechSupport

It would be better ~16G

~Yuri.

0 Kudos

241 Views
yashavanthashet
Contributor V

Dear Yuri,

Thank you for your response.

Regards,

Yashavantha

0 Kudos

241 Views
yashavanthashet
Contributor V

Hi all,

Can we use Ubuntu 32 bit machine to do "Bitbake fsl-image-gui" which consists of some QT5 applications?YuriMuhin_ng

Thanks in advance.

Regards,

Yashavantha

0 Kudos

241 Views
Yuri
NXP TechSupport
NXP TechSupport

Hi,

You may try 32-bit host with big swap partition / file.

Regards,

Yuri.

0 Kudos

241 Views
almarto
Contributor IV

Hi Yuri and Kok,

I am also finding troubles to build fsl-image-qt5 for the imx6ulevk machine. Is it possible to do so?

Can we include Qt5 in images to run with iMX6 UltraLite evalution kit?

I would like to develop applications in Qt5, create the SDK and cross-compile to execute in the iMX6UltraLite Evaluation Kit.

I use Ubuntu 14.04 64-bit.

These are the commands that I use:

$ MACHINE=imx6ulevk source fsl-setup-release.sh -b build-fb -e fb

$ bitbake -k fsl-image-qt5

This is the build configuration:

BB_VERSION        = "1.26.0"

BUILD_SYS         = "x86_64-linux"

NATIVELSBSTRING   = "Ubuntu-14.04"

TARGET_SYS        = "arm-poky-linux-gnueabi"

MACHINE           = "imx6ulevk"

DISTRO            = "poky"

DISTRO_VERSION    = "1.8"

TUNE_FEATURES     = "arm armv7a vfp neon callconvention-hard cortexa7"

TARGET_FPU        = "vfp-neon"

meta             

meta-yocto        = "(nobranch):83aa565d93aacae484976562ef1ae8dbbb6b2bc0"

meta-oe          

meta-multimedia   = "(nobranch):10d3c8f85280a0bf867a8e4f84bcda81c290d28e"

meta-fsl-arm      = "(nobranch):c5326c90d6754c8630504ae29244907b0841c3a9"

meta-fsl-arm-extra = "(nobranch):436b86e3421736216412bdbb21cd9cb08c758c75"

meta-fsl-demos    = "(nobranch):836bdf5a9d500ed258f1ddc07d89eca74a704098"

meta-bsp         

meta-sdk          = "(nobranch):2f59ef1080f616f391b1c488fb2204e570f90239"

meta-browser      = "(nobranch):4b27058a8275a5310161459c9bb8f4c52a77762c"

meta-gnome       

meta-networking  

meta-python      

meta-ruby        

meta-filesystems  = "(nobranch):10d3c8f85280a0bf867a8e4f84bcda81c290d28e"

meta-qt5          = "(nobranch):fc026381545650e10fdd488d5b2a3b2d78f87793"

and this is the error that I get:

| collect2: error: ld returned 1 exit status

| make: *** [opengldesktop] Error 1

| OpenGL disabled.

| The OpenGL functionality test failed!

|  You might need to modify the include and library search paths by editing

|  QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL in

|  /home/alvaro/yocto/fsl-release-bsp/build-fb/tmp/work/cortexa7hf-vfp-neon-mx6ul-poky-linux-gnueabi/qtbase/5.4.2+gitAUTOINC+2cb17c1fb9-r0/git/mkspecs/linux-oe-g++.

| WARNING: exit code 1 from a shell command.

| ERROR: Function failed: do_configure (log file is located at /home/alvaro/yocto/fsl-release-bsp/build-fb/tmp/work/cortexa7hf-vfp-neon-mx6ul-poky-linux-gnueabi/qtbase/5.4.2+gitAUTOINC+2cb17c1fb9-r0/temp/log.do_configure.22630)

ERROR: Task 2008 (/home/alvaro/yocto/fsl-release-bsp/sources/meta-qt5/recipes-qt/qt5/qtbase_git.bb, do_configure) failed with exit code '1'

NOTE: Tasks Summary: Attempted 4431 tasks of which 4430 didn't need to be rerun and 1 failed.

No currently running tasks (1021 of 4702)

Summary: 1 task failed:

  /home/alvaro/yocto/fsl-release-bsp/sources/meta-qt5/recipes-qt/qt5/qtbase_git.bb, do_configure

Summary: There was 1 ERROR message shown, returning a non-zero exit code.

If I try to create image as core-image-minimal, it works ok for me.

Thanks and regards,

alvaro

0 Kudos

241 Views
Yuri
NXP TechSupport
NXP TechSupport

Hello,

I am afraid the issue relates to the fact, that openGL is based on hardware

accelerator GPU, which is not present on i.MX6 UL.

Regards,

Yuri.

0 Kudos

241 Views
almarto
Contributor IV

Hello Yuri,

Thank you for your feedback! You are right! We knew we don't have hardware acceleration for our graphics, but thought that maybe software processing would be enough for our needs.

We want to build an automotive prototype (as a demo for our customers) with our own hardware, based on the iMX6UL as we also have PWM interfaces, ADC's, it's automotive qualified, .....

We have bought a UL EVK and feel really comfortable with the 4-layer design in the reference design to create our own prototype. We can work in the reference design and customize by adding the electronic chipset we need for our own system inputs/outputs. Besides, we would like to rely on this chip for it is simpler and cheaper than other chips in the same family.

We need a graphical interface (TFT display) in our project with certain capabilities (we do not need to create an amazing 3D animation!).

We would like to use Qt as our IDE.

Could you please give us some advice on how to deal with this scenario?

Is it possible to work with OpenGL and OpenVG (accelerated by software) with the iMX6UL?

Thank you in advance for your kind cooperation!

Regards

241 Views
Yuri
NXP TechSupport
NXP TechSupport

Hello,

from Otavio Salvador:

 

"You can use QT5 with the i.MX6UL but without QML. The QML requires the Qt Quick 2D

raster library to work without 3D GPU and this is a commercial module from The Qt Company."

Regards,

Yuri.

241 Views
almarto
Contributor IV

Thank you very much for your answer!

BR

0 Kudos

241 Views
Yuri
NXP TechSupport
NXP TechSupport

Hello,

   Please try to build first core-minimal system.

Is Your host 32-bit or 64-bit ?


Have a great day,
Yuri

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

241 Views
freescale_jive
Contributor II

Hi Yuri,

Mine is a 64-bit system.

These targets are built successfully:

1) core-image-minimal

2) meta-toolchain

These targets give me the error described earlier:

1) core-image-base

2) fsl-image-gui

- Thomas

0 Kudos

241 Views
freescale_jive
Contributor II

Hi Yuri,

Any advise ?

Must I use a 32-bit machine?

- Thomas

0 Kudos

241 Views
Yuri
NXP TechSupport
NXP TechSupport

Thomas, hi !

At first sight, the issue may be caused because of 64-bit host and 32-bit target mixing. 
Nevertheles,  I managed to build QT5, using FSL L3.14.38.

And it was needed to use 64-bit Linux host (Debian 8.2 in my case) with huge

amount of memory (~6GB in my case).

$ MACHINE=imx6qsabresd source fsl-setup-release.sh –b build-fb –e fb

$ bitbake core-image-minimal

$ bitbake fsl-image-qt5

Regards,

Yuri.

0 Kudos