[yocto] [PATCH] virtual/kernel: add support for IPMI.

Alexandru.Vaduva Alexandru.Vaduva at enea.com
Fri Jul 17 02:07:37 PDT 2015


Signed-off-by: Alexandru.Vaduva <Alexandru.Vaduva at enea.com>
---
 meta-cgl-common/recipes-kernel/linux/cgl-common.inc              | 1 +
 meta-cgl-common/recipes-kernel/linux/files/cfg/00025-ipmi.cfg    | 9 +++++++++
 .../recipes-kernel/linux/linux-qoriq-prt_3.12.bbappend           | 1 +
 3 files changed, 11 insertions(+)
 create mode 100644 meta-cgl-common/recipes-kernel/linux/files/cfg/00025-ipmi.cfg

diff --git a/meta-cgl-common/recipes-kernel/linux/cgl-common.inc b/meta-cgl-common/recipes-kernel/linux/cgl-common.inc
index ffd0b74..2ed1920 100644
--- a/meta-cgl-common/recipes-kernel/linux/cgl-common.inc
+++ b/meta-cgl-common/recipes-kernel/linux/cgl-common.inc
@@ -21,5 +21,6 @@ SRC_URI += "file://cfg/00001-systemtap.cfg \
             file://cfg/00022-coredump.cfg \
             file://cfg/00023-open-scsi.cfg \
             file://cfg/00024-ftrace.cfg \
+            file://cfg/00025-ipmi.cfg \
            "
 
diff --git a/meta-cgl-common/recipes-kernel/linux/files/cfg/00025-ipmi.cfg b/meta-cgl-common/recipes-kernel/linux/files/cfg/00025-ipmi.cfg
new file mode 100644
index 0000000..90e9f6e
--- /dev/null
+++ b/meta-cgl-common/recipes-kernel/linux/files/cfg/00025-ipmi.cfg
@@ -0,0 +1,9 @@
+CONFIG_IPMI_HANDLER=y
+CONFIG_IPMI_PANIC_EVENT=y
+CONFIG_IPMI_PANIC_STRING=y
+CONFIG_IPMI_DEVICE_INTERFACE=y
+CONFIG_IPMI_SI=y
+CONFIG_IPMI_WATCHDOG=y
+CONFIG_IPMI_POWEROFF=y
+# CONFIG_SENSORS_IBMAEM is not set
+# CONFIG_SENSORS_IBMPEX is not set
diff --git a/meta-cgl-fsl-ppc/recipes-kernel/linux/linux-qoriq-prt_3.12.bbappend b/meta-cgl-fsl-ppc/recipes-kernel/linux/linux-qoriq-prt_3.12.bbappend
index 2376daa..e33d72d 100644
--- a/meta-cgl-fsl-ppc/recipes-kernel/linux/linux-qoriq-prt_3.12.bbappend
+++ b/meta-cgl-fsl-ppc/recipes-kernel/linux/linux-qoriq-prt_3.12.bbappend
@@ -23,4 +23,5 @@ DELTA_KERNEL_DEFCONFIG += "cfg/00001-systemtap.cfg \
                         cfg/00022-coredump.cfg \
                         cfg/00023-open-scsi.cfg \
                         cfg/00024-ftrace.cfg \
+                        cfg/00025-ipmi.cfg \
                         "
-- 
1.9.1




More information about the yocto mailing list