balena-io / balena-cli

The official balena CLI tool.
Apache License 2.0
452 stars 138 forks source link

Local flash does not work for Fin devices #2102

Open majorz opened 3 years ago

majorz commented 3 years ago

Flashing a Fin image with Etcher works, but not with balena CLI.

The reason is that Etcher executes a code sequence (when a Fin device is detected) that switches the compute module into a mass storage mode. Only then the image can be transferred. The code that Etcher runs is derived from the Raspberry Pi usbboot project.

One way to confirm this is so is to run Etcher and wait for it to switch the compute module to mass storage mode. Only afterwards balena CLI may flash a Fin image.

jellyfish-bot commented 3 years ago

[majorz] This issue has attached support thread https://jel.ly.fish/4cd0d512-8c71-4b77-b90c-edcb2f355a1e

pdcastro commented 3 years ago

Connects-to: #1512 CM3 (and Fin) do not show up via balena util available-drives (and cannot be written to)