balena-io-hardware / autokit-interface-sw

Apache License 2.0
5 stars 2 forks source link

balena fin flashing code assumes uhubctl compatible hub is in place #6

Open rcooke-warwick opened 2 years ago

rcooke-warwick commented 2 years ago

uhubctl is used to toggle the power of a usb port connected to the fin (or any usbboot balena device) - this assumes the usb port is uhubctl compatible - should be specified somewhere

rcooke-warwick commented 2 years ago

if you're application doesn't need to toggle usb port power, this doesn't matter - so a uhubctl isn't a hard requirement.

rcooke-warwick commented 1 year ago

@phckopper heres the issue I seem to have made ages ago

I think we should see if we can put together a list of uhubctl compatible USB hubs, and I'll have to add some disclaimer somewhere explaining that one is required for uboot device flashing

rcooke-warwick commented 1 year ago

I think the solution to this is to resolve https://github.com/orgs/balena-io-hardware/projects/8/views/3?pane=issue&itemId=18160592

This way we guarantee that there is a uhubctl compatible hub in place, so the assumption is ok