New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flashing an eMMC image returns "Error: Not implemented yet" #6
Comments
|
That is truth, flashing via Mk II protocol is not implemented yet. It is also written in TODO: Lines 22 to 23 in 3344248
Protocol is described in file doc/mkii and some initial code is in src/mkii.c Lines 191 to 337 in 3344248
Patches for full implementation are welcome :-) |
in README is incorrect then, ok |
|
I'll give it a try. |
|
Does the |
|
Yes. You can look at nolo_send_image() which is similar, but data over usb are sent differently. |
|
In attachment you can find sniffed usb log when flashing emmc image. mkii.log For such purpose there libusb-sniff.c library. |
|
Damn, it seems like i bricked it even more than it used to be. It times out at |
|
Oh, nvm, it times out in the raw data sending after 100s. I wonder if i must/should usb_bulk_write the whole 1048576 pack at once. |
|
I have no idea. This is something which I not tested yet... |
|
Also i wonder if |
|
Hmm, usb_strerror at the entrance of The current state of my code is there: l29ah@4580ed4 |
Maybe thats because there is no attached kernel driver, so nothing is possible to detach?
You can recheck which data are sending/receiving via USB bus with libusb-sniff. |
|
The best way is really to run 0xFFFF under libusb-sniff. That mkii.log file was created by running flasher-3.5 under libusb-sniff. Just call |
The text was updated successfully, but these errors were encountered: