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

BMC: Block BMC reboot during u-boot update #1944

Closed
anoo1 opened this issue Jul 10, 2017 · 7 comments
Closed

BMC: Block BMC reboot during u-boot update #1944

anoo1 opened this issue Jul 10, 2017 · 7 comments
Assignees

Comments

@anoo1
Copy link
Contributor

anoo1 commented Jul 10, 2017

Add a BlocksTransition dependency to the BMC reboot target during u-boot update so that BMC is prevented from being rebooted and corrupting u-boot.

@anoo1 anoo1 added this to the openBMC v2.0 Backlog milestone Jul 11, 2017
@saqibkh
Copy link
Member

saqibkh commented Jul 13, 2017

  • Create service files that can disable BMC transtition through reboot, shutdown, halt etc.
  • Call Enable reboot halt services when ActivationBlockTransition object is created.
  • Call Disable reboot halt services inside ActivationBlockTransition destructor.

Status:

July 12:
Discussed possible implementations with Andrew, Adriana and Patrick. Created service files and added the logic to ActivationBlocksTransition class inside phosphor-bmc-code-mgmt.

July 13:
Read up on systemd service files.
Explored alternate ways to accomplish this. None of those seems to work.

July 14:
The mapper call to check ActivationBlocksTransition is not working. Need to check with Adriana

July 17:
I'm at the point where a running service can block the reboot, but can't hold/delay the reboot command until after the code update.

July 19:
Not required for ESP. Focusing on other stories now.

@geissonator
Copy link
Contributor

Needs more investigation

@rfrandse
Copy link

rfrandse commented Jul 16, 2017

Abandoned
https://gerrit.openbmc-project.xyz/5266 BMC: Block BMC reboor during code update
Resolves #1944 BMC: Block BMC reboot during u-boot update

@rfrandse
Copy link

rfrandse commented Sep 7, 2017

Abandoned
https://gerrit.openbmc-project.xyz/5266 BMC: Block BMC reboot during code update
Resolves #1944 BMC: Block BMC reboot during u-boot update

@rfrandse
Copy link

https://gerrit.openbmc-project.xyz/6613 BMC: Block BMC reboots during Code Update
Resolves #1944 BMC: Block BMC reboot during u-boot update

@zahrens zahrens added the zflag label Oct 26, 2017
@zahrens zahrens added Phase 7 and removed Phase 6 labels Nov 10, 2017
@zahrens zahrens modified the milestones: openBMC v2.0 Backlog, OpenBMC v2.1 Backlog Nov 10, 2017
@geissonator
Copy link
Contributor

Lets get yocto updated to 2.4, and see if the new systemd provides the function we need.

@anoo1 anoo1 assigned anoo1 and tritzsm and unassigned saqibkh and anoo1 Jan 17, 2018
@rfrandse
Copy link

https://gerrit.openbmc-project.xyz/6613 BMC: Block BMC reboots during Code Update
Resolves #1944 BMC: Block BMC reboot during u-boot update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants