class SherlockPartitioner
Defined at line 14 of file ../../src/firmware/paver/sherlock.h
Public Methods
zx::result<std::unique_ptr<DevicePartitioner>> Initialize (const BlockDevices & devices, fidl::UnownedClientEnd<fuchsia_io::Directory> svc_root, const PaverConfig & config, fidl::ClientEnd<fuchsia_device::Controller> block_device)
Defined at line 24 of file ../../src/firmware/paver/sherlock.cc
bool IsFvmWithinFtl ()
Defined at line 26 of file ../../src/firmware/paver/sherlock.h
zx::result<> Flush ()
Defined at line 40 of file ../../src/firmware/paver/sherlock.h
zx::result<> OnStop ()
Defined at line 41 of file ../../src/firmware/paver/sherlock.h
zx::result<std::unique_ptr<abr::Client>> CreateAbrClient ()
Defined at line 208 of file ../../src/firmware/paver/sherlock.cc
const paver::BlockDevices & Devices ()
Defined at line 49 of file ../../src/firmware/paver/sherlock.cc
fidl::UnownedClientEnd<fuchsia_io::Directory> SvcRoot ()
Defined at line 51 of file ../../src/firmware/paver/sherlock.cc
bool SupportsPartition (const PartitionSpec & spec)
Sherlock bootloader types:
-- default [deprecated] --
The combined BL2 + TPL image.
This was never actually added to any update packages, because older
SherlockBootloaderPartitionClient implementations had a bug where they would
write this image to the wrong place in flash which would overwrite critical
metadata and brick the device on reboot.
In order to prevent this from happening when updating older devices, never
use this bootloader type on Sherlock.
-- "skip_metadata" --
The combined BL2 + TPL image.
The image itself is identical to the default, but adding the "skip_metadata"
type ensures that older pavers will ignore this image, and only newer
implementations which properly skip the metadata section will write it.
Defined at line 74 of file ../../src/firmware/paver/sherlock.cc
zx::result<std::unique_ptr<PartitionClient>> FindPartition (const PartitionSpec & spec)
Defined at line 89 of file ../../src/firmware/paver/sherlock.cc
zx::result<> WipeFvm ()
Defined at line 184 of file ../../src/firmware/paver/sherlock.cc
zx::result<> ResetPartitionTables ()
Defined at line 186 of file ../../src/firmware/paver/sherlock.cc
zx::result<> ValidatePayload (const PartitionSpec & spec, std::span<const uint8_t> data)
Defined at line 191 of file ../../src/firmware/paver/sherlock.cc