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

2019-01-04 Thread Jon Mason
Add support for a QEMU Arm Cortex-A15 virtual machine

Signed-off-by: Jon Mason 
---
 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 ..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 ..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 ..a7877aab
--- /dev/null
+++ b/bsp/qemuarma15/qemuarma15.scc
@@ -0,0 +1 @@
+kconf hardware qemuarma15.cfg
-- 
2.17.2

-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


[linux-yocto] [kernel-cache][PATCH 1/2] qemuarma9: remove unused qemuarma9 configs

2019-01-04 Thread Jon Mason
Nothing in the Yocto Project is currently using the qemuarma9 configs,
and this appears to be cruft.  Also, there are kernel compile warnings
when attempting to compile on v4.18 kernels.  Instead of fixing it,
simply remove this to clean up the repo.

Signed-off-by: Jon Mason 
---
 bsp/qemuarma9/hardware.cfg   |  8 ---
 bsp/qemuarma9/qemuarma9-gfx.cfg  |  7 ---
 bsp/qemuarma9/qemuarma9-standard.scc |  9 ---
 bsp/qemuarma9/qemuarma9.cfg  | 88 
 bsp/qemuarma9/qemuarma9.scc  |  2 -
 5 files changed, 114 deletions(-)
 delete mode 100644 bsp/qemuarma9/hardware.cfg
 delete mode 100644 bsp/qemuarma9/qemuarma9-gfx.cfg
 delete mode 100644 bsp/qemuarma9/qemuarma9-standard.scc
 delete mode 100644 bsp/qemuarma9/qemuarma9.cfg
 delete mode 100644 bsp/qemuarma9/qemuarma9.scc

diff --git a/bsp/qemuarma9/hardware.cfg b/bsp/qemuarma9/hardware.cfg
deleted file mode 100644
index 8b922c66..
--- a/bsp/qemuarma9/hardware.cfg
+++ /dev/null
@@ -1,8 +0,0 @@
-CONFIG_CC_OPTIMIZE_FOR_SIZE
-CONFIG_CRAMFS
-CONFIG_HIGH_RES_TIMERS
-CONFIG_JFFS2_FS
-CONFIG_NO_HZ
-CONFIG_SERIAL_8250
-CONFIG_SERIAL_AMBA_PL011
-CONFIG_SERIAL_AMBA_PL011_CONSOLE
diff --git a/bsp/qemuarma9/qemuarma9-gfx.cfg b/bsp/qemuarma9/qemuarma9-gfx.cfg
deleted file mode 100644
index f0bfcd79..
--- a/bsp/qemuarma9/qemuarma9-gfx.cfg
+++ /dev/null
@@ -1,7 +0,0 @@
-CONFIG_FB=y
-CONFIG_FB_ARMCLCD=y
-CONFIG_FRAMEBUFFER_CONSOLE=y
-
-CONFIG_INPUT_TABLET=y
-CONFIG_HID_WACOM=y
-CONFIG_INPUT_MISC=y
diff --git a/bsp/qemuarma9/qemuarma9-standard.scc 
b/bsp/qemuarma9/qemuarma9-standard.scc
deleted file mode 100644
index c71fe1c5..
--- a/bsp/qemuarma9/qemuarma9-standard.scc
+++ /dev/null
@@ -1,9 +0,0 @@
-define KMACHINE qemuarma9
-define KTYPE standard
-define KARCH arm
-
-include ktypes/standard/standard.scc
-branch arm-versatile-926ejs
-
-include qemuarma9.scc
-
diff --git a/bsp/qemuarma9/qemuarma9.cfg b/bsp/qemuarma9/qemuarma9.cfg
deleted file mode 100644
index c8a2aa33..
--- a/bsp/qemuarma9/qemuarma9.cfg
+++ /dev/null
@@ -1,88 +0,0 @@
-CONFIG_ARCH_VEXPRESS=y
-
-#
-# Versatile Express platform type
-#
-CONFIG_ARCH_VEXPRESS_CA9X4=y
-CONFIG_PLAT_VERSATILE=y
-CONFIG_ARM_TIMER_SP804=y
-
-#
-# Bus support
-#
-CONFIG_ARM_AMBA=y
-
-#
-# Kernel Features
-#
-CONFIG_SMP=y
-CONFIG_NR_CPUS=4
-
-#
-# Floating point emulation
-#
-CONFIG_VFP=y
-CONFIG_VFPv3=y
-CONFIG_NEON=y
-
-CONFIG_SMSC911X=y
-
-#
-# Non-8250 serial port support
-#
-CONFIG_SERIAL_AMBA_PL011=y
-CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
-
-CONFIG_MTD=y
-CONFIG_MTD_CMDLINE_PARTS=y
-
-#
-# User Modules And Translation Layers
-#
-CONFIG_MTD_BLKDEVS=y
-CONFIG_MTD_BLOCK=y
-#
-# RAM/ROM/Flash chip drivers
-#
-CONFIG_MTD_CFI=y
-CONFIG_MTD_CFI_INTELEXT=y
-
-CONFIG_RTC_HCTOSYS=y
-CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
-
-#
-# on-CPU RTC drivers
-#
-CONFIG_RTC_CLASS=y
-CONFIG_RTC_DRV_PL031=y
-
-#
-# Watchdog Device Drivers
-#
-CONFIG_ARM_SP805_WATCHDOG=y
-CONFIG_WATCHDOG_NOWAYOUT=y
-
-CONFIG_HAVE_ARM_TWD=y
-CONFIG_LOCAL_TIMERS=y
-
-CONFIG_HIGHMEM=y
-
-CONFIG_SCSI=y
-CONFIG_BLK_DEV_SD=y
-
-CONFIG_USB=y
-CONFIG_USB_STORAGE=y
-
-CONFIG_HOTPLUG_CPU=y
-
-CONFIG_I2C=y
-CONFIG_I2C_VERSATILE=y
-
-# This is for the keyboard / mouse
-CONFIG_SERIO_AMBAKMI=y
-
-# SD card interface
-CONFIG_MMC=y
-CONFIG_MMC_BLOCK=y
-CONFIG_MMC_ARMMMCI=y
-
diff --git a/bsp/qemuarma9/qemuarma9.scc b/bsp/qemuarma9/qemuarma9.scc
deleted file mode 100644
index cd135d13..
--- a/bsp/qemuarma9/qemuarma9.scc
+++ /dev/null
@@ -1,2 +0,0 @@
-kconf hardware qemuarma9.cfg
-kconf hardware qemuarma9-gfx.cfg
-- 
2.17.2

-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto


[linux-yocto] [kernel-cache][PATCH 0/2] qemuarm: update Cortex-A files

2019-01-04 Thread Jon Mason
In preparation for migrating qemuarm from the ARMv5 emulated platform to
a Cortex-A based one, these patches add a Cortex-A15 platform and remove
an unused Cortex-A9 one.

Jon Mason (2):
  qemuarma9: remove unused qemuarma9 configs
  qemuarma15: Add QEMU Arm Cortex-A15 virtual machine

 bsp/qemuarma15/qemuarma15-standard.scc | 12 
 bsp/qemuarma15/qemuarma15.cfg  | 29 +
 bsp/qemuarma15/qemuarma15.scc  |  1 +
 bsp/qemuarma9/hardware.cfg |  8 ---
 bsp/qemuarma9/qemuarma9-gfx.cfg|  7 --
 bsp/qemuarma9/qemuarma9-standard.scc   |  9 ---
 bsp/qemuarma9/qemuarma9.cfg| 88 --
 bsp/qemuarma9/qemuarma9.scc|  2 -
 8 files changed, 42 insertions(+), 114 deletions(-)
 create mode 100644 bsp/qemuarma15/qemuarma15-standard.scc
 create mode 100644 bsp/qemuarma15/qemuarma15.cfg
 create mode 100644 bsp/qemuarma15/qemuarma15.scc
 delete mode 100644 bsp/qemuarma9/hardware.cfg
 delete mode 100644 bsp/qemuarma9/qemuarma9-gfx.cfg
 delete mode 100644 bsp/qemuarma9/qemuarma9-standard.scc
 delete mode 100644 bsp/qemuarma9/qemuarma9.cfg
 delete mode 100644 bsp/qemuarma9/qemuarma9.scc

-- 
2.17.2

-- 
___
linux-yocto mailing list
linux-yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/linux-yocto