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

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


This patch adds the configuration fragments required to build the
defconfig for 'axxiapowerpc' 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/axxiapowerpc/axxiapowerpc-standard.scc     |   14 ++
 .../kernel-cache/bsp/axxiapowerpc/axxiapowerpc.cfg |  204 ++++++++++++++++++++
 2 files changed, 218 insertions(+)
 create mode 100644 meta/cfg/kernel-cache/bsp/axxiapowerpc/axxiapowerpc-standard.scc
 create mode 100644 meta/cfg/kernel-cache/bsp/axxiapowerpc/axxiapowerpc.cfg

diff --git a/meta/cfg/kernel-cache/bsp/axxiapowerpc/axxiapowerpc-standard.scc b/meta/cfg/kernel-cache/bsp/axxiapowerpc/axxiapowerpc-standard.scc
new file mode 100644
index 0000000..dc01d1d
--- /dev/null
+++ b/meta/cfg/kernel-cache/bsp/axxiapowerpc/axxiapowerpc-standard.scc
@@ -0,0 +1,14 @@
+define KMACHINE axxiapowerpc
+define KTYPE standard
+define KARCH powerpc
+
+include ktypes/standard
+branch axxia
+
+include features/latencytop
+include features/usb/ehci-hcd
+include cfg/boot-live
+include cfg/usb-mass-storage
+include cfg/timer/hz_100
+
+kconf hardware axxiapowerpc.cfg
diff --git a/meta/cfg/kernel-cache/bsp/axxiapowerpc/axxiapowerpc.cfg b/meta/cfg/kernel-cache/bsp/axxiapowerpc/axxiapowerpc.cfg
new file mode 100644
index 0000000..ee9b9ce
--- /dev/null
+++ b/meta/cfg/kernel-cache/bsp/axxiapowerpc/axxiapowerpc.cfg
@@ -0,0 +1,204 @@
+#.........................................................................
+#                                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.
+#
+#.........................................................................
+
+#
+# Processor support
+#
+CONFIG_44x=y
+CONFIG_SMP=y
+CONFIG_NR_CPUS=6
+
+#
+# General setup
+#
+CONFIG_CROSS_COMPILE="powerpc-linux-"
+
+#
+# Platform support
+#
+CONFIG_PPC_47x=y
+# CONFIG_EBONY is not set
+CONFIG_ELPASO=y
+
+#
+# Bus options
+#
+CONFIG_PCIEPORTBUS=y
+# CONFIG_PCIEAER is not set
+CONFIG_PCI_MSI=y
+CONFIG_PCI_DEBUG=y
+CONFIG_RAPIDIO=y
+CONFIG_AXXIA_RIO=y
+CONFIG_AXXIA_RIO_STAT=y
+CONFIG_AXXIA_RIO_DEBUG=y
+CONFIG_RAPIDIO_DISC_TIMEOUT=10
+CONFIG_RAPIDIO_ENABLE_RX_TX_PORTS=y
+CONFIG_RAPIDIO_DEBUG=y
+CONFIG_RAPIDIO_CPS_XX=y
+CONFIG_RAPIDIO_CPS_GEN2=y
+
+#
+# Advanced setup
+#
+CONFIG_ADVANCED_OPTIONS=y
+CONFIG_LOWMEM_SIZE_BOOL=y
+CONFIG_LOWMEM_SIZE=0x40000000
+CONFIG_PAGE_OFFSET_BOOL=y
+CONFIG_PAGE_OFFSET=0xa0000000
+CONFIG_KERNEL_START_BOOL=y
+CONFIG_KERNEL_START=0xa0400000
+CONFIG_PHYSICAL_START_BOOL=y
+CONFIG_PHYSICAL_START=0x400000
+CONFIG_TASK_SIZE_BOOL=y
+CONFIG_TASK_SIZE=0xa0000000
+
+#
+# Generic Driver Options
+#
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_FW_LOADER=y
+CONFIG_MTD=y
+CONFIG_MTD_CMDLINE_PARTS=y
+
+#
+# User Modules And Translation Layers
+#
+CONFIG_MTD_CHAR=y
+CONFIG_MTD_BLOCK=y
+
+#
+# RAM/ROM/Flash chip drivers
+#
+CONFIG_MTD_JEDECPROBE=y
+CONFIG_MTD_CFI_AMDSTD=y
+
+#
+# Mapping drivers for chip access
+#
+CONFIG_MTD_PHYSMAP_OF=y
+
+#
+# Disk-On-Chip Device Drivers
+#
+CONFIG_MTD_NAND=y
+CONFIG_MTD_NAND_PLATFORM=y
+CONFIG_MTD_NAND_EP501X=y
+CONFIG_MTD_NAND_EP501X_UBOOTENV=y
+
+#
+# Device Tree and Open Firmware support
+#
+CONFIG_PROC_DEVICETREE=y
+# CONFIG_BLK_DEV_LOOP is not set
+
+#
+# DRBD disabled because PROC_FS, INET or CONNECTOR not selected
+#
+# CONFIG_BLK_DEV_NBD is not set
+CONFIG_BLK_DEV_RAM_COUNT=1
+CONFIG_BLK_DEV_RAM_SIZE=200000
+
+#
+# Misc devices
+#
+CONFIG_LSI_NCR=y
+
+#
+# SCSI support type (disk, tape, CD-ROM)
+#
+# CONFIG_BLK_DEV_SR is not set
+CONFIG_SCSI_CONSTANTS=y
+
+#
+# CAIF transport drivers
+#
+CONFIG_LSI_NET=y
+
+#
+# MII PHY device drivers
+#
+CONFIG_MICREL_PHY=y
+
+#
+# USB Network Adapters
+#
+CONFIG_USB_ZD1201=y
+
+#
+# Non-8250 serial port support
+#
+CONFIG_SERIAL_ACP=y
+CONFIG_SERIAL_ACP_CONSOLE=y
+# CONFIG_HW_RANDOM is not set
+CONFIG_I2C=y
+CONFIG_I2C_CHARDEV=y
+
+#
+# Other I2C/SMBus bus drivers
+#
+CONFIG_I2C_DEBUG_CORE=y
+CONFIG_I2C_DEBUG_ALGO=y
+CONFIG_I2C_DEBUG_BUS=y
+
+#
+# Enable Device Drivers -> PPS to see the PTP clock options.
+#
+CONFIG_GPIOLIB=y
+
+#
+# MODULbus GPIO expanders
+#
+# CONFIG_HWMON is not set
+
+#
+# Graphics support
+#
+# CONFIG_VGA_ARB is not set
+
+#
+# Special HID drivers
+#
+CONFIG_USB_DEBUG=y
+CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
+
+#
+# Miscellaneous USB options
+#
+CONFIG_USB_DEVICEFS=y
+CONFIG_USB_DYNAMIC_MINORS=y
+CONFIG_USB_MON=y
+
+#
+# USB Host Controller Drivers
+#
+CONFIG_LSI_USB_SW_WORKAROUND=y
+# CONFIG_USB_EHCI_TT_NEWSCHED is not set
+CONFIG_XPS_USB_HCD_XILINX=y
+# CONFIG_USB_EHCI_HCD_PPC_OF is not set
+CONFIG_USB_CI13612_HCD=y
+
+#
+# USB Device Class drivers
+#
+CONFIG_USB_LIBUSUAL=y
+
+#
+# OTG and related infrastructure
+#
+CONFIG_DMADEVICES=y
+
+#
+# DMA Devices
+#
+CONFIG_LSI_DMA=y
+
-- 
1.7.9.5



More information about the linux-yocto mailing list