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

VanCutsem, Geoffroy geoffroy.vancutsem at intel.com
Tue Nov 15 04:15:28 EST 2016


I’d try ‘bitbake alsa-lib -c cleanall’ at this stage (to also get rid of all downloaded source, patches, etc.

Geoffroy

From: genivi-meta-ivi [mailto:genivi-meta-ivi-bounces at mailman1.genivi.org] On Behalf Of ali raza
Sent: Tuesday, November 15, 2016 9:50 AM
To: Zeeshan Ali <zeeshan.ali at pelagicore.com>
Cc: genivi-meta-ivi at mailman1.genivi.org; Genivi Project <genivi-projects at lists.genivi.org>
Subject: Re: [meta-ivi] Help/question regarding Building the Yocto GENIVI Baseline hardware image for imx6qsabrelite

Hi,
Doing that didn't solved the issue, have I missed something?


aliraza at aliraza-VirtualBox:~/genivi-baseline/build$ bitbake alsa-lib -c cleansstate
Loading cache: 100% |##############################################################################################| ETA:  00:00:00
Loaded 2299 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.30.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "imx6qsabrelite"
DISTRO            = "poky-ivi-systemd"
DISTRO_VERSION    = "11.0.0"
TUNE_FEATURES     = "arm armv7a vfp thumb neon       callconvention-hard       cortexa9"
TARGET_FPU        = "hard"
meta
meta-yocto
meta-yocto-bsp    = "HEAD:aad7166704021d82ad3a5ec468552f8f10360d41"
meta-fsl-arm-extra = "master:b79752202b3e7c66002077ad0f25cbffd9bfb06c"
meta-fsl-arm      = "master:154ccf1e8b08e3d6219bd455b7dfe9ff7ab975b0"
meta-freescale    = "master:0b7c8e0567c3c5d0c9b334bd51218ac02f4d155c"
meta-oe
meta-filesystems  = "HEAD:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a"
meta-ivi
meta-ivi-bsp      = "master:88357c7a3855b3e32e2173a51f6afe2a6881be5a"

NOTE: Preparing RunQueue
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 2 tasks of which 0 didn't need to be rerun and all succeeded.
aliraza at aliraza-VirtualBox:~/genivi-baseline/build$
aliraza at aliraza-VirtualBox:~/genivi-baseline/build$ bitbake miranda-image
Loading cache: 100% |##############################################################################################| ETA:  00:00:00
Loaded 2299 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.30.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-14.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "imx6qsabrelite"
DISTRO            = "poky-ivi-systemd"
DISTRO_VERSION    = "11.0.0"
TUNE_FEATURES     = "arm armv7a vfp thumb neon       callconvention-hard       cortexa9"
TARGET_FPU        = "hard"
meta
meta-yocto
meta-yocto-bsp    = "HEAD:aad7166704021d82ad3a5ec468552f8f10360d41"
meta-fsl-arm-extra = "master:b79752202b3e7c66002077ad0f25cbffd9bfb06c"
meta-fsl-arm      = "master:154ccf1e8b08e3d6219bd455b7dfe9ff7ab975b0"
meta-freescale    = "master:0b7c8e0567c3c5d0c9b334bd51218ac02f4d155c"
meta-oe
meta-filesystems  = "HEAD:247b1267bbe95719cd4877d2d3cfbaf2a2f4865a"
meta-ivi
meta-ivi-bsp      = "master:88357c7a3855b3e32e2173a51f6afe2a6881be5a"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
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.10001
ERROR: Task 1455 (/home/aliraza/genivi-baseline/poky/meta/recipes-multimedia/alsa/alsa-lib_1.1.0.bb<http://alsa-lib_1.1.0.bb>, do_patch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 752 tasks of which 740 didn't need to be rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:
  /home/aliraza/genivi-baseline/poky/meta/recipes-multimedia/alsa/alsa-lib_1.1.0.bb<http://alsa-lib_1.1.0.bb>, do_patch
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

/Ali



On Mon, Nov 14, 2016 at 2:08 PM, Zeeshan Ali <zeeshan.ali at pelagicore.com<mailto:zeeshan.ali at pelagicore.com>> wrote:
Hi,

On 14 November 2016 at 13:47, Changhyeok Bae <changhyeok.bae at gmail.com<mailto: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<mailto: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<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.
>>
>> 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<http://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<mailto: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<mailto:genivi-projects at lists.genivi.org>
> http://lists.genivi.org/cgi-bin/mailman/listinfo/genivi-projects
>



--
Regards

Zeeshan Ali



--
Regards
Ali Raza

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genivi.org/pipermail/genivi-projects_lists.genivi.org/attachments/20161115/275609df/attachment.html>


More information about the genivi-projects mailing list