On Thu, 21 Feb 2019 at 08:19, Lionel DEBIEVE lionel.debieve@st.com wrote:
Dear All,
I'm currently trying to check and implement a complete validation of my PSCI solution.
The standard behavior for PSCI is to manage shutdown, reset and low power mode.
I'm wondering to find the best way to manage it through LAVA.
So two questions:
- Is there a proper way to check the reboot behavior on a target (soft
reboot)? Using shell command is not possible as the is no return from reboot.
Typically, a soft reboot causes the next output on the serial to be from the bootloader. Are you saying that the serial output is *disconnected* on reboot? If that happens, then none of this can be supported. The serial connection must remain active at all times.
A lot depends on the type of device. Which device is this? What bootloader and how is power controlled remotely?
Soft reboot support isn't directly supported. The resulting boot action should be defined in the test job submission and managed by LAVA.
I'm not sure if the interactive test method can help with this. Depends a lot on exactly what kind of device this is and what kind of bootloader is in use.
- Shutdown? I'm wondering to test the shutdown command and trig an
automatic wake up after x seconds.
How is the wake up to be achieved? You will need a PDUReboot Action to be defined if you want to execute a PDU reboot - after shutdown, the power is still on.
In summary, a lot depends on the specific device and how that is integrated into LAVA.
My wish is to check that no watchdog occurred during that time (which is the only way to know if the shutdown was properly working). So it will be a similar behavior that the reboot command.
Thanks for your support,
BR
Lionel
Lava-users mailing list Lava-users@lists.lavasoftware.org https://lists.lavasoftware.org/mailman/listinfo/lava-users