mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <ahmad@a3f.at>
To: barebox@lists.infradead.org
Subject: [PATCH v2 0/3] sandbox: add HWRNG driver for host /dev/random
Date: Mon,  9 Sep 2019 11:31:27 +0200	[thread overview]
Message-ID: <20190909093130.30666-1-ahmad@a3f.at> (raw)

This series is useful for testing/using barebox,state on sandbox and for
use of host entropy while generating passwords for the target system.
They are in the same series, because the first commit adds linux_open,
which the last depends on.

v1 -> v2:
  - split off example sandbox state device tree into seperate commit
  - renamed device tree example to end with -example.dts

Ahmad Fatoum (3):
  sandbox: hostfile: allow probing from device tree
  sandbox: dts: add example for barebox,hostfile backed state
  hwrng: add sandbox driver interface to host /dev/random

 arch/sandbox/board/Makefile                   |  1 +
 arch/sandbox/board/board.c                    |  7 +++
 arch/sandbox/board/dev-random.c               | 24 +++++++
 arch/sandbox/board/hostfile.c                 | 16 +++--
 arch/sandbox/dts/sandbox-state-example.dtsi   | 50 +++++++++++++++
 .../sandbox/mach-sandbox/include/mach/linux.h |  8 +++
 arch/sandbox/os/common.c                      |  5 ++
 drivers/hw_random/Kconfig                     |  8 +++
 drivers/hw_random/Makefile                    |  1 +
 drivers/hw_random/dev-random.c                | 63 +++++++++++++++++++
 10 files changed, 179 insertions(+), 4 deletions(-)
 create mode 100644 arch/sandbox/board/dev-random.c
 create mode 100644 arch/sandbox/dts/sandbox-state-example.dtsi
 create mode 100644 drivers/hw_random/dev-random.c

-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2019-09-09  9:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-09  9:31 Ahmad Fatoum [this message]
2019-09-09  9:31 ` [PATCH v2 1/3] sandbox: hostfile: allow probing from device tree Ahmad Fatoum
2019-09-09  9:31 ` [PATCH v2 2/3] sandbox: dts: add example for barebox, hostfile backed state Ahmad Fatoum
2019-09-09  9:31 ` [PATCH v2 3/3] hwrng: add sandbox driver interface to host /dev/random Ahmad Fatoum
2019-09-09 13:23 ` [PATCH v2 0/3] sandbox: add HWRNG driver for " Sascha Hauer

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=20190909093130.30666-1-ahmad@a3f.at \
    --to=ahmad@a3f.at \
    --cc=barebox@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox