Page MenuHomeFreeBSD

uchcom: Try to fix upload to esp8266
Needs ReviewPublic

Authored by probono_puredarwin.org on Apr 23 2023, 11:30 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 6, 10:35 AM
Unknown Object (File)
Dec 25 2023, 5:13 PM
Unknown Object (File)
Dec 22 2023, 11:09 PM
Unknown Object (File)
Dec 13 2023, 4:06 AM
Unknown Object (File)
Dec 5 2023, 1:58 AM
Unknown Object (File)
Nov 7 2023, 2:41 AM
Unknown Object (File)
Nov 4 2023, 8:25 PM
Unknown Object (File)
Oct 15 2023, 2:22 AM
Subscribers
This revision needs review, but all specified reviewers are disabled or inactive.

Details

Reviewers
hselasky
Summary

Currently uploading to esp8266 usinf uchcom devices fails.
It was suggested to port some logic from umodem.

https://github.com/helloSystem/ISO/issues/479
https://github.com/espressif/esptool/issues/272

Test Plan

If this works, then uploading to esp8266 using esptool should no longer fail.
I was not able to compile and test this yet.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Just use the existing USB transfers:
UCHCOM_BULK_WR -> UCHCOM_BULK_DT_WR
UCHCOM_BULK_RD -> UCHCOM_BULK_DT_RD

Upload patch with full context: -U999999

Sorry @hselasky I don't know how to do either.
If only we could use GitHub Pull Requests.