[yocto] ADD GDB in FSL toolchain

Sarayu Krishna Sivanandam sarayu at zaikenn.com
Tue Aug 4 06:47:48 PDT 2015


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.


Thanks and Regards,
Sarayu K S
Tech Lead
Zaikenn Technologies

On Tue, Aug 4, 2015 at 6:57 PM, Gary Thomas <gary at mlbassoc.com> 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 <gary at mlbassoc.com <mailto:
>> gary at mlbassoc.com>> 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 <gary at mlbassoc.com
>> <mailto:gary at mlbassoc.com> <mailto:gary at mlbassoc.com <mailto:
>> gary at mlbassoc.com>>> 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 <
>> http://fsl-toolchain.bb> <http://fsl-toolchain.bb> <
>> http://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 at yoctoproject.org <mailto:yocto at yoctoproject.org> <mailto:
>> yocto at yoctoproject.org <mailto:yocto at 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 at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150804/ec957fc0/attachment.html>


More information about the yocto mailing list