Compare commits
5 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| ca10d9f6f8 | |||
| 7cc39abba5 | |||
| 7f204b6d1f | |||
| e0835adc85 | |||
| 3ad316b18b |
@@ -1,27 +0,0 @@
|
||||
From 835e24b7cd0b3ba6a62f0abfbb094ad7ee3ab524 Mon Sep 17 00:00:00 2001
|
||||
From: Johannes Kastl <kastl@b1-systems.de>
|
||||
Date: Mon, 15 May 2023 13:27:29 +0200
|
||||
Subject: [PATCH] remove pypemicro
|
||||
|
||||
based on
|
||||
https://github.com/archlinux/svntogit-community/blob/19938f5cab9adf93da26c09ebeb8111ed1bdc59b/trunk/python-spsdk-1.6.0-remove_pypemicro.patch
|
||||
|
||||
Signed-off-by: Johannes Kastl <kastl@b1-systems.de>
|
||||
---
|
||||
spsdk/debuggers/__init__.py | 1 -
|
||||
spsdk/debuggers/utils.py | 2 --
|
||||
2 files changed, 3 deletions(-)
|
||||
|
||||
Index: spsdk-2.1.0/spsdk/debuggers/__init__.py
|
||||
===================================================================
|
||||
--- spsdk-2.1.0.orig/spsdk/debuggers/__init__.py
|
||||
+++ spsdk-2.1.0/spsdk/debuggers/__init__.py
|
||||
@@ -8,7 +8,6 @@
|
||||
"""Wrappers for various types of debuggers."""
|
||||
|
||||
from .debug_probe_jlink import DebugProbePyLink
|
||||
-from .debug_probe_pemicro import DebugProbePemicro
|
||||
from .debug_probe_pyocd import DebugProbePyOCD
|
||||
|
||||
-__all__ = ["DebugProbePyLink", "DebugProbePemicro", "DebugProbePyOCD"]
|
||||
+__all__ = ["DebugProbePyLink", "DebugProbePyOCD"]
|
||||
@@ -1,3 +1,115 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 15 11:50:53 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 3.0.1
|
||||
* nxpcrypto:
|
||||
- improve serial number validation in certificate generation
|
||||
* nxpimage:
|
||||
- fix AHAB container header info display
|
||||
- fix MBI parameter for mcxa series
|
||||
- add input data size validation for HAB segments
|
||||
- add hardware key mixin to NHS52S04 MBI types
|
||||
- add load address mixin to every MBI type
|
||||
- improve CA Flag description in AHAB schemas
|
||||
- fix AHAB update keyblob
|
||||
- add new Fast Boot flags to AHABContainerV2
|
||||
* nxpmemcfg:
|
||||
- add missing memory types (MicronOPI_SDR, AdestoOPI_SDR)
|
||||
* update default BOOT_FLAGS value in MC56F81x68 BCA configuration
|
||||
* validate and clean up the contents of SPSDK data files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 23 14:28:03 UTC 2025 - Felix Stegmeier <felix.stegmeier@suse.com>
|
||||
- removed patch 'python-spsdk-remove_pypemicro.patch since pemicro has been moved into a plugin in 2.2.0
|
||||
|
||||
- Update to 3.0.0
|
||||
* New features:
|
||||
- el2go-host:
|
||||
- check UUID fuse index
|
||||
- ifr:
|
||||
- move into pfr application
|
||||
- nxpcrypto:
|
||||
- allow adding image key into existing PKI tree
|
||||
- remove nxpcertgen application (all functionality is now available in nxpcrypto application)
|
||||
- consolidate options -k/--private-key and -sp/--signature-provider replace with option -s/--signer
|
||||
- nxpdebugmbox:
|
||||
- move commands to separated groups with clearer organization
|
||||
- move parameter --family from the root command to individual command groups
|
||||
- derive test address from the family parameter
|
||||
- nxpdevhsm:
|
||||
- require oemRandomShare when oemEncMasterShare is defined
|
||||
- add new format for sbfile for mcxa family devices with secure installer/extended bootloader
|
||||
- nxpimage:
|
||||
- generate fuse script when merging signed image
|
||||
- add unicode characters for better BinaryImage visualization
|
||||
- remove the deprecated 'image_type' key in ahab configuration and replace by 'target_memory'
|
||||
- remove input_binary and base_address parameters from bee
|
||||
- rename merge commands in bootable-image and binary-image to export
|
||||
- remove 'mainCertChainId' key in cert-block configuration by 'mainRootCertId'
|
||||
- replace hab export /parse commands with unified configuration approach
|
||||
- implement SB3.1 data compression
|
||||
- add parser of SB3.1
|
||||
- consolidate all keys for data of SB3.1 load command into one
|
||||
- simplify load command configuration
|
||||
- simplify input data values
|
||||
- pfr:
|
||||
- remove option --show-calc from parse/read commands
|
||||
- remove option --calc-inverse from generte binary command
|
||||
- rename generate-binary command to export
|
||||
- rename parse-binary command to parse
|
||||
- require 'family' in BD file for SB2.1 and optionally 'revision' in the 'options' block
|
||||
- tphost/tpconfig:
|
||||
- remove applications
|
||||
- remove family option from main top command to individual subcommands
|
||||
- remove '--plugin' as optional parameter
|
||||
- rename merge commands to export
|
||||
- improve displaying of --help
|
||||
- all applications that support the --config option now also support the -oc/--override-config option
|
||||
|
||||
* Bugfixes
|
||||
- blhost:
|
||||
- fix receive-sb-file command failures with usb
|
||||
- el2go-host:
|
||||
- fix family parameter issue
|
||||
- nxpdebugmbox:
|
||||
- fix famode-image get-templates command
|
||||
- resolve debug authentication issues
|
||||
- fix general error handling
|
||||
- nxpdevhsm:
|
||||
- fix config file issues
|
||||
- nxpele:
|
||||
- fix get-info error
|
||||
- nxpfuses:
|
||||
- fix get-config errors
|
||||
- nxpimage:
|
||||
- fix HAB and BIMG issues
|
||||
- fix ahab export assertion error
|
||||
- fix RT118x build IEE image failure
|
||||
- fix parsing of imx943 bootable image
|
||||
- fix issues with receiving sb31
|
||||
- fix convertion binary from S19
|
||||
- fix parsing of FCB for RT7xx
|
||||
- remove unnecessary enableTrustZone parameter in MBI config files
|
||||
- fix overlapping detection and adjust-offsets functionality in binary-image merge
|
||||
- nxpmemcfg:
|
||||
- fix deprecation warning
|
||||
- nxpwpc:
|
||||
- fix missing family parameter for service parameters
|
||||
- fix api key existence
|
||||
- shadowregs:
|
||||
- fix general error
|
||||
- fix invalid -oc option behavior
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- Require importlib_metadata
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 28 15:03:18 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,25 +16,26 @@
|
||||
#
|
||||
|
||||
|
||||
%bcond_without libalternatives
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-spsdk
|
||||
Version: 2.1.1
|
||||
Version: 3.0.1
|
||||
Release: 0
|
||||
Summary: Unified, reliable and easy to use SW library working across NXP MCU portfolio
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/nxp-mcuxpresso/spsdk
|
||||
Source: https://files.pythonhosted.org/packages/source/s/spsdk/spsdk-%{version}.tar.gz
|
||||
# PATCH-FIX-OPENSUSE python-spsdk-remove_pypemicro.patch
|
||||
Patch0: python-spsdk-remove_pypemicro.patch
|
||||
BuildRequires: %{python_module flit}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: alts
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: alts
|
||||
Requires: python-asn1crypto
|
||||
Requires: python-astunparse
|
||||
Requires: python-bincopy
|
||||
Requires: python-bitstring
|
||||
Requires: python-click
|
||||
@@ -45,25 +46,32 @@ Requires: python-crcmod
|
||||
Requires: python-cryptography
|
||||
Requires: python-deepmerge
|
||||
Requires: python-fastjsonschema
|
||||
Requires: python-filelock
|
||||
Requires: python-hexdump
|
||||
Requires: python-importlib-metadata
|
||||
Requires: python-libusbsio
|
||||
Requires: python-libuuu
|
||||
Requires: python-oscrypto
|
||||
Requires: python-packaging
|
||||
Requires: python-platformdirs
|
||||
Requires: python-prettytable
|
||||
Requires: python-pylink-square
|
||||
Requires: python-pyocd
|
||||
Requires: python-pyasn1
|
||||
Requires: python-pyserial
|
||||
Requires: python-requests
|
||||
Requires: python-ruamel.yaml
|
||||
Requires: python-setuptools
|
||||
Requires: python-setuptools_scm
|
||||
Requires: python-sly
|
||||
Requires: python-spsdk-mcu-link
|
||||
Requires: python-spsdk-pyocd
|
||||
Requires: python-typing-extensions
|
||||
Requires: python-x690
|
||||
|
||||
# Removed dependencies
|
||||
# Requires: python-pyocd-pemicro
|
||||
# dependency no longer required due to Patch0
|
||||
# Requires: python-pypemicro
|
||||
BuildArch: noarch
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -79,7 +87,12 @@ find . -type f -name README.md -exec dos2unix {} +
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_clone -a %{buildroot}%{_bindir}/blhost
|
||||
%python_clone -a %{buildroot}%{_bindir}/ifr
|
||||
%python_clone -a %{buildroot}%{_bindir}/el2go-host
|
||||
%python_clone -a %{buildroot}%{_bindir}/lpcprog
|
||||
%python_clone -a %{buildroot}%{_bindir}/nxpdice
|
||||
%python_clone -a %{buildroot}%{_bindir}/nxpfuses
|
||||
%python_clone -a %{buildroot}%{_bindir}/nxpshe
|
||||
%python_clone -a %{buildroot}%{_bindir}/nxpuuu
|
||||
%python_clone -a %{buildroot}%{_bindir}/nxpcrypto
|
||||
%python_clone -a %{buildroot}%{_bindir}/nxpdebugmbox
|
||||
%python_clone -a %{buildroot}%{_bindir}/nxpdevhsm
|
||||
@@ -91,8 +104,6 @@ find . -type f -name README.md -exec dos2unix {} +
|
||||
%python_clone -a %{buildroot}%{_bindir}/sdpshost
|
||||
%python_clone -a %{buildroot}%{_bindir}/shadowregs
|
||||
%python_clone -a %{buildroot}%{_bindir}/spsdk
|
||||
%python_clone -a %{buildroot}%{_bindir}/tpconfig
|
||||
%python_clone -a %{buildroot}%{_bindir}/tphost
|
||||
%python_clone -a %{buildroot}%{_bindir}/dk6prog
|
||||
%python_clone -a %{buildroot}%{_bindir}/nxpmemcfg
|
||||
%python_clone -a %{buildroot}%{_bindir}/nxpwpc
|
||||
@@ -106,11 +117,8 @@ find . -type f -name README.md -exec dos2unix {} +
|
||||
# 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
|
||||
|
||||
%post
|
||||
%python_install_alternative blhost ifr nxpcrypto nxpdebugmbox nxpdevhsm nxpdevscan nxpele nxpimage pfr sdphost sdpshost shadowregs spsdk tpconfig tphost dk6prog nxpmemcfg nxpwpc
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative blhost ifr nxpcrypto nxpdebugmbox nxpdevhsm nxpdevscan nxpele nxpimage pfr sdphost sdpshost shadowregs spsdk tpconfig tphost dk6prog nxpmemcfg nxpwpc
|
||||
%pre
|
||||
%python_libalternatives_reset_alternative blhost
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
@@ -118,7 +126,12 @@ find . -type f -name README.md -exec dos2unix {} +
|
||||
%{python_sitelib}/spsdk/
|
||||
%{python_sitelib}/spsdk-%{version}.dist-info/
|
||||
%python_alternative %{_bindir}/blhost
|
||||
%python_alternative %{_bindir}/ifr
|
||||
%python_alternative %{_bindir}/el2go-host
|
||||
%python_alternative %{_bindir}/lpcprog
|
||||
%python_alternative %{_bindir}/nxpdice
|
||||
%python_alternative %{_bindir}/nxpfuses
|
||||
%python_alternative %{_bindir}/nxpshe
|
||||
%python_alternative %{_bindir}/nxpuuu
|
||||
%python_alternative %{_bindir}/nxpcrypto
|
||||
%python_alternative %{_bindir}/nxpdebugmbox
|
||||
%python_alternative %{_bindir}/nxpdevhsm
|
||||
@@ -130,8 +143,6 @@ find . -type f -name README.md -exec dos2unix {} +
|
||||
%python_alternative %{_bindir}/sdpshost
|
||||
%python_alternative %{_bindir}/shadowregs
|
||||
%python_alternative %{_bindir}/spsdk
|
||||
%python_alternative %{_bindir}/tpconfig
|
||||
%python_alternative %{_bindir}/tphost
|
||||
%python_alternative %{_bindir}/dk6prog
|
||||
%python_alternative %{_bindir}/nxpmemcfg
|
||||
%python_alternative %{_bindir}/nxpwpc
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2251c370d7493729295a551564c206381a06e830e366f2f5fd3154172cd10f21
|
||||
size 894370
|
||||
3
spsdk-3.0.1.tar.gz
Normal file
3
spsdk-3.0.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bbba165d704327ea21f2a41efcf0b9ae65c579bded7e880bc3dd2d5b63a2d141
|
||||
size 1755646
|
||||
Reference in New Issue
Block a user