summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Dragomir <Daniel.Dragomir@windriver.com>2021-04-21 21:28:02 +0300
committerBruce Ashfield <bruce.ashfield@gmail.com>2021-04-22 22:50:07 -0400
commit5150ac3e13079895158bb337770942d46d7420e8 (patch)
treeaf368f7a16c8ea9dc5c43ba6901ad45129070a35
parent715cee8d684be7be2c3084582bc33a403a9a0f85 (diff)
downloadyocto-kernel-cache-yocto-4.19.tar.gz
yocto-kernel-cache-yocto-4.19.tar.bz2
yocto-kernel-cache-yocto-4.19.zip
bsp/axxiaarm64: Add initial fragmentsyocto-4.19
Fragments were ported from yocto-4.12 branch and adapted for kernel 4.19. Signed-off-by: Daniel Dragomir <Daniel.Dragomir@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--bsp/axxiaarm64/axxiaarm64-preempt-rt.scc8
-rw-r--r--bsp/axxiaarm64/axxiaarm64-standard.scc8
-rw-r--r--bsp/axxiaarm64/axxiaarm64.cfg254
-rw-r--r--bsp/axxiaarm64/axxiaarm64.scc8
-rw-r--r--bsp/axxiaarm64/edac.cfg21
-rw-r--r--bsp/axxiaarm64/edac.scc4
-rw-r--r--bsp/axxiaarm64/hardware.kcf1
-rw-r--r--bsp/axxiaarm64/kvm.cfg17
-rw-r--r--bsp/axxiaarm64/kvm.scc4
-rw-r--r--bsp/axxiaarm64/rapidio.cfg27
-rw-r--r--bsp/axxiaarm64/rapidio.scc4
11 files changed, 356 insertions, 0 deletions
diff --git a/bsp/axxiaarm64/axxiaarm64-preempt-rt.scc b/bsp/axxiaarm64/axxiaarm64-preempt-rt.scc
new file mode 100644
index 00000000..8f3b0754
--- /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 00000000..d9e57fea
--- /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 00000000..0d1c493b
--- /dev/null
+++ b/bsp/axxiaarm64/axxiaarm64.cfg
@@ -0,0 +1,254 @@
+#.........................................................................
+# 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_DMA_ADDR_T_64BIT=y
+CONFIG_ARM_ARCH_TIMER=y
+CONFIG_KEXEC=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
+#
+
+#
+# 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
+
+#
+# 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_AXXIA_MTC=y
+CONFIG_ATA=y
+CONFIG_AXXIA_NCR=y
+CONFIG_ARCH_AXXIA_NCR_RESET_CHECK=y
+CONFIG_AXXIA_OEM=y
+CONFIG_AXXIA_PEI=y
+CONFIG_AXXIA_FAULT=y
+CONFIG_AXXIA_MDIO=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
+
+#
+# Character devices
+#
+CONFIG_LEGACY_PTYS=y
+CONFIG_LEGACY_PTY_COUNT=16
+
+#
+# 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_HW_RANDOM_VIRTIO 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_AXXIA=y
+CONFIG_GPIO_GENERIC_PLATFORM=y
+CONFIG_GPIO_XGENE=y
+
+#
+# Distributed Switch Architecture drivers
+#
+CONFIG_ETHERNET=y
+CONFIG_NET_XGENE=y
+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
+
+#
+# USB Network Adapters
+#
+# CONFIG_WLAN is not set
+
+#
+# USB GPIO expanders
+#
+CONFIG_POWER_RESET_AXXIA=y
+CONFIG_POWER_RESET_AXXIA_DDR_RETENTION=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
+# CONFIG_RTC_HCTOSYS is not set
+
+#
+# Platform RTC drivers
+#
+CONFIG_RTC_DRV_EFI=y
+
+#
+# on-CPU RTC drivers
+#
+CONFIG_RTC_DRV_XGENE=y
+
+CONFIG_DMADEVICES=y
+CONFIG_AXXIA_DMA=y
+# CONFIG_IOMMU_SUPPORT is not set
+
+#
+# PHY Subsystem
+#
+CONFIG_GENERIC_PHY=y
+CONFIG_PHY_XGENE=y
+
+#
+# Performance monitor support
+#
+CONFIG_ARM_CCN_PMU=y
+
+#
+# Pseudo filesystems
+#
+CONFIG_VMFS_FS=y
+CONFIG_VMFS_DEV_BASE=0x8021010000
+CONFIG_VMFS_IRQ=0
diff --git a/bsp/axxiaarm64/axxiaarm64.scc b/bsp/axxiaarm64/axxiaarm64.scc
new file mode 100644
index 00000000..1a3b0de7
--- /dev/null
+++ b/bsp/axxiaarm64/axxiaarm64.scc
@@ -0,0 +1,8 @@
+include features/usb/xhci-hcd.scc
+include cfg/usb-mass-storage.scc
+include cfg/virtio.scc
+include kvm.scc
+include rapidio.scc
+include edac.scc
+
+kconf hardware axxiaarm64.cfg
diff --git a/bsp/axxiaarm64/edac.cfg b/bsp/axxiaarm64/edac.cfg
new file mode 100644
index 00000000..279cebcb
--- /dev/null
+++ b/bsp/axxiaarm64/edac.cfg
@@ -0,0 +1,21 @@
+#.........................................................................
+# 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_EDAC=y
+# CONFIG_EDAC_DEBUG is not set
+CONFIG_EDAC_AXXIA_SYSMEM_5600=y
+CONFIG_EDAC_AXXIA_CMEM_5600=y
+CONFIG_EDAC_AXXIA_L3_5600=y
+CONFIG_EDAC_AXXIA_L2_CPU_5600=y
+
+# CONFIG_AXXIA_SMMON is not set
diff --git a/bsp/axxiaarm64/edac.scc b/bsp/axxiaarm64/edac.scc
new file mode 100644
index 00000000..d644aa32
--- /dev/null
+++ b/bsp/axxiaarm64/edac.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Enable EDAC driver support for System Memory, L3 cache, L2 cache and CPU"
+define KFEATURE_COMPATIBILITY all
+
+kconf hardware edac.cfg
diff --git a/bsp/axxiaarm64/hardware.kcf b/bsp/axxiaarm64/hardware.kcf
new file mode 100644
index 00000000..6aa8119d
--- /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 00000000..1473a227
--- /dev/null
+++ b/bsp/axxiaarm64/kvm.cfg
@@ -0,0 +1,17 @@
+#.........................................................................
+# 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_MMIO=y
diff --git a/bsp/axxiaarm64/kvm.scc b/bsp/axxiaarm64/kvm.scc
new file mode 100644
index 00000000..c8675559
--- /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
diff --git a/bsp/axxiaarm64/rapidio.cfg b/bsp/axxiaarm64/rapidio.cfg
new file mode 100644
index 00000000..8b7378a2
--- /dev/null
+++ b/bsp/axxiaarm64/rapidio.cfg
@@ -0,0 +1,27 @@
+#.........................................................................
+# 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_RAPIDIO=y
+CONFIG_AXXIA_RIO=y
+CONFIG_RIO_MAINT_WIN_SIZE=0x1000000
+CONFIG_AXXIA_RIO_STAT=y
+CONFIG_OB_DME_ENTRY_SIZE=4096
+CONFIG_RAPIDIO_ENABLE_RX_TX_PORTS=y
+CONFIG_RAPIDIO_DEBUG=y
+CONFIG_RAPIDIO_ENUM_BASIC=y
+CONFIG_RAPIDIO_CPS_XX=y
+CONFIG_RAPIDIO_CPS_GEN2=y
+
+CONFIG_RIONET=y
+CONFIG_RIONET_TX_SIZE=128
+CONFIG_RIONET_RX_SIZE=128
diff --git a/bsp/axxiaarm64/rapidio.scc b/bsp/axxiaarm64/rapidio.scc
new file mode 100644
index 00000000..36cb6e63
--- /dev/null
+++ b/bsp/axxiaarm64/rapidio.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Enable support for the sRIO controller"
+define KFEATURE_COMPATIBILITY all
+
+kconf hardware rapidio.cfg