[linux-yocto] [PATCH] meta: axxiapowerpc: Adding new fragment

Daniel Dragomir daniel.dragomir at windriver.com
Fri Mar 20 11:45:41 PDT 2015


For axxiapowerpc bsp, adding new fragments for standard and preempt-rt
kernel types.

Signed-off-by: Daniel Dragomir <daniel.dragomir at windriver.com>
---
 .../bsp/axxiapowerpc/axxiapowerpc-preempt-rt.scc   |    8 +
 .../bsp/axxiapowerpc/axxiapowerpc-standard.scc     |    9 ++
 .../kernel-cache/bsp/axxiapowerpc/axxiapowerpc.cfg |  160 ++++++++++++++++++++
 .../kernel-cache/bsp/axxiapowerpc/axxiapowerpc.scc |    8 +
 .../kernel-cache/bsp/axxiapowerpc/no-preempt.cfg   |    1 +
 .../kernel-cache/bsp/axxiapowerpc/no-preempt.scc   |    1 +
 meta/cfg/kernel-cache/bsp/axxiapowerpc/rapidio.cfg |   12 ++
 meta/cfg/kernel-cache/bsp/axxiapowerpc/rapidio.scc |    4 +
 8 files changed, 203 insertions(+)
 create mode 100644 meta/cfg/kernel-cache/bsp/axxiapowerpc/axxiapowerpc-preempt-rt.scc
 create mode 100644 meta/cfg/kernel-cache/bsp/axxiapowerpc/axxiapowerpc-standard.scc
 create mode 100644 meta/cfg/kernel-cache/bsp/axxiapowerpc/axxiapowerpc.cfg
 create mode 100644 meta/cfg/kernel-cache/bsp/axxiapowerpc/axxiapowerpc.scc
 create mode 100644 meta/cfg/kernel-cache/bsp/axxiapowerpc/no-preempt.cfg
 create mode 100644 meta/cfg/kernel-cache/bsp/axxiapowerpc/no-preempt.scc
 create mode 100644 meta/cfg/kernel-cache/bsp/axxiapowerpc/rapidio.cfg
 create mode 100644 meta/cfg/kernel-cache/bsp/axxiapowerpc/rapidio.scc

diff --git a/meta/cfg/kernel-cache/bsp/axxiapowerpc/axxiapowerpc-preempt-rt.scc b/meta/cfg/kernel-cache/bsp/axxiapowerpc/axxiapowerpc-preempt-rt.scc
new file mode 100644
index 0000000..a87b342
--- /dev/null
+++ b/meta/cfg/kernel-cache/bsp/axxiapowerpc/axxiapowerpc-preempt-rt.scc
@@ -0,0 +1,8 @@
+define KMACHINE axxiapowerpc
+define KTYPE preempt-rt
+define KARCH powerpc
+
+include ktypes/preempt-rt
+branch axxia
+
+include axxiapowerpc.scc
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..2af8ed7
--- /dev/null
+++ b/meta/cfg/kernel-cache/bsp/axxiapowerpc/axxiapowerpc-standard.scc
@@ -0,0 +1,9 @@
+define KMACHINE axxiapowerpc
+define KTYPE standard
+define KARCH powerpc
+
+include ktypes/standard
+branch axxia
+
+include axxiapowerpc.scc
+include no-preempt.scc
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..a98f60d
--- /dev/null
+++ b/meta/cfg/kernel-cache/bsp/axxiapowerpc/axxiapowerpc.cfg
@@ -0,0 +1,160 @@
+#.........................................................................
+#                                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_PPC_47x=y
+CONFIG_SMP=y
+CONFIG_NR_CPUS=6
+
+#
+# Platform support
+#
+CONFIG_ELPASO=y
+
+#
+# Kernel options
+#
+CONFIG_HIGHMEM=y
+CONFIG_HZ_100=y
+CONFIG_CMDLINE_BOOL=y
+CONFIG_CMDLINE="console=ttyS0 mtdparts=acp-nand:512K(2ndStage),512K(env-0),512K(env-1),512K(3rdStage),-(fs) ip=dhcp root=/dev/nfs"
+
+#
+# Advanced setup
+#
+CONFIG_ADVANCED_OPTIONS=y
+CONFIG_LOWMEM_SIZE_BOOL=y
+CONFIG_LOWMEM_SIZE=0x40000000
+# CONFIG_DYNAMIC_MEMSTART is not set
+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
+
+# Bus options
+CONFIG_ZONE_DMA=y
+CONFIG_PPC_INDIRECT_PCI=y
+CONFIG_PCIEPORTBUS=y
+CONFIG_PCI_MSI=y
+
+# Device Drivers
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_FW_LOADER=y
+
+CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_JEDECPROBE=y
+CONFIG_MTD_NAND_PLATFORM=y
+CONFIG_MTD_CFI_AMDSTD=y
+CONFIG_MTD_PHYSMAP_OF=y
+
+CONFIG_PROC_DEVICETREE=y
+
+CONFIG_SCSI_CONSTANTS=y
+
+CONFIG_USB_ZD1201=y
+
+CONFIG_INPUT_EVDEV is not set
+
+CONFIG_SERIAL_ACP=y
+CONFIG_SERIAL_ACP_CONSOLE=y
+
+CONFIG_MTD=y
+CONFIG_MTD_OF_PARTS=y
+CONFIG_MTD_BLOCK=y
+CONFIG_MTD_NAND=y
+CONFIG_MTD_NAND_EP501X=y
+
+CONFIG_LSI_NET=y
+
+CONFIG_SCSI=y
+CONFIG_BLK_DEV_SD=y
+
+CONFIG_USB_CI13612_HCD=y
+
+CONFIG_LSI_USB_SW_WORKAROUND=y
+
+CONFIG_PPC_PCI_CHOICE=y
+CONFIG_PCI=y
+
+CONFIG_MICREL_PHY=y
+
+#
+# Non-8250 serial port support
+#
+# CONFIG_HW_RANDOM is not set
+
+CONFIG_I2C=y
+CONFIG_ACP3400_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
+
+CONFIG_GPIOLIB=y
+
+# CONFIG_HWMON is not set
+
+CONFIG_VLAN_8021Q=y
+
+#
+# Distributed Switch Architecture drivers
+#
+CONFIG_E1000=y
+CONFIG_E1000E=y
+CONFIG_IGB=y
+CONFIG_IGBVF=y
+
+#
+# USB support
+#
+CONFIG_USB_DEBUG=y
+CONFIG_USB_DYNAMIC_MINORS=y
+CONFIG_USB_MON=y
+
+# CONFIG_USB_EHCI_TT_NEWSCHED is not set
+CONFIG_USB_EHCI_BIG_ENDIAN_MMIO=y
+CONFIG_USB_EHCI_BIG_ENDIAN_DESC=y
+CONFIG_XPS_USB_HCD_XILINX=y
+# CONFIG_USB_EHCI_HCD_PPC_OF is not set
+
+CONFIG_DMADEVICES=y
+CONFIG_LSI_DMA=y
+
+CONFIG_LSI_NCR=y
+
+# CONFIG_SUSPEND is not set
+
+#
+# Device Tree and Open Firmware support 
+#
+CONFIG_BLK_DEV_RAM_SIZE=35000
+
+#
+# RCU Debugging
+#
+CONFIG_XMON=y
+CONFIG_XMON_DEFAULT=y
+CONFIG_PPC_EARLY_DEBUG=y
+CONFIG_PPC_EARLY_DEBUG_44x=y
+CONFIG_PPC_EARLY_DEBUG_44x_PHYSLOW=0x00400000
+CONFIG_PPC_EARLY_DEBUG_44x_PHYSHIGH=0x20
diff --git a/meta/cfg/kernel-cache/bsp/axxiapowerpc/axxiapowerpc.scc b/meta/cfg/kernel-cache/bsp/axxiapowerpc/axxiapowerpc.scc
new file mode 100644
index 0000000..938be1f
--- /dev/null
+++ b/meta/cfg/kernel-cache/bsp/axxiapowerpc/axxiapowerpc.scc
@@ -0,0 +1,8 @@
+kconf hardware axxiapowerpc.cfg
+
+include features/profiling/profiling.scc
+include features/latencytop/latencytop.scc
+include features/usb/ehci-hcd.scc
+include cfg/usb-mass-storage.scc
+
+include rapidio.scc
diff --git a/meta/cfg/kernel-cache/bsp/axxiapowerpc/no-preempt.cfg b/meta/cfg/kernel-cache/bsp/axxiapowerpc/no-preempt.cfg
new file mode 100644
index 0000000..0cbeb5a
--- /dev/null
+++ b/meta/cfg/kernel-cache/bsp/axxiapowerpc/no-preempt.cfg
@@ -0,0 +1 @@
+CONFIG_PREEMPT_NONE=y
diff --git a/meta/cfg/kernel-cache/bsp/axxiapowerpc/no-preempt.scc b/meta/cfg/kernel-cache/bsp/axxiapowerpc/no-preempt.scc
new file mode 100644
index 0000000..1e75e15
--- /dev/null
+++ b/meta/cfg/kernel-cache/bsp/axxiapowerpc/no-preempt.scc
@@ -0,0 +1 @@
+kconf non-hardware no-preempt.cfg
diff --git a/meta/cfg/kernel-cache/bsp/axxiapowerpc/rapidio.cfg b/meta/cfg/kernel-cache/bsp/axxiapowerpc/rapidio.cfg
new file mode 100644
index 0000000..6327327
--- /dev/null
+++ b/meta/cfg/kernel-cache/bsp/axxiapowerpc/rapidio.cfg
@@ -0,0 +1,12 @@
+CONFIG_RAPIDIO=y
+# CONFIG_AXXIA_RIO is not set
+CONFIG_RIO_MAINT_WIN_SIZE=0x400000
+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
+
+CONFIG_RIONET=y
+CONFIG_RIONET_TX_SIZE=128
+CONFIG_RIONET_RX_SIZE=128
diff --git a/meta/cfg/kernel-cache/bsp/axxiapowerpc/rapidio.scc b/meta/cfg/kernel-cache/bsp/axxiapowerpc/rapidio.scc
new file mode 100644
index 0000000..36cb6e6
--- /dev/null
+++ b/meta/cfg/kernel-cache/bsp/axxiapowerpc/rapidio.scc
@@ -0,0 +1,4 @@
+define KFEATURE_DESCRIPTION "Enable support for the sRIO controller"
+define KFEATURE_COMPATIBILITY all
+
+kconf hardware rapidio.cfg
-- 
1.7.9.5



More information about the linux-yocto mailing list