All of lore.kernel.org
 help / color / mirror / Atom feed
* Building a Custom Raspberry Pi Image using OpenEmbedded and Yocto
@ 2012-09-03 17:52 Jack Mitchell
  2012-09-03 21:00 ` Tomas Frydrych
  0 siblings, 1 reply; 11+ messages in thread
From: Jack Mitchell @ 2012-09-03 17:52 UTC (permalink / raw)
  To: yocto

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




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

* Re: Building a Custom Raspberry Pi Image using OpenEmbedded and Yocto
  2012-09-03 17:52 Building a Custom Raspberry Pi Image using OpenEmbedded and Yocto Jack Mitchell
@ 2012-09-03 21:00 ` Tomas Frydrych
  2012-09-04  8:43   ` Jack Mitchell
  2012-09-05  9:58   ` Jack Mitchell
  0 siblings, 2 replies; 11+ messages in thread
From: Tomas Frydrych @ 2012-09-03 21:00 UTC (permalink / raw)
  To: yocto

Hi Jack,

On 03/09/12 18:52, Jack Mitchell wrote:
> 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



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

* Re: Building a Custom Raspberry Pi Image using OpenEmbedded and Yocto
  2012-09-03 21:00 ` Tomas Frydrych
@ 2012-09-04  8:43   ` Jack Mitchell
  2012-09-04  8:52     ` Jack Mitchell
  2012-09-04  8:52     ` Jack Mitchell
  2012-09-05  9:58   ` Jack Mitchell
  1 sibling, 2 replies; 11+ messages in thread
From: Jack Mitchell @ 2012-09-04  8:43 UTC (permalink / raw)
  To: yocto

On 03/09/12 22:00, Tomas Frydrych wrote:
> Hi Jack,
>
> On 03/09/12 18:52, Jack Mitchell wrote:
>> 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
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> 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,

-- 

   Jack Mitchell (jack@embed.me.uk)
   Embedded Systems Engineer
   http://www.embed.me.uk

--



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

* Re: Building a Custom Raspberry Pi Image using OpenEmbedded and Yocto
  2012-09-04  8:43   ` Jack Mitchell
@ 2012-09-04  8:52     ` Jack Mitchell
  2012-09-04  8:52     ` Jack Mitchell
  1 sibling, 0 replies; 11+ messages in thread
From: Jack Mitchell @ 2012-09-04  8:52 UTC (permalink / raw)
  To: yocto

On 04/09/12 09:43, Jack Mitchell wrote:
> On 03/09/12 22:00, Tomas Frydrych wrote:
>> Hi Jack,
>>
>> On 03/09/12 18:52, Jack Mitchell wrote:
>>> 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
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> 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!
>
> Cheers,
>



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

* Re: Building a Custom Raspberry Pi Image using OpenEmbedded and Yocto
  2012-09-04  8:43   ` Jack Mitchell
  2012-09-04  8:52     ` Jack Mitchell
@ 2012-09-04  8:52     ` Jack Mitchell
  1 sibling, 0 replies; 11+ messages in thread
From: Jack Mitchell @ 2012-09-04  8:52 UTC (permalink / raw)
  To: yocto

On 04/09/12 09:43, Jack Mitchell wrote:
> On 03/09/12 22:00, Tomas Frydrych wrote:
>> Hi Jack,
>>
>> On 03/09/12 18:52, Jack Mitchell wrote:
>>> 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
>>
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> 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!
>
> Cheers,
>


-- 

   Jack Mitchell (jack@embed.me.uk)
   Embedded Systems Engineer
   http://www.embed.me.uk

--



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

* Re: Building a Custom Raspberry Pi Image using OpenEmbedded and Yocto
  2012-09-03 21:00 ` Tomas Frydrych
  2012-09-04  8:43   ` Jack Mitchell
@ 2012-09-05  9:58   ` Jack Mitchell
  2012-09-05 15:20     ` Trevor Woerner
  1 sibling, 1 reply; 11+ messages in thread
From: Jack Mitchell @ 2012-09-05  9:58 UTC (permalink / raw)
  To: yocto

On 03/09/12 22:00, Tomas Frydrych wrote:
> Hi Jack,
>
> On 03/09/12 18:52, Jack Mitchell wrote:
>> 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
>
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

This is now livefor anyone interested.

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

-- 

   Jack Mitchell (jack@embed.me.uk)
   Embedded Systems Engineer
   http://www.embed.me.uk

--



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

* Re: Building a Custom Raspberry Pi Image using OpenEmbedded and Yocto
  2012-09-05  9:58   ` Jack Mitchell
@ 2012-09-05 15:20     ` Trevor Woerner
  2012-09-05 15:30       ` Jack Mitchell
  0 siblings, 1 reply; 11+ messages in thread
From: Trevor Woerner @ 2012-09-05 15:20 UTC (permalink / raw)
  To: ml; +Cc: yocto

On Wed, Sep 5, 2012 at 5:58 AM, Jack Mitchell <ml@communistcode.co.uk> wrote:
> This is now livefor anyone interested.
> http://www.pimpmypi.com/blog/blogPost.php?blogPostID=7

Shouldn't the instructions include a step adding the meta-raspberrypi
layer to conf/bblayers.conf?


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

* Re: Building a Custom Raspberry Pi Image using OpenEmbedded and Yocto
  2012-09-05 15:20     ` Trevor Woerner
@ 2012-09-05 15:30       ` Jack Mitchell
  2012-09-05 17:13         ` Trevor Woerner
  0 siblings, 1 reply; 11+ messages in thread
From: Jack Mitchell @ 2012-09-05 15:30 UTC (permalink / raw)
  To: yocto@yoctoproject.org

On 05/09/12 16:20, Trevor Woerner wrote:
> On Wed, Sep 5, 2012 at 5:58 AM, Jack Mitchell <ml@communistcode.co.uk> wrote:
>> This is now livefor anyone interested.
>> http://www.pimpmypi.com/blog/blogPost.php?blogPostID=7
> Shouldn't the instructions include a step adding the meta-raspberrypi
> layer to conf/bblayers.conf?

Well spotted Trevor! Fixed and amended.

Thanks,

-- 

   Jack Mitchell (jack@embed.me.uk)
   Embedded Systems Engineer
   http://www.embed.me.uk

--



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

* Re: Building a Custom Raspberry Pi Image using OpenEmbedded and Yocto
  2012-09-05 15:30       ` Jack Mitchell
@ 2012-09-05 17:13         ` Trevor Woerner
  2012-09-05 17:55           ` Burton, Ross
  2012-09-05 21:53           ` Jack Mitchell
  0 siblings, 2 replies; 11+ messages in thread
From: Trevor Woerner @ 2012-09-05 17:13 UTC (permalink / raw)
  To: ml; +Cc: yocto@yoctoproject.org

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?


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

* Re: Building a Custom Raspberry Pi Image using OpenEmbedded and Yocto
  2012-09-05 17:13         ` Trevor Woerner
@ 2012-09-05 17:55           ` Burton, Ross
  2012-09-05 21:53           ` Jack Mitchell
  1 sibling, 0 replies; 11+ messages in thread
From: Burton, Ross @ 2012-09-05 17:55 UTC (permalink / raw)
  To: Trevor Woerner; +Cc: yocto@yoctoproject.org

On 5 September 2012 18:13, Trevor Woerner <twoerner@gmail.com> wrote:
> 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?

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


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

* Re: Building a Custom Raspberry Pi Image using OpenEmbedded and Yocto
  2012-09-05 17:13         ` Trevor Woerner
  2012-09-05 17:55           ` Burton, Ross
@ 2012-09-05 21:53           ` Jack Mitchell
  1 sibling, 0 replies; 11+ messages in thread
From: Jack Mitchell @ 2012-09-05 21:53 UTC (permalink / raw)
  Cc: yocto@yoctoproject.org

On 05/09/2012 18:13, Trevor Woerner wrote:
> 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?

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

Thanks for taking the time to go over it all.

Cheers,
Jack


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

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

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-03 17:52 Building a Custom Raspberry Pi Image using OpenEmbedded and Yocto Jack Mitchell
2012-09-03 21:00 ` Tomas Frydrych
2012-09-04  8:43   ` Jack Mitchell
2012-09-04  8:52     ` Jack Mitchell
2012-09-04  8:52     ` Jack Mitchell
2012-09-05  9:58   ` Jack Mitchell
2012-09-05 15:20     ` Trevor Woerner
2012-09-05 15:30       ` Jack Mitchell
2012-09-05 17:13         ` Trevor Woerner
2012-09-05 17:55           ` Burton, Ross
2012-09-05 21:53           ` Jack Mitchell

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.