class AstroPartitioner
Defined at line 19 of file ../../src/firmware/paver/astro.h
Public Methods
zx::result<std::unique_ptr<DevicePartitioner>> Initialize (const paver::BlockDevices & devices, fidl::UnownedClientEnd<fuchsia_io::Directory> svc_root, const PaverConfig & config, std::shared_ptr<Context> context)
Defined at line 111 of file ../../src/firmware/paver/astro.cc
zx::result<std::unique_ptr<abr::Client>> CreateAbrClient ()
Defined at line 286 of file ../../src/firmware/paver/astro.cc
const paver::BlockDevices & Devices ()
Defined at line 28 of file ../../src/firmware/paver/astro.cc
fidl::UnownedClientEnd<fuchsia_io::Directory> SvcRoot ()
Defined at line 30 of file ../../src/firmware/paver/astro.cc
bool IsFvmWithinFtl ()
Defined at line 33 of file ../../src/firmware/paver/astro.h
zx::result<> OnStop ()
Defined at line 49 of file ../../src/firmware/paver/astro.h
bool SupportsPartition (const PartitionSpec & spec)
Astro bootloader types:
-- default --
The TPL bootloader image.
Initially we only supported updating the TPL bootloader, so for backwards
compatibility this must be the default type.
-- "bl2" --
The BL2 bootloader image.
It's easier to provide the two images separately since on Astro they live
in different partitions, rather than having to split a combined image.
Defined at line 171 of file ../../src/firmware/paver/astro.cc
zx::result<std::unique_ptr<PartitionClient>> FindPartition (const PartitionSpec & spec)
Defined at line 187 of file ../../src/firmware/paver/astro.cc
zx::result<> WipeFvm ()
Defined at line 263 of file ../../src/firmware/paver/astro.cc
zx::result<> ResetPartitionTables ()
Defined at line 265 of file ../../src/firmware/paver/astro.cc
zx::result<> ValidatePayload (const PartitionSpec & spec, std::span<const uint8_t> data)
Defined at line 269 of file ../../src/firmware/paver/astro.cc
zx::result<> Flush ()
Defined at line 257 of file ../../src/firmware/paver/astro.cc
Enumerations
enum AbrWearLevelingOption
| Name | Value |
|---|---|
| ON | 0 |
| OFF | 1 |
Defined at line 21 of file ../../src/firmware/paver/astro.h