Read current partition scheme / table, download individual partitions or all/some flash. - #164
Read current partition scheme / table, download individual partitions or all/some flash.#164tyeth wants to merge 5 commits into
Conversation
|
Hi @tyeth thank you for your PR. Will take a look when I have some time. Regarding the file manager, I wanted to implement it too for the esp-idf vscode extension but the issue is to get the file tree from binaries when you don't really know what is in the image. Required work is a bit out of my scope but I will poke some people about it. |
9a142ad to
e25415f
Compare
|
@tyeth May it helps. Here it is a Platformio Python script which does similar what your PR does for esptool.js. For working correctly to extract the files I had to compile the mklittlefs tool myself. P.S I was deep in the rabbit hole ;-) |
|
@Jason2866 thanks so much! |
|
@tyeth Just tested your tool online. Well done. Love it! |
|
There is a Python LittleFS implementation https://github.com/jrast/littlefs-python |
e25415f to
527d192
Compare
527d192 to
a9d081b
Compare
I'm looking for feedback, I've added the partition reader to esptool-js, along with the ability to download flash data.
Test it here: https://tyeth.github.io/read-partitions-esptool-js/
Ideally I want to have a littlefs and fatfs data explorer incorporated too, but I'm a little ways off (down the rabbit hole of filemanagers, although the fatfs/littlefs stuff should be okay).
I mainly want this for easy editing of secrets in littlefs devices, along with dropping files into the file system with relative ease (without installing anything).
I would really appreciate any suggestion of open source easy to use file manager type components or whatever (typescript/javascript/wasm), along with feedback on whether you think the esptool-js should include the partition/flash reading functionality, and potentially file manager (reading file systems from partition / img / bin and editing the contents through a file explorer).
Before submitting this properly I'd clean up the code along with css / todo comments.