Lines Matching +full:- +full:a
4 acquired the ability to be used as a bootloader for Zephyr as well.
15 - `boot_partition`: for MCUboot itself
16 - `slot0_partition`: the primary slot of Image 0
17 - `slot1_partition`: the secondary slot of Image 0
19 It is not recommended to use the swap-using-scratch algorithm of MCUboot, but
21 needed (see end of this help file for details on creating a scratch partition
22 and how to use the swap-using-scratch algorithm):
24 - `scratch_partition`: the scratch slot
33 The flash partitions are typically defined in the Zephyr boards folder, in a
45 pip3 install --user -r scripts/requirements.txt
51 Zephyr's point of view. There is a bit of configuration that needs to
54 guidance. It is important to select a signature algorithm, and decide
57 To build MCUboot, create a build directory in boot/zephyr, and build
62 west build -b <board>
69 may come from board-specific headers, Device Tree, or be configured by
70 MCUboot on a per-SoC family basis.
89 The directory `samples/zephyr/hello-world` in the MCUboot tree contains
90 a simple application with everything you need. You can try it on your
91 board and then just make a copy of it to get started on your own
92 application; see samples/zephyr/README.md for a tutorial.
118 specify a flash offset corresponding to the primary slot starting address. This
122 not perform a mass erase (erasing the whole of the flash) or else you would be
137 ### Generating a new keypair
139 Generating a keypair with imgtool is a matter of running the keygen
143 $ ./scripts/imgtool.py keygen -k mykey.pem -t rsa-2048
146 The argument to `-t` should be the desired key type. See the
155 the public key in a format usable by the C compiler.
156 The generated public key is saved in `build/zephyr/autogen-pubkey.h`, which is included
165 ## Using swap-using-scratch flash algorithm
167 To use the swap-using-scratch flash algorithm, a scratch partition needs to be
170 size of the 2 partitions (e.g. if a device has a primary slot in main flash
171 with a sector size of 512 bytes and secondar slot in external off-chip flash
172 with a sector size of 4KB then the scratch area must be at least 4KB in size).
185 label = "image-0";
189 label = "image-1";
193 label = "image-scratch";
199 has a 4KB sector size so the size of the scratch partition can be reduced at
200 the cost of vastly reducing flash lifespan, e.g. for a 32KB firmware update
203 swap-using-scratch mode, the Kconfig value must be set when building it:
206 Note that it is possible for an application to get into a stuck state when
207 swap-using-scratch is used whereby an application has loaded a firmware update
216 A serial recovery protocol is available over either a hardware serial port or a USB CDC ACM virtual…
218 To set a type of an interface, use the ``BOOT_SERIAL_DEVICE`` Kconfig choice, and select either the…
219 Which interface belongs to the protocol shall be set by the devicetree-chosen node:
220 - `zephyr,console` - If a hardware serial port is used.
221 - `zephyr,cdc-acm-uart` - If a virtual serial port is used.
225 …mode, the device has to initiate rebooting, and a triggering event has to occur (for example, pres…
230 Alternatively, MCUboot can wait for a limited time to check if DFU is invoked by receiving an MCUmg…
237 To change it, invoke the `image upload` MCUmgr command with a selected image number, and make sure …
238 Note that the ``CONFIG_UPDATEABLE_IMAGE_NUMBER`` Kconfig option adjusts the number of image-pairs s…
241 * 0 and 1 - image-0, the primary slot of the first image.
242 * 2 - image-1, the secondary slot of the first image.
243 * 3 - image-2.
244 * 4 - image-3.
246 0 is a default upload target when no explicit selection is done.
248 ### System-specific commands
251 * Storage erase - This command allows erasing the storage partition (enable with ``CONFIG_BOOT_MGMT…
252 * Custom image list - This command allows fetching version and installation status (custom properti…