* [qoriq] shouldn't fsl-image-minimal.bb inherit image-types-uboot?
@ 2012-12-28 14:49 Bob Cochran
2012-12-28 17:24 ` Otavio Salvador
2013-01-02 19:40 ` McClintock Matthew-B29882
0 siblings, 2 replies; 6+ messages in thread
From: Bob Cochran @ 2012-12-28 14:49 UTC (permalink / raw)
To: meta-freescale@yoctoproject.org
Hi,
Working from the master branches of both poky and meta-fsl-ppc, I just
built a fresh image of fsl-image-minimal and noticed that
fsl-image-minimal-<machine>.ext2.gz.u-boot links to a non existent file.
Since ext2.gz.u-boot is one of the IMAGE_FSTYPES, I believe the intent
is to build a rootfs that is bootable by u-boot. However, I believe
image_types_uboot needs to be inherited in the recipe.
Therefore, I modified the recipe to have:
inherit core-image image_types_uboot
Can someone from Freescale please comment on this? Do you want the
minimal image recipe to build a u-boot bootable rootfs? If so, I think
we want to patch the recipe.
Thanks,
Bob
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [qoriq] shouldn't fsl-image-minimal.bb inherit image-types-uboot?
2012-12-28 14:49 [qoriq] shouldn't fsl-image-minimal.bb inherit image-types-uboot? Bob Cochran
@ 2012-12-28 17:24 ` Otavio Salvador
2012-12-28 21:04 ` Andrei Gherzan
2013-01-02 19:40 ` McClintock Matthew-B29882
1 sibling, 1 reply; 6+ messages in thread
From: Otavio Salvador @ 2012-12-28 17:24 UTC (permalink / raw)
To: Bob Cochran; +Cc: meta-freescale@yoctoproject.org
On Fri, Dec 28, 2012 at 12:49 PM, Bob Cochran <yocto@mindchasers.com> wrote:
> Hi,
>
> Working from the master branches of both poky and meta-fsl-ppc, I just built
> a fresh image of fsl-image-minimal and noticed that
> fsl-image-minimal-<machine>.ext2.gz.u-boot links to a non existent file.
>
> Since ext2.gz.u-boot is one of the IMAGE_FSTYPES, I believe the intent is to
> build a rootfs that is bootable by u-boot. However, I believe
> image_types_uboot needs to be inherited in the recipe.
>
> Therefore, I modified the recipe to have:
>
> inherit core-image image_types_uboot
>
> Can someone from Freescale please comment on this? Do you want the minimal
> image recipe to build a u-boot bootable rootfs? If so, I think we want to
> patch the recipe.
I am not from Freescale but you're right. To be able to use
ext2.gz.u-boot you need to inherit the class (I think it is need in
denzil, danny and in master).
--
Otavio Salvador O.S. Systems
E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [qoriq] shouldn't fsl-image-minimal.bb inherit image-types-uboot?
2012-12-28 17:24 ` Otavio Salvador
@ 2012-12-28 21:04 ` Andrei Gherzan
0 siblings, 0 replies; 6+ messages in thread
From: Andrei Gherzan @ 2012-12-28 21:04 UTC (permalink / raw)
To: Otavio Salvador; +Cc: meta-freescale@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 1162 bytes --]
On Fri, Dec 28, 2012 at 7:24 PM, Otavio Salvador <otavio@ossystems.com.br>wrote:
> On Fri, Dec 28, 2012 at 12:49 PM, Bob Cochran <yocto@mindchasers.com>
> wrote:
> > Hi,
> >
> > Working from the master branches of both poky and meta-fsl-ppc, I just
> built
> > a fresh image of fsl-image-minimal and noticed that
> > fsl-image-minimal-<machine>.ext2.gz.u-boot links to a non existent file.
> >
> > Since ext2.gz.u-boot is one of the IMAGE_FSTYPES, I believe the intent
> is to
> > build a rootfs that is bootable by u-boot. However, I believe
> > image_types_uboot needs to be inherited in the recipe.
> >
> > Therefore, I modified the recipe to have:
> >
> > inherit core-image image_types_uboot
> >
> > Can someone from Freescale please comment on this? Do you want the
> minimal
> > image recipe to build a u-boot bootable rootfs? If so, I think we want
> to
> > patch the recipe.
>
> I am not from Freescale but you're right. To be able to use
> ext2.gz.u-boot you need to inherit the class (I think it is need in
> denzil, danny and in master).
>
This is an obvious bug. So patch should be sent to address it.
Andrei
[-- Attachment #2: Type: text/html, Size: 1621 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [qoriq] shouldn't fsl-image-minimal.bb inherit image-types-uboot?
2012-12-28 14:49 [qoriq] shouldn't fsl-image-minimal.bb inherit image-types-uboot? Bob Cochran
2012-12-28 17:24 ` Otavio Salvador
@ 2013-01-02 19:40 ` McClintock Matthew-B29882
2013-01-05 14:25 ` Bob Cochran
1 sibling, 1 reply; 6+ messages in thread
From: McClintock Matthew-B29882 @ 2013-01-02 19:40 UTC (permalink / raw)
To: Bob Cochran; +Cc: meta-freescale@yoctoproject.org
On Fri, Dec 28, 2012 at 8:49 AM, Bob Cochran <yocto@mindchasers.com> wrote:
> Hi,
>
> Working from the master branches of both poky and meta-fsl-ppc, I just built
> a fresh image of fsl-image-minimal and noticed that
> fsl-image-minimal-<machine>.ext2.gz.u-boot links to a non existent file.
>
> Since ext2.gz.u-boot is one of the IMAGE_FSTYPES, I believe the intent is to
> build a rootfs that is bootable by u-boot. However, I believe
> image_types_uboot needs to be inherited in the recipe.
>
> Therefore, I modified the recipe to have:
>
> inherit core-image image_types_uboot
>
> Can someone from Freescale please comment on this? Do you want the minimal
> image recipe to build a u-boot bootable rootfs? If so, I think we want to
> patch the recipe.
We currently do this in our setup script, it could probably (and
probably should be) be added somewhere in the layer. Can you send a
tested patch?
-M
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [qoriq] shouldn't fsl-image-minimal.bb inherit image-types-uboot?
2013-01-02 19:40 ` McClintock Matthew-B29882
@ 2013-01-05 14:25 ` Bob Cochran
2013-01-06 17:21 ` Otavio Salvador
0 siblings, 1 reply; 6+ messages in thread
From: Bob Cochran @ 2013-01-05 14:25 UTC (permalink / raw)
To: McClintock Matthew-B29882; +Cc: meta-freescale@yoctoproject.org
On 01/02/2013 02:40 PM, McClintock Matthew-B29882 wrote:
> On Fri, Dec 28, 2012 at 8:49 AM, Bob Cochran <yocto@mindchasers.com> wrote:
>> Hi,
>>
>> Working from the master branches of both poky and meta-fsl-ppc, I just built
>> a fresh image of fsl-image-minimal and noticed that
>> fsl-image-minimal-<machine>.ext2.gz.u-boot links to a non existent file.
>>
>> Since ext2.gz.u-boot is one of the IMAGE_FSTYPES, I believe the intent is to
>> build a rootfs that is bootable by u-boot. However, I believe
>> image_types_uboot needs to be inherited in the recipe.
>>
>> Therefore, I modified the recipe to have:
>>
>> inherit core-image image_types_uboot
>>
>> Can someone from Freescale please comment on this? Do you want the minimal
>> image recipe to build a u-boot bootable rootfs? If so, I think we want to
>> patch the recipe.
>
> We currently do this in our setup script, it could probably (and
> probably should be) be added somewhere in the layer. Can you send a
> tested patch?
>
> -M
>
I will, but I'll do it after I resolve a problem in the master branches
that's preventing my p1010rdb from booting. It hangs during (sysv)init,
and I believe it has something to do with /dev/console.
It's hanging up in one of the init scripts, but the frustrating thing is
that neither echo nor set -x are being directed to the console.
Still poking around trying to figure it out.....
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [qoriq] shouldn't fsl-image-minimal.bb inherit image-types-uboot?
2013-01-05 14:25 ` Bob Cochran
@ 2013-01-06 17:21 ` Otavio Salvador
0 siblings, 0 replies; 6+ messages in thread
From: Otavio Salvador @ 2013-01-06 17:21 UTC (permalink / raw)
To: Bob Cochran; +Cc: McClintock Matthew-B29882, meta-freescale@yoctoproject.org
On Sat, Jan 5, 2013 at 12:25 PM, Bob Cochran <yocto@mindchasers.com> wrote:
> On 01/02/2013 02:40 PM, McClintock Matthew-B29882 wrote:
>>
>> On Fri, Dec 28, 2012 at 8:49 AM, Bob Cochran <yocto@mindchasers.com>
>> wrote:
>>>
>>> Hi,
>>>
>>> Working from the master branches of both poky and meta-fsl-ppc, I just
>>> built
>>> a fresh image of fsl-image-minimal and noticed that
>>> fsl-image-minimal-<machine>.ext2.gz.u-boot links to a non existent file.
>>>
>>> Since ext2.gz.u-boot is one of the IMAGE_FSTYPES, I believe the intent is
>>> to
>>> build a rootfs that is bootable by u-boot. However, I believe
>>> image_types_uboot needs to be inherited in the recipe.
>>>
>>> Therefore, I modified the recipe to have:
>>>
>>> inherit core-image image_types_uboot
>>>
>>> Can someone from Freescale please comment on this? Do you want the
>>> minimal
>>> image recipe to build a u-boot bootable rootfs? If so, I think we want
>>> to
>>> patch the recipe.
>>
>>
>> We currently do this in our setup script, it could probably (and
>> probably should be) be added somewhere in the layer. Can you send a
>> tested patch?
>>
>> -M
>>
>
> I will, but I'll do it after I resolve a problem in the master branches
> that's preventing my p1010rdb from booting. It hangs during (sysv)init, and
> I believe it has something to do with /dev/console.
>
> It's hanging up in one of the init scripts, but the frustrating thing is
> that neither echo nor set -x are being directed to the console.
>
> Still poking around trying to figure it out.....
This is a non-related problem so you could post the u-boot fix in meanwhile :-)
--
Otavio Salvador O.S. Systems
E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-01-06 17:21 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-28 14:49 [qoriq] shouldn't fsl-image-minimal.bb inherit image-types-uboot? Bob Cochran
2012-12-28 17:24 ` Otavio Salvador
2012-12-28 21:04 ` Andrei Gherzan
2013-01-02 19:40 ` McClintock Matthew-B29882
2013-01-05 14:25 ` Bob Cochran
2013-01-06 17:21 ` Otavio Salvador
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.