firmware.yml
expects firmware paths to be relative to the current working directory.
It could also allow paths relative to the firmware.yml
file itself, e.g:
tiboot3:
path: {firmware_file_dir}/tiboot3.bin
tispl:
path: {firmware_file_dir}/tispl.bin
u-boot:
path: {firmware_file_dir}/u-boot.img
The paths could be resolved with: .format(firmware_file_dir=recovery_config["firmware_file_dir"])
.
This can be used e.g when firmwares are distributed with the relevant yml file.