bootstd: Add tests for bootstd including all uclasses
Add a set of combined tests for the bootdev, bootflow and bootmeth commands, along with associated functionality. Expand the sandbox console-recording limit so that these can work. These tests rely on a filesystem script which is not yet added to the Python tests. It is included here as a shell script. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -74,6 +74,21 @@
|
||||
};
|
||||
};
|
||||
|
||||
bootstd {
|
||||
compatible = "u-boot,boot-std";
|
||||
|
||||
filename-prefixes = "/", "/boot/";
|
||||
bootdev-order = "mmc2", "mmc1";
|
||||
|
||||
syslinux {
|
||||
compatible = "u-boot,distro-syslinux";
|
||||
};
|
||||
|
||||
efi {
|
||||
compatible = "u-boot,distro-efi";
|
||||
};
|
||||
};
|
||||
|
||||
reboot-mode0 {
|
||||
compatible = "reboot-mode-gpio";
|
||||
gpios = <&gpio_c 0 GPIO_ACTIVE_HIGH>, <&gpio_c 1 GPIO_ACTIVE_HIGH>;
|
||||
@@ -891,10 +906,13 @@
|
||||
non-removable;
|
||||
};
|
||||
|
||||
/* This is used for the bootdev tests */
|
||||
mmc1 {
|
||||
compatible = "sandbox,mmc";
|
||||
filename = "mmc1.img";
|
||||
};
|
||||
|
||||
/* This is used for the fastboot tests */
|
||||
mmc0 {
|
||||
compatible = "sandbox,mmc";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user