ProcessManager: add bundle image support for loading apps & models

Add support for BundleImage, a file format for loading applications and
models from a bundle. BundleImage is simple, compact, and streamable,
BundleImage files are constructed with the prepare_bundle_image tool.

TODO: add compression
TODO: check crc32

Change-Id: I0770608a075cac9754a54e0bb244d75673ae1be6
GitOrigin-RevId: 368dabd3a5af19d47fe7f8084b8a0a0b57b8471d
This commit is contained in:
Sam Leffler
2022-05-10 23:20:18 +00:00
parent 4f17bb33b3
commit 426be466ff
5 changed files with 328 additions and 1 deletions

View File

@@ -26,11 +26,14 @@ component DebugConsole {
// TODO(b/200707300): for debugging
uses StorageInterface storage;
uses Timer timer;
// Enable KataOS CAmkES support.
attribute int kataos = true;
// Add a bunch of free slots for test code to use.
attribute int cnode_headroom = 64;
uses Timer timer;
// Copyregions for loading bundle images.
has copyregion BUNDLE_IMAGE;
}