Home
last modified time | relevance | path

Searched refs:image (Results 1 – 23 of 23) sorted by relevance

/subsys/usb/device_next/class/
A Dusbd_dfu.c202 struct usbd_dfu_image *const image = data->image; in usbd_dfu_image_next() local
205 return image->next_cb(image->priv, data->state, next); in usbd_dfu_image_next()
270 if (data->image == NULL || data->image->write_cb == NULL) { in dfu_idle_next()
288 if (data->image == NULL || data->image->read_cb == NULL) { in dfu_idle_next()
648 struct usbd_dfu_image *const image = data->image; in handle_upload() local
651 ret = image->read_cb(image->priv, setup->wValue, size, buf->data); in handle_upload()
670 struct usbd_dfu_image *const image = data->image; in handle_download() local
674 ret = image->write_cb(image->priv, setup->wValue, size, buf->data); in handle_download()
744 data->image = image; in dfu_mode_update()
773 data->image = image; in dfu_mode_init()
[all …]
A DKconfig.dfu56 Enable the built-in flash backend, which can serve up to two image
/subsys/mgmt/mcumgr/grp/img_mgmt/
A DKconfig16 bool "Mcumgr handlers for image management"
24 Enables MCUmgr handlers for image management
31 bool "Use heap mem pool for flash image DFU context"
74 have means to test and confirm the image.
77 bool "Allow to confirm slots of non-active image"
85 have means to test and confirm the image.
97 bool "Allow direct image upload"
100 Enables directly uploading image to selected image partition.
102 the first slot of the only image it knows, where image is understood as two slots
106 behaviour is, when image is not selected, to upload to image that represents secondary
[all …]
/subsys/mgmt/mcumgr/grp/img_mgmt/src/
A Dimg_mgmt_state.c77 int active_slot = img_mgmt_active_slot(image); in img_mgmt_state_flags()
128 int active_slot = img_mgmt_active_slot(image); in img_mgmt_state_flags()
156 const int active_slot = img_mgmt_active_slot(image); in img_mgmt_get_next_boot_slot()
157 const int state = mcuboot_swap_type_multi(image); in img_mgmt_get_next_boot_slot()
242 int active_slot = img_mgmt_active_slot(image); in img_mgmt_get_next_boot_slot()
339 int image = img_mgmt_slot_to_image(slot); in img_mgmt_slot_in_use()
340 int active_slot = img_mgmt_active_slot(image); in img_mgmt_slot_in_use()
420 .image = 0 in img_mgmt_state_confirm()
638 .image = img_mgmt_slot_to_image(slot) in img_mgmt_set_next_boot_slot_common()
653 int image = img_mgmt_slot_to_image(slot); in img_mgmt_set_next_boot_slot() local
[all …]
A Dzephyr_img_mgmt.c231 static int img_mgmt_get_unused_slot_area_id(unsigned int image) in img_mgmt_get_unused_slot_area_id() argument
236 slot = img_mgmt_get_opposite_slot(img_mgmt_active_slot(image)); in img_mgmt_get_unused_slot_area_id()
527 int image = img_mgmt_slot_to_image(slot); in img_mgmt_swap_type() local
529 switch (mcuboot_swap_type_multi(image)) { in img_mgmt_swap_type()
634 action->area_id = img_mgmt_get_unused_slot_area_id(req->image); in img_mgmt_upload_inspect()
673 current_img_area = img_mgmt_flash_area_id(req->image); in img_mgmt_upload_inspect()
677 LOG_ERR("Failed to determine active slot for image %d: %d", req->image, in img_mgmt_upload_inspect()
A Dimg_mgmt.c213 int img_mgmt_active_slot(int image) in img_mgmt_active_slot() argument
219 slot = (image << 1); in img_mgmt_active_slot()
240 LOG_DBG("(%d) => %d", image, slot); in img_mgmt_active_slot()
544 .image = (i / SLOTS_PER_IMAGE), in img_mgmt_slot_info()
615 .image = (i / SLOTS_PER_IMAGE), in img_mgmt_slot_info()
734 .image = 0, in img_mgmt_upload()
757 ZCBOR_MAP_DECODE_KEY_DECODER("image", zcbor_uint32_decode, &req.image), in img_mgmt_upload()
/subsys/dfu/
A DKconfig11 bool "DFU image manager"
15 Enable support for managing DFU image.
23 Choice support for managing DFU image.
31 Enable support for managing DFU image downloaded using mcuboot.
41 Enable shell module, which provides information about image slots and
59 Estimated size of update image data, which is used to prevent loading of firmware updates
67 Size (in Bytes) of buffer for image writer. Must be a multiple of
75 instead of erasing the whole image slot at once. This is necessary
92 module-str = image manager
102 application is combined with MCUboot multi-image boot.
/subsys/bindesc/
A DKconfig.build_time28 The year the image was compiled, such as 2023
33 The month the image was compiled, such as 5 (May)
38 The day of the month the image was compiled, such as 9
43 The hour of the day the image was compiled, such as 13 in 13:34:52
48 The minute the image was compiled, such as 34 in 13:34:52
53 The second the image was compiled, such as 52 in 13:34:52
58 The UNIX time at which the image was compiled. This is an integer
82 This can also be used to set a specific time, when trying to reproduce an image. For
96 This can also be used to set a specific time, when trying to reproduce an image. For
108 This can also be used to set a specific time, when trying to reproduce an image. For
A DKconfig8 Binary Descriptors - constant data accessible outside of the executable image
37 Enable the app to read the binary descriptors of another image
69 the value set to BINDESC_DEFINE_MAX_DATA_SIZE by the read image.
A DKconfig.host_info14 The name of the host that the image was compiled on
/subsys/usb/device/class/dfu/
A DKconfig45 Enabling this option allows to upload firmware image to the host.
47 the executable image is always decrypted despite the image
60 When enabled the image written to slot 1 will be marked as permanent.
62 Downloading the wrong image will cause a bricked device.
/subsys/dfu/boot/
A Dmcuboot.c168 int image = IMAGE_INDEX_INVALID; in boot_get_image_start_offset() local
171 image = IMAGE_INDEX_0; in boot_get_image_start_offset()
174 image = IMAGE_INDEX_1; in boot_get_image_start_offset()
178 image = IMAGE_INDEX_2; in boot_get_image_start_offset()
182 if (image != IMAGE_INDEX_INVALID) { in boot_get_image_start_offset()
197 if (mcuboot_swap_type_multi(image) != BOOT_SWAP_TYPE_REVERT) { in boot_get_image_start_offset()
/subsys/mgmt/mcumgr/grp/img_mgmt_client/
A DKconfig15 bool "MCUmgr client handlers for image management"
19 Enables MCUmgr client handlers for image management.
/subsys/mgmt/mcumgr/grp/img_mgmt/include/mgmt/mcumgr/grp/img_mgmt/
A Dimg_mgmt_priv.h142 int img_mgmt_get_next_boot_slot(int image, enum img_mgmt_next_boot_type *type);
/subsys/lorawan/services/
A DKconfig88 int "Total size of firmware image"
92 Size of the flash partition for the application firmware image
154 firmware image.
/subsys/mgmt/updatehub/
A DKconfig50 by the same image.
122 Notice that it does not check whether the image written to a
/subsys/retention/
A DKconfig.blinfo23 MCUboot and the running image. This can be used by applications so
/subsys/
A DKconfig65 that can either be built as a part of the system image or as a
/subsys/bluetooth/host/
A DCMakeLists.txt97 A hardcoded OOB data set will be stored in the image, do not use in
A DKconfig755 WARNING: This option stores a hardcoded Out-of-Band value in the image.
/subsys/bluetooth/mesh/
A DKconfig1092 that the mesh stack can manage, describing the image. Please note that
1104 This value defines the maximum length of an image's metadata.
1117 This value defines the maximum length of an image's URI, not including
1123 bool "Firmware image slot manager"
1126 Enable the DFU image slot manager, for managing firmware distribution slots
1132 int "Number of firmware image slots"
1136 This value defines the number of firmware slots the DFU image slot manager
1151 int "Largest DFU image that can be stored"
1155 This value defines the largest DFU image a single slot can store.
1158 int "Total DFU image storage space"
[all …]
/subsys/logging/
A DKconfig.formatting107 image file in log output. This reduces the size required to store
/subsys/mgmt/mcumgr/grp/os_mgmt/
A DKconfig200 build date/time in the output firmware image.

Completed in 37 milliseconds