Skip to content

sandbox: add HWRNG driver for host /dev/random

Ahmad Fatoum barebox 2 versions – Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyApplied
  2. v16 patches 2 repliesSuperseded

Changes in v2 from the cover letter

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

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3sandbox: hostfile: allow probing from device treearch/sandbox/board/hostfile.c arch/sandbox/mach-sandbox/include/mach/linux.h arch/sandbox/os/common.c+18 -40 replies
2/3sandbox: dts: add example for barebox, hostfile backed statearch/sandbox/dts/sandbox-state-example.dtsi+50 -00 replies
3/3hwrng: add sandbox driver interface to host /dev/randomarch/sandbox/board/Makefile arch/sandbox/board/board.c arch/sandbox/board/dev-random.c +4 more+111 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] sandbox: add HWRNG driver for host /dev/random

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
Signature · 7 lines
2.20.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox