diff options
| author | Paul Eggleton <paul.eggleton@microsoft.com> | 2020-12-16 18:51:41 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-12-20 00:03:04 +0000 |
| commit | b23d338176136cae7d3f0d9ce930b03158ecbbc8 (patch) | |
| tree | dfcb3f698e2633fe2aff5145b58c9234122f1802 /meta/lib/oeqa | |
| parent | 715591d95207a2d884a400f3ef5607a27907c44d (diff) | |
| download | poky-b23d338176136cae7d3f0d9ce930b03158ecbbc8.tar.gz | |
oe-selftest: fitimage: Test for FIT_DESC
Add verification of FIT_DESC to the existing test for kernel-fitimage.
(From OE-Core rev: 1d75a67efe968f1d9161b64e2b7b2d3cf482c968)
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa')
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/fitimage.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/fitimage.py b/meta/lib/oeqa/selftest/cases/fitimage.py index 2c3803d5be..2a02c60251 100644 --- a/meta/lib/oeqa/selftest/cases/fitimage.py +++ b/meta/lib/oeqa/selftest/cases/fitimage.py | |||
| @@ -35,6 +35,7 @@ UBOOT_RD_LOADADDRESS = "0x88000000" | |||
| 35 | UBOOT_RD_ENTRYPOINT = "0x88000000" | 35 | UBOOT_RD_ENTRYPOINT = "0x88000000" |
| 36 | UBOOT_LOADADDRESS = "0x80080000" | 36 | UBOOT_LOADADDRESS = "0x80080000" |
| 37 | UBOOT_ENTRYPOINT = "0x80080000" | 37 | UBOOT_ENTRYPOINT = "0x80080000" |
| 38 | FIT_DESC = "A model description" | ||
| 38 | """ | 39 | """ |
| 39 | self.write_config(config) | 40 | self.write_config(config) |
| 40 | 41 | ||
| @@ -59,7 +60,9 @@ UBOOT_ENTRYPOINT = "0x80080000" | |||
| 59 | # The order of fields in the below array is important. Not all the | 60 | # The order of fields in the below array is important. Not all the |
| 60 | # fields are tested, only the key fields that wont vary between | 61 | # fields are tested, only the key fields that wont vary between |
| 61 | # different architectures. | 62 | # different architectures. |
| 62 | its_field_check = ['type = "kernel";', | 63 | its_field_check = [ |
| 64 | 'description = "A model description";', | ||
| 65 | 'type = "kernel";', | ||
| 63 | 'load = <0x80080000>;', | 66 | 'load = <0x80080000>;', |
| 64 | 'entry = <0x80080000>;', | 67 | 'entry = <0x80080000>;', |
| 65 | 'type = "ramdisk";', | 68 | 'type = "ramdisk";', |
