[poky] Help/question regarding Building the Yocto GENIVI Baseline hardware image for imx6qsabrelite
Bruce Ashfield
bruce.ashfield at windriver.com
Fri Nov 11 05:55:18 PST 2016
On 2016-11-11 4:05 AM, ali raza wrote:
> Hi again,
>
> Thanks for the reply, I have moved one step forward. I added the BSP
> layer.
>
> 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.
>
> Any suggestions?
For this error, no.
What you have is either an issue with your build machine's configuration, or
you have multiple layers that are patching alsa, and patching alsa with the
same patch.
Check for any alsa*bbappends you may have in your layers, and check what
patches they reference.
Bruce
>
> Best Regards,
> Ali Raza
>
>
>
>
>
> On Thu, Nov 10, 2016 at 4:45 PM, Bruce Ashfield
> <bruce.ashfield at windriver.com <mailto:bruce.ashfield at windriver.com>>
> wrote:
>
> 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
> <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://github.com/GENIVI/meta-ivi>:
> https://www.jann.cc/2014/12/18/building_the_yocto_genivi_baseline.html#id2
> <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>
> <http://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>
> <http://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>
> <http://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>
> <http://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_
> <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
> <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
>
>
>
>
>
>
> --
> Regards
> Ali Raza
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20161111/c6673419/attachment.html>
More information about the poky
mailing list