All of lore.kernel.org
 help / color / mirror / Atom feed
* Using prebuilt toolchains
@ 2010-10-27 21:33 Gary Thomas
  2010-10-27 21:58 ` Kamble, Nitin A
  0 siblings, 1 reply; 8+ messages in thread
From: Gary Thomas @ 2010-10-27 21:33 UTC (permalink / raw)
  To: Poky

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
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Using prebuilt toolchains
  2010-10-27 21:33 Using prebuilt toolchains Gary Thomas
@ 2010-10-27 21:58 ` Kamble, Nitin A
  2010-10-27 23:06   ` Gary Thomas
  0 siblings, 1 reply; 8+ messages in thread
From: Kamble, Nitin A @ 2010-10-27 21:58 UTC (permalink / raw)
  To: Gary Thomas, Poky

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: poky-bounces@pokylinux.org [mailto:poky-bounces@pokylinux.org] 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)

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
_______________________________________________
poky mailing list
poky@pokylinux.org
https://lists.pokylinux.org/listinfo/poky


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Using prebuilt toolchains
  2010-10-27 21:58 ` Kamble, Nitin A
@ 2010-10-27 23:06   ` Gary Thomas
  2010-10-28  1:07     ` Tian, Kevin
  2010-10-28  2:16     ` Ke, Liping
  0 siblings, 2 replies; 8+ messages in thread
From: Gary Thomas @ 2010-10-27 23:06 UTC (permalink / raw)
  To: Kamble, Nitin A; +Cc: Poky

On 10/27/2010 03:58 PM, Kamble, Nitin A wrote:
> 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.

> -----Original Message-----
> From: poky-bounces@pokylinux.org [mailto:poky-bounces@pokylinux.org] 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)
>

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Using prebuilt toolchains
  2010-10-27 23:06   ` Gary Thomas
@ 2010-10-28  1:07     ` Tian, Kevin
  2010-10-28  2:16     ` Ke, Liping
  1 sibling, 0 replies; 8+ messages in thread
From: Tian, Kevin @ 2010-10-28  1:07 UTC (permalink / raw)
  To: Gary Thomas, Kamble, Nitin A; +Cc: Poky

>From: Gary Thomas
>Sent: Thursday, October 28, 2010 7:07 AM
>
>On 10/27/2010 03:58 PM, Kamble, Nitin A wrote:
>> 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.

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

>
>> -----Original Message-----
>> From: poky-bounces@pokylinux.org [mailto:poky-bounces@pokylinux.org] 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)
>>
>
>--
>------------------------------------------------------------
>Gary Thomas                 |  Consulting for the
>MLB Associates              |    Embedded world
>------------------------------------------------------------
>_______________________________________________
>poky mailing list
>poky@pokylinux.org
>https://lists.pokylinux.org/listinfo/poky


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Using prebuilt toolchains
  2010-10-27 23:06   ` Gary Thomas
  2010-10-28  1:07     ` Tian, Kevin
@ 2010-10-28  2:16     ` Ke, Liping
  2010-10-28  2:35       ` Ke, Liping
  1 sibling, 1 reply; 8+ messages in thread
From: Ke, Liping @ 2010-10-28  2:16 UTC (permalink / raw)
  To: Gary Thomas, Kamble, Nitin A; +Cc: Poky

> 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


> 
> > -----Original Message-----
> > From: poky-bounces@pokylinux.org [mailto:poky-bounces@pokylinux.org]
> 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)
> >
> 
> --
> ------------------------------------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------------------------------------
> _______________________________________________
> poky mailing list
> poky@pokylinux.org
> https://lists.pokylinux.org/listinfo/poky


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Using prebuilt toolchains
  2010-10-28  2:16     ` Ke, Liping
@ 2010-10-28  2:35       ` Ke, Liping
  2010-10-28 11:34         ` Gary Thomas
  0 siblings, 1 reply; 8+ messages in thread
From: Ke, Liping @ 2010-10-28  2:35 UTC (permalink / raw)
  To: Ke, Liping, Gary Thomas, Kamble, Nitin A; +Cc: 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

> > > -----Original Message-----
> > > From: poky-bounces@pokylinux.org [mailto:poky-bounces@pokylinux.org]
> > 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)
> > >
> >
> > --
> > ------------------------------------------------------------
> > Gary Thomas                 |  Consulting for the
> > MLB Associates              |    Embedded world
> > ------------------------------------------------------------
> > _______________________________________________
> > poky mailing list
> > poky@pokylinux.org
> > https://lists.pokylinux.org/listinfo/poky
> _______________________________________________
> poky mailing list
> poky@pokylinux.org
> https://lists.pokylinux.org/listinfo/poky


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Using prebuilt toolchains
  2010-10-28  2:35       ` Ke, Liping
