Skip to content

[Nokia-7215][uboot] Fixed the uboot setting for sonic-installer set-default form 202012 to 202205 branch.#13911

Merged
qiluo-msft merged 1 commit intosonic-net:202012from
mlok-nokia:armhf-uboot-setting
Mar 8, 2023
Merged

[Nokia-7215][uboot] Fixed the uboot setting for sonic-installer set-default form 202012 to 202205 branch.#13911
qiluo-msft merged 1 commit intosonic-net:202012from
mlok-nokia:armhf-uboot-setting

Conversation

@mlok-nokia
Copy link
Copy Markdown
Contributor

@mlok-nokia mlok-nokia commented Feb 21, 2023

Why I did it

When using sonic-install set-default to switch the image from 202012 to 202205. The system will be stuck at loading kernel while reboot.

How I did it

The issue is caused by the kernal size related setting in uboot environment is smaller in the 202012 branch while they are larger in 202205 branch. The "sonic-installer set-default" just changes the boot_next variable. To fix this issue, we sync up the 202012 branch kernel related setting with the 202205 branch. This PR is only applicable to 202012 branch.

How to verify it

  1. Install the latest 202205 image .89 or latest and reboot
  2. Install the 202012 image which contains this fix and reboot
  3. using "sonic-installer set-default 202205 image and reboot
  4. system should start without any issue.

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

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

Description for the changelog

Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.

Link to config_db schema for YANG module changes

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

…t-default form 202012 to 202205 branch.

Signed-off-by: mlok <[email protected]>
@mlok-nokia
Copy link
Copy Markdown
Contributor Author

@carl-nokia @Blueve @jon-nokia Hi, This PR to address the issue of using sonic-installer set-default to loading a image from 202012 to 202205. Please review it. Thanks

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants