[meta-freescale] Integrating arm-xilinx-linux-gnueabi- external prebuilt

Krishna Dwivedi dwivedi_k at hcl.com
Thu Apr 28 22:06:06 PDT 2016


Hi Gary,

Thanks for yours immediate response!!!

Actually, I need to use petalinux kernel provided by Xilinx. 
The rootfs provided by Xilinx is very minimal. I need to use Qt and Gstreamer in application side which is not there in Xilinx provided rootfs. But meta-fsl-arm layer rootfs consists of Qt5 and Gstreamer .So I want to use meta-fsl-arm rootfs with Xilinx kernel.Thatsy, I am trying to use Xilinx provided toolchain to build meta-fsl-arm rootfs.

Thanks & Regards,
Krishna Dwivedi

-----Original Message-----
From: meta-freescale-bounces at yoctoproject.org [mailto:meta-freescale-bounces at yoctoproject.org] On Behalf Of meta-freescale-request at yoctoproject.org
Sent: Friday, April 29, 2016 12:30 AM
To: meta-freescale at yoctoproject.org
Subject: meta-freescale Digest, Vol 42, Issue 25

Send meta-freescale mailing list submissions to
	meta-freescale at yoctoproject.org

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.yoctoproject.org/listinfo/meta-freescale
or, via email, send a message with subject or body 'help' to
	meta-freescale-request at yoctoproject.org

You can reach the person managing the list at
	meta-freescale-owner at yoctoproject.org

When replying, please edit your Subject line so it is more specific than "Re: Contents of meta-freescale digest..."


Today's Topics:

   1. Re: Changing background color using psplash
      (marko.kenttala at parker.com)
   2. Integrating arm-xilinx-linux-gnueabi- external prebuilt
      toolchain in meta-fsl-arm (Krishna Dwivedi)
   3. Re: Integrating arm-xilinx-linux-gnueabi- external prebuilt
      toolchain in meta-fsl-arm (Gary Thomas)
   4. Re: [meta-fsl-ppc][PATCH] mux-server: Fix build warnings
      caused by external toolchain (Christopher Larson)


----------------------------------------------------------------------

Message: 1
Date: Thu, 28 Apr 2016 08:19:38 +0300
From: marko.kenttala at parker.com
To: meta-freescale at yoctoproject.org
Subject: Re: [meta-freescale] Changing background color using psplash
Message-ID:
	<OF356AE5F5.712CE31C-ONC2257FA3.001CDE0A-C2257FA3.001D4334 at parker.com>
Content-Type: text/plain; charset="utf-8"

> What is the preferred way of setting a custom background color using 
> the psplash recipe?  I have already overridden the default psplash 
> recipe
adding
> a custom logo bitmap. Current BSP is based on Yocto Fido branch. 

I've bbappended a patch that changes PSPLASH_BACKGROUND_COLOR in psplash-colors.h. I don't see any other way.

--
Marko Kentt?l?, Software Developer, mobile +358 500 627 565 Parker Hannifin Manufacturing Finland Oy, Electronic Controls Division PO Box 116 (Polunm?enkatu 22)
FI-33721 Tampere, Finland


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20160428/1b0e70b0/attachment-0001.html>

------------------------------

Message: 2
Date: Thu, 28 Apr 2016 06:02:47 +0000
From: Krishna Dwivedi <dwivedi_k at hcl.com>
To: "meta-freescale at yoctoproject.org"
	<meta-freescale at yoctoproject.org>
Subject: [meta-freescale] Integrating arm-xilinx-linux-gnueabi-
	external prebuilt toolchain in meta-fsl-arm
Message-ID:
	<59238E678B146945A3AFEE9161E37D1C1A0D03E4 at NDA-HCLT-MBS06.hclt.corp.hcl.in>
	
Content-Type: text/plain; charset="us-ascii"

Hello Everyone,

