Re: [Qemu-devel] [PATCH 1/2] arm: Add Nordic Semiconductor nRF51 SoC

2018-05-08 Thread Stefan Hajnoczi
On Thu, May 03, 2018 at 06:35:31PM +0930, Joel Stanley wrote: > diff --git a/hw/arm/nrf51_soc.c b/hw/arm/nrf51_soc.c > new file mode 100644 > index ..a2e3d6f013f0 > --- /dev/null > +++ b/hw/arm/nrf51_soc.c > @@ -0,0 +1,101 @@ > +/* > + * Nordic Semiconductor nRF51 SoC > + * > + * Copyri

Re: [Qemu-devel] [PATCH 1/2] arm: Add Nordic Semiconductor nRF51 SoC

2018-05-08 Thread Stefan Hajnoczi
On Thu, May 03, 2018 at 10:17:51AM +0100, Peter Maydell wrote: > On 3 May 2018 at 10:05, Joel Stanley wrote: > I'm a bit reluctant to take these patches until we have an > actual cortex-m0 model, because anything we take into QEMU > master is then something we have to support. My rule of thumb > i

Re: [Qemu-devel] [PATCH 1/2] arm: Add Nordic Semiconductor nRF51 SoC

2018-05-03 Thread Peter Maydell
On 3 May 2018 at 10:05, Joel Stanley wrote: > The nRF51 is a Cortex-M0 microcontroller with an on-board radio module, > plus other common ARM SoC peripherals. > > http://infocenter.nordicsemi.com/pdf/nRF51_RM_v3.0.pdf > > This defines a basic model of the CPU and memory, with no peripherals > imp

[Qemu-devel] [PATCH 1/2] arm: Add Nordic Semiconductor nRF51 SoC

2018-05-03 Thread Joel Stanley
The nRF51 is a Cortex-M0 microcontroller with an on-board radio module, plus other common ARM SoC peripherals. http://infocenter.nordicsemi.com/pdf/nRF51_RM_v3.0.pdf This defines a basic model of the CPU and memory, with no peripherals implemented at this stage. Signed-off-by: Joel Stanley ---