You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/07/29 09:38:10 UTC

[GitHub] [incubator-nuttx] gustavonihei commented on a change in pull request #4233: board/ctrl: Add BOARDIOC_BOOT_IMAGE for booting a new application image

gustavonihei commented on a change in pull request #4233:
URL: https://github.com/apache/incubator-nuttx/pull/4233#discussion_r678992051



##########
File path: include/sys/boardctl.h
##########
@@ -392,6 +393,17 @@ struct boardioc_nxterm_ioctl_s
 };
 #endif /* CONFIG_NXTERM */
 
+#ifdef CONFIG_BOARDCTL_BOOT_IMAGE
+
+/* Structure containing the arguments to the BOARDIOC_BOOT_IMAGE command */
+
+struct boardioc_boot_info_s
+{
+  FAR const char *img_path;           /* Path to application image */
+  uint32_t        img_header_size;    /* Size of the image header in bytes */

Review comment:
       This is from MCUboot:
   https://github.com/mcu-tools/mcuboot/blob/main/boot/bootutil/include/bootutil/image.h#L129-L138
   
   The vendor may also add a specific header, but that will be part of the image payload.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org