@ 2010-10-28 11:34         ` Gary Thomas
  2010-10-28 12:54           ` Tian, Kevin
  0 siblings, 1 reply; 8+ messages in thread
From: Gary Thomas @ 2010-10-28 11:34 UTC (permalink / raw)
  To: Ke, Liping; +Cc: Poky

On 10/27/2010 08:35 PM, Ke, Liping wrote:
> 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:
>
> 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 :-)

>>>> -----Original Message-----
>>>> From: poky-bounces@pokylinux.org [mailto:poky-bounces@pokylinux.org]
>>> 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)
>>>>
>>>
>>> --
>>> ------------------------------------------------------------
>>> Gary Thomas                 |  Consulting for the
>>> MLB Associates              |    Embedded world
>>> ------------------------------------------------------------
>>> _______________________________________________
>>> poky mailing list
>>> poky@pokylinux.org
>>> https://lists.pokylinux.org/listinfo/poky
>> _______________________________________________
>> poky mailing list
>> poky@pokylinux.org
>> https://lists.pokylinux.org/listinfo/poky

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Using prebuilt toolchains
  2010-10-28 11:34         ` Gary Thomas
@ 2010-10-28 12:54           ` Tian, Kevin
  0 siblings, 0 replies; 8+ messages in thread
From: Tian, Kevin @ 2010-10-28 12:54 UTC (permalink / raw)
  To: Gary Thomas, Ke, Liping; +Cc: Poky

>From: Gary Thomas [mailto:gary@mlbassoc.com]
>Sent: Thursday, October 28, 2010 7:34 PM
>
>On 10/27/2010 08:35 PM, Ke, Liping wrote:
>> 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.

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. :-)

>
>As for Kevin's comment:
>>
>> 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.

well, please report any issues you encountered with it, and we'll work together to make
this fancy feature dancing well.

>
>... I keep using Poky (at the very bleeding edge) and hoping :-)

it's always good to see such mails from you. :-)

Thanks
Kevin

>
>>>>> -----Original Message-----
>>>>> From: poky-bounces@pokylinux.org [mailto:poky-bounces@pokylinux.org]
>>>> 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)
>>>>>
>>>>
>>>> --
>>>> ------------------------------------------------------------
>>>> Gary Thomas                 |  Consulting for the
>>>> MLB Associates              |    Embedded world
>>>> ------------------------------------------------------------
>>>> _______________________________________________
>>>> poky mailing list
>>>> poky@pokylinux.org
>>>> https://lists.pokylinux.org/listinfo/poky
>>> _______________________________________________
>>> poky mailing list
>>> poky@pokylinux.org
>>> https://lists.pokylinux.org/listinfo/poky
>
>--
>------------------------------------------------------------
>Gary Thomas                 |  Consulting for the
>MLB Associates              |    Embedded world
>------------------------------------------------------------


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-10-28 12:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-27 21:33 Using prebuilt toolchains Gary Thomas
2010-10-27 21:58 ` Kamble, Nitin A
2010-10-27 23:06   ` Gary Thomas
2010-10-28  1:07     ` Tian, Kevin
2010-10-28  2:16     ` Ke, Liping
2010-10-28  2:35       ` Ke, Liping
2010-10-28 11:34         ` Gary Thomas
2010-10-28 12:54           ` Tian, Kevin

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.