* ADD GDB in FSL toolchain
@ 2015-08-04 9:31 Sarayu Krishna Sivanandam
2015-08-04 11:51 ` Gary Thomas
0 siblings, 1 reply; 13+ messages in thread
From: Sarayu Krishna Sivanandam @ 2015-08-04 9:31 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 685 bytes --]
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).*
Thanks in advance for your help.
Thanks and Regards,
Sarayu K S
Tech Lead
Zaikenn Technologies
[-- Attachment #2: Type: text/html, Size: 2623 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ADD GDB in FSL toolchain
2015-08-04 9:31 ADD GDB in FSL toolchain Sarayu Krishna Sivanandam
@ 2015-08-04 11:51 ` Gary Thomas
2015-08-04 12:42 ` Sarayu Krishna Sivanandam
0 siblings, 1 reply; 13+ messages in thread
From: Gary Thomas @ 2015-08-04 11:51 UTC (permalink / raw)
To: yocto
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> 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
------------------------------------------------------------
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ADD GDB in FSL toolchain
2015-08-04 11:51 ` Gary Thomas
@ 2015-08-04 12:42 ` Sarayu Krishna Sivanandam
2015-08-04 12:53 ` Gary Thomas
2015-08-04 20:13 ` Khem Raj
0 siblings, 2 replies; 13+ messages in thread
From: Sarayu Krishna Sivanandam @ 2015-08-04 12:42 UTC (permalink / raw)
To: Gary Thomas; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 2017 bytes --]
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 \
"
Thanks and Regards,
Sarayu K S
Tech Lead
Zaikenn Technologies
On Tue, Aug 4, 2015 at 5:21 PM, Gary Thomas <gary@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> 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
>
[-- Attachment #2: Type: text/html, Size: 4835 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ADD GDB in FSL toolchain
2015-08-04 12:42 ` Sarayu Krishna Sivanandam
@ 2015-08-04 12:53 ` Gary Thomas
2015-08-04 13:01 ` Sarayu Krishna Sivanandam
2015-08-04 20:13 ` Khem Raj
1 sibling, 1 reply; 13+ messages in thread
From: Gary Thomas @ 2015-08-04 12:53 UTC (permalink / raw)
To: Sarayu Krishna Sivanandam; +Cc: yocto
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@mlbassoc.com <mailto:gary@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> 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 <mailto:yocto@yoctoproject.org>
> https://lists.yoctoproject.org/listinfo/yocto
>
>
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ADD GDB in FSL toolchain
2015-08-04 12:53 ` Gary Thomas
@ 2015-08-04 13:01 ` Sarayu Krishna Sivanandam
2015-08-04 13:27 ` Gary Thomas
0 siblings, 1 reply; 13+ messages in thread
From: Sarayu Krishna Sivanandam @ 2015-08-04 13:01 UTC (permalink / raw)
To: Gary Thomas; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 4221 bytes --]
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"
Thanks and Regards,
Sarayu K S
Tech Lead
Zaikenn Technologies
On Tue, Aug 4, 2015 at 6:23 PM, Gary Thomas <gary@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@mlbassoc.com <mailto:
>> gary@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> 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 <mailto:yocto@yoctoproject.org>
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>>
>>
> --
> ------------------------------------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------------------------------------
>
[-- Attachment #2: Type: text/html, Size: 8623 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ADD GDB in FSL toolchain
2015-08-04 13:01 ` Sarayu Krishna Sivanandam
@ 2015-08-04 13:27 ` Gary Thomas
2015-08-04 13:47 ` Sarayu Krishna Sivanandam
0 siblings, 1 reply; 13+ messages in thread
From: Gary Thomas @ 2015-08-04 13:27 UTC (permalink / raw)
To: yocto
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@mlbassoc.com <mailto:gary@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@mlbassoc.com <mailto:gary@mlbassoc.com> <mailto:gary@mlbassoc.com <mailto:gary@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@yoctoproject.org <mailto:yocto@yoctoproject.org> <mailto:yocto@yoctoproject.org <mailto: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
------------------------------------------------------------
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ADD GDB in FSL toolchain
2015-08-04 13:27 ` Gary Thomas
@ 2015-08-04 13:47 ` Sarayu Krishna Sivanandam
2015-08-04 13:52 ` Gary Thomas
0 siblings, 1 reply; 13+ messages in thread
From: Sarayu Krishna Sivanandam @ 2015-08-04 13:47 UTC (permalink / raw)
To: Gary Thomas; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 6483 bytes --]
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@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@mlbassoc.com <mailto:
>> gary@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@mlbassoc.com
>> <mailto:gary@mlbassoc.com> <mailto:gary@mlbassoc.com <mailto:
>> gary@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@yoctoproject.org <mailto:yocto@yoctoproject.org> <mailto:
>> yocto@yoctoproject.org <mailto: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
>
[-- Attachment #2: Type: text/html, Size: 10277 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ADD GDB in FSL toolchain
2015-08-04 13:47 ` Sarayu Krishna Sivanandam
@ 2015-08-04 13:52 ` Gary Thomas
2015-08-04 14:05 ` Sarayu Krishna Sivanandam
0 siblings, 1 reply; 13+ messages in thread
From: Gary Thomas @ 2015-08-04 13:52 UTC (permalink / raw)
To: Sarayu Krishna Sivanandam; +Cc: yocto
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 <gary@mlbassoc.com <mailto:gary@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@mlbassoc.com <mailto:gary@mlbassoc.com> <mailto:gary@mlbassoc.com <mailto:gary@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@mlbassoc.com <mailto:gary@mlbassoc.com> <mailto:gary@mlbassoc.com <mailto:gary@mlbassoc.com>>
> <mailto:gary@mlbassoc.com <mailto:gary@mlbassoc.com> <mailto:gary@mlbassoc.com <mailto:gary@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> <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@yoctoproject.org <mailto:yocto@yoctoproject.org> <mailto:yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>> <mailto:yocto@yoctoproject.org
> <mailto:yocto@yoctoproject.org> <mailto:yocto@yoctoproject.org <mailto: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 <mailto:yocto@yoctoproject.org>
> https://lists.yoctoproject.org/listinfo/yocto
>
>
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ADD GDB in FSL toolchain
2015-08-04 13:52 ` Gary Thomas
@ 2015-08-04 14:05 ` Sarayu Krishna Sivanandam
2015-08-04 14:08 ` Gary Thomas
0 siblings, 1 reply; 13+ messages in thread
From: Sarayu Krishna Sivanandam @ 2015-08-04 14:05 UTC (permalink / raw)
To: Gary Thomas; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 9478 bytes --]
I see that it is available in my code as well .
[sarayu@localhost QorIQ-SDK-V1.8-20150619-yocto]$ find . -name
gdb-cross_7.6.2.bb
./poky/meta/recipes-devtools/gdb/gdb-cross_7.6.2.bb
But when i try to build just this bb file it still shows the error .
[sarayu@localhost build_ls1021atwr_release]$ bitbake gdb-cross_7.6.2.bb
Loading cache: 100% |####################################################|
ETA: 00:00:00
Loaded 2148 entries from dependency cache.
ERROR: Nothing PROVIDES 'gdb-cross_7.6.2.bb'
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
[sarayu@localhost build_ls1021atwr_release]$
Could there be any other issue related to path or anything because i have
been able to build the toolchain without gdb and also have been able to
build the util-linux recipe just form the bb file separately also .
Wondering why it is failing for gdb alone .
Thanks and Regards,
Sarayu K S
Tech Lead
Zaikenn Technologies
On Tue, Aug 4, 2015 at 7:22 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> 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 <gary@mlbassoc.com <mailto:
>> gary@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@mlbassoc.com
>> <mailto:gary@mlbassoc.com> <mailto:gary@mlbassoc.com <mailto:
>> gary@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@mlbassoc.com <mailto:gary@mlbassoc.com> <mailto:gary@mlbassoc.com
>> <mailto:gary@mlbassoc.com>>
>> <mailto:gary@mlbassoc.com <mailto:gary@mlbassoc.com> <mailto:
>> gary@mlbassoc.com <mailto:gary@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> <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@yoctoproject.org <mailto:yocto@yoctoproject.org> <mailto:
>> yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>> <mailto:
>> yocto@yoctoproject.org
>> <mailto:yocto@yoctoproject.org> <mailto:yocto@yoctoproject.org
>> <mailto: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 <mailto:yocto@yoctoproject.org>
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>>
>>
> --
> ------------------------------------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------------------------------------
>
[-- Attachment #2: Type: text/html, Size: 15497 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ADD GDB in FSL toolchain
2015-08-04 14:05 ` Sarayu Krishna Sivanandam
@ 2015-08-04 14:08 ` Gary Thomas
0 siblings, 0 replies; 13+ messages in thread
From: Gary Thomas @ 2015-08-04 14:08 UTC (permalink / raw)
To: Sarayu Krishna Sivanandam; +Cc: yocto
On 2015-08-04 08:05, Sarayu Krishna Sivanandam wrote:
> I see that it is available in my code as well .
>
> [sarayu@localhost QorIQ-SDK-V1.8-20150619-yocto]$ find . -name gdb-cross_7.6.2.bb <http://gdb-cross_7.6.2.bb>
> ./poky/meta/recipes-devtools/gdb/gdb-cross_7.6.2.bb <http://gdb-cross_7.6.2.bb>
>
> But when i try to build just this bb file it still shows the error .
> [sarayu@localhost build_ls1021atwr_release]$ bitbake gdb-cross_7.6.2.bb
You don't build like this - use only
$ bitbake gdb-cross
> Loading cache: 100% |####################################################| ETA: 00:00:00
> Loaded 2148 entries from dependency cache.
> ERROR: Nothing PROVIDES 'gdb-cross_7.6.2.bb <http://gdb-cross_7.6.2.bb>'
>
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> [sarayu@localhost build_ls1021atwr_release]$
>
> Could there be any other issue related to path or anything because i have been able to build the toolchain without gdb and also have been able to build the util-linux recipe just
> form the bb file separately also .
> Wondering why it is failing for gdb alone .
> On Tue, Aug 4, 2015 at 7:22 PM, Gary Thomas <gary@mlbassoc.com <mailto:gary@mlbassoc.com>> wrote:
>
> 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 <http://gdb-cross_7.6.2.bb>
> /tmp/poky-daisy/meta/recipes-devtools/gdb/gdb-cross-canadian_7.6.2.bb <http://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 <gary@mlbassoc.com <mailto:gary@mlbassoc.com> <mailto:gary@mlbassoc.com <mailto:gary@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@mlbassoc.com <mailto:gary@mlbassoc.com> <mailto:gary@mlbassoc.com <mailto:gary@mlbassoc.com>>
> <mailto:gary@mlbassoc.com <mailto:gary@mlbassoc.com> <mailto:gary@mlbassoc.com <mailto:gary@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@mlbassoc.com <mailto:gary@mlbassoc.com> <mailto:gary@mlbassoc.com <mailto:gary@mlbassoc.com>>
> <mailto:gary@mlbassoc.com <mailto:gary@mlbassoc.com> <mailto:gary@mlbassoc.com <mailto:gary@mlbassoc.com>>>
> <mailto:gary@mlbassoc.com <mailto:gary@mlbassoc.com> <mailto:gary@mlbassoc.com <mailto:gary@mlbassoc.com>> <mailto:gary@mlbassoc.com <mailto:gary@mlbassoc.com>
> <mailto:gary@mlbassoc.com <mailto:gary@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> <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@yoctoproject.org <mailto:yocto@yoctoproject.org> <mailto:yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>> <mailto:yocto@yoctoproject.org
> <mailto:yocto@yoctoproject.org> <mailto:yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>>> <mailto:yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>
> <mailto:yocto@yoctoproject.org <mailto:yocto@yoctoproject.org>> <mailto:yocto@yoctoproject.org <mailto:yocto@yoctoproject.org> <mailto:yocto@yoctoproject.org
> <mailto: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 <mailto:yocto@yoctoproject.org> <mailto:yocto@yoctoproject.org <mailto: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
------------------------------------------------------------
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ADD GDB in FSL toolchain
2015-08-04 12:42 ` Sarayu Krishna Sivanandam
2015-08-04 12:53 ` Gary Thomas
@ 2015-08-04 20:13 ` Khem Raj
2015-08-05 9:17 ` Luo Zhenhua
1 sibling, 1 reply; 13+ messages in thread
From: Khem Raj @ 2015-08-04 20:13 UTC (permalink / raw)
To: Sarayu Krishna Sivanandam; +Cc: yocto@yoctoproject.org, Gary Thomas
On Tue, Aug 4, 2015 at 5:42 AM, Sarayu Krishna Sivanandam
<sarayu@zaikenn.com> 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']
this is not a target task. Its a host-x-target tool
you should add db-cross-canadian-${TRANSLATED_TARGET_ARCH} to
TOOLCHAIN_HOST_TASK
if you want gdb on target then you would add 'gdb' to TOOLCHAIN_TARGET_TASK
> -----
>
> 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 \
> "
>
>
> Thanks and Regards,
> Sarayu K S
> Tech Lead
> Zaikenn Technologies
>
> On Tue, Aug 4, 2015 at 5:21 PM, Gary Thomas <gary@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> 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
>
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ADD GDB in FSL toolchain
2015-08-04 20:13 ` Khem Raj
@ 2015-08-05 9:17 ` Luo Zhenhua
2015-08-05 15:11 ` Sarayu Krishna Sivanandam
0 siblings, 1 reply; 13+ messages in thread
From: Luo Zhenhua @ 2015-08-05 9:17 UTC (permalink / raw)
To: Khem Raj, Sarayu Krishna Sivanandam; +Cc: yocto@yoctoproject.org, Gary Thomas
Hi Sarayu,
Do you want the gdb utility which can be executed on host machine or gdb stuffs of target machine? If the former, the utility is already included(<toolchain-install-dir>/sysroots/x86_64-fslsdk-linux/usr/bin/arm-fsl-linux-gnueabi/arm-fsl-linux-gnueabi-gdb), if the latter, you can follow Khem's suggestion.
Best Regards,
Zhenhua
> -----Original Message-----
> From: yocto-bounces@yoctoproject.org [mailto:yocto-
> bounces@yoctoproject.org] On Behalf Of Khem Raj
> Sent: Wednesday, August 05, 2015 4:14 AM
> To: Sarayu Krishna Sivanandam
> Cc: yocto@yoctoproject.org; Gary Thomas
> Subject: Re: [yocto] ADD GDB in FSL toolchain
>
> On Tue, Aug 4, 2015 at 5:42 AM, Sarayu Krishna Sivanandam
> <sarayu@zaikenn.com> 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']
>
> this is not a target task. Its a host-x-target tool you should add db-cross-
> canadian-${TRANSLATED_TARGET_ARCH} to TOOLCHAIN_HOST_TASK
>
> if you want gdb on target then you would add 'gdb' to
> TOOLCHAIN_TARGET_TASK
>
> > -----
> >
> > 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 \
> > "
> >
> >
> > Thanks and Regards,
> > Sarayu K S
> > Tech Lead
> > Zaikenn Technologies
> >
> > On Tue, Aug 4, 2015 at 5:21 PM, Gary Thomas <gary@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> 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
> >
> >
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> >
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: ADD GDB in FSL toolchain
2015-08-05 9:17 ` Luo Zhenhua
@ 2015-08-05 15:11 ` Sarayu Krishna Sivanandam
0 siblings, 0 replies; 13+ messages in thread
From: Sarayu Krishna Sivanandam @ 2015-08-05 15:11 UTC (permalink / raw)
To: Luo Zhenhua; +Cc: yocto@yoctoproject.org, Gary Thomas
[-- Attachment #1: Type: text/plain, Size: 4026 bytes --]
Thanks for the reply . That worked for me . I was able to add gdb to my
toolchain.
Thanks and Regards,
Sarayu K S
Tech Lead
Zaikenn Technologies
On Wed, Aug 5, 2015 at 2:47 PM, Luo Zhenhua <zhenhua.luo@freescale.com>
wrote:
> Hi Sarayu,
>
> Do you want the gdb utility which can be executed on host machine or gdb
> stuffs of target machine? If the former, the utility is already
> included(<toolchain-install-dir>/sysroots/x86_64-fslsdk-linux/usr/bin/arm-fsl-linux-gnueabi/arm-fsl-linux-gnueabi-gdb),
> if the latter, you can follow Khem's suggestion.
>
>
> Best Regards,
>
> Zhenhua
>
> > -----Original Message-----
> > From: yocto-bounces@yoctoproject.org [mailto:yocto-
> > bounces@yoctoproject.org] On Behalf Of Khem Raj
> > Sent: Wednesday, August 05, 2015 4:14 AM
> > To: Sarayu Krishna Sivanandam
> > Cc: yocto@yoctoproject.org; Gary Thomas
> > Subject: Re: [yocto] ADD GDB in FSL toolchain
> >
> > On Tue, Aug 4, 2015 at 5:42 AM, Sarayu Krishna Sivanandam
> > <sarayu@zaikenn.com> 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']
> >
> > this is not a target task. Its a host-x-target tool you should add
> db-cross-
> > canadian-${TRANSLATED_TARGET_ARCH} to TOOLCHAIN_HOST_TASK
> >
> > if you want gdb on target then you would add 'gdb' to
> > TOOLCHAIN_TARGET_TASK
> >
> > > -----
> > >
> > > 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 \
> > > "
> > >
> > >
> > > Thanks and Regards,
> > > Sarayu K S
> > > Tech Lead
> > > Zaikenn Technologies
> > >
> > > On Tue, Aug 4, 2015 at 5:21 PM, Gary Thomas <gary@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> 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
> > >
> > >
> > >
> > > --
> > > _______________________________________________
> > > yocto mailing list
> > > yocto@yoctoproject.org
> > > https://lists.yoctoproject.org/listinfo/yocto
> > >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
>
[-- Attachment #2: Type: text/html, Size: 6563 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2015-08-05 15:12 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-04 9:31 ADD GDB in FSL toolchain Sarayu Krishna Sivanandam
2015-08-04 11:51 ` Gary Thomas
2015-08-04 12:42 ` Sarayu Krishna Sivanandam
2015-08-04 12:53 ` Gary Thomas
2015-08-04 13:01 ` Sarayu Krishna Sivanandam
2015-08-04 13:27 ` Gary Thomas
2015-08-04 13:47 ` Sarayu Krishna Sivanandam
2015-08-04 13:52 ` Gary Thomas
2015-08-04 14:05 ` Sarayu Krishna Sivanandam
2015-08-04 14:08 ` Gary Thomas
2015-08-04 20:13 ` Khem Raj
2015-08-05 9:17 ` Luo Zhenhua
2015-08-05 15:11 ` Sarayu Krishna Sivanandam
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.