package/python-kflash: new package
Add the kflash Kendryte K210 UART ISP Utility as a host package to allow users to program their board boot ROM or SRAM with built images. The kflash utility is available through the pypi.org python package index. The project is homepage is: https://github.com/vowstar/kflash.py. Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
d35ba17409
commit
8131ef6554
@ -630,6 +630,9 @@ N: Damien Lanson <damien@kal-host.com>
|
||||
F: package/libvdpau/
|
||||
F: package/log4cpp/
|
||||
|
||||
N: Damien Le Moal <damien.lemoal@wdc.com>
|
||||
F: package/python-kflash/
|
||||
|
||||
N: Daniel Nicoletti <dantti12@gmail.com>
|
||||
F: package/cutelyst/
|
||||
|
||||
|
@ -72,6 +72,7 @@ menu "Host utilities"
|
||||
source "package/pwgen/Config.in.host"
|
||||
source "package/python-cython/Config.in.host"
|
||||
source "package/python-greenlet/Config.in.host"
|
||||
source "package/python-kflash/Config.in.host"
|
||||
source "package/python-lxml/Config.in.host"
|
||||
source "package/python-six/Config.in.host"
|
||||
source "package/python-xlrd/Config.in.host"
|
||||
|
7
package/python-kflash/Config.in.host
Normal file
7
package/python-kflash/Config.in.host
Normal file
@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_HOST_PYTHON_KFLASH
|
||||
bool "host python-kflash"
|
||||
depends on BR2_RISCV_64 && !BR2_USE_MMU
|
||||
help
|
||||
Kendryte UART ISP Utility - programming code to k210.
|
||||
|
||||
https://github.com/vowstar/kflash.py
|
5
package/python-kflash/python-kflash.hash
Normal file
5
package/python-kflash/python-kflash.hash
Normal file
@ -0,0 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/kflash/json
|
||||
md5 85549bcc1faa0f2cd5ebe3b04759e7fa kflash-1.1.5.tar.gz
|
||||
sha256 40a0976b52942c7a3bdfa2d9e2bdc8d7526cf6deb0759c8384281240c8fb404e kflash-1.1.5.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 c48133d7a08d743c2c01c6190fc1860f7d73777afa2199ed8d0a035b754d8bf9 LICENSE
|
15
package/python-kflash/python-kflash.mk
Normal file
15
package/python-kflash/python-kflash.mk
Normal file
@ -0,0 +1,15 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-kflash
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_KFLASH_VERSION = 1.1.5
|
||||
PYTHON_KFLASH_SOURCE = kflash-$(PYTHON_KFLASH_VERSION).tar.gz
|
||||
PYTHON_KFLASH_SITE = https://files.pythonhosted.org/packages/c4/b3/1c25a92922bfd3dbc05d972352c071167cad035c615f6f068f75c2f0fd01
|
||||
PYTHON_KFLASH_SETUP_TYPE = setuptools
|
||||
PYTHON_KFLASH_LICENSE = MIT
|
||||
PYTHON_KFLASH_LICENSE_FILES = LICENSE
|
||||
HOST_PYTHON_KFLASH_DEPENDENCIES = host-python-pyelftools host-python-serial
|
||||
|
||||
$(eval $(host-python-package))
|
Loading…
Reference in New Issue
Block a user