Add the meta layers - Raspberry Pi

270 views
Skip to first unread message

Luke

unread,
Mar 26, 2018, 10:32:22 AM3/26/18
to Mender List mender.io
Hi,

I'm stuck trying to build Yocto Image for Raspberry Pi.

Following documentation I've come up with these commands....


I've got a feeling I'm not placing the git repositories/dependencies in the correct place.

Can anyone please provide me with the exact commands I need to execute?  I'm guessing at it at the moment and getting nowhere :) 

Thanks.

Drew Moseley

unread,
Mar 26, 2018, 11:11:36 AM3/26/18
to men...@lists.mender.io

Hi Luke,

It looks like you have not added meta-raspberrypi to your configuration.  You will need the following three commands instead of the two you have listed currently:

$ bitbake-layers add-layer ../meta-raspberrypi
$ bitbake-layers add-layer ../meta-mender/meta-mender-core
$ bitbake-layers add-layer ../meta-mender/meta-mender-raspberrypi

Drew

--
You received this message because you are subscribed to the Google Groups "Mender List mender.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mender+un...@lists.mender.io.
To post to this group, send email to men...@lists.mender.io.
Visit this group at https://groups.google.com/a/lists.mender.io/group/mender/.

Luke

unread,
Mar 26, 2018, 4:51:49 PM3/26/18
to Mender List mender.io
Thanks Drew yet again -  are you the only one that answers on this group :) 

I'm afraid...

bitbake-layers add-layer ../meta-raspberrypi 

...gets the following error.. 

ParseError at /home/luke/Documents/mender/yocto/poky/meta-raspberrypi/recipes-devtools/python/rpi-gpio_0.6.3.bb:8: Could not inherit file classes/pypi.bbclass

Drew Moseley

unread,
Mar 26, 2018, 4:59:04 PM3/26/18
to men...@lists.mender.io
Looks like you are missing dependencies of the meta-raspberrypi layer.  Take a look at https://github.com/agherzan/meta-raspberrypi/blob/master/README.md

You will need to clone git://github.com/openembedded/meta-openembedded.git and add the layers meta-python, meta-oe, meta-multimedia and meta-networking.

Drew

Luke

unread,
Mar 26, 2018, 5:43:53 PM3/26/18
to Mender List mender.io
That looks to have done the job, I'm now able to run bitbake - hopefully it'll make it all the way through.

Thanks ever so much Drew,

Cheers

Luke
Reply all
Reply to author
Forward
0 new messages