public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Ayush Singh" <ayushdevel1325@gmail.com>
To: edk2-devel-groups-io <devel@edk2.groups.io>
Subject: Running and Testing Modules and Applications
Date: Fri, 3 Jun 2022 22:19:49 +0530	[thread overview]
Message-ID: <CA+Yfj7tE--Uu129v9V9iaTkGz7guXutVxxYAdNxfOEBhB6bXUA@mail.gmail.com> (raw)

Hello everyone, I wanted to ask everyone how most modules and
applications are run/tested in edk2. I will be working on Adding Rust
support for edk2 during GSoC and thus will probably have to do a lot
of primitive testing. I did look at the EmulationPkg but didn't really
understand how to use it. It simply drops me into gdb, although maybe
that's what it is supposed to do?

There were also some GUI programs (VisualUefi) that can be used in
windows, but since I am in Linux, they aren't much useful. I also
found a tutorial to run it in a physical machine
(https://tait.tech/2021/04/18/uefi-development-environment/), but that
seems more for the final testing rather than testing during
development.

I have also tried using qemu for running applications, and I guess I
was somewhat successful by using the script:
`https://github.com/Richard-W/uefi-run` to test out uefi applications
in qemu. However, it builds a FAT filesystem around the EFI
application, so I was wondering if there was a better and simpler way
to do it.

Ayush Singh

             reply	other threads:[~2022-06-03 16:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-03 16:49 Ayush Singh [this message]
2022-06-03 22:06 ` [edk2-devel] Running and Testing Modules and Applications Brian J. Johnson
2022-06-03 23:00   ` Mara Sophie Grosch
2022-06-04 19:32   ` Ayush Singh

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-list 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=CA+Yfj7tE--Uu129v9V9iaTkGz7guXutVxxYAdNxfOEBhB6bXUA@mail.gmail.com \
    --to=devel@edk2.groups.io \
    /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