From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id D6825E00A9A; Tue, 4 Aug 2015 06:52:09 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail.chez-thomas.org (mail.mlbassoc.com [65.100.170.105]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id CD178E009C5 for ; Tue, 4 Aug 2015 06:52:06 -0700 (PDT) Received: by mail.chez-thomas.org (Postfix, from userid 1998) id BD8D6F811DD; Tue, 4 Aug 2015 07:52:05 -0600 (MDT) Received: from [192.168.1.114] (zeus [192.168.1.114]) by mail.chez-thomas.org (Postfix) with ESMTP id 067BBF811D7; Tue, 4 Aug 2015 07:52:05 -0600 (MDT) Message-ID: <55C0C38F.7020809@mlbassoc.com> Date: Tue, 04 Aug 2015 07:52:15 -0600 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: Sarayu Krishna Sivanandam References: <55C0A75F.1000701@mlbassoc.com> <55C0B5D1.9080009@mlbassoc.com> <55C0BDA7.9060507@mlbassoc.com> In-Reply-To: Cc: yocto@yoctoproject.org Subject: Re: ADD GDB in FSL toolchain X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Aug 2015 13:52:09 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 2015-08-04 07:47, Sarayu Krishna Sivanandam wrote: > hi Gary , > > I am working on the 1.8 SDK For the ARM board and followed the instructions from the freescale website link provided below > (http://www.freescale.com/infocenter/topic/qfamily-sdk/index.html) for my ARM board ls1021atwr and hence i got the source ISO from the SDK and then used the same to build the tool > chain as the same is currently available on my board. > > when u use gdb-cross which bb file is executed ? Can you please provide the file name so that i can verify if it is present in my code as well. I put the daisy checkout in /tmp/poky-daisy: $ find /tmp/poky-daisy/meta -name "gdb-cross*" /tmp/poky-daisy/meta/recipes-devtools/gdb/gdb-cross.inc /tmp/poky-daisy/meta/recipes-devtools/gdb/gdb-cross_7.6.2.bb /tmp/poky-daisy/meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.2.bb /tmp/poky-daisy/meta/recipes-devtools/gdb/gdb-cross-canadian.inc > On Tue, Aug 4, 2015 at 6:57 PM, Gary Thomas > wrote: > > On 2015-08-04 07:01, Sarayu Krishna Sivanandam wrote: > > Hi Gary , > > Pls find below my configuration details . > > Build Configuration: > BB_VERSION = "1.22.0" > BUILD_SYS = "x86_64-linux" > NATIVELSBSTRING = "CentOS-7.1.1503" > TARGET_SYS = "arm-fsl-linux-gnueabi" > MACHINE = "ls1021atwr" > DISTRO = "fsl-networking" > DISTRO_VERSION = "QorIQ-SDK-V1.8" > TUNE_FEATURES = "armv7a vfp neon callconvention-hard cortexa7" > TARGET_FPU = "vfp-neon" > meta > meta-yocto > meta-yocto-bsp = "daisy:18837ea4cdd4fdab608e0a032a11a2dfb6b1ee1a" > meta-fsl-arm = "daisy:b529ac5ba06a0d69d7e6e295776a4d684c6e1c56" > meta-fsl-networking = "daisy:6eb28ed659bbadfa470237dfce98bcbf53c18fe1" > meta-fsl-toolchain = "daisy:a253b3594d8d9e0a4ed869d1fb502c395c4438ac" > meta-virtualization = "daisy:df44ec7a68c8e4b713a458a5b93e903103dea85c" > meta-oe > meta-networking > meta-perl > toolchain-layer = "daisy:4a44c4107899363b22c01eb5621b0c86db1c659c" > meta-java = "daisy:65c89b93fa9d4c89e1dfb5b795075cbadb541009" > meta-linaro-toolchain = "daisy:9e742fbb8cbb6d2087fb41429a77fcf0ce50dbb8" > meta-security = "daisy:9f4c3849521465b459845dcc1a7a885bacaae9d9" > > > Firstly, 'daisy' is really old, you should consider 'dizzy' or newer > The git revisions listed above do not match the public trees - where did > you get them? > > I tried to build 'gdb-cross' using daisy and it worked with no issues using: > meta = "(detachedfromorigin/daisy):b9ec9f7425cd11fada2ba104122b0f1ea823ae28" > meta-fsl-arm = "(detachedfromorigin/daisy):0c4de80867c3ab4e9682dd7802d3fd907d1e1a23" > > On Tue, Aug 4, 2015 at 6:23 PM, Gary Thomas >> wrote: > > On 2015-08-04 06:42, Sarayu Krishna Sivanandam wrote: > > hi Gary , > > Thanks for the quick response. I still see the below error . > > NOTE: Resolving any missing task queue dependencies > ERROR: Nothing RPROVIDES 'gdb-cross-arm' > NOTE: Runtime target 'gdb-cross-arm' is unbuildable, removing... > Missing or unbuildable dependency chain was: ['gdb-cross-arm'] > ERROR: Required build target 'fsl-toolchain' has no buildable providers. > Missing or unbuildable dependency chain was: ['fsl-toolchain', 'gdb-cross-arm'] > ----- > > Below is how the change , > TOOLCHAIN_TARGET_TASK += " \ > glib-2.0 \ > glib-2.0-dev \ > dtc-staticdev \ > libgomp \ > libgomp-dev \ > libgomp-staticdev \ > libstdc++-staticdev \ > ${TCLIBC}-staticdev \ > util-linux-dev \ > gdb-cross-arm \ > " > > > It works fine for me using the latest master git. > > What branch/release are you using? I'm using: > meta = "master:a8b723498c9a7106210db140452886894494b4d6" > meta-fsl-arm = "master:48d7e70398f0f9f337b9edaeb29901c9bd895282" > meta-fsl-arm-extra = "master:ffa8db2f33ff08fc618c7e8eb47924095f4a06c0" > > What is your target machine? > > > On Tue, Aug 4, 2015 at 5:21 PM, Gary Thomas > > >>> wrote: > > On 2015-08-04 03:31, Sarayu Krishna Sivanandam wrote: > > Hi all , > > I am using the QorIQ-SDK-V1.8 SDK for the toolchain generation for my ARM board . I wanted to build gdb along with the toolchain . I got some ideas from > google to > add the > gdb-cross in the fsl-toolchain.bb but on doing the > same it gave me some errors when > trying to build . > > Can you please let me know the right method to add gdb in the toolchain ? > > Below is the error i got , > *ERROR: gdb-cross not found in the base feeds (ls1021atwr cortexa7hf-vfp-neon cortexa7hf-vfp armv7ahf-vfp-neon armv7ahf-vfp armv6hf-vfp armv5ehf-vfp > armv5hf-vfp > noarch any > all).* > > > Use gdb-cross-arm > > -- > ------------------------------------------------------------ > Gary Thomas | Consulting for the > MLB Associates | Embedded world > ------------------------------------------------------------ > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > >> > https://lists.yoctoproject.org/listinfo/yocto > > > > -- > ------------------------------------------------------------ > Gary Thomas | Consulting for the > MLB Associates | Embedded world > ------------------------------------------------------------ > > > > > > -- > ------------------------------------------------------------ > Gary Thomas | Consulting for the > MLB Associates | Embedded world > ------------------------------------------------------------ > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto > > -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------