Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an ability to override boot mode (UEFI/Legacy) in x86 systems #77

Open
Kostr opened this issue Sep 6, 2021 · 0 comments
Open

Add an ability to override boot mode (UEFI/Legacy) in x86 systems #77

Kostr opened this issue Sep 6, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@Kostr
Copy link
Contributor

Kostr commented Sep 6, 2021

If the main CPU architecture is x86, besides overriding the main boot target (None/Pxe/Hdd/Cd/Diags/BiosSetup/Usb) it is also possible to override the target boot mode (None/UEFI/Legacy).

Descriptions from the https://<IP>/redfish/v1/JsonSchemas/ComputerSystem/ComputerSystem.json

                "BootSourceOverrideMode": {
                    "anyOf": [
                        {
                            "$ref": "#/definitions/BootSourceOverrideMode"
                        },
                        {
                            "type": "null"
                        }
                    ],
                    "description": "The BIOS boot mode to use when the system boots from the BootSourceOverrideTarget boot source.",
                    "longDescription": "This property shall contain the BIOS boot mode to use when the system boots from the BootSourceOverrideTarget boot source.",
                    "readonly": false,
                    "versionAdded": "v1_1_0"
                },
        "BootSourceOverrideMode": {
            "enum": [
                "Legacy",
                "UEFI"
            ],
            "enumDescriptions": {
                "Legacy": "The system boots in non-UEFI boot mode to the boot source override target.",
                "UEFI": "The system boots in UEFI boot mode to the boot source override target."
            },
            "type": "string"
        },

In case of a x86 system BootSourceOverrideMode is populated to the page https://<IP>/redfish/v1/Systems/system:

"Boot": {
  ...
  "BootSourceOverrideMode": "UEFI",
  "[email protected]": [
    "Legacy",
    "UEFI"
  ],
  ...
}

In case of POWER or other architectures, BootSourceOverrideMode is not populated.

Therefore if this variable exists under Redfish the webui-vue should provide an ability to override the target boot mode:

2021-09-06_12-33-21

Boot settings 2

rfrandse referenced this issue in ibm-openbmc/webui-vue Jul 28, 2022
* Add alert to the Sensors page

Sensors information is taking a long time to laod

- Add an alert that tells the user that the sensors may take a while to load

Signed-off-by: Kenneth Fullbright <[email protected]>
@gtmills gtmills added the enhancement New feature or request label Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants