Using prebuilt toolchains
Congratulations on Laverne (4.0) and Yocto - I hope they are prosperous for all :-)
Is there any way to configure Poky (laverne) with a prebuilt toolchain, e.g. a meta-toolchain setup? I no longer see any mention of this in the manual (although I've never succeeded to use such, no matter how hard I've tried)
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Hi Gary,
The tool chain is customized to work well for all the recipes. If you are going to build just one package a separate tool chain may work, but it's unlikely that a separate toolchain will work well for all the recipes.
Thanks,
Nitin
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Gary Thomas
Sent: Wednesday, October 27, 2010 2:33 PM
To: Poky
Subject: [poky] Using prebuilt toolchains
Congratulations on Laverne (4.0) and Yocto - I hope they are prosperous for all :-)
Is there any way to configure Poky (laverne) with a prebuilt toolchain, e.g. a meta-toolchain setup? I no longer see any mention of this in the manual (although I've never succeeded to use such, no matter how hard I've tried)
Signature · 8 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ _______________________________________________ poky mailing list [email protected] https://lists.pokylinux.org/listinfo/poky
Quoted 3 lines · Nitin A
Hi Gary,
The tool chain is customized to work well for all the recipes. If you are going to build just one package a separate tool chain may work, but it's unlikely that a separate toolchain will work well for all the recipes.
That's not really what I'm looking for. What I want is to build the tools *once* and then reuse them, without having to rebuild them every time I start a Poky build from scratch. I'm happy using the Poky "customized" tools, but I really dislike having to rebuild them over and over again... I also am really keen to deliver a Poky setup to my customers which they can use to build their target systems. They shouldn't have to be bothered with building the tools themselves.
Quoted 14 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Gary Thomas
Sent: Wednesday, October 27, 2010 2:33 PM
To: Poky
Subject: [poky] Using prebuilt toolchainsCongratulations on Laverne (4.0) and Yocto - I hope they are prosperous for all :-)
Is there any way to configure Poky (laverne) with a prebuilt toolchain, e.g. a meta-toolchain setup? I no longer see any mention of this in the manual (although I've never succeeded to use such, no matter how hard I've tried)
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 10 lines
From: Gary Thomas
Sent: Thursday, October 28, 2010 7:07 AMQuoted 2 lines · Nitin A
Hi Gary,
The tool chain is customized to work well for all the recipes. If you are going to buildjust one package a separate tool chain may work, but it's unlikely that a separate toolchain will work well for all the recipes.
Quoted 1 line
Quoted 7 lines
That's not really what I'm looking for. What I want is to build the tools *once* and then reuse them, without having to rebuild them every time I start a Poky build from scratch. I'm happy using the Poky "customized" tools, but I really dislike having to rebuild them over and over again... I also am really keen to deliver a Poky setup to my customers which they can use to build their target systems. They shouldn't have to be bothered with building the tools themselves.
That's a reasonable requirement, but to be honest I haven't tried it.
So have you ever succeeded with previous release? If yes and it's broken with current master, you can report a bug.
On the other hand, I think the new checksum and task based prebuilt can serve similar purpose for you... or even more since your users should be happier if you could provide more prebuilt stuff to them besides just toolchain. This is the merit of this project, to have end user really focusing on their own customization and value-added bits. :-)
Thanks
Kevin
Quoted 26 lines
Quoted 3 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf OfGary Thomas
Quoted 4 lines
Sent: Wednesday, October 27, 2010 2:33 PM
To: Poky
Subject: [poky] Using prebuilt toolchainsQuoted 8 lines
Congratulations on Laverne (4.0) and Yocto - I hope they are prosperous for all :-)
Is there any way to configure Poky (laverne) with a prebuilt toolchain, e.g. a meta-toolchain setup? I no longer see any mention of this in the manual (although I've never succeeded to use such, no matter how hard I've tried)
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
_______________________________________________
poky mailing list
[email protected]
https://lists.pokylinux.org/listinfo/poky
Quoted 7 lines
That's not really what I'm looking for. What I want is to build the tools *once* and then reuse them, without having to rebuild them every time I start a Poky build from scratch. I'm happy using the Poky "customized" tools, but I really dislike having to rebuild them over and over again... I also am really keen to deliver a Poky setup to my customers which they can use to build their target systems. They shouldn't have to be bothered with building the tools themselves.
Hi, Gary
In poky source tree, after bitbake meta-toolchain-sdk, you will get a tarball under Poky_tree/build_folder/tmp/deploy/sdk. Current usage scenario is that you can untar this tarball too the root Folder /, and you will get a sdk development toolchain folder /opt/poky.
If you want to cross-build something on your host, you can source the environment setup script file(environement-setup-XXX) under /opt/poky, and then go on compile/debug. And also, some other tools such as poky unfs file system extraction, running qemu scripts are also under this folder. This folder also include target sysroot environment.
Currently we did not encapsulate qemu emulator image in this tarball. In the next release, we might do so. So currently if you want to run qemu, you still need to bitbake poky-qemu-sdk.
There're one eclipse plugin as well as anjuta IDE plugin, which provide support for developing applications. What we need to do is just point to the correct poky toolchain position in the plugin preference setup page, such as /opt/poky folder or {poky_tree/build/tmp if you want to use the build tree}. If needed, we might provide further detailed documents about how to use those plugins.
Hope above information is useful to you:)
Thanks a lot for your help!
criping
Quoted 26 lines
Quoted 3 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Gary Thomas
Quoted 4 lines
Sent: Wednesday, October 27, 2010 2:33 PM
To: Poky
Subject: [poky] Using prebuilt toolchainsQuoted 8 lines
Congratulations on Laverne (4.0) and Yocto - I hope they are prosperous for all :-)
Is there any way to configure Poky (laverne) with a prebuilt toolchain, e.g. a meta-toolchain setup? I no longer see any mention of this in the manual (although I've never succeeded to use such, no matter how hard I've tried)
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
_______________________________________________
poky mailing list
[email protected]
https://lists.pokylinux.org/listinfo/poky
Hi, Gary
Seems I misunderstand something. Seems what you want is about how to create a recipe which could reuse you pre-build images and save build time.
But anyway, for normal application developers, providing an easy-to-use sdk-toolchain tarball is helpful. In theory, they have no needs to build the whole poky system by themselves.
Thanks& Regards,
criping
Quoted 29 lines
Quoted 16 lines
Quoted 2 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Gary Thomas
Quoted 4 lines
Sent: Wednesday, October 27, 2010 2:33 PM
To: Poky
Subject: [poky] Using prebuilt toolchainsQuoted 8 lines
Congratulations on Laverne (4.0) and Yocto - I hope they are prosperous for all :-)
Is there any way to configure Poky (laverne) with a prebuilt toolchain, e.g. a meta-toolchain setup? I no longer see any mention of this in the manual (although I've never succeeded to use such, no matter how hard I've tried)
Quoted 9 lines
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
_______________________________________________
poky mailing list
[email protected]
https://lists.pokylinux.org/listinfo/poky_______________________________________________
poky mailing list
[email protected]
https://lists.pokylinux.org/listinfo/poky
Quoted 9 lines · Liping
Hi, Gary
Seems I misunderstand something. Seems what you want is about how to create a recipe which could reuse you pre-build images and save build time.
But anyway, for normal application developers, providing an easy-to-use sdk-toolchain tarball is helpful. In theory, they have no needs to build the whole poky system by themselves.
Sadly, that's what they insist on :-(
Mostly my customers want to be able to [re]build exactly what's in their embedded environment, typically from scratch. Poky does this great, but the overhead of rebuilding the toolchain is a huge portion of the effort.
As for Kevin's comment:
Quoted 6 lines
On the other hand, I think the new checksum and task based prebuilt can serve similar purpose for you... or even more since your users should be happier if you could provide more prebuilt stuff to them besides just toolchain. This is the merit of this project, to have end user really focusing on their own customization and value-added bits. :-)
This would be great and I've been working with Richard on it for a long time. Sadly, it still doesn't work correctly and provides no benefit in its current state.
... I keep using Poky (at the very bleeding edge) and hoping :-)
Quoted 29 lines
Quoted 29 lines
Quoted 16 lines
Quoted 2 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Gary Thomas
Quoted 4 lines
Sent: Wednesday, October 27, 2010 2:33 PM
To: Poky
Subject: [poky] Using prebuilt toolchainsQuoted 8 lines
Congratulations on Laverne (4.0) and Yocto - I hope they are prosperous for all :-)
Is there any way to configure Poky (laverne) with a prebuilt toolchain, e.g. a meta-toolchain setup? I no longer see any mention of this in the manual (although I've never succeeded to use such, no matter how hard I've tried)
Quoted 9 lines
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
_______________________________________________
poky mailing list
[email protected]
https://lists.pokylinux.org/listinfo/poky_______________________________________________
poky mailing list
[email protected]
https://lists.pokylinux.org/listinfo/poky
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 14 lines
From: Gary Thomas [mailto:[email protected]]
Sent: Thursday, October 28, 2010 7:34 PMQuoted 9 lines · Liping
Hi, Gary
Seems I misunderstand something. Seems what you want is about how to create a recipe which could reuse you pre-build images and save build time.
But anyway, for normal application developers, providing an easy-to-use sdk-toolchain tarball is helpful. In theory, they have no needs to build the whole poky system by themselves.
Quoted 5 lines
Sadly, that's what they insist on :-(
Mostly my customers want to be able to [re]build exactly what's in their embedded environment, typically from scratch. Poky does this great, but the overhead of rebuilding the toolchain is a huge portion of the effort.
that's reasonable, as people want the full control of the given bits. Actually this is one major reason why people go to open source side. :-)
Quoted 5 lines
As for Kevin's comment:
Quoted 3 lines
On the other hand, I think the new checksum and task based prebuilt can serve similar purpose for you... or even more since your users should be happier if you could provide
Quoted 8 lines
more
Quoted 3 lines
prebuilt stuff to them besides just toolchain. This is the merit of this project, to have end user really focusing on their own customization and value-added bits. :-)
This would be great and I've been working with Richard on it for a long time. Sadly, it still doesn't work correctly and provides no benefit in its current state.
well, please report any issues you encountered with it, and we'll work together to make this fancy feature dancing well.
Quoted 2 lines
... I keep using Poky (at the very bleeding edge) and hoping :-)
it's always good to see such mails from you. :-)
Thanks
Kevin
Quoted 36 lines
Quoted 26 lines
Quoted 26 lines
Quoted 26 lines
Quoted 3 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Gary Thomas
Quoted 4 lines
Sent: Wednesday, October 27, 2010 2:33 PM
To: Poky
Subject: [poky] Using prebuilt toolchainsQuoted 8 lines
Congratulations on Laverne (4.0) and Yocto - I hope they are prosperous for all :-)
Is there any way to configure Poky (laverne) with a prebuilt toolchain, e.g. a meta-toolchain setup? I no longer see any mention of this in the manual (although I've never succeeded to use such, no matter how hard I've tried)
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
_______________________________________________
poky mailing list
[email protected]
https://lists.pokylinux.org/listinfo/pokyQuoted 4 lines
Quoted 4 lines
_______________________________________________
poky mailing list
[email protected]
https://lists.pokylinux.org/listinfo/poky--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------