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

[ARM64][Warm-Reboot]: Get boot arguments from uboot environment #3613

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marvellparthiv
Copy link

Fetch boot arguments from the next boot image by reading it from uboot environment variables.

What I did

In current scenario, during warm-reboot for arm64, boot arguments are fetched from device tree of the current image. This causes an issue during upgrade/downgrade with warm-reboot.

How I did it

With the change, boot arguments for arm64 is fetched from uboot environment variables. The logic relies on creation of
"sonic_bootargs" environment variable to fetch the right boot argument.

How to verify it

Tested by sonic to sonic install followed by warm-reboot.

Previous command output (if the output of a command-line utility has changed)

New command output (if the output of a command-line utility has changed)

Fetch boot arguments from the next boot image by reading it from
uboot environment variables.

Signed-off-by: Parthiv Shah <parthiv@marvell.com>
@pavannaregundi
Copy link
Contributor

@saiarcot895 Can you please review this. PR has been rebased to latest code.

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.

2 participants