Expand description
Firmware images by manifest name or path.
config/firmware.toml (receivers::firmware) lists the archived images
with their sha256; a name from it is looked for under
third-party/firmware and then in the config directory’s cache, and every
image that is in the manifest is checked against it before a write.
Structs§
- Candidate
- One image the ranking considered, and why it scored what it did.
- Loaded
- An image read from disk.
- Resolved
- An image argument resolved to a file, and its manifest entry when it has one.
Constants§
- ARCHIVE
- The archived images, relative to the repository root.
- AUTO
- The
provision --firmwarevalue that ranks the manifest instead of naming an image (pick).
Functions§
- cache_
dir - Where
fetchwrites:<config dir>/receiverproxy/firmware. - checked
- The word a plan line carries for a loaded image.
- chip_
name - The part name a spec’s chip library gives, or the library path when it cannot be read.
- chosen
- The one image a ranking chose: the top candidate, when rule 1 or rule 2 decided it and nothing else ranks with it.
- fetch
rxp firmware fetch NAME: downloadbase_url/pathwithcurlinto the cache after checking its sha256. With an emptybase_urlit reports where the image is expected instead.- list
rxp firmware list: the manifest, one line per image, and where each is.- load
- Read
argand check it against the manifest when it is listed there; a file outside the manifest is used as is, with a warning. - pick
- The image to install for a panel on a card.
- print_
pick rxp firmware pick: the ranking, best first, and what it chose.- resolve
- A manifest name to the archive or the cache; anything else is a path.
- select
- The manifest ranked for a panel on a card, best first.