From 8ed0cece2dcadc2ebbf52d048a5cc1786e0f8dd9 Mon Sep 17 00:00:00 2001 From: bybai Date: Thu, 8 Mar 2018 02:06:27 -0500 Subject: [PATCH] enhance rflash unattended doc --- .../management/advanced/rflash/openbmc/index.rst | 2 +- .../advanced/rflash/openbmc/openbmc_common.rst | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/source/guides/admin-guides/manage_clusters/ppc64le/management/advanced/rflash/openbmc/index.rst b/docs/source/guides/admin-guides/manage_clusters/ppc64le/management/advanced/rflash/openbmc/index.rst index 4f841ef1a..804913d6d 100644 --- a/docs/source/guides/admin-guides/manage_clusters/ppc64le/management/advanced/rflash/openbmc/index.rst +++ b/docs/source/guides/admin-guides/manage_clusters/ppc64le/management/advanced/rflash/openbmc/index.rst @@ -4,5 +4,5 @@ OpenBMC Firmware Update .. toctree:: :maxdepth: 2 - unattended.rst manually.rst + unattended.rst diff --git a/docs/source/guides/admin-guides/manage_clusters/ppc64le/management/advanced/rflash/openbmc/openbmc_common.rst b/docs/source/guides/admin-guides/manage_clusters/ppc64le/management/advanced/rflash/openbmc/openbmc_common.rst index 980fc8d83..6ad105759 100644 --- a/docs/source/guides/admin-guides/manage_clusters/ppc64le/management/advanced/rflash/openbmc/openbmc_common.rst +++ b/docs/source/guides/admin-guides/manage_clusters/ppc64le/management/advanced/rflash/openbmc/openbmc_common.rst @@ -2,12 +2,18 @@ Unattended flash of OpenBMC managed BMC means that xCAT will attempt to: -#. Upload and active BMC, PNOR or both depending on which files are provided. -#. Reboot the necessary components (BMC and/or HOST) to activate the firmware levels +#. Upload both BMC and PNOR +#. Activate both BMC and PNOR +#. If BMC state is ready, reboot BMC to apply BMC, or else, ``rflash`` will exit +#. If PNOR state is ready, and use ``--no-host-reboot`` option, ``rflash`` will not reboot HOST +#. If PNOR state is ready, and do not use ``--no-host-reboot`` option, ``rflash`` will reboot HOST to apply PNOR Use the following command to flash the firmware unattended: :: - rpower -d /path/to/directory + rflash -d /path/to/directory +Use the following command to flash the firmware unattended and not reboot HOST: :: + + rflash -d /path/to/directory --no-host-reboot If there are errors encountered during the flash process, take a look at the manual steps to continue flashing the BMC.