SHA256
1
0
forked from pool/python-spsdk

16 Commits

Author SHA256 Message Date
6b7aef3c06 Accepting request 1286290 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1286290
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-spsdk?expand=0&rev=7
2025-06-17 16:23:23 +00:00
25106cfdae OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-spsdk?expand=0&rev=16 2025-06-17 08:05:53 +00:00
c3521d2d3d - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-spsdk?expand=0&rev=15
2025-06-17 08:04:27 +00:00
19b0f5c414 Accepting request 1188498 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1188498
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-spsdk?expand=0&rev=6
2024-07-19 13:29:21 +00:00
8016a7be1d Accepting request 1164107 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1164107
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-spsdk?expand=0&rev=5
2024-04-02 14:44:12 +00:00
c24f05d2fd Accepting request 1163359 from home:ojkastl_buildservice:Branch_devel_languages_python
update to 2.1.1

OBS-URL: https://build.opensuse.org/request/show/1163359
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-spsdk?expand=0&rev=11
2024-04-02 12:49:36 +00:00
c3248329ac Accepting request 1161715 from devel:languages:python
- Add python-spsdk-remove_pypemicro.patch to remove dependency on
  python-pypemcro and pyocd-pemicro.

- Update to 2.1.0:
  * add signing commands (create, verify)
  * add subcommands for Fault Analysis Mode (export, parse, get-templates)
  * add printing the result of auth command
  * add dedicated plugin system
  * U-BOOT interface
  * add commit command
  * add commands related to release-container
  * enable IEE encryption for RT1180
  * add key exchange signed message
  * add signature provider for RT1xxx
  * support mcxn23x
  * deployment of new database
  * EL2GO mockup for S32K WPC
  * introduce memory configuration tool
  * fix get-trng state command
  * fix cmpa template
  * fix parsing ahab image for i.MX95
  * fix xmcd export command
  * fix certificate block as binary file
  * fix sb21 get-template command
  * fix export command
  * fix pfr generate command
  * fix default family parameter

OBS-URL: https://build.opensuse.org/request/show/1161715
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-spsdk?expand=0&rev=4
2024-03-26 18:25:50 +00:00
cded09b966 - Add python-spsdk-remove_pypemicro.patch to remove dependency on
python-pypemcro and pyocd-pemicro.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-spsdk?expand=0&rev=9
2024-03-26 11:35:36 +00:00
aac3b151b8 - Update to 2.1.0:
* add signing commands (create, verify)
  * add subcommands for Fault Analysis Mode (export, parse, get-templates)
  * add printing the result of auth command
  * add dedicated plugin system
  * U-BOOT interface
  * add commit command
  * add commands related to release-container
  * enable IEE encryption for RT1180
  * add key exchange signed message
  * add signature provider for RT1xxx
  * support mcxn23x
  * deployment of new database
  * EL2GO mockup for S32K WPC
  * introduce memory configuration tool
  * fix get-trng state command
  * fix cmpa template
  * fix parsing ahab image for i.MX95
  * fix xmcd export command
  * fix certificate block as binary file
  * fix sb21 get-template command
  * fix export command
  * fix pfr generate command
  * fix default family parameter

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-spsdk?expand=0&rev=8
2024-03-25 13:29:41 +00:00
d69f71f911 Accepting request 1138582 from devel:languages:python
- update to 2.0.1:
  * fix test memory AP address
  * Fix detection of input file for FCB in bootable image
  * fix IEE encryption for RT1180
  * fix signed MBI for Anguilla Nano
  * fix SB21 export with yaml config
  * fix behavior of the RKTH registers
  * fix invalid names of CRC field in database
  * fix setting a register value as raw value when loading from
    configuration
- update to 2.0.0:
  * dedicated plugin system
  * check of written data length in USB Interface
  * remove dependency on PyCryptodome
  * add rot command for calculating RoT hash
  * distinguish between fw version and image version
  * support YAML configuration for HAB
  * support build RT11xx image with ECC keys
  * support OSCCA
  * support AHAB NAND
  * implement HTTP Proxy Signature Provider
  * signature provider for OSCCA
  * add validation of signature in AHAB
  * support OTFAD for RT1010
  * export HAB from yaml config in bootable image
  * revision of offsets in AHAB container
  * command filter in SB 2.1 based on family
  * refactor memory types for mbi
  * add to AHAB key identifier for encrypted images
  * pfr/ifr:

OBS-URL: https://build.opensuse.org/request/show/1138582
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-spsdk?expand=0&rev=3
2024-01-15 21:17:25 +00:00
48428cce19 - update to 2.0.1:
* fix test memory AP address
  * Fix detection of input file for FCB in bootable image
  * fix IEE encryption for RT1180
  * fix signed MBI for Anguilla Nano
  * fix SB21 export with yaml config
  * fix behavior of the RKTH registers
  * fix invalid names of CRC field in database
  * fix setting a register value as raw value when loading from
    configuration
- update to 2.0.0:
  * dedicated plugin system
  * check of written data length in USB Interface
  * remove dependency on PyCryptodome
  * add rot command for calculating RoT hash
  * distinguish between fw version and image version
  * support YAML configuration for HAB
  * support build RT11xx image with ECC keys
  * support OSCCA
  * support AHAB NAND
  * implement HTTP Proxy Signature Provider
  * signature provider for OSCCA
  * add validation of signature in AHAB
  * support OTFAD for RT1010
  * export HAB from yaml config in bootable image
  * revision of offsets in AHAB container
  * command filter in SB 2.1 based on family
  * refactor memory types for mbi
  * add to AHAB key identifier for encrypted images
  * pfr/ifr:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-spsdk?expand=0&rev=6
2024-01-14 15:08:03 +00:00
21735a776c Accepting request 1121151 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1121151
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-spsdk?expand=0&rev=2
2023-10-30 21:11:07 +00:00
391cac8186 Accepting request 1121117 from home:ojkastl_buildservice:Branch_devel_languages_python
update to 1.11.0

OBS-URL: https://build.opensuse.org/request/show/1121117
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-spsdk?expand=0&rev=4
2023-10-30 10:56:23 +00:00
acc150d6fa Accepting request 1095807 from devel:languages:python
required by nitropy aka pynitrokey, which is a management utility for Nitrokeys

OBS-URL: https://build.opensuse.org/request/show/1095807
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-spsdk?expand=0&rev=1
2023-06-29 15:28:40 +00:00
fb11652908 Accepting request 1089928 from home:ojkastl_buildservice:Branch_devel_languages_python
do no longer package the *.c and *.bin files in spsdk/data/cpu_data/

OBS-URL: https://build.opensuse.org/request/show/1089928
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-spsdk?expand=0&rev=2
2023-05-31 16:14:08 +00:00
73937e4cdf Accepting request 1089345 from home:ojkastl_buildservice:Branch_devel_languages_python
new package python-spsdk, required by pynitrokey

OBS-URL: https://build.opensuse.org/request/show/1089345
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-spsdk?expand=0&rev=1
2023-05-30 12:32:48 +00:00
2 changed files with 11 additions and 8 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 17 08:03:02 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jul 17 19:23:07 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de> Wed Jul 17 19:23:07 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-spsdk # spec file for package python-spsdk
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,6 +16,7 @@
# #
%bcond_without libalternatives
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-spsdk Name: python-spsdk
Version: 2.1.1 Version: 2.1.1
@ -30,9 +31,11 @@ BuildRequires: %{python_module flit}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: alts
BuildRequires: dos2unix BuildRequires: dos2unix
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: alts
Requires: python-asn1crypto Requires: python-asn1crypto
Requires: python-astunparse Requires: python-astunparse
Requires: python-bincopy Requires: python-bincopy
@ -63,8 +66,6 @@ Requires: python-typing-extensions
# dependency no longer required due to Patch0 # dependency no longer required due to Patch0
# Requires: python-pypemicro # Requires: python-pypemicro
BuildArch: noarch BuildArch: noarch
Requires(post): update-alternatives
Requires(postun): update-alternatives
%python_subpackages %python_subpackages
%description %description
@ -107,11 +108,8 @@ find . -type f -name README.md -exec dos2unix {} +
# remove unneccesary *.c and *.bin files # remove unneccesary *.c and *.bin files
%python_expand rm -vf %{buildroot}%{$python_sitelib}/spsdk/data/cpu_data/*.c %{buildroot}%{$python_sitelib}/spsdk/data/cpu_data/*.bin %python_expand rm -vf %{buildroot}%{$python_sitelib}/spsdk/data/cpu_data/*.c %{buildroot}%{$python_sitelib}/spsdk/data/cpu_data/*.bin
%post %pre
%python_install_alternative blhost ifr nxpcrypto nxpdebugmbox nxpdevhsm nxpdevscan nxpele nxpimage pfr sdphost sdpshost shadowregs spsdk tpconfig tphost dk6prog nxpmemcfg nxpwpc %python_libalternatives_reset_alternative blhost
%postun
%python_uninstall_alternative blhost ifr nxpcrypto nxpdebugmbox nxpdevhsm nxpdevscan nxpele nxpimage pfr sdphost sdpshost shadowregs spsdk tpconfig tphost dk6prog nxpmemcfg nxpwpc
%files %{python_files} %files %{python_files}
%doc README.md %doc README.md