diff options
author | George Liu <liuxiwei@inspur.com> | 2021-07-29 09:21:37 +0300 |
---|---|---|
committer | George Liu <liuxiwei@inspur.com> | 2021-08-02 08:35:54 +0300 |
commit | 9599864f0fa0ea3ca3728c071a4184afbaa033bd (patch) | |
tree | 913ad090edeb82b83cb4be714e306d3eeaf703a7 | |
parent | 7bb5adecd5a8b0b85efa000e6120efe932265b39 (diff) | |
download | openbmc-9599864f0fa0ea3ca3728c071a4184afbaa033bd.tar.xz |
meta-inspur: fp5280g2: settings: enable SOL by default
Since 29086950(phosphor-net-ipmid) has updated the SOL parameters
by obtaining the attribute values of the
xyz.openbmc_project.Ipmi.SOL interface, it is necessary to enable SOL
by default on fp5280g2.
Tested by:
1. built phosphor-settigs successfully.
2. ipmitool -I lanplus -H x -U x -P x -C 17 raw 0x0c 0x22 0x00 0x00 0x00 0x00
Use the above command to successfully get the attribute value.
3. ipmitool -I lanplus -H x -U x -P x -C 17 sol activate
ipmitool -I lanplus -H x -U x -P x -C 17 sol deactivate
Use the above commands to successfully activate and deactivate SOL
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I7935fdebd833fe7ea0076942722e79ccf1ab2a3a
2 files changed, 20 insertions, 0 deletions
diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/settings/phosphor-settings-manager/sol-default.override.yml b/meta-inspur/meta-fp5280g2/recipes-phosphor/settings/phosphor-settings-manager/sol-default.override.yml new file mode 100644 index 0000000000..28bf866870 --- /dev/null +++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/settings/phosphor-settings-manager/sol-default.override.yml @@ -0,0 +1,17 @@ +/xyz/openbmc_project/ipmi/sol/eth1: + - Interface: xyz.openbmc_project.Ipmi.SOL + Properties: + AccumulateIntervalMS: + Default: 100 + Enable: + Default: 'true' + Privilege: + Default: 4 + Progress: + Default: 0 + RetryCount: + Default: 7 + RetryIntervalMS: + Default: 100 + Threshold: + Default: 1 diff --git a/meta-inspur/meta-fp5280g2/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend b/meta-inspur/meta-fp5280g2/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend new file mode 100644 index 0000000000..70532c57c8 --- /dev/null +++ b/meta-inspur/meta-fp5280g2/recipes-phosphor/settings/phosphor-settings-manager_%.bbappend @@ -0,0 +1,3 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += " file://sol-default.override.yml" |