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

[warm-reboot] Add support to pass extra kernel cmdline parameters #3192

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

pavannaregundi
Copy link
Contributor

@pavannaregundi pavannaregundi commented Mar 5, 2024

What I did

Add support to optionally pass extra kernel command line arguments during warm-reboot kexec load.

How I did it

Extra command line arguments can be supplied from variable 'KEXEC_LOAD_EXTRA_CMDLINE_LINUX' in "installer.conf" present in device hwsku folder.

# cat installer.conf 
KEXEC_LOAD_EXTRA_CMDLINE_LINUX="<extra command line arguments>"

How to verify it

Triggered warm-reboot on Marvell AC5XRD platform and checked for successful warmboot.

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)

@pavannaregundi
Copy link
Contributor Author

@vaibhavhd @saiarcot895 can you please review

Signed-off-by: Pavan Naregundi <pnaregundi@marvell.com>
@saiarcot895 saiarcot895 merged commit 8f3c5ef into sonic-net:master Nov 13, 2024
7 checks passed
@radha-danda
Copy link

@saiarcot895, kindly cherry-pick the patch to 202405 branch

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