Create host-side tool to attach bootconfig to initrd image

We are removing ABL from VM bootflow & using kernel's initrd
functionality. Since the boot configuration file is loaded with initrd
by default, it will be added to the end of the initrd, in the following
way:

[initrd][bootconfig][padding][size(le32)][checksum(le32)][#BOOTCONFIG\n]

The tool is written in Rust so that we can (in future) have the option
to dynamically attach the correct bootconfig.

Test: builds
Bug: 240235424
Change-Id: Idfca6528a16bc92001f5791b4683a0be2714cce8
2 files changed
tree: 00b98e9e4b609c5f5c303cdff19503757418d358
  1. .prebuilt_info/
  2. apex/
  3. apkdmverity/
  4. authfs/
  5. avmd/
  6. compos/
  7. demo/
  8. docs/
  9. javalib/
  10. launcher/
  11. libs/
  12. microdroid/
  13. microdroid_manager/
  14. pvmfw/
  15. rialto/
  16. tests/
  17. virtualizationservice/
  18. vm/
  19. vmbase/
  20. vmclient/
  21. zipfuse/
  22. .clang-format
  23. .gitignore
  24. Android.bp
  25. OWNERS
  26. PREUPLOAD.cfg
  27. README.md
  28. TEST_MAPPING
README.md

Virtualization

This repository contains userspace services related to running virtual machines on Android, especially protected virtual machines. See the getting started documentation and Microdroid README for more information.