Thank you! But question was about use pre_power_command. I can use specific tool. But I cant use pre_power_command. Or how to do it better? Before flashing device, I need to run script to set device into flashing mode.
Ilya ________________________________ From: Remi Duraffort remi.duraffort@linaro.org Sent: Tuesday, November 12, 2019 3:16 PM To: Ilya Fedusiv ilya.f@l4b-software.com Cc: lava-users@lists.lavasoftware.org lava-users@lists.lavasoftware.org Subject: Re: [Lava-users] Flasher action and pre power command
Hello,
if you want to use a specific flashing tool use the deploy method called "flasher".
See https://staging.validation.linaro.org/scheduler/job/262229/definition and the corresponding device dictionary https://staging.validation.linaro.org/scheduler/device/staging-soca9-01/devi... The command that will be used is in the variable called flasher_deploy_commands
Rgds
Le mar. 12 nov. 2019 à 13:14, Ilya Fedusiv <ilya.f@l4b-software.commailto:ilya.f@l4b-software.com> a écrit : Hello! I'm trying to flash via special tool, which is not implemented in lava. I did it successfully by editing device dictionary. Next want to use pre power command. That's why I use lxc. But how trigger protocol to use it?
It doesnt work: - deploy: namespace: target timeout: minutes: 20 to: flasher images: flash_dir: url: file:///opt/image.zip os: oe protocols: lava-lxc: - action: flasher-deploy request: pre-power-command
Ilya _______________________________________________ Lava-users mailing list Lava-users@lists.lavasoftware.orgmailto:Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users
-- Rémi Duraffort LAVA Architect Linaro