I am integrating external prebuilt toolchain (arm-xilinx-linux-gnueabi-) in meta-fsl-arm layer.To achieve this I have added the below changes in build/conf/local.conf:

Please correct me if  I am doing something wrong or Let me know if there is any  other steps I need to follow to integrate external prebuilt toolchain in meta-fsl-arm.



EXTERNAL_TOOLCHAIN = "/opt/pkg/petalinux-v2015.4-final/tools/linux-i386/arm-xilinx-linux-gnueabi/"

TCMODE = "arm-xilinx-linux-gnueabi"



I run bitbake core-image-minimal and it results in following errors:

BB_VERSION        = "1.22.0"

BUILD_SYS         = "x86_64-linux"

NATIVELSBSTRING   = "Ubuntu-14.04"

TARGET_SYS        = "arm-poky-linux-gnueabi"

MACHINE           = "imx6sxsabresd"

DISTRO            = "poky"

DISTRO_VERSION    = "1.6.2"

TUNE_FEATURES     = "armv7a vfp neon callconvention-hard cortexa9"

TARGET_FPU        = "vfp-neon"

meta

meta-yocto        = "(nobranch):30b8d9378b8260e452552b806610dc9b6fe0b69f"

meta-oe           = "(nobranch):8065dd8456913457a0114ddb2b4bd4842847b2a3"

meta-fsl-arm      = "(nobranch):9bc540eec9a7e280af13371ea70650fcc47ea627"

meta-fsl-arm-extra = "(nobranch):e1085deb3d915d2a95a65cceadc77c6de0dadfb6"

meta-fsl-demos    = "(nobranch):f141c7d1158b8addbd6f1ed047a1b47c2ed85f8f"

meta-fsl-arm

meta-fsl-demos    = "(nobranch):0c5367e963b5f7797ded59f835313466b896d7e9"

meta-browser      = "(nobranch):63963cc56c8d0291779693e62b66cb16e5c86883"

meta-gnome

meta-networking

meta-ruby         = "(nobranch):8065dd8456913457a0114ddb2b4bd4842847b2a3"

meta-qt5          = "(nobranch):c29c317e0f22202bfaa85329a580564bbc179089"

meta-fsl-qt5

meta-fsl-bluez    = "(nobranch):0c5367e963b5f7797ded59f835313466b896d7e9"



NOTE: Preparing runqueue

ERROR: Unbuildable tasks were found.

These are usually caused by circular dependencies and any circular dependency chains found will be printed below. Increase the debug level to see a list of unbuildable tasks.



Identifying dependency loops (this may take a short while)...



ERROR:

Dependency loop #1 found:

  Task 932 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-core/gettext/gettext_0.18.3.2.bb, do_packagedata) (dependent Tasks ['gettext, do_package'])

  Task 1319 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-support/libiconv/libiconv_1.14.bb, do_package) (dependent Tasks ['gcc-cross, do_packagedata', 'gettext, do_packagedata', 'eglibc, do_packagedata', 'prelink, do_populate_sysroot', 'file, do_populate_sysroot', 'libtool-cross, do_packagedata', 'rpm, do_populate_sysroot', 'gcc-runtime, do_packagedata', 'pseudo, do_populate_sysroot', 'libiconv, do_install'])

  Task 1317 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-support/libiconv/libiconv_1.14.bb, do_packagedata) (dependent Tasks ['libiconv, do_package'])

  Task 934 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-core/gettext/gettext_0.18.3.2.bb, do_package) (dependent Tasks ['gcc-cross, do_packagedata', 'libiconv, do_packagedata', 'eglibc, do_packagedata', 'prelink, do_populate_sysroot', 'file, do_populate_sysroot', 'expat, do_packagedata', 'libtool-cross, do_packagedata', 'rpm, do_populate_sysroot', 'gcc-runtime, do_packagedata', 'pseudo, do_populate_sysroot', 'gettext, do_install'])



