[poky] Help/question regarding Building the Yocto GENIVI Baseline hardware image for imx6qsabrelite
Bruce Ashfield
bruce.ashfield at windriver.com
Thu Nov 10 07:45:22 PST 2016
On 2016-11-10 10:31 AM, ali raza wrote:
> Hi,
>
> I am trying to build Yocto GENIVI Baseline hardware for imx6qsabrelite
> and I am stuck at one point for which I need little help. I will
> appreciate if someone can guide me in the right direction.
>
> I can begin by showing what I have done so far.
>
> The hardware that I have is: *NXP SABRE LITE
> *
> https://www.element14.com/community/docs/DOC-49013?ICID=designcenter-sabre-space
>
> I am following the blog by Christian but had changed to version numbers
> recommended but git hub meta-ivi,
>
> https://github.com/GENIVI/meta-ivi:
> https://www.jann.cc/2014/12/18/building_the_yocto_genivi_baseline.html#id2
>
> So here are the steps I did:
>
> aliraza at aliraza-VirtualBox:~/genivi-baseline$ git clone git://git.yoctoproject.org/poky <http://git.yoctoproject.org/poky>
> aliraza at aliraza-VirtualBox:~/genivi-baseline$ cd poky
> aliraza at aliraza-VirtualBox:~/genivi-baseline/poky$ git checkout aad7166704021d82ad3a5ec468552f8f10360d41; cd -
> aliraza at aliraza-VirtualBox:~/genivi-baseline$ git clone git://git.openembedded.org/meta-openembedded
> <http://git.openembedded.org/meta-openembedded> cd -
> aliraza at aliraza-VirtualBox:~/genivi-baseline$ cd meta-openembedded/
> aliraza at aliraza-VirtualBox:~/genivi-baseline/meta-openembedded$ git checkout 247b1267bbe95719cd4877d2d3cfbaf2a2f4865a
> aliraza at aliraza-VirtualBox:~/genivi-baseline/meta-openembedded$ cd ..
> aliraza at aliraza-VirtualBox:~/genivi-baseline$ git clone git://git.yoctoproject.org/meta-ivi <http://git.yoctoproject.org/meta-ivi>
> aliraza at aliraza-VirtualBox:~/genivi-baseline/meta-openembedded$ cd ..
> aliraza at aliraza-VirtualBox:~/genivi-baseline$ git clone git://git.yoctoproject.org/meta-ivi <http://git.yoctoproject.org/meta-ivi>
> aliraza at aliraza-VirtualBox:~/genivi-baseline$ echo $TEMPLATECONF
> /home/aliraza/genivi-baseline/meta-ivi/meta-ivi/conf
>
> aliraza at aliraza-VirtualBox:~/genivi-baseline$ source poky/oe-init-build-env
> aliraza at aliraza-VirtualBox:~/genivi-baseline/build/conf$ gedit local.conf
>
> and from this page added:
> https://community.nxp.com/docs/DOC-1616#jive_content_id_iMX6_Sabre_Lite_Board_
>
> Edit conf/local.conf user config file and set i.MX6 Sabrelite board machine and enable parallel build features
> MACHINE ?= "imx6qsabrelite"
> BB_NUMBER_THREADS = "4"
> PARALLEL_MAKE = "-j 4"
>
>
> aliraza at aliraza-VirtualBox:~/genivi-baseline/build$ bitbake miranda-image
> 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:
>
> Please set a valid MACHINE in your local.conf or environment
>
>
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>
> Three questions:
>
> 1- Is it not possible to build for SABRE LITE??
Not with the layers that you are currently cloning. You also need to add
a layer that provides the BSP.
The layer index can provide information on what you need:
https://layers.openembedded.org/layerindex/branch/master/machines/?q=imx6qsabrelite
>
> in the README.hardware it says:
> * Freescale MPC8315E-RDB (mpc8315e-rdb)
>
> 2- if I build for "mpc8315e-rdb", will that work for SABRE LITE board?
It won't. Since that BSP is specific to the 8315.
>
> 3- Am I missing something?
Yep, you need a BSP layer. I pointed to one above.
Bruce
>
>
> --
> Regards
> Ali Raza
>
>
More information about the poky
mailing list