From: Ilias Apalodimas <ilias.apalodimas@linaro.org>
To: u-boot@lists.denx.de
Subject: [PATCH 1/1] efi_loader: provide initrddump test tool
Date: Tue, 19 Jan 2021 10:27:43 +0200 [thread overview]
Message-ID: <YAaX/y+tQW3N1DXp@apalos.home> (raw)
In-Reply-To: <a7acad3a-70ae-4ffd-c3d2-982d26b218be@gmx.de>
> >> + }
[...]
> >> +
> >> + cout->set_attribute(cout, EFI_LIGHTGRAY | EFI_BACKGROUND_BLACK);
> >> + cout->clear_screen(cout);
> >> + return EFI_SUCCESS;
> >> +}
> >> --
> >> 2.29.2
> >>
> >
> >
> > I guess we can use this in the selftests for initrd loading in the future
> > right?
> > This seems to be covering most of the protocol usage, so the self-test could
> > be something like 'download file' -> check md5sum/sha256(or similar) of the
> > saved file against the one we loaded.
> >
> > Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
> >
>
> Should I add a 'load' command inside the tool which displays length and
> CRC32 like the current efi_selftest_load_initrd.c does?
>
> I guess this would make writing the Python easier.
>
No strong opinions on that until I actually sit down and write the test.
If you think it's gonna make the python part easier, please do.
Cheers
/Ilias
> Best regards
>
> Heinrich
prev parent reply other threads:[~2021-01-19 8:27 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-17 6:48 [PATCH 1/1] efi_loader: provide initrddump test tool Heinrich Schuchardt
2021-01-18 1:45 ` AKASHI Takahiro
2021-01-19 8:14 ` Ilias Apalodimas
2021-01-19 8:25 ` Heinrich Schuchardt
2021-01-19 8:27 ` Ilias Apalodimas [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=YAaX/y+tQW3N1DXp@apalos.home \
--to=ilias.apalodimas@linaro.org \
--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