README 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. Here's what's what in the firmware/ directory.
  2. bdb/
  3. Code for managing Boot Descriptor Blocks (BDB).
  4. include/
  5. lib/
  6. These are the original structures and APIs used in the earliest
  7. Chromebooks and continuing through 2014. It never had a version as such to
  8. begin with, but we now refer to this implementation as "vboot1" or
  9. "vboot version 1.0".
  10. linktest/
  11. stub/
  12. These are stubs used to link the vboot1 libraries into host-side test
  13. executables so we can run some tests on the build machine instead of a
  14. Chromebook.
  15. 2lib/
  16. In 2014 we began work on a new vboot API. The first step was just a
  17. refactoring and renaming of the verification API. The public functions and
  18. external headers that are exported for use by the Chrome OS firmware (or
  19. anything else that wants to use vboot) live in here. The internal
  20. structures and implementations go elsewhere.
  21. lib20/
  22. This is an early implementation of the public (2lib/) API. It is
  23. binary-compatible with vboot1, so although the interface details are
  24. different, any existing on-device structures or signatures created by the
  25. vboot1 tools can be validated using this implementation.
  26. This was deployed slightly before it was ready. That's not a problem,
  27. thanks to the binary compatibility, but this directory will be abandoned
  28. Real Soon Now, except for the product support branches.
  29. lib21/
  30. This is where the current development of the second-generation vboot API
  31. is taking place. It uses the public (2lib/) API, but will NOT be binary
  32. compatible with vboot1 structs. Because of the early release of the lib20
  33. stuff, we're actually calling this lib21.