-
Notifications
You must be signed in to change notification settings - Fork 0
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
Platform configs should include expected power state for flashing #15
Comments
Currently, we have By default it is not applied: https://github.com/Dasharo/osfv-scripts/blob/main/osfv_cli/osfv_cli/rte.py#L197 Do you suggest that we should instead rename this option to |
Fixes: #37 Fixes: #15 Tested: * MSI Z690 DUT model retrieved from snipeit: MSI PRO Z690-A DDR4 Found Macronix flash chip "MX25U25635F" (32768 kB, SPI) on linux_spi. * Protectli V1410 DUT model retrieved from snipeit: V1410 Found Winbond flash chip "W25Q128.V" (16384 kB, SPI) on ch341a_spi. * Protectli VP6650 DUT model retrieved from snipeit: VP6650 Found Macronix flash chip "MX25L12833F/MX25L12835F/MX25L12845E/MX25L12865E/MX25L12873F" (16384 kB, SPI) on linux_spi. * PC Engines APU3 DUT model retrieved from snipeit: APU3 Found Winbond flash chip "W25Q64JV-.Q" (8192 kB, SPI) on linux_spi. * PC Engines APU4 DUT model retrieved from snipeit: APU4 Found Winbond flash chip "W25Q64JV-.Q" (8192 kB, SPI) on linux_spi. * Protecli VP46XX - none in lab currently fully connected Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com>
Please see the referenced PR if that is what you need. |
Platforms need to be in a certain state for flashing. Platform configs should reflect that.
Platform configs should specify a power state for flashing: OFF (power completely removed), G3 (mechanical off, power still provided), S5 (soft off). The RTE should control the platform (sonoff, relay, power button, SPI voltage etc) based on those inputs.
The text was updated successfully, but these errors were encountered: