public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Paulo Alcantara <paulo@paulo.ac>
To: Rafael Machado <rafaelrodrigues.machado@gmail.com>,
	"edk2-devel\@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: UEFI Shell + startup.nsh
Date: Thu, 24 Jan 2019 10:32:05 -0200	[thread overview]
Message-ID: <871s5244oq.fsf@paulo.ac> (raw)
In-Reply-To: <CACgnt79xZtgYx7O1n8chL_UfW7dxgUxxwqEPg5xY-oniKdKBYA@mail.gmail.com>

Rafael Machado <rafaelrodrigues.machado@gmail.com> writes:

> I have a question.
> Considering I have a PXE server that my client downloads a shell.efi app.
> Considering also that  I need to execute a .nsh script, but I their is no
> media at the system.  (no usb or storage device attached)
>
> Is there any way to embed a startup.nsh at the shell.efi application?
> As far as I know with PXE just one file is downloaded and executed. (I am
> also checking how to use the EfiRamDisk protocol to create a temporary
> place for the .nsh generated files.)

You'd probably need to format your UEFI RAM disk with an FAT file
system, download the .nsh script into it, then UEFI shell application
would look for the startup script and then execute it.

Paulo


  reply	other threads:[~2019-01-24 12:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-24 12:22 UEFI Shell + startup.nsh Rafael Machado
2019-01-24 12:32 ` Paulo Alcantara [this message]
2019-01-24 12:47 ` Laszlo Ersek
2019-01-24 12:58   ` Rafael Machado

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=871s5244oq.fsf@paulo.ac \
    --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