All of lore.kernel.org
 help / color / mirror / Atom feed
From: jacopo mondi <jacopo@jmondi.org>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: niklas soderlund <niklas.soderlund@ragnatech.se>,
	linux-renesas-soc@vger.kernel.org
Subject: Testing HDMI on E3
Date: Fri, 24 Aug 2018 12:35:07 +0200	[thread overview]
Message-ID: <20180824103507.GG26480@w540> (raw)

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

Hi Laurent
   +Niklas in CC for support
   +renesas-socs to document the procedure

In order to test HDMI capture on D3 and Salvator-x boards, I have
always used Niklas' great vin-tests suite
git://git.ragnatech.se/vin-tests

And I suggest to do the same for E3.

* Add E3 support to vin-tests/boards.sh
  E3 has a video input pipeline similar to Salvator-X, and HDMI input
  connected to an adv7482, connected to a CSI-2 port, then to VIN.

  I cannot tell the exact entity names, but it is easy enough for you
  to find them out.

  I think you only need to tweak vin-tests/boards.sh to add Ebisu
  board there (look at my series doing that for D3, for E3 it's even
  simpler). Once the board is recognized, you can use other scripts.

* Set EDID on the HDMI port
  #vin-tests/set-edid
  You need to cross-compile vin-tests/src/edid/ in advance

  If this succeeds, the board is recognized.

* Capture with yavta
  Run
  #vin-tests/yavta-hdmi $VIN_INSTANCE

  The script configure links and set formats on all entities along the
  pipeline. At this point, I think the better thing to do is to try,
  see where it fails and adjust the entity names as required. Again,
  being this a 'standard' Gen3 capture pipeline, it should be easy
  enough.

- Before all that, I hope my Ebisu support series creates a proper media
  graph with all entities in place. No need to tell you, but check
  with media-ctl if everything looks correct for the E3 board.

Hope this helps.
   j

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

                 reply	other threads:[~2018-08-24 14:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20180824103507.GG26480@w540 \
    --to=jacopo@jmondi.org \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=niklas.soderlund@ragnatech.se \
    /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.