forked from OERV-BSP/u-boot
sandbox: capsule: binman: generate some capsules as part of build
Currently, all the capsules for the sandbox platform are generated at the time of running the capsule tests. To showcase generation of capsules through binman, generate all raw(non FIT payload) capsules needed for the sandbox platform as part of the build. This acts as an illustrative example for generating capsules as part of a platform's build. Make corresponding change in the capsule test's configuration to get these capsules from the build directory. Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
This commit is contained in:
committed by
Heinrich Schuchardt
parent
4dd9701faf
commit
d350b79e6d
@@ -85,6 +85,7 @@ def efi_capsule_data(request, u_boot_config):
|
||||
check_call('cd %s; '
|
||||
'./tools/binman/binman --toolpath %s/tools build -u -d %s/capsule_binman.dtb -O %s -m --allow-missing -I %s -I ./board/sandbox -I ./arch/sandbox/dts'
|
||||
% (u_boot_config.source_dir, u_boot_config.build_dir, data_dir, data_dir, data_dir), shell=True)
|
||||
check_call('cp %s/Test* %s' % (u_boot_config.build_dir, data_dir), shell=True)
|
||||
os.environ['PYTHONPATH'] = pythonpath
|
||||
|
||||
# Create a disk image with EFI system partition
|
||||
|
||||
Reference in New Issue
Block a user