Skip to content

Commit

Permalink
Update python-esptool to version 4.8.1 / rev 13 via SR 1227783
Browse files Browse the repository at this point in the history
https://build.opensuse.org/request/show/1227783
by user dgarcia + anag+factory
- update to 4.8.1:
  * Add esp32c2 eco4 rom magic value
  * Correctly exclude the unwanted sub/modules
  * Supports wafer efuse versions for esp32c61
  * add new command SFDP read
  * Add option to retry connection in a loop
  * Updates efuse table for esp32c5
  * Updates efuse table for esp32p4
  * Added stub flasher support
  * add autocompletions
  * allow picking UART by VID/PID/Name
  * Add USB-serial/JTAG stub support
  * Add UART stub support
  * Print key_purpose name for get_security_info cmd
  * Adds support extend efuse table by user CSV
    file* separated(default) and united(new)
  * Adds incompatible eFuse settings check for S3
  * Apply reconnections to the whole reset sequence,
    not line transitions
  * Automatically reconnect if port disconnects during reset
  * Add ECO1
  • Loading branch information
dgarcia authored and bmwiedemann committed Dec 2, 2024
1 parent 13a0628 commit 0bb02b0
Show file tree
Hide file tree
Showing 6 changed files with 117 additions and 11 deletions.
Binary file modified packages/p/python-esptool/.files
Binary file not shown.
37 changes: 37 additions & 0 deletions packages/p/python-esptool/.rev
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,41 @@
</comment>
<requestid>1185698</requestid>
</revision>
<revision rev="13" vrev="1">
<srcmd5>3d84d5f9086d7d26bd0e5ef180558ae4</srcmd5>
<version>4.8.1</version>
<time>1733162986</time>
<user>anag+factory</user>
<comment>- update to 4.8.1:
* Add esp32c2 eco4 rom magic value
* Correctly exclude the unwanted sub/modules
* Supports wafer efuse versions for esp32c61
* add new command SFDP read
* Add option to retry connection in a loop
* Updates efuse table for esp32c5
* Updates efuse table for esp32p4
* Added stub flasher support
* add autocompletions
* allow picking UART by VID/PID/Name
* Add USB-serial/JTAG stub support
* Add UART stub support
* Print key_purpose name for get_security_info cmd
* Adds support extend efuse table by user CSV
file* separated(default) and united(new)
* Adds incompatible eFuse settings check for S3
* Apply reconnections to the whole reset sequence,
not line transitions
* Automatically reconnect if port disconnects during reset
* Add ECO1 magic number
* Add support for secure boot v2 using
ECDSA-P384 signatures
* retry flashing if chip disconnects
* Allow filtering efuses based on command line arguments
* Enable context manager for esp instances
* Added check for correctness of written data
* Improves help for burn_efuse cmd
* clear boot control register on hard reset
* add spi-connection restriction to ROM class</comment>
<requestid>1227783</requestid>
</revision>
</revisionlist>
1 change: 0 additions & 1 deletion packages/p/python-esptool/esptool-4.7.0.tar.gz

This file was deleted.

1 change: 1 addition & 0 deletions packages/p/python-esptool/esptool-4.8.1.tar.gz
70 changes: 66 additions & 4 deletions packages/p/python-esptool/python-esptool.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,65 @@
-------------------------------------------------------------------
Sat Nov 30 09:40:57 UTC 2024 - Dirk Müller <[email protected]>

- update to 4.8.1:
* Add esp32c2 eco4 rom magic value
* Correctly exclude the unwanted sub/modules
* Supports wafer efuse versions for esp32c61
* add new command SFDP read
* Add option to retry connection in a loop
* Updates efuse table for esp32c5
* Updates efuse table for esp32p4
* Added stub flasher support
* add autocompletions
* allow picking UART by VID/PID/Name
* Add USB-serial/JTAG stub support
* Add UART stub support
* Print key_purpose name for get_security_info cmd
* Adds support extend efuse table by user CSV
file* separated(default) and united(new)
* Adds incompatible eFuse settings check for S3
* Apply reconnections to the whole reset sequence,
not line transitions
* Automatically reconnect if port disconnects during reset
* Add ECO1 magic number
* Add support for secure boot v2 using
ECDSA-P384 signatures
* retry flashing if chip disconnects
* Allow filtering efuses based on command line arguments
* Enable context manager for esp instances
* Added check for correctness of written data
* Improves help for burn_efuse cmd
* clear boot control register on hard reset
* add spi-connection restriction to ROM class
* add UF2 IDs for ESP32-C5 and ESP32-C61
* Updates efuses for C5 and C61
* add c61 basic flash support (no_stub)
* skipped the stub check for esp32c5 mp
* base support of esp32c5 mp (no stub)
* Added warning when secure boot enabled
* Recalculated SHA digest for image binary
* print flash voltage in flash_id command
* Adds wafer and pkg versions
* Update adc_info commands for all chips
* Adds new efuses for esp32p4
* Allow the espefuse.py to work when coding
scheme == 3
* Add ROM bootloader flash error definitions
* Use ruff instead of flake8 and black both in pre-commit and
CI
* Enable USB-serial/JTAG in flasher stub
* Postpone some efuses to burn them at the very end
* add advisory port locking
* check_error --recover chip even if there are num_errors
* Adds new efuses for esp32c6 and esp32h2
* add target esp32c5 beta3
* Bug Fixes

