superna9999 / pyamlboot

Amlogic USB Boot Protocol Library
https://pypi.org/project/pyamlboot/
Apache License 2.0
71 stars 27 forks source link

Implement bulkcmd, used to send commands to U-Boot #13

Closed tchebb closed 2 years ago

tchebb commented 2 years ago

See here for the gadget-side implementation of this in Amlogic's U-Boot. Even though I don't believe this is implemented in ROMs, it belongs in this tool because the U-Boot implementation speaks basically the same protocol as the ROMs do.

Also add an extremely simple script to send its argument as a command to a connected device.

superna9999 commented 2 years ago

Thanks for implementing this cmd