Accepting request 867280 from home:musfay
A tool for flashing firmware to qualcomm based systems eg. Smartphones, dragonboard OBS-URL: https://build.opensuse.org/request/show/867280 OBS-URL: https://build.opensuse.org/package/show/devel:tools/qdl?expand=0&rev=1
This commit is contained in:
commit
388ab4b61a
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
14
_service
Normal file
14
_service
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
<services>
|
||||||
|
<service mode="localonly" name="tar_scm">
|
||||||
|
<param name="url">https://github.com/andersson/qdl.git</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="changesgenerate">enable</param>
|
||||||
|
<param name="filename">qdl</param>
|
||||||
|
<param name="versionformat">1.0+git.%cd</param>
|
||||||
|
</service>
|
||||||
|
<service mode="localonly" name="recompress">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
</service>
|
||||||
|
<service mode="localonly" name="set_version"/>
|
||||||
|
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<servicedata>
|
||||||
|
<service name="tar_scm">
|
||||||
|
<param name="url">https://github.com/andersson/qdl.git</param>
|
||||||
|
<param name="changesrevision">760b3dffb03d2b7dfb82c6eac652a092f51c572d</param></service></servicedata>
|
3
qdl-1.0+git.20190503.tar.xz
Normal file
3
qdl-1.0+git.20190503.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:211857cdaaccd7a0bf10546d75c278c11a2d3d9a295d8944e3b08fdcee9e6ba6
|
||||||
|
size 11660
|
14
qdl.changes
Normal file
14
qdl.changes
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 27 18:01:59 UTC 2021 - mustug385@gmail.com
|
||||||
|
|
||||||
|
- Update to version 1.0+git.20190503:
|
||||||
|
* qdl: Rework qdl_write to limit write sizes to out_maxpktsize
|
||||||
|
* firehose: Wait 3 seconds for payload to boot
|
||||||
|
* firehose: Lower the initial read timeout
|
||||||
|
* firehose: Remove unused firehose_nop()
|
||||||
|
* usb: Silence usb helpers
|
||||||
|
* firehose: Continue reading log entries after response
|
||||||
|
* sahara_run: properly propagate error
|
||||||
|
* program: Correct a/b XBL match
|
||||||
|
* qdl: Wait for missing EDL device
|
||||||
|
* qdl: Remove debug print for claim return code
|
49
qdl.spec
Normal file
49
qdl.spec
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
#
|
||||||
|
# spec file for package qdl
|
||||||
|
#
|
||||||
|
# Copyright (c) 2021 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
Name: qdl
|
||||||
|
Version: 1.0+git.20190503
|
||||||
|
Release: 0
|
||||||
|
License: BSD-3-Clause
|
||||||
|
Group: Development/Tools/Other
|
||||||
|
#Source https://github.com/andersson/qdl/archive/master.tar.gz
|
||||||
|
Source: %{name}-%{version}.tar.xz
|
||||||
|
Url: https://github.com/andersson/qdl
|
||||||
|
BuildRequires: libxml2-devel
|
||||||
|
BuildRequires: libudev-devel
|
||||||
|
BuildRequires: gcc
|
||||||
|
Summary: A tool for flash images to Qualcomm based systems
|
||||||
|
|
||||||
|
%description
|
||||||
|
This tool communicates with USB devices of id 05c6:9008 to upload a flash
|
||||||
|
loader and use this to flash images. Mostly Qualcomm based systems.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
make CFLAGS="-O2 -Wall -fpie -g -I/usr/include/libxml2" \
|
||||||
|
LDFLAGS="-lxml2 -lz -llzma -lm -ldl -ludev -pie"
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install prefix="/usr"
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user