<div dir='auto'><div><br><div class="gmail_extra"><br><div class="gmail_quote">On 23 Jan 2018 00:46, Steve McIntyre <steve@einval.com> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">On Tue, Jan 23, 2018 at 12:27:26AM +0000, Matthew Bentham wrote:
<br>
>Hi all,
<br>
>
<br>
>My firmware has got itself into a state where it always wants to "PXE Boot Over IPv4", and I have to press escape over the serial console to make it proceed to the EFI shell. In the firmware I'm running at the moment I don't seem to be able to set any persistent variables. I'm using EDK2 with the marvell-armada-wip branch OpenPlatformPackage (as per Wiki) and I understand that Leif's build also can't support persistent variables yet?
<br>
>
<br>
>I've worked around it for now by copying grub to fs0:\EFI\boot\bootaa64.efi but is there a better way?
<br>
<br>
Hey Matthew,
<br>
<br>
AFAIK there are two options for now, until the persistent variable
<br>
storage is finished/upstreamed:
<br>
<br>
1. Write a startup.nsh script which runs grub from the normal
<br>
installation path<br></p></blockquote></div></div></div><div dir="auto">This isn't working for me because the UEFI Shell is at a lower priority than the PXE boot.</div><div dir="auto"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">
<br>
2. In Debian I added support ages ago for working around
<br>
broken/incomplete UEFI implementations, adding an option to copy
<br>
grub into the removable media path (like you've done) and then
<br>
*continue* to do so on upgrades. That will remove the (real)
<br>
possibility that a future grub upgrade will leave you with
<br>
inconsistent grub binary and modules and a non-booting
<br>
system. "dpkg-reconfigure -plow grub-efi-arm64" will let you
<br>
configure things easily.
<br></p></blockquote></div></div></div><div dir="auto">Awesome, works perfectly.</div><div dir="auto"><br></div><div dir="auto">Thanks,</div><div dir="auto"><br></div><div dir="auto">Matthew</div><div dir="auto"><div class="gmail_extra"><br></div></div></div>