qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC v3 0/2] Add NRF51 SOC non-volatile memory controller
@ 2018-07-12 10:12 Steffen Görtz
  2018-07-12 10:12 ` [Qemu-devel] [RFC v3 1/2] arm: " Steffen Görtz
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Steffen Görtz @ 2018-07-12 10:12 UTC (permalink / raw)
  To: qemu-devel
  Cc: Stefan Hajnoczi, Joel Stanley, Jim Mussared, Julia Suvorova,
	Peter Maydell, Steffen Görtz

Add some non-volatile memories and a non-volatile
memory controller for the nRF51.
Furthermore, a testsuite for the bbc:microbit and
nrf51 soc was added.

Examination of the real device showed that
NVMs remained unchanged when the write/erase enabled
bits are not set in the controller, so we can
safely ignore all writes.
More: https://github.com/douzepouze/gsoc18-qemu/blob/master/notes.md#test-nvmc-behavior-out-of-micropython-repl

The CODE/FLASH NVM is not currently included in this
peripheral. It is hosted in the SOC and must be read-only
to provide an accurate model.

Steffen Görtz (2):
  arm: Add NRF51 SOC non-volatile memory controller
  tests: Add bbc:microbit / nRF51 test suite

 hw/nvram/Makefile.objs       |   1 +
 hw/nvram/nrf51_nvm.c         | 401 +++++++++++++++++++++++++++++++++++
 include/hw/arm/nrf51_soc.h   |   2 +-
 include/hw/nvram/nrf51_nvm.h |  56 +++++
 tests/Makefile.include       |   2 +
 tests/microbit-test.c        | 118 +++++++++++
 6 files changed, 579 insertions(+), 1 deletion(-)
 create mode 100644 hw/nvram/nrf51_nvm.c
 create mode 100644 include/hw/nvram/nrf51_nvm.h
 create mode 100644 tests/microbit-test.c

-- 
2.18.0

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

end of thread, other threads:[~2018-07-18 15:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-12 10:12 [Qemu-devel] [RFC v3 0/2] Add NRF51 SOC non-volatile memory controller Steffen Görtz
2018-07-12 10:12 ` [Qemu-devel] [RFC v3 1/2] arm: " Steffen Görtz
2018-07-18 14:18   ` Stefan Hajnoczi
2018-07-12 10:12 ` [Qemu-devel] [RFC v3 2/2] tests: Add bbc:microbit / nRF51 test suite Steffen Görtz
2018-07-18 14:19   ` Stefan Hajnoczi
2018-07-18 13:20 ` [Qemu-devel] [RFC v3 0/2] Add NRF51 SOC non-volatile memory controller Stefan Hajnoczi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).