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

[Aboot] Support boot from device #12532

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

mate4st
Copy link

@mate4st mate4st commented Oct 27, 2022

Why I did it

I have a Arista Switch which has a slot for an m2 ssd drive that is by default not used. I added the m2 SSD.
However the boot script and some other tooling, assumes that everything is installed on the internal flash and not the drive (SSD). The boot-config file is never updated on the flash, which leads to a failing boot as aboot always reads the boot-config from flash.

How I did it

Ensure boot-config is mirrored to the flash when updated.

How to verify it

Install SONiC on Arista device with an additional m2 SSD, referenced as drive.

Description for the changelog

Add support for drive device for aboot

@mate4st mate4st requested a review from lguohan as a code owner October 27, 2022 16:32
@mate4st
Copy link
Author

mate4st commented Nov 2, 2022

Support for the installer: sonic-net/sonic-utilities#2469

* set correct target path in boot conf

* adjust swi path to correct device and update sync boot conf with flah drive

(cherry picked from commit 8823b91ba72662f8775f6d6a9556c326751d43a7)
@mate4st mate4st force-pushed the arista-drive-support branch from fd3ed09 to b7a4588 Compare November 7, 2022 09:37
(cherry picked from commit d6373206fad701116d6c703f17cd63835f9f2ea2)
(cherry picked from commit 75bab274e3bcc547171c74a5adab3f495ab2207e)
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.

1 participant