Skip to contentSkip to conversation

Building a Custom Raspberry Pi Image using OpenEmbedded and Yocto

DISCUSSION Jack Mitchell 5 participants 11 messages Sep 3, 2012 – Sep 5, 2012

lore
Share & tools
lore
#0 lore raw

Good evening all,

Over the past month or so I have been experimenting with using Yocto and meta-raspberrypi to get a minimal image booting. After some frustration, plenty of bug fixes and heaps of help from members of the community; I believe that the layers are now well tested and fairly stable.

As some of you know I run a small Raspberry Pi community site[1] and I would like to write a follow up to an earlier blog post about preparing yourself for programming on the Raspberry Pi with the Yocto Project. As I am no novelist I have put the blog post up on GitHub[2] and I would be very grateful if people would be willing to give it once over and point out (or patch!) any flaws. I know Yocto/OpenEmbedded/Bitbake can be a minefield for the beginner and I still sometimes get it wrong.

If you are interested in contributing or making alterations I would suggest either cloning the repository, or editing and commiting through the GitHub web interface. Please use soft-line wrapping and take note of the 'similar' bbcode style tags.

I plan to post it up in the next few days and try to let some people know in the Raspberry Pi community.

[1] http://www.pimpmypi.com
[2] https://github.com/CommunistCode/PimpMyPi-Community-Blog-Posts

Cheers,
Jack

#1 lore raw

Hi Jack,

Quoted 3 lines · Jack Mitchell

As some of you know I run a small Raspberry Pi community site[1] and I would like to write a follow up to an earlier blog post about preparing yourself for programming on the Raspberry Pi with the Yocto Project.

I don't know if of any use to you, but we have a recipe for a Yocto-based image for a UPnP audio player, which can be built for the RPi, in Guacamayo[1].

Tomas

[1] https://github.com/Guacamayo/meta-guacamayo

#2 lore raw
Quoted 10 lines · Tomas Frydrych

Hi Jack,

Quoted 3 lines · Jack Mitchell

As some of you know I run a small Raspberry Pi community site[1] and I would like to write a follow up to an earlier blog post about preparing yourself for programming on the Raspberry Pi with the Yocto Project.

I don't know if of any use to you, but we have a recipe for a Yocto-based image for a UPnP audio player, which can be built for the RPi, in Guacamayo[1].

Quoted 8 lines

Tomas

[1] https://github.com/Guacamayo/meta-guacamayo

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Hi Tomas,

That looks like an interesting layer. I have seen it pop up here and there but have never investigated it properly. Once this post is out the door and I have started experimenting with .

Cheers,

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  http://www.embed.me.uk

--
#3 lore raw
Quoted 15 lines · Jack Mitchell
Quoted 14 lines · Tomas Frydrych

Hi Jack,

Quoted 3 lines · Jack Mitchell

As some of you know I run a small Raspberry Pi community site[1] and I would like to write a follow up to an earlier blog post about preparing yourself for programming on the Raspberry Pi with the Yocto Project.

I don't know if of any use to you, but we have a recipe for a Yocto-based image for a UPnP audio player, which can be built for the RPi, in Guacamayo[1].

Tomas

[1] https://github.com/Guacamayo/meta-guacamayo

Quoted 8 lines
Quoted 4 lines

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Hi Tomas,

That looks like an interesting layer. I have seen it pop up here and there but have never investigated it properly. Once this post is out the door and I have started experimenting with .

other new image builds and applications I may be in touch!

Quoted 3 lines

Cheers,

#4 lore raw
In reply to Jack Mitchell
Quoted 15 lines · Jack Mitchell
Quoted 14 lines · Tomas Frydrych

Hi Jack,

Quoted 3 lines · Jack Mitchell

As some of you know I run a small Raspberry Pi community site[1] and I would like to write a follow up to an earlier blog post about preparing yourself for programming on the Raspberry Pi with the Yocto Project.

I don't know if of any use to you, but we have a recipe for a Yocto-based image for a UPnP audio player, which can be built for the RPi, in Guacamayo[1].

Tomas

[1] https://github.com/Guacamayo/meta-guacamayo

Quoted 8 lines
Quoted 4 lines

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Hi Tomas,

That looks like an interesting layer. I have seen it pop up here and there but have never investigated it properly. Once this post is out the door and I have started experimenting with .

other images and application builds, I may be in touch!

Quoted 3 lines

Cheers,

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  http://www.embed.me.uk

--
#5 lore raw
In reply to Tomas Frydrych
Quoted 10 lines · Tomas Frydrych

Hi Jack,

Quoted 3 lines · Jack Mitchell

As some of you know I run a small Raspberry Pi community site[1] and I would like to write a follow up to an earlier blog post about preparing yourself for programming on the Raspberry Pi with the Yocto Project.

I don't know if of any use to you, but we have a recipe for a Yocto-based image for a UPnP audio player, which can be built for the RPi, in Guacamayo[1].

Quoted 8 lines

Tomas

[1] https://github.com/Guacamayo/meta-guacamayo

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

This is now livefor anyone interested.

http://www.pimpmypi.com/blog/blogPost.php?blogPostID=7

Signature · 5 lines
  Jack Mitchell ([email protected])
  Embedded Systems Engineer
  http://www.embed.me.uk

--
#8 lore raw

I also found that I had to add:

BB_DANGLINGAPPENDS_WARNONLY = "yes"

at the end of my conf/local.conf since I received a:

ERROR: No recipes available for:
/home/trevor/devel/yocto/raspi/poky/meta-raspberrypi/recipes-multimedia/libav/libav_0.7.4.bbappend

the first time I tried baking (even when using the exact commits for both poky and meta-raspberrypi as specified in the instructions). Maybe it's just me?

#9 lore raw
Quoted 4 lines · Trevor Woerner

I also found that I had to add:

BB_DANGLINGAPPENDS_WARNONLY = "yes"

Quoted 8 lines

at the end of my conf/local.conf since I received a:

ERROR: No recipes available for:
/home/trevor/devel/yocto/raspi/poky/meta-raspberrypi/recipes-multimedia/libav/libav_0.7.4.bbappend

the first time I tried baking (even when using the exact commits for both poky and meta-raspberrypi as specified in the instructions). Maybe it's just me?

Not at all. Guacamayo uses the meta-raspberrypi layer and does this:

# meta-raspberrypi has libav.bbappend, for which we do not have the base recipe
# meta-ti has a bunch of recipes with broken license
BBMASK=".*/meta-raspberrypi/recipes-multimedia/libav/|.*/meta-ti/recipes-misc"

Ross

#10 lore raw
In reply to Trevor Woerner
Quoted 4 lines · Trevor Woerner

I also found that I had to add:

BB_DANGLINGAPPENDS_WARNONLY = "yes"

Quoted 8 lines

at the end of my conf/local.conf since I received a:

ERROR: No recipes available for:
/home/trevor/devel/yocto/raspi/poky/meta-raspberrypi/recipes-multimedia/libav/libav_0.7.4.bbappend

the first time I tried baking (even when using the exact commits for both poky and meta-raspberrypi as specified in the instructions). Maybe it's just me?

Correct again Trevor, I've added the appropriate BBMASK required!

Thanks for taking the time to go over it all.

Cheers,
Jack