MCCI Trusted Bootloader
Simple trusted bootloader and tools for small embedded systems
McciBootloader_AppInfo_t Struct Reference

Application information block. More...

#include <mcci_bootloader_appinfo.h>

Data Fields

uint32_t authsize
 size of authentication data.
 
uint8_t comment [16]
 optional comment (UTF-8) describing this image.
 
uint32_t imagesize
 size of the app, in bytes.
 
uint32_t magic
 the format identifier.
 
uint8_t reserved56 [16]
 reserved for future use.
 
uint32_t size
 size of this structure, in bytes
 
uint32_t targetAddress
 the target load address
 
uint64_t timestamp
 Posix timestamp of image.
 
uint32_t version
 version of the image (semantic version)
 

Detailed Description

Application information block.

The (ostensibly) architecture-neutral application header.

This information block appears at a well known location somewhere in each app image. It's intended to be somewhat architecturally neutral, but until we have two supported architectures, we won't really have a basis for discussion.

Definition at line 51 of file mcci_bootloader_appinfo.h.

Field Documentation

◆ authsize

uint32_t McciBootloader_AppInfo_t::authsize

size of authentication data.

Overall image size is imagesize

  • authsize

Definition at line 58 of file mcci_bootloader_appinfo.h.

◆ comment

uint8_t McciBootloader_AppInfo_t::comment[16]

optional comment (UTF-8) describing this image.

Definition at line 63 of file mcci_bootloader_appinfo.h.

◆ imagesize

uint32_t McciBootloader_AppInfo_t::imagesize

size of the app, in bytes.

Must be multiple of 4.

Definition at line 56 of file mcci_bootloader_appinfo.h.

◆ magic

uint32_t McciBootloader_AppInfo_t::magic

the format identifier.

Definition at line 53 of file mcci_bootloader_appinfo.h.

◆ reserved56

uint8_t McciBootloader_AppInfo_t::reserved56[16]

reserved for future use.

Definition at line 64 of file mcci_bootloader_appinfo.h.

◆ size

uint32_t McciBootloader_AppInfo_t::size

size of this structure, in bytes

Definition at line 54 of file mcci_bootloader_appinfo.h.

◆ targetAddress

uint32_t McciBootloader_AppInfo_t::targetAddress

the target load address

Definition at line 55 of file mcci_bootloader_appinfo.h.

◆ timestamp

uint64_t McciBootloader_AppInfo_t::timestamp

Posix timestamp of image.

Definition at line 62 of file mcci_bootloader_appinfo.h.

◆ version

uint32_t McciBootloader_AppInfo_t::version

version of the image (semantic version)

Definition at line 61 of file mcci_bootloader_appinfo.h.


The documentation for this struct was generated from the following file: