From 0948fee4705cdc92bc3a926f97c1e7bdae6244d5 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Fri, 3 Jul 2020 18:15:47 +0200 Subject: [PATCH] Initial import The README says that qdl is a "tool communicates with USB devices of id 05c6:9008 to upload a flash loader and use this to flash images.", however given that it implements the sahara protocol, and that protocol is used (at least) by the bootrom to enable to load code, we can safely mention a 'bootrom' in the package description to unify it with other packages like omap-usb-boot. Signed-off-by: Denis 'GNUtoo' Carikli --- .SRCINFO | 15 +++++++++++++++ PKGBUILD | 26 ++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..7e05d3156882 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = qdl + pkgdesc = Tool to communicate with Qualcomm System On a Chip bootroms to install or execute code + pkgver = 1.0 + pkgrel = 1 + url = https://github.com/andersson/qdl + arch = armv7h + arch = i686 + arch = x86_64 + license = GPL3 + depends = libxml2 + source = https://github.com/andersson/qdl/archive/v1.0.tar.gz + sha512sums = 561b6ffaf26d063f107a0769b41d0ed02f1f6c4656b6284e653e8baf69b2f34d5f6051e54bb45ab55c028bb8bfa9b4e5218b796dbdb7ab7686576168b1b11d77 + +pkgname = qdl + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..61a16300d003 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Copyright (C) 2019 Denis 'GNUtoo' Carikli +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +pkgname=qdl +pkgver=1.0 +pkgrel=1 +pkgdesc="Tool to communicate with Qualcomm System On a Chip bootroms to install or execute code" +arch=('armv7h' 'i686' 'x86_64') +url='https://github.com/andersson/qdl' +license=('GPL3') +depends=('libxml2') +source=("https://github.com/andersson/${pkgname}/archive/v${pkgver}.tar.gz") +sha512sums=('561b6ffaf26d063f107a0769b41d0ed02f1f6c4656b6284e653e8baf69b2f34d5f6051e54bb45ab55c028bb8bfa9b4e5218b796dbdb7ab7686576168b1b11d77') + +build(){ + cd "${srcdir}/${pkgname}-${pkgver}" + make +} + +package(){ + cd "${srcdir}/${pkgname}-${pkgver}" + make prefix="/usr" DESTDIR="${pkgdir}" install +}