mirror of
https://github.com/linux-msm/qdl.git
synced 2026-02-25 13:12:25 -08:00
adfdcc6b015ab8b5954d2a4d790fc3cf24c1104d
firehose_read() uses -errno to denote errors, -1 to represent NAK, 1 to represent ACK and 0 to represent that we got a LOG and should read again. This choice is unintuitive and choosing to overload errno and NAK on the negative value space isn't awesome. Additionally, firehose_run() does in some cases return -errno and others -1. Clean this up by defining ACK and NAK in the non-negative value space and use the negative value space for errno. Use -EAGAIN to signal that firehose_read() should make another read attempt. Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com>
Qualcomm Download ================= This tool communicates with USB devices of id 05c6:9008 to upload a flash loader and use this to flash images. Usage: qdl <prog.mbn> [<program> <patch> ...] Building ======== In order to build the project you need libxml2 and libusb-1.0 headers and libraries, found in e.g. the libxml2-dev and libusb-1.0.0-dev packages With these installed run: make
Description
Languages
C
96.8%
Makefile
1.7%
Shell
1.5%