Skip to contentSkip to conversation

Trouble building RasberryPi with Yocto/Poky

DISCUSSION Gary Thomas 3 participants 6 messages May 21, 2012

lore
Share & tools
lore
#0 lore raw

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

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw

Give some more output please.

Quoted 37 lines · Gary Thomas

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
[email protected]
https://lists.yoctoproject.**org/listinfo/yocto<https://lists.yoctoproject.org/listinfo/yocto>

#2 lore raw
Quoted 1 line · Andrei Gherzan

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?

Quoted 26 lines · On May 21, 2012 8:51 PM, "Gary Thomas" <[email protected]…

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?

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#3 lore raw

Strange. I just built the kernel and worked ok for me. I will give it a try tonight.

Quoted 60 lines · Gary Thomas
Quoted 2 lines · Andrei Gherzan

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?

Quoted 33 lines

On May 21, 2012 8:51 PM, "Gary Thomas" <[email protected] <mailto:
[email protected]>> 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.

Quoted 2 lines

Any ideas how to move forward?

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

#4 lore raw
In reply to Gary Thomas
Quoted 14 lines · Gary Thomas

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"

Quoted 7 lines

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,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#5 lore raw
Quoted 21 lines · Martin Jansa
Quoted 20 lines · Gary Thomas

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.

Quoted 5 lines
Quoted 1 line

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)

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------