-------------------------------------------------------------------
Wed Aug 14 15:14:39 UTC 2024 - Dirk Müller <[email protected]>

- switch to modern python on sle15

-------------------------------------------------------------------
Thu Jul 4 23:25:10 UTC 2024 - Matej Cepl <[email protected]>

Expand Down Expand Up @@ -112,7 +174,7 @@ Thu Apr 20 10:23:16 UTC 2023 - Torsten Gruner <[email protected]>
- Added target tests for ESP32-H2.
- Reduced size of test images.
- Added a custom host_test marker for the test suite to allow running tests without real hardware (#838).

- version 4.5
* New Features
- Configuration file: Added the option to configure internal variables
Expand Down Expand Up @@ -152,7 +214,7 @@ Thu Apr 20 10:23:16 UTC 2023 - Torsten Gruner <[email protected]>
and comply with the Black 23.1 style.
- Added target tests for all of the newly supported chips.
- Updated the toolchains for stub flasher builds.

-version 4.4
* New Features
- flasher_stub: Increased read/write speeds over USB-JTAG/Serial or USB-OTG modes, making some operations nearly twice as fast.
Expand Down Expand Up @@ -380,8 +442,8 @@ Mon Mar 2 16:39:21 UTC 2020 - Marketa Calabkova <[email protected]>
- Update to 2.8
* esptool.py image_info now prints a summary of segment memory types
(IRAM, DRAM, etc) based on the address range.
* esptool.py write_flash will warn if it looks like a bootloader binary
is built for ESP32-S2 or another newer chip (support for flashing
* esptool.py write_flash will warn if it looks like a bootloader binary
is built for ESP32-S2 or another newer chip (support for flashing
ESP32-S2 will be added in a future version.)
* few bugfixes

Expand Down
19 changes: 13 additions & 6 deletions packages/p/python-esptool/python-esptool.spec
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,28 @@
#


%{?sle15_python_module_pythons}
Name: python-esptool
Version: 4.7.0
Version: 4.8.1
Release: 0
Summary: A serial utility to communicate & flash code to Espressif ESP8266 & ESP32 chips
License: GPL-2.0-or-later
Group: Development/Languages/Python
URL: https://github.com/espressif/esptool
Source: https://github.com/espressif/esptool/archive/v%{version}.tar.gz#/esptool-%{version}.tar.gz
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module bitstring >= 3.1.6}
BuildRequires: %{python_module ecdsa >= 0.16.0}
BuildRequires: %{python_module intelhex}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pyelftools}
BuildRequires: %{python_module pyserial >= 3.0}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module reedsolo >= 1.5.3}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: openssl
BuildRequires: python-rpm-macros
Expand All @@ -58,13 +63,12 @@ Allows flashing firmware, reading back firmware, querying chip parameters, etc.

%prep
%setup -q -n esptool-%{version}
sed -i '/^#!/d' flasher_stub/*.py

%build
%python_build
%pyproject_wheel

%install
%python_install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/espefuse.py
%python_clone -a %{buildroot}%{_bindir}/espsecure.py
%python_clone -a %{buildroot}%{_bindir}/esptool.py
Expand All @@ -75,7 +79,9 @@ sed -i '/^#!/d' flasher_stub/*.py
%check
# there are more tests but upstream runs only those in .travis.yml
%pytest test/test_imagegen.py
%pytest test/test_espsecure.py
# requires python-pkcs11 which isn't packaged
rm -v test/test_espsecure.py test/test_espsecure_hsm.py
%pytest -m host_test

%post
%python_install_alternative espefuse.py
Expand All @@ -96,8 +102,9 @@ sed -i '/^#!/d' flasher_stub/*.py
%python_alternative %{_bindir}/espsecure.py
%python_alternative %{_bindir}/espefuse.py
%python_alternative %{_bindir}/esp_rfc2217_server.py
%{python_sitelib}/esptool-%{version}-*egg-info
%{python_sitelib}/esptool-%{version}.dist-info
%{python_sitelib}/esptool
%{python_sitelib}/esp_rfc2217_server
%{python_sitelib}/espsecure
%{python_sitelib}/espefuse

Expand Down

0 comments on commit 0bb02b0

Please sign in to comment.