[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-arm] [Qemu-devel RFC v3 0/5] Add support for Smartfusion2 SoC
From: |
Subbaraya Sundeep |
Subject: |
[Qemu-arm] [Qemu-devel RFC v3 0/5] Add support for Smartfusion2 SoC |
Date: |
Fri, 28 Apr 2017 22:21:48 +0530 |
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
- [Qemu-arm] [Qemu-devel RFC v3 0/5] Add support for Smartfusion2 SoC,
Subbaraya Sundeep <=
- [Qemu-arm] [Qemu-devel RFC v3 1/5] msf2: Add Smartfusion2 System timer, Subbaraya Sundeep, 2017/04/28
- [Qemu-arm] [Qemu-devel RFC v3 2/5] msf2: Microsemi Smartfusion2 System Register block., Subbaraya Sundeep, 2017/04/28
- [Qemu-arm] [Qemu-devel RFC v3 3/5] msf2: Add Smartfusion2 SPI controller, Subbaraya Sundeep, 2017/04/28
- [Qemu-arm] [Qemu-devel RFC v3 5/5] msf2: Add Emcraft's Smartfusion2 SOM kit., Subbaraya Sundeep, 2017/04/28
- [Qemu-arm] [Qemu-devel RFC v3 4/5] msf2: Add Smartfusion2 SoC., Subbaraya Sundeep, 2017/04/28
- Re: [Qemu-arm] [Qemu-devel] [Qemu-devel RFC v3 0/5] Add support for Smartfusion2 SoC, no-reply, 2017/04/28