assembly_generate_config


Usage: assembly_generate_config <command> [<args>]

Arguments to construct an assembly config.


OPTIONS:


  --help            display usage information


SUBCOMMANDS:


  product           Arguments to generate a product config.
  hybrid-product    Arguments to generate a hybrid product config.
  board-input-bundle
                    Arguments to generate a board input bundle.
  board-input-bundle-set
                    Arguments to generate a board input bundle set.
  board             Arguments to generate a board config.
  hybrid-board      Arguments to generate a hybrid board config.


board


Usage: assembly_generate_config board --config <config> [--board-input-bundles <board-input-bundles...>] [--board-input-bundle-sets <board-input-bundle-sets...>] --output <output> [--version <version>] [--version-file <version-file>] [--depfile <depfile>]

Arguments to generate a board config.


OPTIONS:


  --config          the input board config with absolute paths.
  --board-input-bundles
                    paths to board input bundles to include.
  --board-input-bundle-sets
                    paths to board input bundle sets to make available.
  --output          the directory to write the board config to.
  --version         release version that this board config corresponds to.
  --version-file    path to a file containing the release version that this
                    config matches.
  --depfile         a depfile to write.
  --help            display usage information


board-input-bundle


Usage: assembly_generate_config board-input-bundle --name <name> --output <output> [--drivers <drivers>] [--base-packages <base-packages...>] [--bootfs-packages <bootfs-packages...>] [--cpu-manager-config <cpu-manager-config>] [--energy-model-config <energy-model-config>] [--kernel-boot-args <kernel-boot-args...>] [--power-manager-config <power-manager-config>] [--power-metrics-recorder-config <power-metrics-recorder-config>] [--system-power-mode-config <system-power-mode-config>] [--thermal-config <thermal-config>] [--thread-roles <thread-roles...>] [--sysmem-format-costs-config <sysmem-format-costs-config...>] [--version <version>] [--version-file <version-file>] [--depfile <depfile>]

Arguments to generate a board input bundle.


OPTIONS:


  --name            the name of the board input bundle.
  --output          the directory to write the board input bundle to.
  --drivers         the path to the file that describes all the drivers to add
                    to the bundle. The format of this file is a json list of
                    dictionaries that specify the following fields: 1)
                    'package': The path to the package manifest 2) 'set': The
                    package set that it belongs to ("bootfs" or "base") 3)
                    'components': A list of the driver components in this
                    package.
  --base-packages   the paths to package manifests for all packages to add to
                    the base package set.
  --bootfs-packages the paths to package manifests for all packages to add to
                    the bootfs package set.
  --cpu-manager-config
                    cpu-manager configuration
  --energy-model-config
                    energy model configuration for processor power management
  --kernel-boot-args
                    arguments to pass to the kernel on boot
  --power-manager-config
                    power-manager configuration
  --power-metrics-recorder-config
                    power metrics recorder configuration
  --system-power-mode-config
                    system power modes configuration
  --thermal-config  thermal management configuration
  --thread-roles    thread role configuration files
  --sysmem-format-costs-config
                    sysmem format costs configuration files Each file's content
                    bytes are a persistent fidl fuchsia.sysmem2.FormatCosts.
                    Normally json\[5] would be preferable for config, but we
                    generate this config in rust using FIDL types (to avoid
                    repetition and to take advantage of FIDL rust codegen), and
                    there's no json schema for FIDL types.
  --version         release version that this BIB corresponds to.
  --version-file    path to a file containing the release version that this BIB
                    matches.
  --depfile         a depfile to write.
  --help            display usage information


board-input-bundle-set


Usage: assembly_generate_config board-input-bundle-set --name <name> [--board-input-bundles <board-input-bundles...>] [--version <version>] [--version-file <version-file>] --output <output> [--depfile <depfile>]

Arguments to generate a board input bundle set.


OPTIONS:


  --name            the name of the set.
  --board-input-bundles
                    paths to board input bundles to include.
  --version         release version that this BIB corresponds to.
  --version-file    path to a file containing the release version that this BIB
                    matches.
  --output          the directory to write the board config to.
  --depfile         a depfile to write.
  --help            display usage information


hybrid-board


Usage: assembly_generate_config hybrid-board --config <config> --output <output> [--replace-bibs-from-board <replace-bibs-from-board>] [--replace-bib-sets <replace-bib-sets...>] [--depfile <depfile>]

Arguments to generate a hybrid board config.


OPTIONS:

--config the input board config with absolute paths. --output the directory to write the board config to. --replace-bibs-from-board a board that contains BIBs that should be added to config. --replace-bib-sets replace all the bibs from these sets that are found in config. --depfile a depfile to write. --help display usage information

hybrid-product


Usage: assembly_generate_config hybrid-product --input <input> [--replace-package <replace-package...>] --output <output> [--depfile <depfile>]

Arguments to generate a hybrid product config.


OPTIONS:


  --input           the input product config directory.
  --replace-package a package to replace in the input.
  --output          the directory to write the product config to.
  --depfile         a depfile to write.
  --help            display usage information


product


Usage: assembly_generate_config product --config <config> --output <output> [--depfile <depfile>]

Arguments to generate a product config.


OPTIONS:


  --config          the input product config with absolute paths.
  --output          the directory to write the product config to.
  --depfile         a depfile to write.
  --help            display usage information