From aac3b151b862d0fc08cf116f617594170c3404c360cee1ff370d380c186f83ac Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Mon, 25 Mar 2024 13:29:41 +0000 Subject: [PATCH] - 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 --- python-spsdk.changes | 28 ++++++++++++++++++++++++++++ python-spsdk.spec | 26 +++++++++++++++----------- spsdk-2.0.1.tar.gz | 3 --- spsdk-2.1.0.tar.gz | 3 +++ 4 files changed, 46 insertions(+), 14 deletions(-) delete mode 100644 spsdk-2.0.1.tar.gz create mode 100644 spsdk-2.1.0.tar.gz diff --git a/python-spsdk.changes b/python-spsdk.changes index fc74ca1..dfd3dfd 100644 --- a/python-spsdk.changes +++ b/python-spsdk.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Mon Mar 25 12:34:46 UTC 2024 - Daniel Garcia + +- 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 + ------------------------------------------------------------------- Sun Jan 14 12:10:58 UTC 2024 - Dirk Müller diff --git a/python-spsdk.spec b/python-spsdk.spec index 27dc9dc..f20ccf1 100644 --- a/python-spsdk.spec +++ b/python-spsdk.spec @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-spsdk -Version: 2.0.1 +Version: 2.1.0 Release: 0 Summary: Unified, reliable and easy to use SW library working across NXP MCU portfolio License: BSD-3-Clause @@ -39,29 +39,27 @@ Requires: python-click Requires: python-click-command-tree Requires: python-click-option-group Requires: python-colorama -Requires: python-commentjson Requires: python-crcmod Requires: python-cryptography Requires: python-deepmerge Requires: python-fastjsonschema Requires: python-hexdump -Requires: python-jinja2 Requires: python-libusbsio Requires: python-oscrypto -Requires: python-pycryptodome +Requires: python-platformdirs +Requires: python-prettytable Requires: python-pylink-square Requires: python-pyocd -# disable dependency -# Requires: python-pyocd-pemicro -# dependency no longer required due to Patch0 -# Requires: python-pypemicro +Requires: python-pyocd-pemicro +Requires: python-pypemicro Requires: python-pyserial +Requires: python-requests Requires: python-ruamel.yaml Requires: python-sly Requires: python-typing-extensions BuildArch: noarch Requires(post): update-alternatives -Requires(postun):update-alternatives +Requires(postun): update-alternatives %python_subpackages %description @@ -92,19 +90,23 @@ find . -type f -name README.md -exec dos2unix {} + %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 # fix line endings %python_expand find %{buildroot}%{$python_sitelib} -type f -exec dos2unix {} + # remove shebangs %python_expand find %{buildroot}%{$python_sitelib} -iname "*.py" -exec sed -i '1{/env python/d;}' {} + +# compile all here to avoid python-bytecode-inconsistent-mtime +%python_compileall %python_expand %fdupes %{buildroot}%{$python_sitelib} # 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 +%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 +%python_uninstall_alternative blhost ifr nxpcrypto nxpdebugmbox nxpdevhsm nxpdevscan nxpele nxpimage pfr sdphost sdpshost shadowregs spsdk tpconfig tphost dk6prog nxpmemcfg nxpwpc %files %{python_files} %doc README.md @@ -127,5 +129,7 @@ find . -type f -name README.md -exec dos2unix {} + %python_alternative %{_bindir}/tpconfig %python_alternative %{_bindir}/tphost %python_alternative %{_bindir}/dk6prog +%python_alternative %{_bindir}/nxpmemcfg +%python_alternative %{_bindir}/nxpwpc %changelog diff --git a/spsdk-2.0.1.tar.gz b/spsdk-2.0.1.tar.gz deleted file mode 100644 index c535cea..0000000 --- a/spsdk-2.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5829b637e931772565f8d13cdf1f53343805d6fe7dd8f99d525d796f58d8f7cb -size 779424 diff --git a/spsdk-2.1.0.tar.gz b/spsdk-2.1.0.tar.gz new file mode 100644 index 0000000..694a6ac --- /dev/null +++ b/spsdk-2.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a14e565d0fc28e35d37c059d3d206c03822818dcfaf369a9c53f7567e5e3de02 +size 890821