iMx6 project build error with kernel 3.10.17

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMx6 project build error with kernel 3.10.17

809 Views
shravansundarra
Contributor I

iMx6 project build error with kernel 3.10.17
The following is the procedure using to build


1   mkdir yocto_build
2  mkdir fsl-release-bsp
3   cd fsl-release-bsp/
4  git config --global user.name shravan
5   git config --global user.email shravan.s@pptech.com
6  git config --list
7   repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.10.17-1.0.0_ga
8  repo sync

9 . setup-environment
10   DISTRO=poky MACHINE=imx6qsabreauto source fsl-setup-release.sh –b build
11  bitbake fsl-image-x11


Below Error I am facing


make[1]: Entering directory `/home/carplay/Ext_Part/fsl-release-bsp/build/tmp/work/imx6qsabreauto-poky-linux-gnueabi/qt4-x11-free/1_4.8.5-r0/qt-everywhere-opensource-src-4.8.5/src/3rdparty/webkit/Source'
cd JavaScriptCore/ && make -f Makefile.WebKit
make[2]: Entering directory `/home/carplay/Ext_Part/fsl-release-bsp/build/tmp/work/imx6qsabreauto-poky-linux-gnueabi/qt4-x11-free/1_4.8.5-r0/qt-everywhere-opensource-src-4.8.5/src/3rdparty/webkit/Source/JavaScriptCore'
make[2]: Nothing to be done for `first'.
make[2]: Leaving directory `/home/carplay/Ext_Part/fsl-release-bsp/build/tmp/work/imx6qsabreauto-poky-linux-gnueabi/qt4-x11-free/1_4.8.5-r0/qt-everywhere-opensource-src-4.8.5/src/3rdparty/webkit/Source/JavaScriptCore'
cd WebCore/ && make -f Makefile.WebKit
make[2]: Entering directory `/home/carplay/Ext_Part/fsl-release-bsp/build/tmp/work/imx6qsabreauto-poky-linux-gnueabi/qt4-x11-free/1_4.8.5-r0/qt-everywhere-opensource-src-4.8.5/src/3rdparty/webkit/Source/WebCore'
compiling html/HTMLCanvasElement.cpp
/bin/sh: arm-poky-linux-gnueabi-g++: command not found
make[2]: *** [.obj/release-static/HTMLCanvasElement.o] Error 127
make[2]: Leaving directory `/home/carplay/Ext_Part/fsl-release-bsp/build/tmp/work/imx6qsabreauto-poky-linux-gnueabi/qt4-x11-free/1_4.8.5-r0/qt-everywhere-opensource-src-4.8.5/src/3rdparty/webkit/Source/WebCore'
make[1]: *** [sub-WebCore-make_default-ordered] Error 2
make[1]: Leaving directory `/home/carplay/Ext_Part/fsl-release-bsp/build/tmp/work/imx6qsabreauto-poky-linux-gnueabi/qt4-x11-free/1_4.8.5-r0/qt-everywhere-opensource-src-4.8.5/src/3rdparty/webkit/Source'
make: *** [sub-webkit-make_default-ordered] Error 2

Please suggest me how to fix this build error .


Thanks and Regards

  Shravan S

0 Kudos
3 Replies

607 Views
Carlos_Musich
NXP Employee
NXP Employee

Hi Shravan,

have you added extra packages in config file?

what do you get if you try the following?

repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.10.17-1.0.0_ga
repo sync
DISTRO=fsl-imx-x11 MACHINE=imx6qsabreauto source fsl-setup-release.sh –b build
bitbake fsl-image-x11

Please note that running fsl-setup-release.sh resets the configuration, therefore . setup-environment is not necessary.


Best regards,
TIC

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

0 Kudos

607 Views
shravansundarra
Contributor I

Hi  Carlos_Musich,

With

DISTRO=fsl-imx-x11 MACHINE=imx6qsabreauto source fsl-setup-release.sh –b build

With this option ,

Getting below error

carplay@CPU-307U:~/Ext_Part/fsl-release-bsp/build$ bitbake fsl-image-x11
ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    Your version of bblayers.conf has the wrong LCONF_VERSION (has 6, expecting 5).
Please compare the your file against bblayers.conf.sample and merge any changes before continuing.
"meld conf/bblayers.conf /home/carplay/Ext_Part/fsl-release-bsp/sources/poky/meta*/conf/bblayers.conf.sample" is a good way to visualise the changes.
DISTRO 'fsl-image-x11' not found. Please set a valid DISTRO in your local.conf

ERROR: Execution of event handler 'check_sanity_eventhandler' failed

Thanks and Regards

  Shravan S

0 Kudos

607 Views
Carlos_Musich
NXP Employee
NXP Employee

Hi Shravan,

I was confused, and I can see that so are you.

The command to build images with kernel 3.10.17 and older use a different format which is different to the one you are using.Please see below

pastedImage_1.png

Please try

MACHINE=imx6qsabreauto source fsl-setup-release.sh -b build -e x11


Regards,

Carlos


If this post answers your question, we appreciate you to click the Correct Answer button. Thank you!

0 Kudos