[meta-ivi] Help/question regarding Building the Yocto GENIVI Baseline hardware image for imx6qsabrelite

Zeeshan Ali zeeshan.ali at pelagicore.com
Mon Nov 14 08:08:50 EST 2016


Hi,

On 14 November 2016 at 13:47, Changhyeok Bae <changhyeok.bae at gmail.com> wrote:
> Please use 'bitbake alsa-lib -c cleansstate' instead of 'bitbake alsa-lib -c
> cleanstate'.

And just to be clear, that's "cleansstate" with two s. It's very easy
to get that wrong.


> 2016-11-11 21:54 GMT+09:00 ali raza <aliraza.1766 at gmail.com>:
>>
>> 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
>> 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 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
>> aliraza at aliraza-VirtualBox:~/genivi-baseline/meta-openembedded$ cd ..
>> aliraza at aliraza-VirtualBox:~/genivi-baseline$ git clone
>> git://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.
>>
>> The solution to this was 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
>>
>> I did that and I went one step forward.
>>
>>
>> Next I ran into another error:
>>
>> ERROR: imx-gpu-viv-1_5.0.11.p8.6-hfp-r0 do_unpack: To use 'imx-gpu-viv'
>> you need to accept the Freescale EULA at
>> '/home/aliraza/genivi-baseline/meta-freescale/EULA'. Please read it and in
>> case you accept it, write: ACCEPT_FSL_EULA = "1" in your local.conf.
>>
>> I added ACCEPT_FSL_EULA = "1" in my local.conf file.
>>
>> I got passed that error and now I get this:
>>
>> ERROR: alsa-lib-1.1.0-r0 do_patch: Command Error: 'quilt --quiltrc
>> /home/aliraza/genivi-baseline/build/tmp/sysroots/x86_64-linux/etc/quiltrc
>> push' exited with 1  Output:
>> Patch 0001-add-conf-for-multichannel-support-in-imx.patch is already
>> applied; check your series file
>> ERROR: alsa-lib-1.1.0-r0 do_patch: Function failed: patch_do_patch
>> ERROR: Logfile of failure stored in:
>> /home/aliraza/genivi-baseline/build/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/alsa-lib/1.1.0-r0/temp/log.do_patch.15360
>> ERROR: Task 1455
>> (/home/aliraza/genivi-baseline/poky/meta/recipes-multimedia/alsa/alsa-lib_1.1.0.bb,
>> do_patch) failed with exit code '1'
>> NOTE: Tasks Summary: Attempted 722 tasks of which 711 didn't need to be
>> rerun and 1 failed.
>>
>> I have attached 'log.do_patch.15360' for reference.
>>
>> I have tried bitbake -c cleanstate alsa-lib and bitbake -c clean alsa-lib,
>> but the error is still there.
>>
>> Any suggestions? I hope it is possible to build hardware image for sabre
>> lite. At least it states that, under compliant products:
>> Freescale Steed for i.MX6 Series
>> https://www.genivi.org/compliant-products
>>
>>
>> --
>> Regards
>> Ali Raza
>>
>>
>>
>> _______________________________________________
>> genivi-meta-ivi mailing list
>> genivi-meta-ivi at mailman1.genivi.org
>> http://lists.genivi.org/cgi-bin/mailman/listinfo/genivi-meta-ivi
>>
>
>
> _______________________________________________
> genivi-projects mailing list
> genivi-projects at lists.genivi.org
> http://lists.genivi.org/cgi-bin/mailman/listinfo/genivi-projects
>



-- 
Regards

Zeeshan Ali



More information about the genivi-projects mailing list