commit | 03cbb0eca9471e6a96c70b15c935f481179b40f5 | [log] [tgz] |
---|---|---|
author | Potin Lai <potin.lai@quantatw.com> | Wed Aug 07 23:59:08 2024 +0800 |
committer | Amithash Prasad <amithash@meta.com> | Tue Aug 13 18:37:17 2024 +0000 |
tree | 8e41890cb37a1b00b20c0170d15a440217385c22 | |
parent | 4ce60f982fdb1c8dabadf2c49e8daa474c517009 [diff] |
meta-facebook: catalina: enable ipmb for ocp debug card 1. add 'CONFIG_IPMB_DEVICE_INTERFACE=y' to support ipmb in kernel. 2. add phosphor-ipmi-ipmb_%.bbappend to set correct 'IPMB_CHANNELS' and 'IPMB_REMOTE_ADDR'. Change-Id: I3fdec35345b49c44f4504d56ea62f21744d69c3e Signed-off-by: Potin Lai <potin.lai@quantatw.com>
diff --git a/meta-facebook/meta-catalina/recipes-kernel/linux/linux-aspeed/catalina.cfg b/meta-facebook/meta-catalina/recipes-kernel/linux/linux-aspeed/catalina.cfg index 31f6692..419b2ff 100644 --- a/meta-facebook/meta-catalina/recipes-kernel/linux/linux-aspeed/catalina.cfg +++ b/meta-facebook/meta-catalina/recipes-kernel/linux/linux-aspeed/catalina.cfg
@@ -32,10 +32,11 @@ CONFIG_SPI_GPIO=y CONFIG_SPI_BITBANG=y -# IPMI & SSIF +# IPMI & SSIF & IPMB CONFIG_IPMI_HANDLER=y CONFIG_IPMI_DEVICE_INTERFACE=y CONFIG_SSIF_IPMI_BMC=y +CONFIG_IPMB_DEVICE_INTERFACE=y # Aspeed OTP CONFIG_ASPEED_OTP=y
diff --git a/meta-facebook/meta-catalina/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend b/meta-facebook/meta-catalina/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend new file mode 100644 index 0000000..a51e34d --- /dev/null +++ b/meta-facebook/meta-catalina/recipes-phosphor/ipmi/phosphor-ipmi-ipmb_%.bbappend
@@ -0,0 +1,6 @@ +IPMB_CHANNELS = "\ + /dev/ipmb-7 \ + " +IPMB_REMOTE_ADDR = "\ + 96 \ + "