flash_tool

command
v0.0.0-...-d12bbc4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2024 License: Apache-2.0, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

flash_tool is a util to flash firmware update packages created by the publisher tool onto devices.

Currently, the only device is a dummy device, which simply sorts the firmware+metadata on local disk.

Usage:

go run ./cmd/flash_tool/ --logtostderr --dummy_storage_dir=/path/to/dir --update_file=/path/to/update.json

The first time you use this tool there will be no prior firmware metadata stored on the device and the tool will fail. In this case, use the --force flag to apply the update anyway thereby creating the metadata. Subsequent invocations should then work without needing the --force flag.

Directories

Path Synopsis
Package impl is the implementation of a util to flash firmware update packages created by the publisher tool onto devices.
Package impl is the implementation of a util to flash firmware update packages created by the publisher tool onto devices.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL