| commit | 536b15d66b629846f8661f37fae8f61e353ecf63 | [log] [tgz] |
|---|---|---|
| author | Yecheng Zhao <zyecheng@google.com> | Thu Nov 12 04:28:34 2020 +0000 |
| committer | CQ Bot <commit-bot@chromium.org> | Thu Nov 12 04:28:34 2020 +0000 |
| tree | 38ca2548123631a6df1abc820171ec67b488120b | |
| parent | 1eb8abea876a30437e3e1472aef8f7b35558b476 [diff] |
[nelson][paver] Support bl2+tpl combined image Add support for flashing combined bl2+tpl image for nelson. Specifically, it flashes bl2+tpl to boot0/1 and then extracts tpl part and flashes to either tpl_a or tpl_b depending on the given configuration. This is achieved by introducing a nelson bootloader specific partition client that forms as a composite of PartitionCopyClient and FixedOffsetBlockPartitionClient. One tricky issue is how to define the behavior of read. Becuase tpl_r in boot0/1 will likely be different from tpl_a/b as we keep performing A/B update. For now, the read method will first compare tpl_r with tpl_a/b and only proceed to read bl2+tpl if they are the same. Otherwise, it errors out. Change-Id: I91d1895e6f7e24be330ea2c1260bfa8c24cb7fc1 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/448056 Commit-Queue: Yecheng Zhao <zyecheng@google.com> Reviewed-by: David Pursell <dpursell@google.com> Reviewed-by: Suraj Malhotra <surajmalhotra@google.com> Testability-Review: David Pursell <dpursell@google.com>
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.