Lines Matching +full:west +full:- +full:commands
1 .. _west-sign:
6 The ``west sign`` :ref:`extension <west-extensions>` command can be used to
8 external tool. Run ``west sign -h`` for command line help.
16 step by setting some Kconfig options. If you do, ``west flash`` will use the
19 If you use this feature, you don't need to run ``west sign`` yourself; the
23 :ref:`hello_world` application for chain-loading by MCUboot. Run these commands
27 .. code-block:: console
29 west build -b YOUR_BOARD -s bootloader/mcuboot/boot/zephyr -d build-mcuboot
30 west build -b YOUR_BOARD -s zephyr/samples/hello_world -d build-hello-signed -- \
31 -DCONFIG_BOOTLOADER_MCUBOOT=y \
32 -DCONFIG_MCUBOOT_SIGNATURE_KEY_FILE=\"bootloader/mcuboot/root-rsa-2048.pem\"
34 west flash -d build-mcuboot
35 west flash -d build-hello-signed
37 Notes on the above commands:
39 - ``YOUR_BOARD`` should be changed to match your board
40 - The ``CONFIG_MCUBOOT_SIGNATURE_KEY_FILE`` value is the insecure default
42 - You can change the ``hello_world`` application directory to any other
47 - :kconfig:`CONFIG_BOOTLOADER_MCUBOOT`: build the application for loading by
49 - :kconfig:`CONFIG_MCUBOOT_SIGNATURE_KEY_FILE`: the key file to use with ``west
51 - :kconfig:`CONFIG_MCUBOOT_EXTRA_IMGTOOL_ARGS`: optional additional command line
53 - :kconfig:`CONFIG_MCUBOOT_GENERATE_CONFIRMED_IMAGE`: also generate a confirmed
55 the OTA-able default image
56 - On Windows, if you get "Access denied" issues, the recommended fix is
59 If your ``west flash`` :ref:`runner <west-runner>` uses an image format
61 serial console when you run ``west flash -d build-mcuboot``:
63 .. code-block:: none
65 *** Booting Zephyr OS build zephyr-v2.3.0-2310-gcebac69c8ae1 ***
72 Then, you should see something like this when you run ``west flash -d
73 build-hello-signed``:
75 .. code-block:: none
77 *** Booting Zephyr OS build zephyr-v2.3.0-2310-gcebac69c8ae1 ***
84 *** Booting Zephyr OS build zephyr-v2.3.0-2310-gcebac69c8ae1 ***
87 Whether ``west flash`` supports this feature depends on your runner. The