mirror of
https://github.com/linux-msm/qdl.git
synced 2026-02-25 13:12:25 -08:00
760b3dffb03d2b7dfb82c6eac652a092f51c572d
On a number of machines, qdl could cause crashes on the host system it ran on, due to swiotlb exaustion. This seems to be due to 1M buffers being used during the writes. In order to avoid this, rework qdl_write to break up the writes into out_maxpktsize chunks. With this patch, I no longer see host crashes when running qdl Cc: Bjorn Andersson <bjorn.andersson@linaro.org> Cc: Amit Pundir <amit.pundir@linaro.org> Cc: Sumit Semwal <sumit.semwal@linaro.org> Cc: dragonboard-aosp@lists.96boards.org Tested-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: John Stultz <john.stultz@linaro.org> [bjorn: Dropped change of max_payload_size] Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
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 headers and libraries, found in e.g. the libxml2-dev package. With this installed run: make
Description
Languages
C
96.8%
Makefile
1.7%
Shell
1.5%