All of lore.kernel.org
 help / color / mirror / Atom feed
* install cannot stat u-boot.img (Pyro)
@ 2017-06-24  2:50 Kenny Koller
  2017-06-26 18:53 ` Denys Dmytriyenko
  0 siblings, 1 reply; 8+ messages in thread
From: Kenny Koller @ 2017-06-24  2:50 UTC (permalink / raw)
  To: meta-ti

[-- Attachment #1: Type: text/plain, Size: 1471 bytes --]

Hi,

I'm using 2.3 to build the minimal Beaglebone Black images.

I issue the following and get the error below. Is the warning regarding a
missing bootloader config the issue?

Thanks,

Kenny

$ bitbake core-image-minimal

| INFO: Creating image(s)...
|
| WARNING: bootloader config not specified, using defaults
|
| ERROR: _exec_cmd: install -m 0644 -D
/home/ubuntu/yocto/poky/build/tmp/deploy/images/beaglebone/u-boot.img
/home/ubuntu/yocto/poky/build/tmp/work/beaglebone-poky-linux-gnueabi/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-beaglebone-20170624014756/tmp.wic.khxryxga/boot/u-boot.img
returned '1' instead of 0
| output: install: cannot stat
'/home/ubuntu/yocto/poky/build/tmp/deploy/images/beaglebone/u-boot.img': No
such file or directory
|
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_image_wic (log file is located at
/home/ubuntu/yocto/poky/build/tmp/work/beaglebone-poky-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_image_wic.12719)
ERROR: Task
(/home/ubuntu/yocto/poky/meta/recipes-core/images/core-image-minimal.bb:do_image_wic)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 2263 tasks of which 2252 didn't need to be
rerun and 1 failed.

Summary: 1 task failed:
  /home/ubuntu/yocto/poky/meta/recipes-core/images/core-image-minimal.bb:
do_image_wic
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

[-- Attachment #2: Type: text/html, Size: 2242 bytes --]

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

* Re: install cannot stat u-boot.img (Pyro)
  2017-06-24  2:50 install cannot stat u-boot.img (Pyro) Kenny Koller
@ 2017-06-26 18:53 ` Denys Dmytriyenko
  2017-06-27  4:51   ` Kenny Koller
  0 siblings, 1 reply; 8+ messages in thread
From: Denys Dmytriyenko @ 2017-06-26 18:53 UTC (permalink / raw)
  To: Kenny Koller; +Cc: meta-ti

Do you use meta-ti layer?


On Sat, Jun 24, 2017 at 02:50:32AM +0000, Kenny Koller wrote:
> Hi,
> 
> I'm using 2.3 to build the minimal Beaglebone Black images.
> 
> I issue the following and get the error below. Is the warning regarding a
> missing bootloader config the issue?
> 
> Thanks,
> 
> Kenny
> 
> $ bitbake core-image-minimal
> 
> | INFO: Creating image(s)...
> |
> | WARNING: bootloader config not specified, using defaults
> |
> | ERROR: _exec_cmd: install -m 0644 -D
> /home/ubuntu/yocto/poky/build/tmp/deploy/images/beaglebone/u-boot.img
> /home/ubuntu/yocto/poky/build/tmp/work/beaglebone-poky-linux-gnueabi/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-beaglebone-20170624014756/tmp.wic.khxryxga/boot/u-boot.img
> returned '1' instead of 0
> | output: install: cannot stat
> '/home/ubuntu/yocto/poky/build/tmp/deploy/images/beaglebone/u-boot.img': No
> such file or directory
> |
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_image_wic (log file is located at
> /home/ubuntu/yocto/poky/build/tmp/work/beaglebone-poky-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_image_wic.12719)
> ERROR: Task
> (/home/ubuntu/yocto/poky/meta/recipes-core/images/core-image-minimal.bb:do_image_wic)
> failed with exit code '1'
> NOTE: Tasks Summary: Attempted 2263 tasks of which 2252 didn't need to be
> rerun and 1 failed.
> 
> Summary: 1 task failed:
>   /home/ubuntu/yocto/poky/meta/recipes-core/images/core-image-minimal.bb:
> do_image_wic
> Summary: There was 1 ERROR message shown, returning a non-zero exit code.

> -- 
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti



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

* Re: install cannot stat u-boot.img (Pyro)
  2017-06-26 18:53 ` Denys Dmytriyenko
@ 2017-06-27  4:51   ` Kenny Koller
  2017-06-27 16:22     ` Denys Dmytriyenko
  0 siblings, 1 reply; 8+ messages in thread
From: Kenny Koller @ 2017-06-27  4:51 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-ti

[-- Attachment #1: Type: text/plain, Size: 2379 bytes --]

I'm not sure if I should be using it. When I look at the meta-ti repository
it doesn't seem current with the Poky releases. Furthermore it seems that
meta-yocto-bsp contains recipes for Beaglebone. It's not clear to me which
layer has a recipe for Das U-Boot.

All I did was clone Poky. Checkout Pyro. Edited my local.conf to
MACHINE='beaglebone'. And `bitbake core-image-minimal`.

On Mon, Jun 26, 2017 at 11:53 AM Denys Dmytriyenko <denys@ti.com> wrote:

> Do you use meta-ti layer?
>
>
> On Sat, Jun 24, 2017 at 02:50:32AM +0000, Kenny Koller wrote:
> > Hi,
> >
> > I'm using 2.3 to build the minimal Beaglebone Black images.
> >
> > I issue the following and get the error below. Is the warning regarding a
> > missing bootloader config the issue?
> >
> > Thanks,
> >
> > Kenny
> >
> > $ bitbake core-image-minimal
> >
> > | INFO: Creating image(s)...
> > |
> > | WARNING: bootloader config not specified, using defaults
> > |
> > | ERROR: _exec_cmd: install -m 0644 -D
> > /home/ubuntu/yocto/poky/build/tmp/deploy/images/beaglebone/u-boot.img
> >
> /home/ubuntu/yocto/poky/build/tmp/work/beaglebone-poky-linux-gnueabi/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-beaglebone-20170624014756/tmp.wic.khxryxga/boot/u-boot.img
> > returned '1' instead of 0
> > | output: install: cannot stat
> > '/home/ubuntu/yocto/poky/build/tmp/deploy/images/beaglebone/u-boot.img':
> No
> > such file or directory
> > |
> > | WARNING: exit code 1 from a shell command.
> > | ERROR: Function failed: do_image_wic (log file is located at
> >
> /home/ubuntu/yocto/poky/build/tmp/work/beaglebone-poky-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_image_wic.12719)
> > ERROR: Task
> > (/home/ubuntu/yocto/poky/meta/recipes-core/images/core-image-minimal.bb:
> do_image_wic)
> > failed with exit code '1'
> > NOTE: Tasks Summary: Attempted 2263 tasks of which 2252 didn't need to be
> > rerun and 1 failed.
> >
> > Summary: 1 task failed:
> >   /home/ubuntu/yocto/poky/meta/recipes-core/images/core-image-minimal.bb
> :
> > do_image_wic
> > Summary: There was 1 ERROR message shown, returning a non-zero exit code.
>
> > --
> > _______________________________________________
> > meta-ti mailing list
> > meta-ti@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/meta-ti
>
>

[-- Attachment #2: Type: text/html, Size: 3125 bytes --]

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

* Re: install cannot stat u-boot.img (Pyro)
  2017-06-27  4:51   ` Kenny Koller
@ 2017-06-27 16:22     ` Denys Dmytriyenko
  2017-06-27 17:12       ` Kenny Koller
  0 siblings, 1 reply; 8+ messages in thread
From: Denys Dmytriyenko @ 2017-06-27 16:22 UTC (permalink / raw)
  To: Kenny Koller; +Cc: meta-ti

Well, meta-ti is quite active and is current. If by current you mean "pyro" 
branch, then it's not an indication and there was an explanation on the list.

But in general, if you are not using meta-ti layer, why are you posting error 
messages to meta-ti list?


On Tue, Jun 27, 2017 at 04:51:29AM +0000, Kenny Koller wrote:
> I'm not sure if I should be using it. When I look at the meta-ti repository
> it doesn't seem current with the Poky releases. Furthermore it seems that
> meta-yocto-bsp contains recipes for Beaglebone. It's not clear to me which
> layer has a recipe for Das U-Boot.
> 
> All I did was clone Poky. Checkout Pyro. Edited my local.conf to
> MACHINE='beaglebone'. And `bitbake core-image-minimal`.
> 
> On Mon, Jun 26, 2017 at 11:53 AM Denys Dmytriyenko <denys@ti.com> wrote:
> 
> > Do you use meta-ti layer?
> >
> >
> > On Sat, Jun 24, 2017 at 02:50:32AM +0000, Kenny Koller wrote:
> > > Hi,
> > >
> > > I'm using 2.3 to build the minimal Beaglebone Black images.
> > >
> > > I issue the following and get the error below. Is the warning regarding a
> > > missing bootloader config the issue?
> > >
> > > Thanks,
> > >
> > > Kenny
> > >
> > > $ bitbake core-image-minimal
> > >
> > > | INFO: Creating image(s)...
> > > |
> > > | WARNING: bootloader config not specified, using defaults
> > > |
> > > | ERROR: _exec_cmd: install -m 0644 -D
> > > /home/ubuntu/yocto/poky/build/tmp/deploy/images/beaglebone/u-boot.img
> > >
> > /home/ubuntu/yocto/poky/build/tmp/work/beaglebone-poky-linux-gnueabi/core-image-minimal/1.0-r0/deploy-core-image-minimal-image-complete/core-image-minimal-beaglebone-20170624014756/tmp.wic.khxryxga/boot/u-boot.img
> > > returned '1' instead of 0
> > > | output: install: cannot stat
> > > '/home/ubuntu/yocto/poky/build/tmp/deploy/images/beaglebone/u-boot.img':
> > No
> > > such file or directory
> > > |
> > > | WARNING: exit code 1 from a shell command.
> > > | ERROR: Function failed: do_image_wic (log file is located at
> > >
> > /home/ubuntu/yocto/poky/build/tmp/work/beaglebone-poky-linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_image_wic.12719)
> > > ERROR: Task
> > > (/home/ubuntu/yocto/poky/meta/recipes-core/images/core-image-minimal.bb:
> > do_image_wic)
> > > failed with exit code '1'
> > > NOTE: Tasks Summary: Attempted 2263 tasks of which 2252 didn't need to be
> > > rerun and 1 failed.
> > >
> > > Summary: 1 task failed:
> > >   /home/ubuntu/yocto/poky/meta/recipes-core/images/core-image-minimal.bb
> > :
> > > do_image_wic
> > > Summary: There was 1 ERROR message shown, returning a non-zero exit code.
> >
> > > --
> > > _______________________________________________
> > > meta-ti mailing list
> > > meta-ti@yoctoproject.org
> > > https://lists.yoctoproject.org/listinfo/meta-ti
> >
> >


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

* Re: install cannot stat u-boot.img (Pyro)
  2017-06-27 16:22     ` Denys Dmytriyenko
@ 2017-06-27 17:12       ` Kenny Koller
  2017-06-27 17:44         ` Denys Dmytriyenko
  0 siblings, 1 reply; 8+ messages in thread
From: Kenny Koller @ 2017-06-27 17:12 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-ti

[-- Attachment #1: Type: text/plain, Size: 3726 bytes --]

On Tue, Jun 27, 2017 at 9:22 AM, Denys Dmytriyenko <denys@ti.com> wrote:

> Well, meta-ti is quite active and is current. If by current you mean "pyro"
> branch, then it's not an indication and there was an explanation on the
> list.
>

Yes. I see the activity on this list (no offense meant). New to the list so
probably missed any explanation.


>
> But in general, if you are not using meta-ti layer, why are you posting
> error
> messages to meta-ti list?
>

Because it's not clear which layers are required for the Beaglebone build
(as I mention in my previous response). It occurred to me that perhaps
meta-ti must be included to build the bootloaders. As far as I can tell
there is no explicit mention of which layers are required. I think the
answer is that Poky includes everything that is required but my build
failed for a reason that was unclear.

I can hop off this list if it has nothing to do with the Beaglebone
processor.


>
>
> On Tue, Jun 27, 2017 at 04:51:29AM +0000, Kenny Koller wrote:
> > I'm not sure if I should be using it. When I look at the meta-ti
> repository
> > it doesn't seem current with the Poky releases. Furthermore it seems that
> > meta-yocto-bsp contains recipes for Beaglebone. It's not clear to me
> which
> > layer has a recipe for Das U-Boot.
> >
> > All I did was clone Poky. Checkout Pyro. Edited my local.conf to
> > MACHINE='beaglebone'. And `bitbake core-image-minimal`.
> >
> > On Mon, Jun 26, 2017 at 11:53 AM Denys Dmytriyenko <denys@ti.com> wrote:
> >
> > > Do you use meta-ti layer?
> > >
> > >
> > > On Sat, Jun 24, 2017 at 02:50:32AM +0000, Kenny Koller wrote:
> > > > Hi,
> > > >
> > > > I'm using 2.3 to build the minimal Beaglebone Black images.
> > > >
> > > > I issue the following and get the error below. Is the warning
> regarding a
> > > > missing bootloader config the issue?
> > > >
> > > > Thanks,
> > > >
> > > > Kenny
> > > >
> > > > $ bitbake core-image-minimal
> > > >
> > > > | INFO: Creating image(s)...
> > > > |
> > > > | WARNING: bootloader config not specified, using defaults
> > > > |
> > > > | ERROR: _exec_cmd: install -m 0644 -D
> > > > /home/ubuntu/yocto/poky/build/tmp/deploy/images/beaglebone/
> u-boot.img
> > > >
> > > /home/ubuntu/yocto/poky/build/tmp/work/beaglebone-poky-
> linux-gnueabi/core-image-minimal/1.0-r0/deploy-core-
> image-minimal-image-complete/core-image-minimal-beaglebone-
> 20170624014756/tmp.wic.khxryxga/boot/u-boot.img
> > > > returned '1' instead of 0
> > > > | output: install: cannot stat
> > > > '/home/ubuntu/yocto/poky/build/tmp/deploy/images/
> beaglebone/u-boot.img':
> > > No
> > > > such file or directory
> > > > |
> > > > | WARNING: exit code 1 from a shell command.
> > > > | ERROR: Function failed: do_image_wic (log file is located at
> > > >
> > > /home/ubuntu/yocto/poky/build/tmp/work/beaglebone-poky-
> linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_image_wic.12719)
> > > > ERROR: Task
> > > > (/home/ubuntu/yocto/poky/meta/recipes-core/images/core-
> image-minimal.bb:
> > > do_image_wic)
> > > > failed with exit code '1'
> > > > NOTE: Tasks Summary: Attempted 2263 tasks of which 2252 didn't need
> to be
> > > > rerun and 1 failed.
> > > >
> > > > Summary: 1 task failed:
> > > >   /home/ubuntu/yocto/poky/meta/recipes-core/images/core-
> image-minimal.bb
> > > :
> > > > do_image_wic
> > > > Summary: There was 1 ERROR message shown, returning a non-zero exit
> code.
> > >
> > > > --
> > > > _______________________________________________
> > > > meta-ti mailing list
> > > > meta-ti@yoctoproject.org
> > > > https://lists.yoctoproject.org/listinfo/meta-ti
> > >
> > >
>

[-- Attachment #2: Type: text/html, Size: 5458 bytes --]

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

* Re: install cannot stat u-boot.img (Pyro)
  2017-06-27 17:12       ` Kenny Koller
@ 2017-06-27 17:44         ` Denys Dmytriyenko
  2017-06-28 16:20           ` Kenny Koller
  0 siblings, 1 reply; 8+ messages in thread
From: Denys Dmytriyenko @ 2017-06-27 17:44 UTC (permalink / raw)
  To: Kenny Koller; +Cc: meta-ti

On Tue, Jun 27, 2017 at 10:12:12AM -0700, Kenny Koller wrote:
> On Tue, Jun 27, 2017 at 9:22 AM, Denys Dmytriyenko <denys@ti.com> wrote:
> 
> > Well, meta-ti is quite active and is current. If by current you mean "pyro"
> > branch, then it's not an indication and there was an explanation on the
> > list.
> 
> Yes. I see the activity on this list (no offense meant). New to the list so
> probably missed any explanation.

Activity in git:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/

Reply to "pyro" branch question:
https://lists.yoctoproject.org/pipermail/meta-ti/2017-June/010023.html


> > But in general, if you are not using meta-ti layer, why are you posting
> > error
> > messages to meta-ti list?
> 
> Because it's not clear which layers are required for the Beaglebone build
> (as I mention in my previous response). It occurred to me that perhaps
> meta-ti must be included to build the bootloaders. As far as I can tell
> there is no explicit mention of which layers are required. I think the
> answer is that Poky includes everything that is required but my build
> failed for a reason that was unclear.

Some time ago I gave this explanation of layers for BeagleBone:
https://lists.yoctoproject.org/pipermail/yocto/2014-October/021819.html

Most of that still stands today and both meta-ti and meta-yocto-bsp provide 
own versions of u-boot.


> I can hop off this list if it has nothing to do with the Beaglebone
> processor.

meta-ti has everything to do with BeagleBone, but you are not using it. You 
are using meta-yocto-bsp - it does provide upstream versions of u-boot and the 
linux kernel and normally just works for BeagleBone. What the exact issue with 
"pyro" in your case, I'm not sure.

-- 
Denys


> > On Tue, Jun 27, 2017 at 04:51:29AM +0000, Kenny Koller wrote:
> > > I'm not sure if I should be using it. When I look at the meta-ti
> > repository
> > > it doesn't seem current with the Poky releases. Furthermore it seems that
> > > meta-yocto-bsp contains recipes for Beaglebone. It's not clear to me
> > which
> > > layer has a recipe for Das U-Boot.
> > >
> > > All I did was clone Poky. Checkout Pyro. Edited my local.conf to
> > > MACHINE='beaglebone'. And `bitbake core-image-minimal`.
> > >
> > > On Mon, Jun 26, 2017 at 11:53 AM Denys Dmytriyenko <denys@ti.com> wrote:
> > >
> > > > Do you use meta-ti layer?
> > > >
> > > >
> > > > On Sat, Jun 24, 2017 at 02:50:32AM +0000, Kenny Koller wrote:
> > > > > Hi,
> > > > >
> > > > > I'm using 2.3 to build the minimal Beaglebone Black images.
> > > > >
> > > > > I issue the following and get the error below. Is the warning
> > regarding a
> > > > > missing bootloader config the issue?
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Kenny
> > > > >
> > > > > $ bitbake core-image-minimal
> > > > >
> > > > > | INFO: Creating image(s)...
> > > > > |
> > > > > | WARNING: bootloader config not specified, using defaults
> > > > > |
> > > > > | ERROR: _exec_cmd: install -m 0644 -D
> > > > > /home/ubuntu/yocto/poky/build/tmp/deploy/images/beaglebone/
> > u-boot.img
> > > > >
> > > > /home/ubuntu/yocto/poky/build/tmp/work/beaglebone-poky-
> > linux-gnueabi/core-image-minimal/1.0-r0/deploy-core-
> > image-minimal-image-complete/core-image-minimal-beaglebone-
> > 20170624014756/tmp.wic.khxryxga/boot/u-boot.img
> > > > > returned '1' instead of 0
> > > > > | output: install: cannot stat
> > > > > '/home/ubuntu/yocto/poky/build/tmp/deploy/images/
> > beaglebone/u-boot.img':
> > > > No
> > > > > such file or directory
> > > > > |
> > > > > | WARNING: exit code 1 from a shell command.
> > > > > | ERROR: Function failed: do_image_wic (log file is located at
> > > > >
> > > > /home/ubuntu/yocto/poky/build/tmp/work/beaglebone-poky-
> > linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_image_wic.12719)
> > > > > ERROR: Task
> > > > > (/home/ubuntu/yocto/poky/meta/recipes-core/images/core-
> > image-minimal.bb:
> > > > do_image_wic)
> > > > > failed with exit code '1'
> > > > > NOTE: Tasks Summary: Attempted 2263 tasks of which 2252 didn't need
> > to be
> > > > > rerun and 1 failed.
> > > > >
> > > > > Summary: 1 task failed:
> > > > >   /home/ubuntu/yocto/poky/meta/recipes-core/images/core-
> > image-minimal.bb
> > > > :
> > > > > do_image_wic
> > > > > Summary: There was 1 ERROR message shown, returning a non-zero exit
> > code.
> > > >
> > > > > --
> > > > > _______________________________________________
> > > > > meta-ti mailing list
> > > > > meta-ti@yoctoproject.org
> > > > > https://lists.yoctoproject.org/listinfo/meta-ti
> > > >
> > > >
> >


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

* Re: install cannot stat u-boot.img (Pyro)
  2017-06-27 17:44         ` Denys Dmytriyenko
@ 2017-06-28 16:20           ` Kenny Koller
  2017-06-29  0:08             ` Kenny Koller
  0 siblings, 1 reply; 8+ messages in thread
From: Kenny Koller @ 2017-06-28 16:20 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-ti

[-- Attachment #1: Type: text/plain, Size: 6188 bytes --]

Thanks Denys. I read through the links and even your slides via the
"yumminess" post on Yocto. Thanks for all the good work.

I feel like I should be building against meta-ti. This is for an actual
remote product (no GUI) with several hundred instances and I'm trying to
build a small distro that has just what I need. What exists is a hybrid of
two debian releases and a backported kernel and I'd like to get that under
control.

Your post clarifies the layers but if I want to use meta-ti with Poky/Morty
(presumably the correct choice) what must I do? Also this link
<https://www.yoctoproject.org/product/meta-ti-bsp-layer> suggests that
meta-ti is compatible with Yocto 1.6. I assume that's just outdated
information..

This link <http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/about/>
suggests that the layer depends on openembedded-core. Is this true or is
this now folded in to Poky?

I'm beginning to work on a new hardware design that integrates one of the
TI Cortex-A solutions on to a single board (rather than the Beaglebone
black mated to our board) so I'm motivated to sort all of this out.

Best regards,

Kenny

On Tue, Jun 27, 2017 at 10:44 AM Denys Dmytriyenko <denys@ti.com> wrote:

> On Tue, Jun 27, 2017 at 10:12:12AM -0700, Kenny Koller wrote:
> > On Tue, Jun 27, 2017 at 9:22 AM, Denys Dmytriyenko <denys@ti.com> wrote:
> >
> > > Well, meta-ti is quite active and is current. If by current you mean
> "pyro"
> > > branch, then it's not an indication and there was an explanation on the
> > > list.
> >
> > Yes. I see the activity on this list (no offense meant). New to the list
> so
> > probably missed any explanation.
>
> Activity in git:
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/
>
> Reply to "pyro" branch question:
> https://lists.yoctoproject.org/pipermail/meta-ti/2017-June/010023.html
>
>
> > > But in general, if you are not using meta-ti layer, why are you posting
> > > error
> > > messages to meta-ti list?
> >
> > Because it's not clear which layers are required for the Beaglebone build
> > (as I mention in my previous response). It occurred to me that perhaps
> > meta-ti must be included to build the bootloaders. As far as I can tell
> > there is no explicit mention of which layers are required. I think the
> > answer is that Poky includes everything that is required but my build
> > failed for a reason that was unclear.
>
> Some time ago I gave this explanation of layers for BeagleBone:
> https://lists.yoctoproject.org/pipermail/yocto/2014-October/021819.html
>
> Most of that still stands today and both meta-ti and meta-yocto-bsp provide
> own versions of u-boot.
>
>
> > I can hop off this list if it has nothing to do with the Beaglebone
> > processor.
>
> meta-ti has everything to do with BeagleBone, but you are not using it. You
> are using meta-yocto-bsp - it does provide upstream versions of u-boot and
> the
> linux kernel and normally just works for BeagleBone. What the exact issue
> with
> "pyro" in your case, I'm not sure.
>
> --
> Denys
>
>
> > > On Tue, Jun 27, 2017 at 04:51:29AM +0000, Kenny Koller wrote:
> > > > I'm not sure if I should be using it. When I look at the meta-ti
> > > repository
> > > > it doesn't seem current with the Poky releases. Furthermore it seems
> that
> > > > meta-yocto-bsp contains recipes for Beaglebone. It's not clear to me
> > > which
> > > > layer has a recipe for Das U-Boot.
> > > >
> > > > All I did was clone Poky. Checkout Pyro. Edited my local.conf to
> > > > MACHINE='beaglebone'. And `bitbake core-image-minimal`.
> > > >
> > > > On Mon, Jun 26, 2017 at 11:53 AM Denys Dmytriyenko <denys@ti.com>
> wrote:
> > > >
> > > > > Do you use meta-ti layer?
> > > > >
> > > > >
> > > > > On Sat, Jun 24, 2017 at 02:50:32AM +0000, Kenny Koller wrote:
> > > > > > Hi,
> > > > > >
> > > > > > I'm using 2.3 to build the minimal Beaglebone Black images.
> > > > > >
> > > > > > I issue the following and get the error below. Is the warning
> > > regarding a
> > > > > > missing bootloader config the issue?
> > > > > >
> > > > > > Thanks,
> > > > > >
> > > > > > Kenny
> > > > > >
> > > > > > $ bitbake core-image-minimal
> > > > > >
> > > > > > | INFO: Creating image(s)...
> > > > > > |
> > > > > > | WARNING: bootloader config not specified, using defaults
> > > > > > |
> > > > > > | ERROR: _exec_cmd: install -m 0644 -D
> > > > > > /home/ubuntu/yocto/poky/build/tmp/deploy/images/beaglebone/
> > > u-boot.img
> > > > > >
> > > > > /home/ubuntu/yocto/poky/build/tmp/work/beaglebone-poky-
> > > linux-gnueabi/core-image-minimal/1.0-r0/deploy-core-
> > > image-minimal-image-complete/core-image-minimal-beaglebone-
> > > 20170624014756/tmp.wic.khxryxga/boot/u-boot.img
> > > > > > returned '1' instead of 0
> > > > > > | output: install: cannot stat
> > > > > > '/home/ubuntu/yocto/poky/build/tmp/deploy/images/
> > > beaglebone/u-boot.img':
> > > > > No
> > > > > > such file or directory
> > > > > > |
> > > > > > | WARNING: exit code 1 from a shell command.
> > > > > > | ERROR: Function failed: do_image_wic (log file is located at
> > > > > >
> > > > > /home/ubuntu/yocto/poky/build/tmp/work/beaglebone-poky-
> > > linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_image_wic.12719)
> > > > > > ERROR: Task
> > > > > > (/home/ubuntu/yocto/poky/meta/recipes-core/images/core-
> > > image-minimal.bb:
> > > > > do_image_wic)
> > > > > > failed with exit code '1'
> > > > > > NOTE: Tasks Summary: Attempted 2263 tasks of which 2252 didn't
> need
> > > to be
> > > > > > rerun and 1 failed.
> > > > > >
> > > > > > Summary: 1 task failed:
> > > > > >   /home/ubuntu/yocto/poky/meta/recipes-core/images/core-
> > > image-minimal.bb
> > > > > :
> > > > > > do_image_wic
> > > > > > Summary: There was 1 ERROR message shown, returning a non-zero
> exit
> > > code.
> > > > >
> > > > > > --
> > > > > > _______________________________________________
> > > > > > meta-ti mailing list
> > > > > > meta-ti@yoctoproject.org
> > > > > > https://lists.yoctoproject.org/listinfo/meta-ti
> > > > >
> > > > >
> > >
>

[-- Attachment #2: Type: text/html, Size: 8723 bytes --]

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

* Re: install cannot stat u-boot.img (Pyro)
  2017-06-28 16:20           ` Kenny Koller
@ 2017-06-29  0:08             ` Kenny Koller
  0 siblings, 0 replies; 8+ messages in thread
From: Kenny Koller @ 2017-06-29  0:08 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: meta-ti

[-- Attachment #1: Type: text/plain, Size: 6719 bytes --]

Hi Denys,

My build issues were because of too little RAM. I fired up a much more
powerful AWS instance and built everything to completion in 40 minutes.

To use meta-ti: Just add to bblayers.conf and remove meta-yocto-bsp?

On Wed, Jun 28, 2017 at 9:20 AM Kenny Koller <kenny@understoryweather.com>
wrote:

> Thanks Denys. I read through the links and even your slides via the
> "yumminess" post on Yocto. Thanks for all the good work.
>
> I feel like I should be building against meta-ti. This is for an actual
> remote product (no GUI) with several hundred instances and I'm trying to
> build a small distro that has just what I need. What exists is a hybrid of
> two debian releases and a backported kernel and I'd like to get that under
> control.
>
> Your post clarifies the layers but if I want to use meta-ti with
> Poky/Morty (presumably the correct choice) what must I do? Also this link
> <https://www.yoctoproject.org/product/meta-ti-bsp-layer> suggests that
> meta-ti is compatible with Yocto 1.6. I assume that's just outdated
> information..
>
> This link <http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/about/>
> suggests that the layer depends on openembedded-core. Is this true or is
> this now folded in to Poky?
>
> I'm beginning to work on a new hardware design that integrates one of the
> TI Cortex-A solutions on to a single board (rather than the Beaglebone
> black mated to our board) so I'm motivated to sort all of this out.
>
> Best regards,
>
> Kenny
>
> On Tue, Jun 27, 2017 at 10:44 AM Denys Dmytriyenko <denys@ti.com> wrote:
>
>> On Tue, Jun 27, 2017 at 10:12:12AM -0700, Kenny Koller wrote:
>> > On Tue, Jun 27, 2017 at 9:22 AM, Denys Dmytriyenko <denys@ti.com>
>> wrote:
>> >
>> > > Well, meta-ti is quite active and is current. If by current you mean
>> "pyro"
>> > > branch, then it's not an indication and there was an explanation on
>> the
>> > > list.
>> >
>> > Yes. I see the activity on this list (no offense meant). New to the
>> list so
>> > probably missed any explanation.
>>
>> Activity in git:
>> http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/
>>
>> Reply to "pyro" branch question:
>> https://lists.yoctoproject.org/pipermail/meta-ti/2017-June/010023.html
>>
>>
>> > > But in general, if you are not using meta-ti layer, why are you
>> posting
>> > > error
>> > > messages to meta-ti list?
>> >
>> > Because it's not clear which layers are required for the Beaglebone
>> build
>> > (as I mention in my previous response). It occurred to me that perhaps
>> > meta-ti must be included to build the bootloaders. As far as I can tell
>> > there is no explicit mention of which layers are required. I think the
>> > answer is that Poky includes everything that is required but my build
>> > failed for a reason that was unclear.
>>
>> Some time ago I gave this explanation of layers for BeagleBone:
>> https://lists.yoctoproject.org/pipermail/yocto/2014-October/021819.html
>>
>> Most of that still stands today and both meta-ti and meta-yocto-bsp
>> provide
>> own versions of u-boot.
>>
>>
>> > I can hop off this list if it has nothing to do with the Beaglebone
>> > processor.
>>
>> meta-ti has everything to do with BeagleBone, but you are not using it.
>> You
>> are using meta-yocto-bsp - it does provide upstream versions of u-boot
>> and the
>> linux kernel and normally just works for BeagleBone. What the exact issue
>> with
>> "pyro" in your case, I'm not sure.
>>
>> --
>> Denys
>>
>>
>> > > On Tue, Jun 27, 2017 at 04:51:29AM +0000, Kenny Koller wrote:
>> > > > I'm not sure if I should be using it. When I look at the meta-ti
>> > > repository
>> > > > it doesn't seem current with the Poky releases. Furthermore it
>> seems that
>> > > > meta-yocto-bsp contains recipes for Beaglebone. It's not clear to me
>> > > which
>> > > > layer has a recipe for Das U-Boot.
>> > > >
>> > > > All I did was clone Poky. Checkout Pyro. Edited my local.conf to
>> > > > MACHINE='beaglebone'. And `bitbake core-image-minimal`.
>> > > >
>> > > > On Mon, Jun 26, 2017 at 11:53 AM Denys Dmytriyenko <denys@ti.com>
>> wrote:
>> > > >
>> > > > > Do you use meta-ti layer?
>> > > > >
>> > > > >
>> > > > > On Sat, Jun 24, 2017 at 02:50:32AM +0000, Kenny Koller wrote:
>> > > > > > Hi,
>> > > > > >
>> > > > > > I'm using 2.3 to build the minimal Beaglebone Black images.
>> > > > > >
>> > > > > > I issue the following and get the error below. Is the warning
>> > > regarding a
>> > > > > > missing bootloader config the issue?
>> > > > > >
>> > > > > > Thanks,
>> > > > > >
>> > > > > > Kenny
>> > > > > >
>> > > > > > $ bitbake core-image-minimal
>> > > > > >
>> > > > > > | INFO: Creating image(s)...
>> > > > > > |
>> > > > > > | WARNING: bootloader config not specified, using defaults
>> > > > > > |
>> > > > > > | ERROR: _exec_cmd: install -m 0644 -D
>> > > > > > /home/ubuntu/yocto/poky/build/tmp/deploy/images/beaglebone/
>> > > u-boot.img
>> > > > > >
>> > > > > /home/ubuntu/yocto/poky/build/tmp/work/beaglebone-poky-
>> > > linux-gnueabi/core-image-minimal/1.0-r0/deploy-core-
>> > > image-minimal-image-complete/core-image-minimal-beaglebone-
>> > > 20170624014756/tmp.wic.khxryxga/boot/u-boot.img
>> > > > > > returned '1' instead of 0
>> > > > > > | output: install: cannot stat
>> > > > > > '/home/ubuntu/yocto/poky/build/tmp/deploy/images/
>> > > beaglebone/u-boot.img':
>> > > > > No
>> > > > > > such file or directory
>> > > > > > |
>> > > > > > | WARNING: exit code 1 from a shell command.
>> > > > > > | ERROR: Function failed: do_image_wic (log file is located at
>> > > > > >
>> > > > > /home/ubuntu/yocto/poky/build/tmp/work/beaglebone-poky-
>> > > linux-gnueabi/core-image-minimal/1.0-r0/temp/log.do_image_wic.12719)
>> > > > > > ERROR: Task
>> > > > > > (/home/ubuntu/yocto/poky/meta/recipes-core/images/core-
>> > > image-minimal.bb:
>> > > > > do_image_wic)
>> > > > > > failed with exit code '1'
>> > > > > > NOTE: Tasks Summary: Attempted 2263 tasks of which 2252 didn't
>> need
>> > > to be
>> > > > > > rerun and 1 failed.
>> > > > > >
>> > > > > > Summary: 1 task failed:
>> > > > > >   /home/ubuntu/yocto/poky/meta/recipes-core/images/core-
>> > > image-minimal.bb
>> > > > > :
>> > > > > > do_image_wic
>> > > > > > Summary: There was 1 ERROR message shown, returning a non-zero
>> exit
>> > > code.
>> > > > >
>> > > > > > --
>> > > > > > _______________________________________________
>> > > > > > meta-ti mailing list
>> > > > > > meta-ti@yoctoproject.org
>> > > > > > https://lists.yoctoproject.org/listinfo/meta-ti
>> > > > >
>> > > > >
>> > >
>>
>

[-- Attachment #2: Type: text/html, Size: 9374 bytes --]

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

end of thread, other threads:[~2017-06-29  0:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-24  2:50 install cannot stat u-boot.img (Pyro) Kenny Koller
2017-06-26 18:53 ` Denys Dmytriyenko
2017-06-27  4:51   ` Kenny Koller
2017-06-27 16:22     ` Denys Dmytriyenko
2017-06-27 17:12       ` Kenny Koller
2017-06-27 17:44         ` Denys Dmytriyenko
2017-06-28 16:20           ` Kenny Koller
2017-06-29  0:08             ` Kenny Koller

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.