* Problem with image types
@ 2013-10-11 14:38 Gary Thomas
2013-10-11 14:39 ` Chris Larson
0 siblings, 1 reply; 11+ messages in thread
From: Gary Thomas @ 2013-10-11 14:38 UTC (permalink / raw)
To: meta-freescale
I'm using image_types_fsl from meta-fsl-arm and running into
some issues. If I set
IMAGE_FSTYPES="tar.bz2 ext3 sdcard"
IMAGE_CLASSES="image_types_fsl"
I only end up with .ext3 and .sdcard images - no .tar.bz2.
If I use the default
IMAGE_CLASSES="image_types"
then I get .tar.bz2 but no .sdcard
How can I have them all at once?
n.b. I'm using the latest master on all trees
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Problem with image types
2013-10-11 14:38 Problem with image types Gary Thomas
@ 2013-10-11 14:39 ` Chris Larson
2013-10-11 14:52 ` Gary Thomas
0 siblings, 1 reply; 11+ messages in thread
From: Chris Larson @ 2013-10-11 14:39 UTC (permalink / raw)
To: Gary Thomas; +Cc: meta-freescale@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 721 bytes --]
On Fri, Oct 11, 2013 at 7:38 AM, Gary Thomas <gary@mlbassoc.com> wrote:
> I'm using image_types_fsl from meta-fsl-arm and running into
> some issues. If I set
> IMAGE_FSTYPES="tar.bz2 ext3 sdcard"
> IMAGE_CLASSES="image_types_**fsl"
> I only end up with .ext3 and .sdcard images - no .tar.bz2.
> If I use the default
> IMAGE_CLASSES="image_types"
> then I get .tar.bz2 but no .sdcard
>
> How can I have them all at once?
>
Note that IMAGE_CLASSES is plural, not singular :)
IMAGE_CLASSES = "image_types image_types_fsl", presumably.
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
[-- Attachment #2: Type: text/html, Size: 1207 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Problem with image types
2013-10-11 14:39 ` Chris Larson
@ 2013-10-11 14:52 ` Gary Thomas
2013-10-11 15:35 ` Eric Bénard
0 siblings, 1 reply; 11+ messages in thread
From: Gary Thomas @ 2013-10-11 14:52 UTC (permalink / raw)
To: Chris Larson; +Cc: meta-freescale@yoctoproject.org
On 2013-10-11 08:39, Chris Larson wrote:
>
> On Fri, Oct 11, 2013 at 7:38 AM, Gary Thomas <gary@mlbassoc.com <mailto:gary@mlbassoc.com>> wrote:
>
> I'm using image_types_fsl from meta-fsl-arm and running into
> some issues. If I set
> IMAGE_FSTYPES="tar.bz2 ext3 sdcard"
> IMAGE_CLASSES="image_types_fsl"
> I only end up with .ext3 and .sdcard images - no .tar.bz2.
> If I use the default
> IMAGE_CLASSES="image_types"
> then I get .tar.bz2 but no .sdcard
>
> How can I have them all at once?
>
>
> Note that IMAGE_CLASSES is plural, not singular :)
>
> IMAGE_CLASSES = "image_types image_types_fsl", presumably.
When I tried that, I got the same results as just IMAGE_CLASSES="image_types"
Also, meta-fsl-arm/classes/image_types_fsl.bbclass inherits "image_types" so
I don't think it should be necessary to list them both.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Problem with image types
2013-10-11 14:52 ` Gary Thomas
@ 2013-10-11 15:35 ` Eric Bénard
2013-10-11 15:37 ` Gary Thomas
0 siblings, 1 reply; 11+ messages in thread
From: Eric Bénard @ 2013-10-11 15:35 UTC (permalink / raw)
To: Gary Thomas; +Cc: meta-freescale@yoctoproject.org
Le Fri, 11 Oct 2013 08:52:30 -0600,
Gary Thomas <gary@mlbassoc.com> a écrit :
> On 2013-10-11 08:39, Chris Larson wrote:
> >
> > On Fri, Oct 11, 2013 at 7:38 AM, Gary Thomas <gary@mlbassoc.com <mailto:gary@mlbassoc.com>> wrote:
> >
> > I'm using image_types_fsl from meta-fsl-arm and running into
> > some issues. If I set
> > IMAGE_FSTYPES="tar.bz2 ext3 sdcard"
> > IMAGE_CLASSES="image_types_fsl"
> > I only end up with .ext3 and .sdcard images - no .tar.bz2.
> > If I use the default
> > IMAGE_CLASSES="image_types"
> > then I get .tar.bz2 but no .sdcard
> >
> > How can I have them all at once?
> >
> >
> > Note that IMAGE_CLASSES is plural, not singular :)
> >
> > IMAGE_CLASSES = "image_types image_types_fsl", presumably.
>
> When I tried that, I got the same results as just IMAGE_CLASSES="image_types"
> Also, meta-fsl-arm/classes/image_types_fsl.bbclass inherits "image_types" so
> I don't think it should be necessary to list them both.
>
don't you have a IMAGE_FSTYPES="ext3 sdcard" hardcoded somewhere in
your machine file ?
Eric
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Problem with image types
2013-10-11 15:35 ` Eric Bénard
@ 2013-10-11 15:37 ` Gary Thomas
2013-10-11 16:13 ` Eric Bénard
0 siblings, 1 reply; 11+ messages in thread
From: Gary Thomas @ 2013-10-11 15:37 UTC (permalink / raw)
To: Eric Bénard; +Cc: meta-freescale@yoctoproject.org
On 2013-10-11 09:35, Eric Bénard wrote:
> Le Fri, 11 Oct 2013 08:52:30 -0600,
> Gary Thomas <gary@mlbassoc.com> a écrit :
>
>> On 2013-10-11 08:39, Chris Larson wrote:
>>>
>>> On Fri, Oct 11, 2013 at 7:38 AM, Gary Thomas <gary@mlbassoc.com <mailto:gary@mlbassoc.com>> wrote:
>>>
>>> I'm using image_types_fsl from meta-fsl-arm and running into
>>> some issues. If I set
>>> IMAGE_FSTYPES="tar.bz2 ext3 sdcard"
>>> IMAGE_CLASSES="image_types_fsl"
>>> I only end up with .ext3 and .sdcard images - no .tar.bz2.
>>> If I use the default
>>> IMAGE_CLASSES="image_types"
>>> then I get .tar.bz2 but no .sdcard
>>>
>>> How can I have them all at once?
>>>
>>>
>>> Note that IMAGE_CLASSES is plural, not singular :)
>>>
>>> IMAGE_CLASSES = "image_types image_types_fsl", presumably.
>>
>> When I tried that, I got the same results as just IMAGE_CLASSES="image_types"
>> Also, meta-fsl-arm/classes/image_types_fsl.bbclass inherits "image_types" so
>> I don't think it should be necessary to list them both.
>>
> don't you have a IMAGE_FSTYPES="ext3 sdcard" hardcoded somewhere in
> your machine file ?
No, as seen above, IMAGE_FSTYPES="tar.bz2 ext3 sdcard"
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Problem with image types
2013-10-11 15:37 ` Gary Thomas
@ 2013-10-11 16:13 ` Eric Bénard
2013-10-11 16:18 ` Gary Thomas
0 siblings, 1 reply; 11+ messages in thread
From: Eric Bénard @ 2013-10-11 16:13 UTC (permalink / raw)
To: Gary Thomas; +Cc: meta-freescale@yoctoproject.org
Le Fri, 11 Oct 2013 09:37:48 -0600,
Gary Thomas <gary@mlbassoc.com> a écrit :
> On 2013-10-11 09:35, Eric Bénard wrote:
> > Le Fri, 11 Oct 2013 08:52:30 -0600,
> > Gary Thomas <gary@mlbassoc.com> a écrit :
> >
> >> On 2013-10-11 08:39, Chris Larson wrote:
> >>>
> >>> On Fri, Oct 11, 2013 at 7:38 AM, Gary Thomas <gary@mlbassoc.com <mailto:gary@mlbassoc.com>> wrote:
> >>>
> >>> I'm using image_types_fsl from meta-fsl-arm and running into
> >>> some issues. If I set
> >>> IMAGE_FSTYPES="tar.bz2 ext3 sdcard"
> >>> IMAGE_CLASSES="image_types_fsl"
> >>> I only end up with .ext3 and .sdcard images - no .tar.bz2.
> >>> If I use the default
> >>> IMAGE_CLASSES="image_types"
> >>> then I get .tar.bz2 but no .sdcard
> >>>
> >>> How can I have them all at once?
> >>>
> >>>
> >>> Note that IMAGE_CLASSES is plural, not singular :)
> >>>
> >>> IMAGE_CLASSES = "image_types image_types_fsl", presumably.
> >>
> >> When I tried that, I got the same results as just IMAGE_CLASSES="image_types"
> >> Also, meta-fsl-arm/classes/image_types_fsl.bbclass inherits "image_types" so
> >> I don't think it should be necessary to list them both.
> >>
> > don't you have a IMAGE_FSTYPES="ext3 sdcard" hardcoded somewhere in
> > your machine file ?
>
> No, as seen above, IMAGE_FSTYPES="tar.bz2 ext3 sdcard"
>
bitbake yourimage -e may help to understand how IMAGE_FSTYPES is built.
Eric
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Problem with image types
2013-10-11 16:18 ` Gary Thomas
@ 2013-10-11 16:15 ` Daiane Angolini
2013-10-11 16:45 ` Eric Bénard
1 sibling, 0 replies; 11+ messages in thread
From: Daiane Angolini @ 2013-10-11 16:15 UTC (permalink / raw)
To: Gary Thomas, Eric Bénard; +Cc: meta-freescale@yoctoproject.org
On 10/11/2013 01:18 PM, Gary Thomas wrote:
> On 2013-10-11 10:13, Eric Bénard wrote:
>> Le Fri, 11 Oct 2013 09:37:48 -0600,
>> Gary Thomas <gary@mlbassoc.com> a écrit :
>>
>>> On 2013-10-11 09:35, Eric Bénard wrote:
>>>> Le Fri, 11 Oct 2013 08:52:30 -0600,
>>>> Gary Thomas <gary@mlbassoc.com> a écrit :
>>>>
>>>>> On 2013-10-11 08:39, Chris Larson wrote:
>>>>>>
>>>>>> On Fri, Oct 11, 2013 at 7:38 AM, Gary Thomas <gary@mlbassoc.com
>>>>>> <mailto:gary@mlbassoc.com>> wrote:
>>>>>>
>>>>>> I'm using image_types_fsl from meta-fsl-arm and running into
>>>>>> some issues. If I set
>>>>>> IMAGE_FSTYPES="tar.bz2 ext3 sdcard"
>>>>>> IMAGE_CLASSES="image_types_fsl"
>>>>>> I only end up with .ext3 and .sdcard images - no .tar.bz2.
>>>>>> If I use the default
>>>>>> IMAGE_CLASSES="image_types"
>>>>>> then I get .tar.bz2 but no .sdcard
>>>>>>
>>>>>> How can I have them all at once?
>>>>>>
>>>>>>
>>>>>> Note that IMAGE_CLASSES is plural, not singular :)
>>>>>>
>>>>>> IMAGE_CLASSES = "image_types image_types_fsl", presumably.
>>>>>
>>>>> When I tried that, I got the same results as just
>>>>> IMAGE_CLASSES="image_types"
>>>>> Also, meta-fsl-arm/classes/image_types_fsl.bbclass inherits
>>>>> "image_types" so
>>>>> I don't think it should be necessary to list them both.
>>>>>
>>>> don't you have a IMAGE_FSTYPES="ext3 sdcard" hardcoded somewhere in
>>>> your machine file ?
>>>
>>> No, as seen above, IMAGE_FSTYPES="tar.bz2 ext3 sdcard"
>>>
>> bitbake yourimage -e may help to understand how IMAGE_FSTYPES is built.
>
> I had already done this - that's where the quoted values are from.
> IMAGE_FSTYPES
> definitely contains all three types, but only .ext3 and .sdcard are being
> built if I use image_types_fsl.
>
Other idea for debug is the log.do_rootfs
--
Daiane
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Problem with image types
2013-10-11 16:13 ` Eric Bénard
@ 2013-10-11 16:18 ` Gary Thomas
2013-10-11 16:15 ` Daiane Angolini
2013-10-11 16:45 ` Eric Bénard
0 siblings, 2 replies; 11+ messages in thread
From: Gary Thomas @ 2013-10-11 16:18 UTC (permalink / raw)
To: Eric Bénard; +Cc: meta-freescale@yoctoproject.org
On 2013-10-11 10:13, Eric Bénard wrote:
> Le Fri, 11 Oct 2013 09:37:48 -0600,
> Gary Thomas <gary@mlbassoc.com> a écrit :
>
>> On 2013-10-11 09:35, Eric Bénard wrote:
>>> Le Fri, 11 Oct 2013 08:52:30 -0600,
>>> Gary Thomas <gary@mlbassoc.com> a écrit :
>>>
>>>> On 2013-10-11 08:39, Chris Larson wrote:
>>>>>
>>>>> On Fri, Oct 11, 2013 at 7:38 AM, Gary Thomas <gary@mlbassoc.com <mailto:gary@mlbassoc.com>> wrote:
>>>>>
>>>>> I'm using image_types_fsl from meta-fsl-arm and running into
>>>>> some issues. If I set
>>>>> IMAGE_FSTYPES="tar.bz2 ext3 sdcard"
>>>>> IMAGE_CLASSES="image_types_fsl"
>>>>> I only end up with .ext3 and .sdcard images - no .tar.bz2.
>>>>> If I use the default
>>>>> IMAGE_CLASSES="image_types"
>>>>> then I get .tar.bz2 but no .sdcard
>>>>>
>>>>> How can I have them all at once?
>>>>>
>>>>>
>>>>> Note that IMAGE_CLASSES is plural, not singular :)
>>>>>
>>>>> IMAGE_CLASSES = "image_types image_types_fsl", presumably.
>>>>
>>>> When I tried that, I got the same results as just IMAGE_CLASSES="image_types"
>>>> Also, meta-fsl-arm/classes/image_types_fsl.bbclass inherits "image_types" so
>>>> I don't think it should be necessary to list them both.
>>>>
>>> don't you have a IMAGE_FSTYPES="ext3 sdcard" hardcoded somewhere in
>>> your machine file ?
>>
>> No, as seen above, IMAGE_FSTYPES="tar.bz2 ext3 sdcard"
>>
> bitbake yourimage -e may help to understand how IMAGE_FSTYPES is built.
I had already done this - that's where the quoted values are from. IMAGE_FSTYPES
definitely contains all three types, but only .ext3 and .sdcard are being
built if I use image_types_fsl.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Problem with image types
2013-10-11 16:18 ` Gary Thomas
2013-10-11 16:15 ` Daiane Angolini
@ 2013-10-11 16:45 ` Eric Bénard
2013-10-11 18:03 ` Gary Thomas
2013-10-11 18:57 ` Eric Bénard
1 sibling, 2 replies; 11+ messages in thread
From: Eric Bénard @ 2013-10-11 16:45 UTC (permalink / raw)
To: Gary Thomas; +Cc: meta-freescale@yoctoproject.org
Le Fri, 11 Oct 2013 10:18:38 -0600,
Gary Thomas <gary@mlbassoc.com> a écrit :
> On 2013-10-11 10:13, Eric Bénard wrote:
> > Le Fri, 11 Oct 2013 09:37:48 -0600,
> > Gary Thomas <gary@mlbassoc.com> a écrit :
> >
> >> On 2013-10-11 09:35, Eric Bénard wrote:
> >>> Le Fri, 11 Oct 2013 08:52:30 -0600,
> >>> Gary Thomas <gary@mlbassoc.com> a écrit :
> >>>
> >>>> On 2013-10-11 08:39, Chris Larson wrote:
> >>>>>
> >>>>> On Fri, Oct 11, 2013 at 7:38 AM, Gary Thomas <gary@mlbassoc.com <mailto:gary@mlbassoc.com>> wrote:
> >>>>>
> >>>>> I'm using image_types_fsl from meta-fsl-arm and running into
> >>>>> some issues. If I set
> >>>>> IMAGE_FSTYPES="tar.bz2 ext3 sdcard"
> >>>>> IMAGE_CLASSES="image_types_fsl"
> >>>>> I only end up with .ext3 and .sdcard images - no .tar.bz2.
> >>>>> If I use the default
> >>>>> IMAGE_CLASSES="image_types"
> >>>>> then I get .tar.bz2 but no .sdcard
> >>>>>
> >>>>> How can I have them all at once?
> >>>>>
> >>>>>
> >>>>> Note that IMAGE_CLASSES is plural, not singular :)
> >>>>>
> >>>>> IMAGE_CLASSES = "image_types image_types_fsl", presumably.
> >>>>
> >>>> When I tried that, I got the same results as just IMAGE_CLASSES="image_types"
> >>>> Also, meta-fsl-arm/classes/image_types_fsl.bbclass inherits "image_types" so
> >>>> I don't think it should be necessary to list them both.
> >>>>
> >>> don't you have a IMAGE_FSTYPES="ext3 sdcard" hardcoded somewhere in
> >>> your machine file ?
> >>
> >> No, as seen above, IMAGE_FSTYPES="tar.bz2 ext3 sdcard"
> >>
> > bitbake yourimage -e may help to understand how IMAGE_FSTYPES is built.
>
> I had already done this - that's where the quoted values are from. IMAGE_FSTYPES
> definitely contains all three types, but only .ext3 and .sdcard are being
> built if I use image_types_fsl.
>
strange I've launched a build for nitrogen6x to see if I reproduce the
problem here.
Usually I don't touch IMAGE_CLASSES but only IMAGE_FSTYPES
(as IMAGE_CLASSES is set by IMAGE_CLASSES += "image_types_fsl"
in ./conf/machine/include/fsl-default-settings.inc)
Eric
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Problem with image types
2013-10-11 16:45 ` Eric Bénard
@ 2013-10-11 18:03 ` Gary Thomas
2013-10-11 18:57 ` Eric Bénard
1 sibling, 0 replies; 11+ messages in thread
From: Gary Thomas @ 2013-10-11 18:03 UTC (permalink / raw)
To: Eric Bénard; +Cc: meta-freescale@yoctoproject.org
On 2013-10-11 10:45, Eric Bénard wrote:
> Le Fri, 11 Oct 2013 10:18:38 -0600,
> Gary Thomas <gary@mlbassoc.com> a écrit :
>
>> On 2013-10-11 10:13, Eric Bénard wrote:
>>> Le Fri, 11 Oct 2013 09:37:48 -0600,
>>> Gary Thomas <gary@mlbassoc.com> a écrit :
>>>
>>>> On 2013-10-11 09:35, Eric Bénard wrote:
>>>>> Le Fri, 11 Oct 2013 08:52:30 -0600,
>>>>> Gary Thomas <gary@mlbassoc.com> a écrit :
>>>>>
>>>>>> On 2013-10-11 08:39, Chris Larson wrote:
>>>>>>>
>>>>>>> On Fri, Oct 11, 2013 at 7:38 AM, Gary Thomas <gary@mlbassoc.com <mailto:gary@mlbassoc.com>> wrote:
>>>>>>>
>>>>>>> I'm using image_types_fsl from meta-fsl-arm and running into
>>>>>>> some issues. If I set
>>>>>>> IMAGE_FSTYPES="tar.bz2 ext3 sdcard"
>>>>>>> IMAGE_CLASSES="image_types_fsl"
>>>>>>> I only end up with .ext3 and .sdcard images - no .tar.bz2.
>>>>>>> If I use the default
>>>>>>> IMAGE_CLASSES="image_types"
>>>>>>> then I get .tar.bz2 but no .sdcard
>>>>>>>
>>>>>>> How can I have them all at once?
>>>>>>>
>>>>>>>
>>>>>>> Note that IMAGE_CLASSES is plural, not singular :)
>>>>>>>
>>>>>>> IMAGE_CLASSES = "image_types image_types_fsl", presumably.
>>>>>>
>>>>>> When I tried that, I got the same results as just IMAGE_CLASSES="image_types"
>>>>>> Also, meta-fsl-arm/classes/image_types_fsl.bbclass inherits "image_types" so
>>>>>> I don't think it should be necessary to list them both.
>>>>>>
>>>>> don't you have a IMAGE_FSTYPES="ext3 sdcard" hardcoded somewhere in
>>>>> your machine file ?
>>>>
>>>> No, as seen above, IMAGE_FSTYPES="tar.bz2 ext3 sdcard"
>>>>
>>> bitbake yourimage -e may help to understand how IMAGE_FSTYPES is built.
>>
>> I had already done this - that's where the quoted values are from. IMAGE_FSTYPES
>> definitely contains all three types, but only .ext3 and .sdcard are being
>> built if I use image_types_fsl.
>>
> strange I've launched a build for nitrogen6x to see if I reproduce the
> problem here.
I'm not sure what happened, but I just ran another build and now all is happy.
I must have made a typo or some such to cause my confusion.
Seems like it is working as expected - sorry for the noise.
> Usually I don't touch IMAGE_CLASSES but only IMAGE_FSTYPES
> (as IMAGE_CLASSES is set by IMAGE_CLASSES += "image_types_fsl"
> in ./conf/machine/include/fsl-default-settings.inc)
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Problem with image types
2013-10-11 16:45 ` Eric Bénard
2013-10-11 18:03 ` Gary Thomas
@ 2013-10-11 18:57 ` Eric Bénard
1 sibling, 0 replies; 11+ messages in thread
From: Eric Bénard @ 2013-10-11 18:57 UTC (permalink / raw)
To: Eric Bénard; +Cc: meta-freescale@yoctoproject.org
Le Fri, 11 Oct 2013 18:45:05 +0200,
Eric Bénard <eric@eukrea.com> a écrit :
> strange I've launched a build for nitrogen6x to see if I reproduce the
> problem here.
> Usually I don't touch IMAGE_CLASSES but only IMAGE_FSTYPES
> (as IMAGE_CLASSES is set by IMAGE_CLASSES += "image_types_fsl"
> in ./conf/machine/include/fsl-default-settings.inc)
>
and in the end I get .ext3 .sdcard and .tar.bz2 files.
Note that I'm not changing IMAGE_CLASSES nor IMAGe_FSTYPES anywhere.
Eric
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2013-10-11 18:57 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-11 14:38 Problem with image types Gary Thomas
2013-10-11 14:39 ` Chris Larson
2013-10-11 14:52 ` Gary Thomas
2013-10-11 15:35 ` Eric Bénard
2013-10-11 15:37 ` Gary Thomas
2013-10-11 16:13 ` Eric Bénard
2013-10-11 16:18 ` Gary Thomas
2013-10-11 16:15 ` Daiane Angolini
2013-10-11 16:45 ` Eric Bénard
2013-10-11 18:03 ` Gary Thomas
2013-10-11 18:57 ` Eric Bénard
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.