mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/6] sandbox: add HWRNG driver for host /dev/random
@ 2019-08-27 14:32 Ahmad Fatoum
  2019-08-27 14:32 ` [PATCH 1/6] sandbox: include header to provide missing prototype Ahmad Fatoum
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Ahmad Fatoum @ 2019-08-27 14:32 UTC (permalink / raw)
  To: barebox

What's in the topic is what the last patch does. The others are cleanup
or fixes or add a symbol needed by the last patch.

In summary, with this patchset, you can probe barebox,hostfile nodes in
your device tree, create partitions and have e.g. barebox state refer to
it. Some problems with symbol collisions are fixed, which e.g. cause X11
to use barebox strdup on my system, but the glibc free(3), which
resulted in a crash whenever it attempted to open the SDL window.

Ahmad Fatoum (6):
  sandbox: include header to provide missing prototype
  sandbox: remove unused ARCH_LINUX Kconfig symbol
  sandbox: redefine optarg and optind to avoid collisions
  sandbox: compile with symbol -fvisibility=hidden
  sandbox: hostfile: allow probing from device tree
  hwrng: add sandbox driver interface to host /dev/random

 arch/sandbox/Kconfig                          |  3 -
 arch/sandbox/Makefile                         |  6 +-
 arch/sandbox/board/Makefile                   |  1 +
 arch/sandbox/board/board.c                    |  7 +++
 arch/sandbox/board/dev-random.c               | 24 +++++++
 arch/sandbox/board/devices.c                  |  1 +
 arch/sandbox/board/hostfile.c                 | 16 +++--
 arch/sandbox/dts/sandbox-state.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 +++++++++++++++++++
 13 files changed, 184 insertions(+), 9 deletions(-)
 create mode 100644 arch/sandbox/board/dev-random.c
 create mode 100644 arch/sandbox/dts/sandbox-state.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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-08-28 12:06 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-27 14:32 [PATCH 0/6] sandbox: add HWRNG driver for host /dev/random Ahmad Fatoum
2019-08-27 14:32 ` [PATCH 1/6] sandbox: include header to provide missing prototype Ahmad Fatoum
2019-08-27 14:32 ` [PATCH 2/6] sandbox: remove unused ARCH_LINUX Kconfig symbol Ahmad Fatoum
2019-08-27 14:32 ` [PATCH 3/6] sandbox: redefine optarg and optind to avoid collisions Ahmad Fatoum
2019-08-27 14:32 ` [PATCH 4/6] sandbox: compile with symbol -fvisibility=hidden Ahmad Fatoum
2019-08-27 14:32 ` [PATCH 5/6] sandbox: hostfile: allow probing from device tree Ahmad Fatoum
2019-08-28 11:49   ` Sascha Hauer
2019-08-28 12:06     ` Ahmad Fatoum
2019-08-27 14:32 ` [PATCH 6/6] hwrng: add sandbox driver interface to host /dev/random Ahmad Fatoum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox