OptionalonProgress: FlashProgressCallbacklimit: the bootloader's buffer. Our U-Boot's by default; flashBlob passes max-download-size.
OptionalonProgress: (done: number, total: number) => voidOptionallimit: numberFlashes a Blob (a File stays on disk) of any image format the bootloader takes. A raw image larger than max-download-size becomes sparse, and a sparse image is split into pieces that each fit, as AOSP fastboot does. Each piece is read from the Blob only when it is sent. No read-back: verify some other way (on our U-Boot, use flashVerified).
OptionalonProgress: FlashProgressCallbackFlash, read back, compare: what fel-install.sh does for every write. Needs our U-Boot's 'upload'.
OptionalonProgress: (phase: "write" | "verify", done: number, total: number) => voidSome bootloaders (Qualcomm LK) pad values with whitespace, so the value is trimmed.
'oem run:
Reads a whole eMMC partition: fb-read-partition.sh (mmc read into the fastboot buffer, then 'upload'). Read-only. Short env names because each command must fit in 64 bytes.
OptionalonProgress: (done: number, total: number) => voidU-Boot resets the panel as soon as it gets reboot, and the USB link often drops before its OKAY
can be read ("The device was disconnected"). Once the command is out, the reboot is happening:
a missing or failed reply is not an error.
StaticfromStaticknownAlready-permitted fastboot devices (no prompt).
Optionalfilters: USBDeviceFilter[]Staticrequestfilters: the frame's fastboot device; our U-Boot's by default.
Optionalfilters: USBDeviceFilter[]
fastboot boot: runs an image from RAM, nothing is written.