Dependency loop #2 found:

  Task 926 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-core/gettext/gettext_0.18.3.2.bb, do_install) (dependent Tasks ['gettext, do_compile', 'pseudo, do_populate_sysroot'])

  Task 927 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-core/gettext/gettext_0.18.3.2.bb, do_populate_sysroot) (dependent Tasks ['gettext, do_install'])

  Task 1314 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-support/libiconv/libiconv_1.14.bb, do_configure) (dependent Tasks ['eglibc, do_populate_sysroot', 'gettext, do_populate_sysroot', 'gnu-config, do_populate_sysroot', 'gcc-runtime, do_populate_sysroot', 'autoconf, do_populate_sysroot', 'pkgconfig, do_populate_sysroot', 'libtool-cross, do_populate_sysroot', 'automake, do_populate_sysroot', 'gcc-cross, do_populate_sysroot', 'libtool-native, do_populate_sysroot', 'libiconv, do_patch', 'gettext, do_populate_sysroot'])

  Task 1315 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-support/libiconv/libiconv_1.14.bb, do_compile) (dependent Tasks ['libiconv, do_configure'])

  Task 1311 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-support/libiconv/libiconv_1.14.bb, do_install) (dependent Tasks ['libiconv, do_compile', 'pseudo, do_populate_sysroot'])

  Task 1312 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-support/libiconv/libiconv_1.14.bb, do_populate_sysroot) (dependent Tasks ['libiconv, do_install'])

  Task 929 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-core/gettext/gettext_0.18.3.2.bb, do_configure) (dependent Tasks ['libiconv, do_populate_sysroot', 'eglibc, do_populate_sysroot', 'gettext, do_populate_sysroot', 'gnu-config, do_populate_sysroot', 'gcc-runtime, do_populate_sysroot', 'autoconf, do_populate_sysroot', 'expat, do_populate_sysroot', 'libtool-native, do_populate_sysroot', 'libtool-cross, do_populate_sysroot', 'automake, do_populate_sysroot', 'gcc-cross, do_populate_sysroot', 'gettext, do_patch'])

  Task 930 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-core/gettext/gettext_0.18.3.2.bb, do_compile) (dependent Tasks ['gettext, do_configure'])





Thanks & Regards,

Krishna Dwivedi



::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and other defects.

----------------------------------------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20160428/2925031d/attachment-0001.html>

------------------------------

Message: 3
Date: Thu, 28 Apr 2016 08:19:37 +0200
From: Gary Thomas <gary at mlbassoc.com>
To: meta-freescale at yoctoproject.org
Subject: Re: [meta-freescale] Integrating arm-xilinx-linux-gnueabi-
	external prebuilt toolchain in meta-fsl-arm
Message-ID: <5721AB79.1080806 at mlbassoc.com>
Content-Type: text/plain; charset=windows-1252; format=flowed

On 2016-04-28 08:02, Krishna Dwivedi wrote:
> Hello Everyone,
>
> I am integrating external prebuilt toolchain (arm-xilinx-linux-gnueabi-) in meta-fsl-arm layer.To achieve this I have
> added the below changes in build/conf/local.conf:
>
> *Please correct me if  I am doing something wrong or Let me know if there is any  other steps I need to follow to
> integrate external prebuilt toolchain in meta-fsl-arm.*

[Slightly off-topic] why do you need/want to do this?  Is there something missing in the Yocto provided toolchains?
I know I've thought about this [for years] but so far, the best choice has been the one provided by Yocto (OE-core)

>
> EXTERNAL_TOOLCHAIN = "/opt/pkg/petalinux-v2015.4-final/tools/linux-i386/arm-xilinx-linux-gnueabi/"
>
> TCMODE = "arm-xilinx-linux-gnueabi"
>
> I run bitbake core-image-minimal and it results in following errors:
>
> BB_VERSION        = "1.22.0"
>
> BUILD_SYS         = "x86_64-linux"
>
> NATIVELSBSTRING   = "Ubuntu-14.04"
>
> TARGET_SYS        = "arm-poky-linux-gnueabi"
>
> MACHINE           = "imx6sxsabresd"
>
> DISTRO            = "poky"
>
> DISTRO_VERSION    = "1.6.2"
>
> TUNE_FEATURES     = "armv7a vfp neon callconvention-hard cortexa9"
>
> TARGET_FPU        = "vfp-neon"
>
> meta
>
> meta-yocto        = "(nobranch):30b8d9378b8260e452552b806610dc9b6fe0b69f"
>
> meta-oe           = "(nobranch):8065dd8456913457a0114ddb2b4bd4842847b2a3"
>
> meta-fsl-arm      = "(nobranch):9bc540eec9a7e280af13371ea70650fcc47ea627"
>
> meta-fsl-arm-extra = "(nobranch):e1085deb3d915d2a95a65cceadc77c6de0dadfb6"
>
> meta-fsl-demos    = "(nobranch):f141c7d1158b8addbd6f1ed047a1b47c2ed85f8f"
>
> meta-fsl-arm
>
> meta-fsl-demos    = "(nobranch):0c5367e963b5f7797ded59f835313466b896d7e9"
>
> meta-browser      = "(nobranch):63963cc56c8d0291779693e62b66cb16e5c86883"
>
> meta-gnome
>
> meta-networking
>
> meta-ruby         = "(nobranch):8065dd8456913457a0114ddb2b4bd4842847b2a3"
>
> meta-qt5          = "(nobranch):c29c317e0f22202bfaa85329a580564bbc179089"
>
> meta-fsl-qt5
>
> meta-fsl-bluez    = "(nobranch):0c5367e963b5f7797ded59f835313466b896d7e9"
>
> NOTE: Preparing runqueue
>
> ERROR: Unbuildable tasks were found.
>
> These are usually caused by circular dependencies and any circular dependency chains found will be printed below.
> Increase the debug level to see a list of unbuildable tasks.
>
> Identifying dependency loops (this may take a short while)...
>
> ERROR:
>
> Dependency loop #1 found:
>
>    Task 932 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-core/gettext/gettext_0.18.3.2.bb, do_packagedata)
> (dependent Tasks ['gettext, do_package'])
>
>    Task 1319 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-support/libiconv/libiconv_1.14.bb, do_package)
> (dependent Tasks ['gcc-cross, do_packagedata', 'gettext, do_packagedata', 'eglibc, do_packagedata', 'prelink,
> do_populate_sysroot', 'file, do_populate_sysroot', 'libtool-cross, do_packagedata', 'rpm, do_populate_sysroot',
> 'gcc-runtime, do_packagedata', 'pseudo, do_populate_sysroot', 'libiconv, do_install'])
>
>    Task 1317 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-support/libiconv/libiconv_1.14.bb, do_packagedata)
> (dependent Tasks ['libiconv, do_package'])
>
>    Task 934 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-core/gettext/gettext_0.18.3.2.bb, do_package)
> (dependent Tasks ['gcc-cross, do_packagedata', 'libiconv, do_packagedata', 'eglibc, do_packagedata', 'prelink,
> do_populate_sysroot', 'file, do_populate_sysroot', 'expat, do_packagedata', 'libtool-cross, do_packagedata', 'rpm,
> do_populate_sysroot', 'gcc-runtime, do_packagedata', 'pseudo, do_populate_sysroot', 'gettext, do_install'])
>
> Dependency loop #2 found:
>
>    Task 926 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-core/gettext/gettext_0.18.3.2.bb, do_install)
> (dependent Tasks ['gettext, do_compile', 'pseudo, do_populate_sysroot'])
>
>    Task 927 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-core/gettext/gettext_0.18.3.2.bb,
> do_populate_sysroot) (dependent Tasks ['gettext, do_install'])
>
>    Task 1314 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-support/libiconv/libiconv_1.14.bb, do_configure)
> (dependent Tasks ['eglibc, do_populate_sysroot', 'gettext, do_populate_sysroot', 'gnu-config, do_populate_sysroot',
> 'gcc-runtime, do_populate_sysroot', 'autoconf, do_populate_sysroot', 'pkgconfig, do_populate_sysroot', 'libtool-cross,
> do_populate_sysroot', 'automake, do_populate_sysroot', 'gcc-cross, do_populate_sysroot', 'libtool-native,
> do_populate_sysroot', 'libiconv, do_patch', 'gettext, do_populate_sysroot'])
>
>    Task 1315 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-support/libiconv/libiconv_1.14.bb, do_compile)
> (dependent Tasks ['libiconv, do_configure'])
>
>    Task 1311 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-support/libiconv/libiconv_1.14.bb, do_install)
> (dependent Tasks ['libiconv, do_compile', 'pseudo, do_populate_sysroot'])
>
>    Task 1312 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-support/libiconv/libiconv_1.14.bb,
> do_populate_sysroot) (dependent Tasks ['libiconv, do_install'])
>
>    Task 929 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-core/gettext/gettext_0.18.3.2.bb, do_configure)
> (dependent Tasks ['libiconv, do_populate_sysroot', 'eglibc, do_populate_sysroot', 'gettext, do_populate_sysroot',
> 'gnu-config, do_populate_sysroot', 'gcc-runtime, do_populate_sysroot', 'autoconf, do_populate_sysroot', 'expat,
> do_populate_sysroot', 'libtool-native, do_populate_sysroot', 'libtool-cross, do_populate_sysroot', 'automake,
> do_populate_sysroot', 'gcc-cross, do_populate_sysroot', 'gettext, do_patch'])
>
>    Task 930 (/home/krishna/fsl-release-bsp/sources/poky/meta/recipes-core/gettext/gettext_0.18.3.2.bb, do_compile)
> (dependent Tasks ['gettext, do_configure'])
>
> Thanks & Regards,
>
> Krishna Dwivedi
>

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


------------------------------

Message: 4
Date: Thu, 28 Apr 2016 09:07:32 -0700
From: Christopher Larson <clarson at kergoth.com>
To: Sujith Haridasan <sujith.h at gmail.com>
Cc: "meta-freescale at yoctoproject.org"
	<meta-freescale at yoctoproject.org>,	Sujith Haridasan
	<Sujith_Haridasan at mentor.com>
Subject: Re: [meta-freescale] [meta-fsl-ppc][PATCH] mux-server: Fix
	build warnings caused by external toolchain
Message-ID:
	<CABcZAN=wJLdk-m88gmom+qiH1jT3EXAaysoo=EwHgO7Hy6uqZg at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

On Wed, Apr 27, 2016 at 4:32 AM, Sujith Haridasan <sujith.h at gmail.com>
wrote:

> This patch resolves the warning:
> QA Issue: No GNU_HASH in the elf binary
> caused by external toolchain sourcery.
>

To clarify, It's not caused by the sourcery external toolchain, and it'll
likely be hit with any external toolchain, not just the Sourcery one.

The fundamental issue is mux-server wasn't obeying LDFLAGS from the
buildsystem. That is a bug regardless. It just only generates a QA error
with toolchains that didn't have their GNU_HASH set by default (the
internal toolchain does so).

This is fairly common, and we've been submitting fixes for these to a
variety of layers ovr the years. Due to the default behavior of the
internal toolchain, not obeying LDFLAGS is easily missed / silent. I might
propose changing that default behavior to poison the build to help make
these more visible, at some point.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20160428/58982012/attachment-0001.html>

------------------------------

-- 
_______________________________________________
meta-freescale mailing list
meta-freescale at yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


End of meta-freescale Digest, Vol 42, Issue 25
**********************************************


More information about the meta-freescale mailing list