All of lore.kernel.org
 help / color / mirror / Atom feed
* Trouble building RasberryPi with Yocto/Poky
@ 2012-05-21 17:51 Gary Thomas
  2012-05-21 18:47 ` Andrei Gherzan
  2012-05-21 19:28 ` Martin Jansa
  0 siblings, 2 replies; 6+ messages in thread
From: Gary Thomas @ 2012-05-21 17:51 UTC (permalink / raw)
  To: Yocto Project

I tried to build a simple image using just Poky+meta-raspberrypi
Build Configuration:
BB_VERSION        = "1.15.2"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "raspberrypi"
DISTRO            = "poky"
DISTRO_VERSION    = "1.2+snapshot-20120521"
TUNE_FEATURES     = "armv6 vfp arm1176jzfs"
TARGET_FPU        = "vfp"
meta
meta-yocto        = "master:f24d8df3af52e2a2911233746ad69f8899bbdf93"
meta-raspberrypi  = "master:d1e802561ab5c70680fd6ee70a47791fe78aa977"

When I ran 'bitbake core-image-sato', I got this error:

| make[1]: *** No rule to make target 
`/local/rpi_poky/tmp/work/raspberrypi-poky-linux-gnueabi/linux-raspberrypi-3.1.9-rpi+r1+git0ec4154d64ebba48ca2446cde60a90546311defc-r1/image/lib/firmware/./', needed by 
`/local/rpi_poky/tmp/work/raspberrypi-poky-linux-gnueabi/linux-raspberrypi-3.1.9-rpi+r1+git0ec4154d64ebba48ca2446cde60a90546311defc-r1/image/lib/firmware/ti_3410.fw'.  Stop.

Any ideas how to move forward?

Thanks

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


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

* Re: Trouble building RasberryPi with Yocto/Poky
  2012-05-21 17:51 Trouble building RasberryPi with Yocto/Poky Gary Thomas
