[yocto] [meta-raspberrypi] Adding more screens / PiTFT support.

Andrei Gherzan andrei at gherzan.ro
Mon Apr 4 10:27:59 PDT 2016


On Mon, Apr 04, 2016 at 05:09:03PM +0200, Petter Mabäcker wrote:
>
>
> 2016-04-04 15:17 skrev GUEYTAT Julien:
>
> > Hi,
> >
> > I would like to
> add PiTFT support to the meta-raspberry layer. Or at least I would like
> to add it in my own BSP layer.
> >
> > I read that Peter were playing with
> that recently. Could you please give me some hints to do so?
> >
> > I
> have at least two more screens to integrate.
> >
> > If someone could
> point me to an example of a BSP based on meta-raspberrypi that would be
> awesome.
> >
> > Thanks in advance,
> >
> > Best Regards
> >
> > JULIEN
> GUEYTAT
> >
> > INGÉNIEUR INFORMATIQUE
> >
> > 1027, avenue du Docteur
> Julien Lefebre BP27
> >
> > 06271 Villeneuve-Loubet Cedex
> >
> > Fixe : +33
> (0) 492 024 545
> > Mob : +33(0) 617 980 383
> > Fax : +33(0) 492 024 546
> >
> Email : j.gueytat at cdssoft.studiel.fr
> >
> > www : www.studiel.fr [1]
> >
>
> > PPENSEZ ENVIRONNEMENT, IMPRIMEZ SEULEMENT SI NÉCESSAIRE
>
> Hi Julien,
>
>
> After some discussions with the community, we decided that the
> official meta-raspberrypi pitft support should be added using
> MACHINE_FEATURES. If you look in README for meta-raspberrypi there are
> some basic description about how to enable support:
>
> For a already
> supported pitft model (pitft22 is supported and 28r is on it's way
> https://lists.yoctoproject.org/pipermail/yocto/2016-March/029284.html),
> you can just add below MACHINE_FEATURES to local.conf:
>
>
> MACHINE_FEATURES += "pitft pitft22"
>
> In order to add support for
> additional models you can use
> https://lists.yoctoproject.org/pipermail/yocto/2016-March/029284.html as
> a reference.
>  Basically what you need are to:
>
> * add the overlay for
> the screen
>
> * Add dtoverlay option with wanted default arguments in
> rpi-config_git.bb
>
> * Add a default calibration (if needed)
>
> Assuming
> an overlay exists for your model, it shouldn't be so tricky to fix the
> rest..
>

As Petter says, everything should be in the README. Try to give it a
spin and tell us how it goes.

--
Andrei Gherzan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160404/ade76e76/attachment.pgp>


More information about the yocto mailing list