flashrom does not support QEMU and fails every time. I have not found a
better way to handle it, but we should not place hardwere related
configs all around the code.
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
This warning serves as a checkpoint in tests in Dasharo/OSFV repo, it
was unconvenient to have different warnings all other dasharo-deploy
script, so this commit brings it to one format.
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
Size of flashchip should be checked before board_config func. because the
func. assigns some configs based on the chip size detected for ASUS boards.
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
The installation workflows must be as linear as possbile for better
readability and scalability.
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
Before deploing we do some configuration based on the list of the
firmware versions the target supports and on DPP subscription user
has.
Previously this configuration lived beside the code responsible for
deploying, as a result, the deploying workflows was messy, had nesting
levels over 3, and nonlinear and complex logic.
This commit tries to separate this configuration and deploying to make
it more readable and scallable.
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
This function is useful not unly during update workflow, but every time
firmware is being deployed
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>