@ 2012-05-21 18:47 ` Andrei Gherzan
  2012-05-21 18:56   ` Gary Thomas
  2012-05-21 19:28 ` Martin Jansa
  1 sibling, 1 reply; 6+ messages in thread
From: Andrei Gherzan @ 2012-05-21 18:47 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Yocto Project

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

Give some more output please.
On May 21, 2012 8:51 PM, "Gary Thomas" <gary@mlbassoc.com> wrote:

> I tried to build a simple image using just Poky+meta-raspberrypi
> Build Configuration:
> BB_VERSION        = "1.15.2"
> TARGET_ARCH       = "arm"
> TARGET_OS         = "linux-gnueabi"
> MACHINE           = "raspberrypi"
> DISTRO            = "poky"
> DISTRO_VERSION    = "1.2+snapshot-20120521"
> TUNE_FEATURES     = "armv6 vfp arm1176jzfs"
> TARGET_FPU        = "vfp"
> meta
> meta-yocto        = "master:**f24d8df3af52e2a2911233746ad69f**8899bbdf93"
> meta-raspberrypi  = "master:**d1e802561ab5c70680fd6ee70a4779**1fe78aa977"
>
> When I ran 'bitbake core-image-sato', I got this error:
>
> | make[1]: *** No rule to make target `/local/rpi_poky/tmp/work/**
> raspberrypi-poky-linux-**gnueabi/linux-raspberrypi-3.1.**9-rpi+r1+**
> git0ec4154d64ebba48ca2446cde60**a90546311defc-r1/image/lib/**firmware/./',
> needed by `/local/rpi_poky/tmp/work/**raspberrypi-poky-linux-**
> gnueabi/linux-raspberrypi-3.1.**9-rpi+r1+**git0ec4154d64ebba48ca2446cde60*
> *a90546311defc-r1/image/lib/**firmware/ti_3410.fw'.  Stop.
>
> Any ideas how to move forward?
>
> Thanks
>
> --
> ------------------------------**------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------**------------------------------
> ______________________________**_________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.**org/listinfo/yocto<https://lists.yoctoproject.org/listinfo/yocto>
>

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

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

* Re: Trouble building RasberryPi with Yocto/Poky
  2012-05-21 18:47 ` Andrei Gherzan
@ 2012-05-21 18:56   ` Gary Thomas
  2012-05-21 19:19     ` Andrei Gherzan
  0 siblings, 1 reply; 6+ messages in thread
From: Gary Thomas @ 2012-05-21 18:56 UTC (permalink / raw)
  To: Andrei Gherzan; +Cc: Yocto Project

On 2012-05-21 12:47, Andrei Gherzan wrote:
> Give some more output please.

That's about all there is - you can see the layer versions, it's breaking during the
kernel install.  Looks like there may be some package dependency that's missing - where
does the 'lib/__firmware/ti_3410.fw' file get created?

The full (install) log for the kernel has no other useful info.

Maybe some guidance on how this was built, e.g. how does one build a bootable
image using OE & meta-raspberrypi?  what image to build?

>
> On May 21, 2012 8:51 PM, "Gary Thomas" <gary@mlbassoc.com <mailto:gary@mlbassoc.com>> wrote:
>
>     I tried to build a simple image using just Poky+meta-raspberrypi
>     Build Configuration:
>     BB_VERSION        = "1.15.2"
>     TARGET_ARCH       = "arm"
>     TARGET_OS         = "linux-gnueabi"
>     MACHINE           = "raspberrypi"
>     DISTRO            = "poky"
>     DISTRO_VERSION    = "1.2+snapshot-20120521"
>     TUNE_FEATURES     = "armv6 vfp arm1176jzfs"
>     TARGET_FPU        = "vfp"
>     meta
>     meta-yocto        = "master:__f24d8df3af52e2a2911233746ad69f__8899bbdf93"
>     meta-raspberrypi  = "master:__d1e802561ab5c70680fd6ee70a4779__1fe78aa977"
>
>     When I ran 'bitbake core-image-sato', I got this error:
>
>     | make[1]: *** No rule to make target
>     `/local/rpi_poky/tmp/work/__raspberrypi-poky-linux-__gnueabi/linux-raspberrypi-3.1.__9-rpi+r1+__git0ec4154d64ebba48ca2446cde60__a90546311defc-r1/image/lib/__firmware/./',
>     needed by
>     `/local/rpi_poky/tmp/work/__raspberrypi-poky-linux-__gnueabi/linux-raspberrypi-3.1.__9-rpi+r1+__git0ec4154d64ebba48ca2446cde60__a90546311defc-r1/image/lib/__firmware/ti_3410.fw'.
>       Stop.
>
>     Any ideas how to move forward?

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


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

* Re: Trouble building RasberryPi with Yocto/Poky
  2012-05-21 18:56   ` Gary Thomas
@ 2012-05-21 19:19     ` Andrei Gherzan
  0 siblings, 0 replies; 6+ messages in thread
From: Andrei Gherzan @ 2012-05-21 19:19 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Yocto Project

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

Strange. I just built the kernel and worked ok for me. I will give it a try
tonight.
On May 21, 2012 9:56 PM, "Gary Thomas" <gary@mlbassoc.com> wrote:

> On 2012-05-21 12:47, Andrei Gherzan wrote:
>
>> Give some more output please.
>>
>
> That's about all there is - you can see the layer versions, it's breaking
> during the
> kernel install.  Looks like there may be some package dependency that's
> missing - where
> does the 'lib/__firmware/ti_3410.fw' file get created?
>
> The full (install) log for the kernel has no other useful info.
>
> Maybe some guidance on how this was built, e.g. how does one build a
> bootable
> image using OE & meta-raspberrypi?  what image to build?
>
>
>> On May 21, 2012 8:51 PM, "Gary Thomas" <gary@mlbassoc.com <mailto:
>> gary@mlbassoc.com>> wrote:
>>
>>    I tried to build a simple image using just Poky+meta-raspberrypi
>>    Build Configuration:
>>    BB_VERSION        = "1.15.2"
>>    TARGET_ARCH       = "arm"
>>    TARGET_OS         = "linux-gnueabi"
>>    MACHINE           = "raspberrypi"
>>    DISTRO            = "poky"
>>    DISTRO_VERSION    = "1.2+snapshot-20120521"
>>    TUNE_FEATURES     = "armv6 vfp arm1176jzfs"
>>    TARGET_FPU        = "vfp"
>>    meta
>>    meta-yocto        = "master:__**f24d8df3af52e2a2911233746ad69f**
>> __8899bbdf93"
>>    meta-raspberrypi  = "master:__**d1e802561ab5c70680fd6ee70a4779**
>> __1fe78aa977"
>>
>>    When I ran 'bitbake core-image-sato', I got this error:
>>
>>    | make[1]: *** No rule to make target
>>    `/local/rpi_poky/tmp/work/__**raspberrypi-poky-linux-__**
>> gnueabi/linux-raspberrypi-3.1.**__9-rpi+r1+__**
>> git0ec4154d64ebba48ca2446cde60**__a90546311defc-r1/image/lib/_**
>> _firmware/./',
>>    needed by
>>    `/local/rpi_poky/tmp/work/__**raspberrypi-poky-linux-__**
>> gnueabi/linux-raspberrypi-3.1.**__9-rpi+r1+__**
>> git0ec4154d64ebba48ca2446cde60**__a90546311defc-r1/image/lib/_**
>> _firmware/ti_3410.fw'.
>>      Stop.
>>
>>    Any ideas how to move forward?
>>
>
> --
> ------------------------------**------------------------------
> Gary Thomas                 |  Consulting for the
> MLB Associates              |    Embedded world
> ------------------------------**------------------------------
>

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

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

* Re: Trouble building RasberryPi with Yocto/Poky
  2012-05-21 17:51 Trouble building RasberryPi with Yocto/Poky Gary Thomas
  2012-05-21 18:47 ` Andrei Gherzan
@ 2012-05-21 19:28 ` Martin Jansa
  2012-05-21 19:31   ` Gary Thomas
  1 sibling, 1 reply; 6+ messages in thread
From: Martin Jansa @ 2012-05-21 19:28 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Yocto Project

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

On Mon, May 21, 2012 at 11:51:13AM -0600, Gary Thomas wrote:
> I tried to build a simple image using just Poky+meta-raspberrypi
> Build Configuration:
> BB_VERSION        = "1.15.2"
> TARGET_ARCH       = "arm"
> TARGET_OS         = "linux-gnueabi"
> MACHINE           = "raspberrypi"
> DISTRO            = "poky"
> DISTRO_VERSION    = "1.2+snapshot-20120521"
> TUNE_FEATURES     = "armv6 vfp arm1176jzfs"
> TARGET_FPU        = "vfp"
> meta
> meta-yocto        = "master:f24d8df3af52e2a2911233746ad69f8899bbdf93"
> meta-raspberrypi  = "master:d1e802561ab5c70680fd6ee70a47791fe78aa977"
> 
> When I ran 'bitbake core-image-sato', I got this error:
> 
> | make[1]: *** No rule to make target 
> `/local/rpi_poky/tmp/work/raspberrypi-poky-linux-gnueabi/linux-raspberrypi-3.1.9-rpi+r1+git0ec4154d64ebba48ca2446cde60a90546311defc-r1/image/lib/firmware/./', needed by 
> `/local/rpi_poky/tmp/work/raspberrypi-poky-linux-gnueabi/linux-raspberrypi-3.1.9-rpi+r1+git0ec4154d64ebba48ca2446cde60a90546311defc-r1/image/lib/firmware/ti_3410.fw'.  Stop.
> 
> Any ideas how to move forward?

If your distro is using make-3.82 than you need something like this
http://git.shr-project.org/git/?p=meta-smartphone.git;a=commit;h=9c45467120d525a406fe8ec012c6231180c99767
to fix this race. (I haven't seen it with make-3.81)

Cheers,

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

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

* Re: Trouble building RasberryPi with Yocto/Poky
  2012-05-21 19:28 ` Martin Jansa
@ 2012-05-21 19:31   ` Gary Thomas
  0 siblings, 0 replies; 6+ messages in thread
From: Gary Thomas @ 2012-05-21 19:31 UTC (permalink / raw)
  To: Martin Jansa; +Cc: Yocto Project

On 2012-05-21 13:28, Martin Jansa wrote:
> On Mon, May 21, 2012 at 11:51:13AM -0600, Gary Thomas wrote:
>> I tried to build a simple image using just Poky+meta-raspberrypi
>> Build Configuration:
>> BB_VERSION        = "1.15.2"
>> TARGET_ARCH       = "arm"
>> TARGET_OS         = "linux-gnueabi"
>> MACHINE           = "raspberrypi"
>> DISTRO            = "poky"
>> DISTRO_VERSION    = "1.2+snapshot-20120521"
>> TUNE_FEATURES     = "armv6 vfp arm1176jzfs"
>> TARGET_FPU        = "vfp"
>> meta
>> meta-yocto        = "master:f24d8df3af52e2a2911233746ad69f8899bbdf93"
>> meta-raspberrypi  = "master:d1e802561ab5c70680fd6ee70a47791fe78aa977"
>>
>> When I ran 'bitbake core-image-sato', I got this error:
>>
>> | make[1]: *** No rule to make target
>> `/local/rpi_poky/tmp/work/raspberrypi-poky-linux-gnueabi/linux-raspberrypi-3.1.9-rpi+r1+git0ec4154d64ebba48ca2446cde60a90546311defc-r1/image/lib/firmware/./', needed by
>> `/local/rpi_poky/tmp/work/raspberrypi-poky-linux-gnueabi/linux-raspberrypi-3.1.9-rpi+r1+git0ec4154d64ebba48ca2446cde60a90546311defc-r1/image/lib/firmware/ti_3410.fw'.  Stop.
>>
>> Any ideas how to move forward?
>
> If your distro is using make-3.82 than you need something like this
> http://git.shr-project.org/git/?p=meta-smartphone.git;a=commit;h=9c45467120d525a406fe8ec012c6231180c99767
> to fix this race. (I haven't seen it with make-3.81)

It is indeed.  I'll work up a patch for this (doesn't look
like a work-around causes any undue complications)

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


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

end of thread, other threads:[~2012-05-21 19:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-21 17:51 Trouble building RasberryPi with Yocto/Poky Gary Thomas
2012-05-21 18:47 ` Andrei Gherzan
2012-05-21 18:56   ` Gary Thomas
2012-05-21 19:19     ` Andrei Gherzan
2012-05-21 19:28 ` Martin Jansa
2012-05-21 19:31   ` Gary Thomas

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.