Add the configuration fragments needed to build the 4.1 standard and
preempt-rt linux kernel for the Axxia 5600 platform, based on the arm
64-bit architecture.

Signed-off-by: Cristian Bercaru <cristian.berc...@windriver.com>
---
 bsp/axxiaarm64/axxiaarm64-preempt-rt.scc |    8 +
 bsp/axxiaarm64/axxiaarm64-standard.scc   |    8 +
 bsp/axxiaarm64/axxiaarm64.cfg            |  239 ++++++++++++++++++++++++++++++
 bsp/axxiaarm64/axxiaarm64.scc            |    6 +
 bsp/axxiaarm64/hardware.kcf              |    1 +
 bsp/axxiaarm64/kvm.cfg                   |   18 +++
 bsp/axxiaarm64/kvm.scc                   |    4 +
 7 files changed, 284 insertions(+)
 create mode 100644 bsp/axxiaarm64/axxiaarm64-preempt-rt.scc
 create mode 100644 bsp/axxiaarm64/axxiaarm64-standard.scc
 create mode 100644 bsp/axxiaarm64/axxiaarm64.cfg
 create mode 100644 bsp/axxiaarm64/axxiaarm64.scc
 create mode 100644 bsp/axxiaarm64/hardware.kcf
 create mode 100644 bsp/axxiaarm64/kvm.cfg
 create mode 100644 bsp/axxiaarm64/kvm.scc

diff --git a/bsp/axxiaarm64/axxiaarm64-preempt-rt.scc 
b/bsp/axxiaarm64/axxiaarm64-preempt-rt.scc
new file mode 100644
index 0000000..8f3b075
--- /dev/null
+++ b/bsp/axxiaarm64/axxiaarm64-preempt-rt.scc
@@ -0,0 +1,8 @@
+define KMACHINE axxiaarm64
+define KTYPE preempt-rt
+define KARCH arm64
+
+include ktypes/preempt-rt
+branch axxia
+
+include axxiaarm64.scc
diff --git a/bsp/axxiaarm64/axxiaarm64-standard.scc 
b/bsp/axxiaarm64/axxiaarm64-standard.scc
new file mode 100644
index 0000000..d9e57fe
--- /dev/null
+++ b/bsp/axxiaarm64/axxiaarm64-standard.scc
@@ -0,0 +1,8 @@
+define KMACHINE axxiaarm64
+define KTYPE standard
+define KARCH arm64
+
+include ktypes/standard
+branch axxia
+
+include axxiaarm64.scc
diff --git a/bsp/axxiaarm64/axxiaarm64.cfg b/bsp/axxiaarm64/axxiaarm64.cfg
new file mode 100644
index 0000000..4cabaf0
--- /dev/null
+++ b/bsp/axxiaarm64/axxiaarm64.cfg
@@ -0,0 +1,239 @@
+#.........................................................................
+#                                WARNING
+#
+# This file is a kernel configuration fragment, and not a full kernel
+# configuration file.  The final kernel configuration is made up of
+# an assembly of processed fragments, each of which is designed to
+# capture a specific part of the final configuration (e.g. platform
+# configuration, feature configuration, and board specific hardware
+# configuration).  For more information on kernel configuration, please
+# consult the product documentation.
+#
+#.........................................................................
+
+#
+# General setup
+#
+# CONFIG_FHANDLE is not set
+CONFIG_AUDIT=y
+
+#
+# Timers subsystem
+#
+CONFIG_NO_HZ_IDLE=y
+
+#
+# Platform selection
+#
+CONFIG_ARCH_AXXIA=y
+CONFIG_ARCH_THUNDER=y
+CONFIG_ARCH_VEXPRESS=y
+CONFIG_ARCH_XGENE=y
+
+#
+# Processor Features
+#
+CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
+CONFIG_ARCH_DMA_ADDR_T_64BIT=y
+CONFIG_ARM_ARCH_TIMER=y
+
+#
+# Boot options
+#
+CONFIG_CMDLINE="console=ttyAMA0"
+
+#
+# Bus support
+#
+CONFIG_ARM_AMBA=y
+CONFIG_PCI=y
+CONFIG_PCI_DOMAINS=y
+CONFIG_PCI_SYSCALL=y
+CONFIG_PCI_MSI=y
+
+#
+# Kernel Features
+#
+CONFIG_SMP=y
+
+#
+# Generic Driver Options
+#
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_FW_LOADER=y
+CONFIG_DMA_CMA=y
+
+CONFIG_MTD=y
+CONFIG_MTD_OF_PARTS=y
+
+#
+# Network testing
+#
+# CONFIG_WIRELESS is not set
+
+#
+# Generic Driver Options
+#
+CONFIG_REGMAP=y
+CONFIG_REGMAP_MMIO=y
+
+#
+# Bus devices
+#
+CONFIG_ARM_CCI=y
+
+#
+# LPDDR & LPDDR2 PCM memory drivers
+#
+CONFIG_MTD_M25P80=y
+CONFIG_MTD_SPI_NOR=y
+CONFIG_DTC=y
+CONFIG_OF=y
+
+#
+# Device Tree and Open Firmware support
+#
+CONFIG_BLK_DEV_LOOP=y
+CONFIG_BLK_DEV_RAM_SIZE=35000
+
+#
+# Misc devices
+#
+CONFIG_LSI_MTC=y
+CONFIG_ATA=y
+
+#
+# SCSI device support
+#
+# CONFIG_SCSI_PROC_FS is not set
+
+#
+# SCSI support type (disk, tape, CD-ROM)
+#
+# CONFIG_SCSI_LOWLEVEL is not set
+
+#
+# Controllers with non-SFF native interface
+#
+CONFIG_SATA_AHCI=y
+CONFIG_SATA_AHCI_PLATFORM=y
+CONFIG_AHCI_XGENE=y
+
+#
+# Hardware I/O ports
+#
+CONFIG_SERIO_AMBAKMI=y
+
+#
+# Serial drivers
+#
+CONFIG_SERIAL_8250=y
+CONFIG_SERIAL_8250_CONSOLE=y
+
+#
+# Non-8250 serial port support
+#
+CONFIG_SERIAL_AMBA_PL011=y
+CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
+CONFIG_SERIAL_OF_PLATFORM=y
+CONFIG_HW_RANDOM=y
+CONFIG_HW_RANDOM_AXXIA=y
+# CONFIG_HW_RANDOM_XGENE is not set
+CONFIG_I2C=y
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_MUX=y
+CONFIG_I2C_AXXIA=y
+
+CONFIG_SPI=y
+CONFIG_SPI_PL022=y
+CONFIG_SPI_SPIDEV=y
+
+#
+# Memory mapped GPIO drivers:
+#
+CONFIG_GPIOLIB=y
+CONFIG_GPIO_SYSFS=y
+CONFIG_GPIO_PL061=y
+CONFIG_GPIO_GENERIC_PLATFORM=y
+CONFIG_GPIO_XGENE=y
+
+#
+# Distributed Switch Architecture drivers
+#
+CONFIG_ETHERNET=y
+CONFIG_NET_XGENE=y
+# CONFIG_NET_LSI_FEMAC is not set
+CONFIG_SMC91X=y
+CONFIG_SMSC911X=y
+
+#
+# MII PHY device drivers
+#
+CONFIG_MICREL_PHY=y
+CONFIG_FIXED_PHY=y
+CONFIG_MICREL_KS8995MA=y
+# CONFIG_PPP is not set
+# CONFIG_SLIP is not set
+
+#
+# Hardware I/O ports
+#
+# CONFIG_SERIO_SERPORT is not set
+
+#
+# Character devices
+#
+CONFIG_LEGACY_PTY_COUNT=16
+
+#
+# USB Network Adapters
+#
+# CONFIG_WLAN is not set
+
+#
+# USB GPIO expanders
+#
+CONFIG_POWER_RESET_AXXIA=y
+# CONFIG_HWMON is not set
+# CONFIG_WATCHDOG is not set
+
+#
+# Multifunction device drivers
+#
+CONFIG_MFD_SYSCON=y
+CONFIG_REGULATOR=y
+CONFIG_REGULATOR_FIXED_VOLTAGE=y
+
+# CONFIG_USB_DWC3_PCI is not set
+CONFIG_USB_DWC3=y
+CONFIG_USB_ULPI=y
+CONFIG_MMC=y
+
+#
+# MMC/SD/SDIO Host Controller Drivers
+#
+CONFIG_MMC_ARMMMCI=y
+CONFIG_MMC_SDHCI=y
+CONFIG_MMC_SDHCI_PLTFM=y
+CONFIG_MMC_SPI=y
+CONFIG_RTC_CLASS=y
+
+#
+# Platform RTC drivers
+#
+CONFIG_RTC_DRV_EFI=y
+
+#
+# on-CPU RTC drivers
+#
+CONFIG_RTC_DRV_XGENE=y
+
+CONFIG_DMADEVICES=y
+# CONFIG_VIRTIO_PCI is not set
+# CONFIG_IOMMU_SUPPORT is not set
+
+#
+# PHY Subsystem
+#
+CONFIG_GENERIC_PHY=y
+CONFIG_PHY_XGENE=y
diff --git a/bsp/axxiaarm64/axxiaarm64.scc b/bsp/axxiaarm64/axxiaarm64.scc
new file mode 100644
index 0000000..effc509
--- /dev/null
+++ b/bsp/axxiaarm64/axxiaarm64.scc
@@ -0,0 +1,6 @@
+include features/usb/xhci-hcd.scc
+include cfg/usb-mass-storage.scc
+include cfg/virtio.scc
+include kvm.scc
+
+kconf hardware axxiaarm64.cfg
diff --git a/bsp/axxiaarm64/hardware.kcf b/bsp/axxiaarm64/hardware.kcf
new file mode 100644
index 0000000..6aa8119
--- /dev/null
+++ b/bsp/axxiaarm64/hardware.kcf
@@ -0,0 +1 @@
+arch/arm/mach-axxia/Kconfig
diff --git a/bsp/axxiaarm64/kvm.cfg b/bsp/axxiaarm64/kvm.cfg
new file mode 100644
index 0000000..e967e77
--- /dev/null
+++ b/bsp/axxiaarm64/kvm.cfg
@@ -0,0 +1,18 @@
+#.........................................................................
+#                                WARNING
+#
+# This file is a kernel configuration fragment, and not a full kernel
+# configuration file.  The final kernel configuration is made up of
+# an assembly of processed fragments, each of which is designed to
+# capture a specific part of the final configuration (e.g. platform
+# configuration, feature configuration, and board specific hardware
+# configuration).  For more information on kernel configuration, please
+# consult the product documentation.
+#
+#.........................................................................
+
+CONFIG_VIRTUALIZATION=y
+CONFIG_KVM=y
+CONFIG_KVM_ARM_HOST=y
+CONFIG_KVM_ARM_MAX_VCPUS=4
+CONFIG_KVM_MMIO=y
diff --git a/bsp/axxiaarm64/kvm.scc b/bsp/axxiaarm64/kvm.scc
new file mode 100644
index 0000000..c867555
--- /dev/null
+++ b/bsp/axxiaarm64/kvm.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Enable KVM host support"
+define KFEATURE_COMPATIBILITY all
+
+kconf non-hardware kvm.cfg
-- 
1.7.9.5

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

Reply via email to