diff options
| author | Adrian Freihofer <adrian.freihofer@siemens.com> | 2025-06-03 10:23:20 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-06-05 11:02:21 +0100 |
| commit | 8263346476eaf7f063402ff17cce02eb17f62dee (patch) | |
| tree | 07cc548b24a995db5d633911d76d995560ee9872 /meta/lib/oeqa | |
| parent | 1e29226879f739543531adb211f12ce1c6586002 (diff) | |
| download | poky-8263346476eaf7f063402ff17cce02eb17f62dee.tar.gz | |
kernel-fitimage: refactor order in its
When the ITS file is created, the mandatory properties are written first
before the optional properties are written.
This is not really useful for the current implementation. But it is a
preparation for a new Python-based implementation that will expect
mandatory properties first. This change makes it possible to run the
tests with both the old and the new implementation.
(From OE-Core rev: 1044366a32d544af53307a03d7d3b0aaf4519990)
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/cases/fitimage.py b/meta/lib/oeqa/selftest/cases/fitimage.py index fcba28b7b7..9c353b6ed1 100644 --- a/meta/lib/oeqa/selftest/cases/fitimage.py +++ b/meta/lib/oeqa/selftest/cases/fitimage.py | |||
| @@ -513,11 +513,11 @@ class KernelFitImageTests(FitImageTestCase): | |||
| 513 | its_field_check = [ | 513 | its_field_check = [ |
| 514 | 'description = "%s";' % bb_vars['FIT_DESC'], | 514 | 'description = "%s";' % bb_vars['FIT_DESC'], |
| 515 | 'description = "Linux kernel";', | 515 | 'description = "Linux kernel";', |
| 516 | 'data = /incbin/("linux.bin");', | ||
| 517 | 'type = "' + str(bb_vars['UBOOT_MKIMAGE_KERNEL_TYPE']) + '";', | 516 | 'type = "' + str(bb_vars['UBOOT_MKIMAGE_KERNEL_TYPE']) + '";', |
| 517 | # 'compression = "' + str(bb_vars['FIT_KERNEL_COMP_ALG']) + '";', defined based on files in TMPDIR, not ideal... | ||
| 518 | 'data = /incbin/("linux.bin");', | ||
| 518 | 'arch = "' + str(bb_vars['UBOOT_ARCH']) + '";', | 519 | 'arch = "' + str(bb_vars['UBOOT_ARCH']) + '";', |
| 519 | 'os = "linux";', | 520 | 'os = "linux";', |
| 520 | # 'compression = "' + str(bb_vars['FIT_KERNEL_COMP_ALG']) + '";', defined based on files in TMPDIR, not ideal... | ||
| 521 | 'load = <' + str(bb_vars['UBOOT_LOADADDRESS']) + '>;', | 521 | 'load = <' + str(bb_vars['UBOOT_LOADADDRESS']) + '>;', |
| 522 | 'entry = <' + str(bb_vars['UBOOT_ENTRYPOINT']) + '>;', | 522 | 'entry = <' + str(bb_vars['UBOOT_ENTRYPOINT']) + '>;', |
| 523 | ] | 523 | ] |
