bishopdynamics / superbird-tool

Cross-Platform Spotify Car Thing (superbird) hacking toolkit
133 stars 8 forks source link

Implementation of `mread` command in pyamlboot? #8

Open fonix232 opened 1 year ago

fonix232 commented 1 year ago

Since we have access to an older Amlogic update utility's source code (https://github.com/yangfl/update/), I was wondering if it would be feasible to port over the mread comment in its whole instead of relying on the incredibly slow flash->memory->host pipeline of the current version.

The above utility seems to be using considerably different commands with the Burn Mode peripheral/gadget, so I think the best approach would be to write completely new methods for this specific purpose.

I know it's somewhat out of scope for this project, but it would be nice to see a completely open source and cross-platform Python implementation that can be used on any host machine.