Home
last modified time | relevance | path

Searched +full:python +full:- +full:version (Results 1 – 10 of 10) sorted by relevance

/mcuboot-latest/.github/workflows/
Dimgtool.yaml4 - main
5 - v*-branch
11 group: imgtool-${{ github.event.pull_request.number || github.ref }}
12 cancel-in-progress: true
16 runs-on: ubuntu-latest
19 python-version: ["3.x", "pypy3.9"]
21 - uses: actions/checkout@v4
22 - name: Set up Python ${{ matrix.python-version }}
23 uses: actions/setup-python@v4
25 python-version: ${{ matrix.python-version }}
[all …]
/mcuboot-latest/ci/
Dimgtool_run.sh1 #!/bin/bash -x
3 # Licensed under the Apache License, Version 2.0 (the "License");
7 # http://www.apache.org/licenses/LICENSE-2.0
26 if [[ -z "$TWINE_TOKEN" ]]; then
33 last_release=$(pip show imgtool | grep "Version: " | cut -d" " -f2)
36 python ../ci/compare_versions.py --old $last_release --new $repo_version
39 if [[ $rc -eq 0 ]]; then
40 echo "Imgtool version not changed; will not publish"
42 elif [[ $rc -eq 1 ]]; then
45 elif [[ $rc -eq 3 ]]; then
[all …]
/mcuboot-latest/docs/
Drelease.md5 ## Version numbering
7 MCUboot uses [semantic versioning][semver], where version numbers
11 1. MAJOR version when there are incompatible API changes.
12 2. MINOR version when new functionalities were added in a
13 backward-compatible manner.
14 3. PATCH version when there are backward-compatible bug fixes.
16 We add pre-release tags using the format `MAJOR.MINOR.PATCH-rc1`.
18 In the documentation, we mark an MCUBoot development version using the
19 format `MAJOR.MINOR.PATCH-dev`.
23 Before making a release, update the `docs/release-notes.md` file
[all …]
Dimgtool.md3 The Python program `scripts/imgtool.py` can be used to perform the
9 Python libraries. These can be installed using 'pip3':
11 pip3 install --user -r scripts/requirements.txt
13 ## [Managing keys](#managing-keys)
15 This tool currently supports rsa-2048, rsa-3072, ecdsa-p256 and ed25519 keys.
18 ./scripts/imgtool.py keygen -k filename.pem -t rsa-2048
20 or use rsa-3072, ecdsa-p256, or ed25519 for the type. The key type used
26 You can add the `-p` argument to `keygen`, which will cause it to
30 ## [Incorporating the public key into the code](#incorporating-the-public-key-into-the-code)
42 ./scripts/imgtool.py getpub -k filename.pem
[all …]
Drelease-notes.md3 - Table of Contents
6 ## Version 2.1.0
8 - Boot serial: Add response to echo command if support is not
12 - Added support for using builtin keys for image validation
14 - Enforce that TLV entries that should be protected are.
16 - bootutil: Fixed issue with comparing sector sizes for
20 - bootutil: Added debug logging to show write location of swap status
23 - Update ptest to support test selection. Ptest can now be invoked with `list`
24 to show the available tests and `run` to run them. The `-t` argument will
26 - Allow sim tests to skip slow tests. By setting `MCUBOOT_SKIP_SLOW_TESTS` in
[all …]
/mcuboot-latest/boot/cypress/
DMakefile3 # \version 1.0
10 # Copyright 2018-2021 Cypress Semiconductor Corporation
11 # SPDX-License-Identifier: Apache-2.0
13 # Licensed under the Apache License, Version 2.0 (the "License");
17 # http://www.apache.org/licenses/LICENSE-2.0
26 # minimum Python 3.7 is required
27 # Python path definition
29 PYTHON_PATH?=python
42 # Weather or now execute post build script after build - set to 0 for CI
45 SIGN_KEY_FILE ?= cypress-test-ec-p256
[all …]
/mcuboot-latest/scripts/
Dsetup.py1 # SPDX-License-Identifier: Apache-2.0
9 version=imgtool_version,
14 url="http://github.com/mcu-tools/mcuboot",
28 "Programming Language :: Python :: 3",
29 "Development Status :: 4 - Beta",
Dassemble.py5 # SPDX-License-Identifier: Apache-2.0
7 # Licensed under the Apache License, Version 2.0 (the "License");
11 # http://www.apache.org/licenses/LICENSE-2.0
42 offset_re = re.compile(r"^#define DT_FLASH_AREA_([0-9A-Z_]+)_OFFSET(_0)?\s+(0x[0-9a-fA-F]+|[0-9]+)$…
43 size_re = re.compile(r"^#define DT_FLASH_AREA_([0-9A-Z_]+)_SIZE(_0)?\s+(0x[0-9a-fA-F]+|[0-9]+)$")
59 part_nodes = edt.compat2nodes["fixed-partitions"]
70 # We care about the mcuboot, image-0, and image-1 partitions.
74 if 'image-0' not in offsets:
75 raise Exception("Board partition table does not have image-0 partition")
77 if 'image-1' not in offsets:
[all …]
/mcuboot-latest/ci/fih_test_docker/docker-build/
DDockerfile3 # Licensed under the Apache License, Version 2.0 (the "License");
7 # http://www.apache.org/licenses/LICENSE-2.0
17 # Get dependencies for retrieving and building TF-M with MCUBoot, and QEMU.
18 RUN apt-get update && \
20 apt-get install -y \
23 gcc-arm-none-eabi \
24 gdb-multiarch \
28 python3-pip \
29 qemu-system-arm \
31 apt-get clean all
[all …]
/mcuboot-latest/scripts/imgtool/
Dmain.py3 # Copyright 2017-2020 Linaro Limited
4 # Copyright 2019-2023 Arm Limited
6 # SPDX-License-Identifier: Apache-2.0
8 # Licensed under the Apache License, Version 2.0 (the "License");
12 # http://www.apache.org/licenses/LICENSE-2.0
31 from imgtool.version import decode_version
45 sys.exit("Python %s.%s or newer is required by imgtool."
75 valid_hash_encodings = ['lang-c', 'raw']
76 valid_encodings = ['lang-c', 'lang-rust', 'pem', 'raw']
78 'rsa-2048': gen_rsa2048,
[all …]