forked from OERV-BSP/u-boot
test/py: efi_capsule: test for FIT image capsule
The test can run on sandbox build and it attempts to execute a firmware update via a capsule-on-disk, using a FIT image capsule, CONFIG_EFI_CAPSULE_FIT. To run this test successfully, you need configure U-Boot specifically; See test_capsule_firmware.py for requirements, and hence it won't run on Travis CI, at least, for now. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
This commit is contained in:
committed by
Heinrich Schuchardt
parent
fab430be2f
commit
450596f2ac
36
test/py/tests/test_efi_capsule/uboot_bin_env.its
Normal file
36
test/py/tests/test_efi_capsule/uboot_bin_env.its
Normal file
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* Automatic software update for U-Boot
|
||||
* Make sure the flashing addresses ('load' prop) is correct for your board!
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
/ {
|
||||
description = "Automatic U-Boot environment update";
|
||||
#address-cells = <2>;
|
||||
|
||||
images {
|
||||
u-boot-bin@100000 {
|
||||
description = "U-Boot binary on SPI Flash";
|
||||
data = /incbin/("BINFILE1");
|
||||
compression = "none";
|
||||
type = "firmware";
|
||||
arch = "sandbox";
|
||||
load = <0>;
|
||||
hash-1 {
|
||||
algo = "sha1";
|
||||
};
|
||||
};
|
||||
u-boot-env@150000 {
|
||||
description = "U-Boot environment on SPI Flash";
|
||||
data = /incbin/("BINFILE2");
|
||||
compression = "none";
|
||||
type = "firmware";
|
||||
arch = "sandbox";
|
||||
load = <0>;
|
||||
hash-1 {
|
||||
algo = "sha1";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user