From: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH v3 5/5] test/py: Create a test for launching UEFI binaries from FIT images
Date: Wed, 18 Dec 2019 17:50:35 +0200 [thread overview]
Message-ID: <20191218155035.GB16098@BV030612LT> (raw)
In-Reply-To: <f8d04ee6-7a03-9e7c-94fc-e399d6ae909f@gmx.de>
On Wed, Dec 18, 2019 at 11:56:00AM +0100, Heinrich Schuchardt wrote:
> On 12/18/19 9:22 AM, Cristian Ciocaltea wrote:
> > > > + };
> > > > +};
> > > > +'''
> > > > +
> > > > + at pytest.mark.boardspec('sandbox')
> > > This test looks ok in principal. But why should we restrict it to the
> > > sandbox?
> > Let me see how this should work on real hardware, I'm going to test
> > on qemu for the moment.
>
> Device trees cannot be used in conjunction with ACPI tables when booting
> via UEFI. Currently this concerns only x86 and x86_64 but Phytec is
> working on an arm64 board which shall provide an ACPI table. So you
> probably want to check CONFIG_GENERATE_ACPI_TABLE instead of the board
> type, e.g.
>
> @pytest.mark.notbuildconfigspec('generate_acpi_table')
Thanks for the hint!
For some strange reason, whatever I put in the 'notbuildconfigspec'
marker causes the test to be skipped:
[-] Section: test_efi_fit
TIME: NOW: 2019/12/18 17:33:14.976576
TIME: SINCE-PREV: 0:00:00.192132
TIME: SINCE-START: 0:00:00.192132
SKIPPED:
('[...]/uboot/test/py/conftest.py', 463, 'Skipped: .config feature "bootm_efi" enabled')
I don't really understand the connection to 'bootm_efi'. If I comment
out the 'bootm_efi' marker, the reported status becomes:
SKIPPED:
('[].../uboot/test/py/conftest.py', 463, 'Skipped: .config feature "cmd_bootefi_hello_compile" enabled')
So it seems 'notbuildconfigspec' gets its parameter from the first
active 'buildconfigspec' statement. This is my current test:
#@pytest.mark.buildconfigspec('bootm_efi')
@pytest.mark.buildconfigspec('cmd_bootefi_hello_compile')
#@pytest.mark.notbuildconfigspec('generate_acpi_table')
@pytest.mark.notbuildconfigspec('fake_item')
@pytest.mark.requiredtool('dtc')
> Best regards
>
> Heinrich
prev parent reply other threads:[~2019-12-18 15:50 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-17 7:46 [PATCH v3 0/5] Add support for booting EFI FIT images Cristian Ciocaltea
2019-12-17 7:46 ` [PATCH v3 1/5] image: Add IH_OS_EFI for EFI chain-load boot Cristian Ciocaltea
2019-12-17 20:30 ` Heinrich Schuchardt
2019-12-17 7:46 ` [PATCH v3 2/5] bootm: Add a bootm command for type IH_OS_EFI Cristian Ciocaltea
2019-12-17 20:34 ` Heinrich Schuchardt
2019-12-18 8:27 ` Cristian Ciocaltea
2019-12-17 7:47 ` [PATCH v3 3/5] doc: Add sample uefi.its image description file Cristian Ciocaltea
2019-12-17 7:47 ` [PATCH v3 4/5] doc: uefi.rst: Document launching UEFI binaries from FIT images Cristian Ciocaltea
2019-12-17 7:47 ` [PATCH v3 5/5] test/py: Create a test for " Cristian Ciocaltea
2019-12-17 21:08 ` Heinrich Schuchardt
2019-12-18 8:22 ` Cristian Ciocaltea
2019-12-18 10:06 ` Heinrich Schuchardt
2019-12-18 15:07 ` Cristian Ciocaltea
2019-12-18 10:56 ` Heinrich Schuchardt
2019-12-18 15:50 ` Cristian Ciocaltea [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191218155035.GB16098@BV030612LT \
--to=cristian.ciocaltea@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox