[linux-yocto] [PATCH 2/3] meta: axxiaarm: add fragments for standard kernel

Cristian Bercaru cristian.bercaru at windriver.com
Fri Apr 24 11:06:57 PDT 2015


This patch adds the configuration fragments required to build the
defconfig for 'axxiaarm' MACHINE, standard kernel type.
The fragments contain only platform-specific options. The rest of the
options will be included in the meta-lsi yocto layer, in a separate
set of fragments.

Signed-off-by: Cristian Bercaru <cristian.bercaru at windriver.com>
---
 .../bsp/axxiaarm/axxiaarm-standard.scc             |   14 +
 meta/cfg/kernel-cache/bsp/axxiaarm/axxiaarm.cfg    |  342 ++++++++++++++++++++
 2 files changed, 356 insertions(+)
 create mode 100644 meta/cfg/kernel-cache/bsp/axxiaarm/axxiaarm-standard.scc
 create mode 100644 meta/cfg/kernel-cache/bsp/axxiaarm/axxiaarm.cfg

diff --git a/meta/cfg/kernel-cache/bsp/axxiaarm/axxiaarm-standard.scc b/meta/cfg/kernel-cache/bsp/axxiaarm/axxiaarm-standard.scc
new file mode 100644
index 0000000..e3c64b1
--- /dev/null
+++ b/meta/cfg/kernel-cache/bsp/axxiaarm/axxiaarm-standard.scc
@@ -0,0 +1,14 @@
+define KMACHINE axxiaarm
+define KTYPE standard
+define KARCH arm
+
+include ktypes/standard
+branch axxia
+
+include features/latencytop
+include features/taskstats
+include features/usb/ehci-hcd
+include cfg/boot-live
+include cfg/usb-mass-storage
+
+kconf hardware axxiaarm.cfg
diff --git a/meta/cfg/kernel-cache/bsp/axxiaarm/axxiaarm.cfg b/meta/cfg/kernel-cache/bsp/axxiaarm/axxiaarm.cfg
new file mode 100644
index 0000000..46e4148
--- /dev/null
+++ b/meta/cfg/kernel-cache/bsp/axxiaarm/axxiaarm.cfg
@@ -0,0 +1,342 @@
+#.........................................................................
+#                                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.
+#
+#.........................................................................
+
+#
+# System Type
+#
+CONFIG_ARCH_AXXIA=y
+
+#
+# Axxia platform type
+#
+CONFIG_ARCH_AXXIA_DT=y
+
+#
+# Processor Features
+#
+CONFIG_ARM_LPAE=y
+CONFIG_ARM_THUMBEE=y
+# CONFIG_CACHE_L2X0 is not set
+CONFIG_ARM_ERRATA_430973=y
+CONFIG_ARM_ERRATA_458693=y
+CONFIG_ARM_ERRATA_460075=y
+CONFIG_ARM_ERRATA_742230=y
+CONFIG_ARM_ERRATA_742231=y
+CONFIG_ARM_ERRATA_720789=y
+CONFIG_ARM_ERRATA_743622=y
+CONFIG_ARM_ERRATA_751472=y
+CONFIG_ARM_ERRATA_754322=y
+CONFIG_ARM_ERRATA_754327=y
+CONFIG_ARM_ERRATA_764369=y
+
+#
+# Bus support
+#
+CONFIG_PCI_MSI=y
+
+#
+# Kernel Features
+#
+CONFIG_SMP=y
+CONFIG_ARM_ARCH_TIMER=y
+CONFIG_NR_CPUS=16
+CONFIG_HOTPLUG_CPU=y
+CONFIG_COMPACTION=y
+CONFIG_KSM=y
+
+#
+# Boot options
+#
+CONFIG_ARM_APPENDED_DTB=y
+CONFIG_ARM_ATAG_DTB_COMPAT=y
+CONFIG_ZBOOT_ROM_TEXT=0x0
+CONFIG_ZBOOT_ROM_BSS=0x0
+CONFIG_KEXEC=y
+CONFIG_ATAGS_PROC=y
+
+#
+# At least one emulation must be selected
+#
+CONFIG_VFP=y
+CONFIG_NEON=y
+
+#
+# Power management options
+#
+# CONFIG_SUSPEND is not set
+
+#
+# Generic Driver Options
+#
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_FW_LOADER=y
+CONFIG_MTD=y
+CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_AFS_PARTS=y
+CONFIG_MTD_CHAR=y
+CONFIG_MTD_BLOCK=y
+
+#
+# RAM/ROM/Flash chip drivers
+#
+CONFIG_MTD_CFI=y
+CONFIG_MTD_CFI_INTELEXT=y
+CONFIG_MTD_CFI_AMDSTD=y
+CONFIG_MTD_CFI_STAA=y
+
+#
+# Mapping drivers for chip access
+#
+CONFIG_MTD_PHYSMAP=y
+CONFIG_MTD_PHYSMAP_OF=y
+
+#
+# Self-contained MTD device drivers
+#
+CONFIG_MTD_M25P80=y
+
+#
+# Device Tree and Open Firmware support
+#
+CONFIG_PROC_DEVICETREE=y
+CONFIG_BLK_DEV_LOOP=y
+# CONFIG_BLK_DEV_CRYPTOLOOP is not set
+
+#
+# DRBD disabled because PROC_FS, INET or CONNECTOR not selected
+#
+# CONFIG_BLK_DEV_NBD is not set
+
+#
+# Misc devices
+#
+CONFIG_LSI_MTC=y
+CONFIG_LSI_SMMON=y
+
+#
+# SCSI support type (disk, tape, CD-ROM)
+#
+# CONFIG_BLK_DEV_SR is not set
+CONFIG_CHR_DEV_SG=y
+
+#
+# SCSI Transports
+#
+CONFIG_ATA=y
+
+#
+# PIO-only SFF controllers
+#
+CONFIG_PATA_PLATFORM=y
+CONFIG_PATA_OF_PLATFORM=y
+
+#
+# Generic fallback / legacy drivers
+#
+# CONFIG_MD is not set
+
+#
+# MII PHY device drivers
+#
+# CONFIG_PPP is not set
+# CONFIG_SLIP is not set
+
+#
+# Network testing
+#
+# CONFIG_WIRELESS is not set
+
+#
+# USB Network Adapters
+#
+# CONFIG_WLAN is not set
+
+#
+# Hardware I/O ports
+#
+# CONFIG_SERIO_SERPORT is not set
+CONFIG_SERIO_AMBAKMI=y
+
+#
+# Character devices
+#
+CONFIG_LEGACY_PTY_COUNT=16
+CONFIG_I2C_CHARDEV=y
+CONFIG_I2C_MUX=y
+
+#
+# Non-8250 serial port support
+#
+CONFIG_SERIAL_AMBA_PL011=y
+CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
+# CONFIG_HW_RANDOM is not set
+CONFIG_I2C=y
+
+#
+# Other I2C/SMBus bus drivers
+#
+# CONFIG_I2C_AXXIA is not set
+CONFIG_I2C_DEBUG_CORE=y
+CONFIG_I2C_DEBUG_ALGO=y
+CONFIG_I2C_DEBUG_BUS=y
+CONFIG_SPI=y
+
+#
+# SPI Master Controller Drivers
+#
+CONFIG_SPI_PL022=y
+
+#
+# SPI Protocol Masters
+#
+CONFIG_SPI_SPIDEV=y
+
+#
+# PPS support
+#
+CONFIG_PPS=y
+
+#
+# PTP clock support
+#
+CONFIG_PTP_1588_CLOCK=y
+CONFIG_DP83640_PHY=y
+CONFIG_GPIOLIB=y
+CONFIG_GPIO_SYSFS=y
+
+#
+# Memory mapped GPIO drivers
+#
+CONFIG_GPIO_PL061=y
+
+#
+# MODULbus GPIO expanders:
+#
+# CONFIG_HWMON is not set
+CONFIG_WATCHDOG_CORE=y
+
+#
+# Watchdog Device Drivers
+#
+# CONFIG_SOFT_WATCHDOG is not set
+CONFIG_ARM_SP805_WATCHDOG=y
+
+#
+# CAIF transport drivers
+#
+CONFIG_LSI_NET=y
+CONFIG_E1000=y
+CONFIG_E1000E=y
+CONFIG_IGB=y
+CONFIG_IGBVF=y
+
+#
+# OTG and related infrastructure
+#
+CONFIG_MMC=y
+
+#
+# MMC/SD/SDIO Host Controller Drivers
+#
+CONFIG_MMC_ARMMMCI=y
+CONFIG_RTC_CLASS=y
+CONFIG_RTC_HCTOSYS=y
+
+#
+# on-CPU RTC drivers
+#
+CONFIG_RTC_DRV_PL031=y
+CONFIG_DMADEVICES=y
+
+#
+# DMA Devices
+#
+CONFIG_LSI_DMA=y
+
+
+#
+# DMA Clients
+#
+CONFIG_DMATEST=m
+
+#
+# Common Clock Framework
+#
+CONFIG_COMMON_CLK_DEBUG=y
+
+#
+# Hardware Spinlock drivers
+#
+# CONFIG_IOMMU_SUPPORT is not set
+
+#
+# Miscellaneous USB options
+#
+CONFIG_USB_DEVICEFS=y
+CONFIG_USB_DYNAMIC_MINORS=y
+CONFIG_USB_MON=y
+
+#
+# USB Host Controller Drivers
+#
+# CONFIG_USB_EHCI_TT_NEWSCHED is not set
+CONFIG_USB_CI13612_HCD=y
+
+#
+# USB Device Class drivers
+#
+CONFIG_USB_LIBUSUAL=y
+
+#
+# Graphics support
+#
+CONFIG_FB=y
+
+#
+# Frame buffer hardware drivers
+#
+CONFIG_FB_ARMCLCD=y
+
+#
+# Console display driver support
+#
+CONFIG_FRAMEBUFFER_CONSOLE=y
+CONFIG_LOGO=y
+# CONFIG_LOGO_LINUX_MONO is not set
+# CONFIG_LOGO_LINUX_VGA16 is not set
+CONFIG_SOUND=y
+CONFIG_SND=y
+CONFIG_SND_MIXER_OSS=y
+CONFIG_SND_PCM_OSS=y
+# CONFIG_SND_DRIVERS is not set
+CONFIG_SND_ARMAACI=y
+# CONFIG_SND_USB is not set
+
+#
+# Pseudo filesystems
+#
+CONFIG_VMFS_FS=y
+CONFIG_VMFS_DEV_BASE=0x20101C0000
+CONFIG_VMFS_IRQ=0
+
+#
+# RapidIO management options
+#
+CONFIG_RAPIDIO=y
+CONFIG_AXXIA_RIO=y
+CONFIG_AXXIA_RIO_STAT=y
+CONFIG_AXXIA_RIO_DEBUG=y
+CONFIG_RAPIDIO_ENABLE_RX_TX_PORTS=y
+CONFIG_RAPIDIO_DEBUG=y
+CONFIG_RAPIDIO_CPS_XX=y
+
-- 
1.7.9.5



More information about the linux-yocto mailing list