[linux-yocto] [kernel-cache][PATCH 2/2] qemuarma15: Add QEMU Arm Cortex-A15 virtual machine

Jon Mason jdmason at kudzu.us
Fri Jan 4 13:38:59 PST 2019


Add support for a QEMU Arm Cortex-A15 virtual machine

Signed-off-by: Jon Mason <jdmason at kudzu.us>
---
 bsp/qemuarma15/qemuarma15-standard.scc | 12 +++++++++++
 bsp/qemuarma15/qemuarma15.cfg          | 29 ++++++++++++++++++++++++++
 bsp/qemuarma15/qemuarma15.scc          |  1 +
 3 files changed, 42 insertions(+)
 create mode 100644 bsp/qemuarma15/qemuarma15-standard.scc
 create mode 100644 bsp/qemuarma15/qemuarma15.cfg
 create mode 100644 bsp/qemuarma15/qemuarma15.scc

diff --git a/bsp/qemuarma15/qemuarma15-standard.scc b/bsp/qemuarma15/qemuarma15-standard.scc
new file mode 100644
index 00000000..4ab774f7
--- /dev/null
+++ b/bsp/qemuarma15/qemuarma15-standard.scc
@@ -0,0 +1,12 @@
+define KMACHINE qemuarma15
+define KTYPE standard
+define KARCH arm
+
+include ktypes/standard/standard.scc
+branch qemuarma15
+
+include cfg/virtio.scc
+include cfg/dmaengine.scc
+include cfg/timer/rtc.scc
+include qemuarma15.scc
+
diff --git a/bsp/qemuarma15/qemuarma15.cfg b/bsp/qemuarma15/qemuarma15.cfg
new file mode 100644
index 00000000..feda7904
--- /dev/null
+++ b/bsp/qemuarma15/qemuarma15.cfg
@@ -0,0 +1,29 @@
+CONFIG_ARCH_VIRT=y
+CONFIG_SMP=y
+CONFIG_NR_CPUS=8
+CONFIG_CPU_IDLE=y
+CONFIG_ARM_CPUIDLE=y
+CONFIG_VFP=y
+CONFIG_VFPv3=y
+CONFIG_NEON=y
+CONFIG_KERNEL_MODE_NEON=y
+CONFIG_SERIAL_AMBA_PL011=y
+CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
+CONFIG_HW_RANDOM=y
+CONFIG_SPI=y
+CONFIG_SPI_PL022=y
+CONFIG_ARM_SP805_WATCHDOG=y
+CONFIG_RTC_DRV_PL031=y
+CONFIG_PL330_DMA=y
+CONFIG_ARM_TIMER_SP804=y
+CONFIG_ARM_CRYPTO=y
+CONFIG_CRYPTO_SHA1_ARM_NEON=y
+CONFIG_CRYPTO_SHA1_ARM_CE=y
+CONFIG_CRYPTO_SHA2_ARM_CE=y
+CONFIG_CRYPTO_SHA512_ARM=y
+CONFIG_CRYPTO_AES_ARM=y
+CONFIG_CRYPTO_AES_ARM_BS=y
+CONFIG_CRYPTO_AES_ARM_CE=y
+CONFIG_CRYPTO_GHASH_ARM_CE=y
+CONFIG_CRYPTO_CRC32_ARM_CE=y
+CONFIG_CRYPTO_CHACHA20_NEON=y
diff --git a/bsp/qemuarma15/qemuarma15.scc b/bsp/qemuarma15/qemuarma15.scc
new file mode 100644
index 00000000..a7877aab
--- /dev/null
+++ b/bsp/qemuarma15/qemuarma15.scc
@@ -0,0 +1 @@
+kconf hardware qemuarma15.cfg
-- 
2.17.2



More information about the linux-yocto mailing list