LAVA offers many facilities to control the boot process of a DUT. This enables users to configure the boot process to support custom software images.
Boot command stanzas are predefined Boot Commands which are included in the device_configuration or in the device_type_configuration.
The following example demonstrates how to define a boot command stanza.
Example:
boot_cmds =
setenv initrd_high "'0xffffffff'",
setenv fdt_high "'0xffffffff'",
setenv bootcmd "'fatload mmc 0:3 0x80200000 uImage; fatload mmc 0:3 0x81600000 uInitrd; fatload mmc 0:3 0x815f0000 board.dtb; bootm 0x80200000 0x81600000 0x815f0000'",
setenv bootargs "'console=ttyO0,115200n8 root=LABEL=testrootfs rootwait ro'",
boot
In the above example “boot_cmds” is the name of the stanza.
Boot options are predefined Boot Commands which are included in the device_configuration or in the device_type_configuration.
The following example demonstrates how to enable, define, and set the default boot_options in either the device_configuration or in the device_type_configuration.
Example:
boot_options =
boot_cmds
[boot_cmds]
default = boot_cmds
The “boot_cmds” stanza defines