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

[Nokia-7215] Fix software upgrade corner case #20169

Merged

Conversation

Pavan-Nokia
Copy link
Contributor

After software upgrade the box fails to boot to the new image due to a bug in uboot of unable to read fragmented files.
Make sure all files accessed by Uboot are defragmented before rebooting the device

Why I did it

Work item tracking
  • Microsoft ADO (number only):

How I did it

Use e4defrag to defragment all files used by U-Boot while booting.

How to verify it

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305
  • 202405

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

After software upgrade the box fails to boot to the new image due to a
bug in uboot of unable to read fragmented files.
Make sure all files accessed by Uboot are defragmented before rebooting
the device
@Pavan-Nokia Pavan-Nokia requested a review from lguohan as a code owner September 6, 2024 12:55
@lguohan lguohan merged commit c9ec757 into sonic-net:master Sep 8, 2024
12 checks passed
@lizhijianrd
Copy link
Contributor

@bingwang-ms Can you please help add approval tag for 202405 branch?
MSFT ADO: 27587420

mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Sep 11, 2024
After software upgrade the box fails to boot to the new image due to a
bug in uboot of unable to read fragmented files.
Make sure all files accessed by Uboot are defragmented before rebooting
the device
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202405: #20223

mssonicbld pushed a commit that referenced this pull request Sep 11, 2024
After software upgrade the box fails to boot to the new image due to a
bug in uboot of unable to read fragmented files.
Make sure all files accessed by Uboot are defragmented before rebooting
the device
vvolam pushed a commit to vvolam/sonic-buildimage that referenced this pull request Sep 12, 2024
After software upgrade the box fails to boot to the new image due to a
bug in uboot of unable to read fragmented files.
Make sure all files accessed by Uboot are defragmented before rebooting
the device
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants