qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Subbaraya Sundeep <sundeep.lkml@gmail.com>
To: qemu-devel@nongnu.org, qemu-arm@nongnu.org
Cc: peter.maydell@linaro.org, crosthwaite.peter@gmail.com,
	alistair23@gmail.com, Subbaraya Sundeep <sundeep.lkml@gmail.com>
Subject: [Qemu-devel] [Qemu-devel RFC v3 0/5] Add support for Smartfusion2 SoC
Date: Fri, 28 Apr 2017 22:21:48 +0530	[thread overview]
Message-ID: <1493398313-6673-1-git-send-email-sundeep.lkml@gmail.com> (raw)

Hi Qemu-devel,

I am trying to add Smartfusion2 SoC.
SoC is from Microsemi and System on Module(SOM)
board is from Emcraft systems. Smartfusion2 has hardened
Microcontroller(Cortex-M3)based Sub System and FPGA fabric.
At the moment only system timer, sysreg and SPI
controller are modelled.

Testing:
./arm-softmmu/qemu-system-arm -M smartfusion2-som -serial mon:stdio \
-kernel u-boot.bin -display none -drive file=spi.bin,if=mtd,format=raw

U-boot is from Emcraft with modified SPI driver not to use PDMA.
Linux is 4.5 linux with Smartfusion2 SoC dts and clocksource 
driver added by myself @
https://github.com/Subbaraya-Sundeep/linux.git

Baremetal elfs from Microsemi Softconsole IDE are also working.

Changes from v2:
    Added SoC file and board file.
Changes from v1:
    Added SPI controller.

Thanks,
Sundeep


Subbaraya Sundeep (5):
  msf2: Add Smartfusion2 System timer
  msf2: Microsemi Smartfusion2 System Register block.
  msf2: Add Smartfusion2 SPI controller
  msf2: Add Smartfusion2 SoC.
  msf2: Add Emcraft's Smartfusion2 SOM kit.

 default-configs/arm-softmmu.mak |   1 +
 hw/arm/Makefile.objs            |   3 +-
 hw/arm/msf2_soc.c               | 194 +++++++++++++++++++++
 hw/arm/msf2_som.c               |  68 ++++++++
 hw/misc/Makefile.objs           |   1 +
 hw/misc/msf2_sysreg.c           | 127 ++++++++++++++
 hw/ssi/Makefile.objs            |   1 +
 hw/ssi/msf2_spi.c               | 373 ++++++++++++++++++++++++++++++++++++++++
 hw/timer/Makefile.objs          |   1 +
 hw/timer/msf2_timer.c           | 250 +++++++++++++++++++++++++++
 include/hw/arm/msf2_soc.h       |  62 +++++++
 include/hw/misc/msf2_sysreg.h   |  77 +++++++++
 include/hw/ssi/msf2_spi.h       | 102 +++++++++++
 include/hw/timer/msf2_timer.h   |  82 +++++++++
 14 files changed, 1341 insertions(+), 1 deletion(-)
 create mode 100644 hw/arm/msf2_soc.c
 create mode 100644 hw/arm/msf2_som.c
 create mode 100644 hw/misc/msf2_sysreg.c
 create mode 100644 hw/ssi/msf2_spi.c
 create mode 100644 hw/timer/msf2_timer.c
 create mode 100644 include/hw/arm/msf2_soc.h
 create mode 100644 include/hw/misc/msf2_sysreg.h
 create mode 100644 include/hw/ssi/msf2_spi.h
 create mode 100644 include/hw/timer/msf2_timer.h

-- 
2.5.0

             reply	other threads:[~2017-04-28 16:52 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-28 16:51 Subbaraya Sundeep [this message]
2017-04-28 16:51 ` [Qemu-devel] [Qemu-devel RFC v3 1/5] msf2: Add Smartfusion2 System timer Subbaraya Sundeep
2017-05-02 21:55   ` Alistair Francis
2017-05-03  5:11     ` sundeep subbaraya
2017-05-03 23:32       ` Alistair Francis
2017-04-28 16:51 ` [Qemu-devel] [Qemu-devel RFC v3 2/5] msf2: Microsemi Smartfusion2 System Register block Subbaraya Sundeep
2017-04-28 16:51 ` [Qemu-devel] [Qemu-devel RFC v3 3/5] msf2: Add Smartfusion2 SPI controller Subbaraya Sundeep
2017-05-02  5:02   ` sundeep subbaraya
2017-05-03 23:39   ` Alistair Francis
2017-04-28 16:51 ` [Qemu-devel] [Qemu-devel RFC v3 4/5] msf2: Add Smartfusion2 SoC Subbaraya Sundeep
2017-05-04 22:21   ` Alistair Francis
2017-05-05 16:14     ` sundeep subbaraya
2017-05-05 23:53       ` Alistair Francis
2017-05-06  8:49         ` sundeep subbaraya
2017-04-28 16:51 ` [Qemu-devel] [Qemu-devel RFC v3 5/5] msf2: Add Emcraft's Smartfusion2 SOM kit Subbaraya Sundeep
2017-04-28 17:20 ` [Qemu-devel] [Qemu-devel RFC v3 0/5] Add support for Smartfusion2 SoC no-reply

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=1493398313-6673-1-git-send-email-sundeep.lkml@gmail.com \
    --to=sundeep.lkml@gmail.com \
    --cc=alistair23@gmail.com \
    --cc=crosthwaite.peter@gmail.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-arm@nongnu.org \
    --cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).