All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Petter Mabäcker" <petter@technux.se>
To: GUEYTAT Julien <j.gueytat@cdssoft.studiel.fr>
Cc: yocto@yoctoproject.org
Subject: Re: [meta-raspberrypi] Adding more screens / PiTFT support.
Date: Mon, 04 Apr 2016 17:09:03 +0200	[thread overview]
Message-ID: <de89d347015b4afe389e8b6d0e3d66b3@technux.se> (raw)
In-Reply-To: <EC7BC1CD2E085743BB2AE634252C39C171CDB5@server.exchange.local>

[-- Attachment #1: Type: text/plain, Size: 1979 bytes --]

 

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@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.. 

BR Petter 

Petter Mabäcker

Technux
<petter@technux.se>
www.technux.se
 

Links:
------
[1]
http://www.studiel.fr/

[-- Attachment #2.1: Type: text/html, Size: 5204 bytes --]

[-- Attachment #2.2: image001.png --]
[-- Type: image/png, Size: 7552 bytes --]

  reply	other threads:[~2016-04-04 15:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-04 13:17 [meta-raspberrypi] Adding more screens / PiTFT support GUEYTAT Julien
2016-04-04 15:09 ` Petter Mabäcker [this message]
2016-04-04 17:27   ` Andrei Gherzan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=de89d347015b4afe389e8b6d0e3d66b3@technux.se \
    --to=petter@technux.se \
    --cc=j.gueytat@cdssoft.studiel.fr \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.