tests/base/android_misc: Add tests for misc operations

Add unit tests for Android misc partition operations on BCB and
fastboot commandline.

BRANCH=main
BUG=None
TEST=FEATURES=test USE="avb test" FW_NAME=kano emerge-brya depthcharge

Change-Id: I329cd3a2273d891d5de802bf742ae24e79217bae
Signed-off-by: Tomasz Michalec <tmichalec@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/depthcharge/+/6695821
Reviewed-by: Julius Werner <jwerner@chromium.org>
2 files changed
tree: e841d1b06da79e5b352778070217eeb6c0bf8188
  1. configs/
  2. screenshot/
  3. src/
  4. tests/
  5. util/
  6. .checkpatch.conf
  7. .clang-format
  8. .gitignore
  9. COPYING
  10. Kconfig
  11. LICENSE
  12. Makefile
  13. Makefile.inc
  14. OWNERS
  15. PRESUBMIT.cfg
  16. PRESUBMIT.py
  17. README.md
  18. unblocked_terms.txt
README.md

Depthcharge

Depthcharge is a bootloader for ChromeOS devices. It is responsible for initializing hardware, setting up the boot environment, and loading the operating system.

Key Features

  • Hardware Initialization: Initializes and configures the system's hardware components, including memory, storage, and peripherals.
  • Boot Environment Setup: Sets up the necessary environment for the operating system to boot, including memory, storage, and other peripherals.
  • Booting the Operating System: Loads and executes the operating system kernel.
  • Security Features: Implements various security features, such as secure boot and verified boot, using the vboot library.

Project Structure

  • src/: Contains the source code for the depthcharge bootloader.
  • board/: Contains the board-specific configuration files.
  • src/drivers/: Contains the device drivers.

Build Instructions

To build depthcharge, you will need a ChromeOS development environment. Within the chroot:

emerge-$BOARD sys-boot/depthcharge

Remember to build it before you build `chromeos-bootimage`!