From 310e83e03e4a0b1d12e458c8b58930711c48e471 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 8 Jun 2023 12:15:52 +0000 Subject: automatic import of python-cysecuretools --- python-cysecuretools.spec | 406 +++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 384 insertions(+), 22 deletions(-) (limited to 'python-cysecuretools.spec') diff --git a/python-cysecuretools.spec b/python-cysecuretools.spec index d537d57..22215c5 100644 --- a/python-cysecuretools.spec +++ b/python-cysecuretools.spec @@ -1,15 +1,14 @@ %global _empty_manifest_terminate_build 0 Name: python-cysecuretools -Version: 4.1.0 +Version: 4.2.0 Release: 1 Summary: Cypress secure tools for Python License: Apache 2.0 URL: https://github.com/cypresssemiconductorco/cysecuretools -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/68/ae/b343e193778e1a993da2308e469b983e7f82b602daf2c5157baa9d8987eb/cysecuretools-4.1.0.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/38/20/97ba7fd4c5b08995a68df35c86ec519c9c5517d175cdc392408ed3aa9d76/cysecuretools-4.2.0.tar.gz BuildArch: noarch Requires: python3-setuptools -Requires: python3-psutil Requires: python3-cryptography Requires: python3-click Requires: python3-intelhex @@ -23,6 +22,7 @@ Requires: python3-packaging This package contains security tools for creating keys, creating certificates, signing user applications, and provisioning Cypress MCUs. # Table of Contents +- [HW/SW compatibility](#hwsw-compatibility) - [Prerequisites](#prerequisites) - [Documentation](#documentation) - [Installing package](#installing-package) @@ -35,12 +35,121 @@ This package contains security tools for creating keys, creating certificates, s - [Known issues](#known-issues) - [License and Contributions](#license-and-contributions) +# HW/SW compatibility +## PSoC 64 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Target/KitSilicon RevisionSilicon ID, Silicon Rev., Family IDCySecureTools VersionSecure FlashBoot VersionCyBootloader Version
512K
+ cyb06xx5
+ cy8cproto‑064b0s3 +
A10xE70D, 0x12, 0x1054.2.04.0.2.18422.0.1.6441
2M
+ cyb06xxa
+ cy8ckit‑064b0s2‑4343w +
A10xE470, 0x12, 0x1024.2.04.0.2.18422.0.2.8102
+ cys06xxa
+ cy8ckit‑064s0s2‑4343w +
A10xE4A0, 0x12, 0x1024.2.04.0.2.18422.0.2.8102
1M
+ cyb06xx7
+ cy8cproto‑064s1‑sb
+ cy8cproto‑064b0s1‑ble
+ cy8cproto‑064b0s1‑ssa +
B3 + 0xE262, 0x24, 0x100 + 0xE261, 0x24, 0x100 + 4.2.04.0.2.18422.0.0.4041
+ +## CYW20829 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Target/KitSilicon Revision1Silicon ID, Silicon Rev., Family IDCySecureTools VersionBootROM VersionRAM Applications Version
cyw20829A00xEB40, 0x11, 0x1104.2.01.0.0.71201.0.0.2857
cyw20829B00xEB43, 0x21, 0x1104.2.01.2.0.82741.2.0.3073
+ +1 Specify `--rev` option for older revision of the silicon (e.g. `$ cysecuretools -t cyw20829 --rev a0 `). Using the latest revision does not require specifying the option. + # Prerequisites * General * Python 3.6 or later * For PSoC 64 devices * In case of use PyOCD: - * [Installed the libusb driver](#installing-libusb-driver) + * [Installed the libusb driver](#installing-libusb-driver) * Ensure the KitProg3 programming mode is **DAPLink** * In case of use OpenOCD: * [Installed Cypress OpenOCD](https://github.com/cypresssemiconductorco/openocd/releases) @@ -51,7 +160,6 @@ This package contains security tools for creating keys, creating certificates, s * Ensure the KitProg3 programming mode is **CMSIS-DAP Bulk** * Ensure the power selection jumper is set to provide 2.5 V to the power supply pin related to eFuse power. This voltage level is required to blow eFuses - # Documentation * [PSoC64 Secure MCU Secure Boot SDK User Guide](https://www.cypress.com/documentation/software-and-drivers/psoc-64-secure-mcu-secure-boot-sdk-user-guide) * [Changelog](CHANGELOG.md) @@ -105,8 +213,8 @@ When using _pyOCD_ as a debugger, the log files contain messages sent by both to ERROR : SFB status: CY_FB_INVALID_IMG_JWT_SIGNATURE: Invalid image certificate signature. Check the log for details ``` _Workaround_: -1. Open the policy file. -2. Navigate to section 1 of the `boot_upgrade/firmware`. +1. Open the policy file. +2. Navigate to section 1 of the `boot_upgrade/firmware`. 3. Set `boot_auth` and `bootloader_keys` as follows: ``` "boot_auth": [ @@ -143,6 +251,18 @@ This project contains code from other projects. The original license text is inc # Changelog All notable changes to this project will be documented in this file. +## 4.2.0 +### Added +- Support for CYW20829 B0 silicon revision +- Multi-image NV counter for CYW20829 +- Transition PSoC 64 devices to RMA LCS +- Open PSoC 64 devices in RMA LCS for debugging +- OpenOCD autodiscovery in ModusToolbox directory +- Add SW/HW compatibility table to the readme + +### Changed +- Target `cyw20829` is used for the latest silicon revision. For the previous silicon revision (A0) add _--rev_ option in the command line (`-t cyw20829 --rev a0`) + ## 4.1.0 ### Added - OpenOCD support for PSoC 64 devices @@ -229,6 +349,7 @@ BuildRequires: python3-pip This package contains security tools for creating keys, creating certificates, signing user applications, and provisioning Cypress MCUs. # Table of Contents +- [HW/SW compatibility](#hwsw-compatibility) - [Prerequisites](#prerequisites) - [Documentation](#documentation) - [Installing package](#installing-package) @@ -241,12 +362,121 @@ This package contains security tools for creating keys, creating certificates, s - [Known issues](#known-issues) - [License and Contributions](#license-and-contributions) +# HW/SW compatibility +## PSoC 64 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Target/KitSilicon RevisionSilicon ID, Silicon Rev., Family IDCySecureTools VersionSecure FlashBoot VersionCyBootloader Version
512K
+ cyb06xx5
+ cy8cproto‑064b0s3 +
A10xE70D, 0x12, 0x1054.2.04.0.2.18422.0.1.6441
2M
+ cyb06xxa
+ cy8ckit‑064b0s2‑4343w +
A10xE470, 0x12, 0x1024.2.04.0.2.18422.0.2.8102
+ cys06xxa
+ cy8ckit‑064s0s2‑4343w +
A10xE4A0, 0x12, 0x1024.2.04.0.2.18422.0.2.8102
1M
+ cyb06xx7
+ cy8cproto‑064s1‑sb
+ cy8cproto‑064b0s1‑ble
+ cy8cproto‑064b0s1‑ssa +
B3 + 0xE262, 0x24, 0x100 + 0xE261, 0x24, 0x100 + 4.2.04.0.2.18422.0.0.4041
+ +## CYW20829 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Target/KitSilicon Revision1Silicon ID, Silicon Rev., Family IDCySecureTools VersionBootROM VersionRAM Applications Version
cyw20829A00xEB40, 0x11, 0x1104.2.01.0.0.71201.0.0.2857
cyw20829B00xEB43, 0x21, 0x1104.2.01.2.0.82741.2.0.3073
+ +1 Specify `--rev` option for older revision of the silicon (e.g. `$ cysecuretools -t cyw20829 --rev a0 `). Using the latest revision does not require specifying the option. + # Prerequisites * General * Python 3.6 or later * For PSoC 64 devices * In case of use PyOCD: - * [Installed the libusb driver](#installing-libusb-driver) + * [Installed the libusb driver](#installing-libusb-driver) * Ensure the KitProg3 programming mode is **DAPLink** * In case of use OpenOCD: * [Installed Cypress OpenOCD](https://github.com/cypresssemiconductorco/openocd/releases) @@ -257,7 +487,6 @@ This package contains security tools for creating keys, creating certificates, s * Ensure the KitProg3 programming mode is **CMSIS-DAP Bulk** * Ensure the power selection jumper is set to provide 2.5 V to the power supply pin related to eFuse power. This voltage level is required to blow eFuses - # Documentation * [PSoC64 Secure MCU Secure Boot SDK User Guide](https://www.cypress.com/documentation/software-and-drivers/psoc-64-secure-mcu-secure-boot-sdk-user-guide) * [Changelog](CHANGELOG.md) @@ -311,8 +540,8 @@ When using _pyOCD_ as a debugger, the log files contain messages sent by both to ERROR : SFB status: CY_FB_INVALID_IMG_JWT_SIGNATURE: Invalid image certificate signature. Check the log for details ``` _Workaround_: -1. Open the policy file. -2. Navigate to section 1 of the `boot_upgrade/firmware`. +1. Open the policy file. +2. Navigate to section 1 of the `boot_upgrade/firmware`. 3. Set `boot_auth` and `bootloader_keys` as follows: ``` "boot_auth": [ @@ -349,6 +578,18 @@ This project contains code from other projects. The original license text is inc # Changelog All notable changes to this project will be documented in this file. +## 4.2.0 +### Added +- Support for CYW20829 B0 silicon revision +- Multi-image NV counter for CYW20829 +- Transition PSoC 64 devices to RMA LCS +- Open PSoC 64 devices in RMA LCS for debugging +- OpenOCD autodiscovery in ModusToolbox directory +- Add SW/HW compatibility table to the readme + +### Changed +- Target `cyw20829` is used for the latest silicon revision. For the previous silicon revision (A0) add _--rev_ option in the command line (`-t cyw20829 --rev a0`) + ## 4.1.0 ### Added - OpenOCD support for PSoC 64 devices @@ -432,6 +673,7 @@ Provides: python3-cysecuretools-doc This package contains security tools for creating keys, creating certificates, signing user applications, and provisioning Cypress MCUs. # Table of Contents +- [HW/SW compatibility](#hwsw-compatibility) - [Prerequisites](#prerequisites) - [Documentation](#documentation) - [Installing package](#installing-package) @@ -444,12 +686,121 @@ This package contains security tools for creating keys, creating certificates, s - [Known issues](#known-issues) - [License and Contributions](#license-and-contributions) +# HW/SW compatibility +## PSoC 64 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Target/KitSilicon RevisionSilicon ID, Silicon Rev., Family IDCySecureTools VersionSecure FlashBoot VersionCyBootloader Version
512K
+ cyb06xx5
+ cy8cproto‑064b0s3 +
A10xE70D, 0x12, 0x1054.2.04.0.2.18422.0.1.6441
2M
+ cyb06xxa
+ cy8ckit‑064b0s2‑4343w +
A10xE470, 0x12, 0x1024.2.04.0.2.18422.0.2.8102
+ cys06xxa
+ cy8ckit‑064s0s2‑4343w +
A10xE4A0, 0x12, 0x1024.2.04.0.2.18422.0.2.8102
1M
+ cyb06xx7
+ cy8cproto‑064s1‑sb
+ cy8cproto‑064b0s1‑ble
+ cy8cproto‑064b0s1‑ssa +
B3 + 0xE262, 0x24, 0x100 + 0xE261, 0x24, 0x100 + 4.2.04.0.2.18422.0.0.4041
+ +## CYW20829 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Target/KitSilicon Revision1Silicon ID, Silicon Rev., Family IDCySecureTools VersionBootROM VersionRAM Applications Version
cyw20829A00xEB40, 0x11, 0x1104.2.01.0.0.71201.0.0.2857
cyw20829B00xEB43, 0x21, 0x1104.2.01.2.0.82741.2.0.3073
+ +1 Specify `--rev` option for older revision of the silicon (e.g. `$ cysecuretools -t cyw20829 --rev a0 `). Using the latest revision does not require specifying the option. + # Prerequisites * General * Python 3.6 or later * For PSoC 64 devices * In case of use PyOCD: - * [Installed the libusb driver](#installing-libusb-driver) + * [Installed the libusb driver](#installing-libusb-driver) * Ensure the KitProg3 programming mode is **DAPLink** * In case of use OpenOCD: * [Installed Cypress OpenOCD](https://github.com/cypresssemiconductorco/openocd/releases) @@ -460,7 +811,6 @@ This package contains security tools for creating keys, creating certificates, s * Ensure the KitProg3 programming mode is **CMSIS-DAP Bulk** * Ensure the power selection jumper is set to provide 2.5 V to the power supply pin related to eFuse power. This voltage level is required to blow eFuses - # Documentation * [PSoC64 Secure MCU Secure Boot SDK User Guide](https://www.cypress.com/documentation/software-and-drivers/psoc-64-secure-mcu-secure-boot-sdk-user-guide) * [Changelog](CHANGELOG.md) @@ -514,8 +864,8 @@ When using _pyOCD_ as a debugger, the log files contain messages sent by both to ERROR : SFB status: CY_FB_INVALID_IMG_JWT_SIGNATURE: Invalid image certificate signature. Check the log for details ``` _Workaround_: -1. Open the policy file. -2. Navigate to section 1 of the `boot_upgrade/firmware`. +1. Open the policy file. +2. Navigate to section 1 of the `boot_upgrade/firmware`. 3. Set `boot_auth` and `bootloader_keys` as follows: ``` "boot_auth": [ @@ -552,6 +902,18 @@ This project contains code from other projects. The original license text is inc # Changelog All notable changes to this project will be documented in this file. +## 4.2.0 +### Added +- Support for CYW20829 B0 silicon revision +- Multi-image NV counter for CYW20829 +- Transition PSoC 64 devices to RMA LCS +- Open PSoC 64 devices in RMA LCS for debugging +- OpenOCD autodiscovery in ModusToolbox directory +- Add SW/HW compatibility table to the readme + +### Changed +- Target `cyw20829` is used for the latest silicon revision. For the previous silicon revision (A0) add _--rev_ option in the command line (`-t cyw20829 --rev a0`) + ## 4.1.0 ### Added - OpenOCD support for PSoC 64 devices @@ -629,7 +991,7 @@ All notable changes to this project will be documented in this file. %prep -%autosetup -n cysecuretools-4.1.0 +%autosetup -n cysecuretools-4.2.0 %build %py3_build @@ -643,20 +1005,20 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/bin ]; then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/sbin ]; then - find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst + find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . @@ -669,5 +1031,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Mon May 15 2023 Python_Bot - 4.1.0-1 +* Thu Jun 08 2023 Python_Bot - 4.2.0-1 - Package Spec generated -- cgit v1.2.3