Have trick, not sure where to document...
Bob Bishop
rb at gid.co.uk
Fri Nov 6 15:13:51 UTC 2020
Hi,
> On 6 Nov 2020, at 10:23, Poul-Henning Kamp <phk at phk.freebsd.dk> wrote:
>
> I had some trouble with a particular remote site, and wanted to have
> the hardware watchdog protect the boot-sequence, but the BIOS had no
> support for this.
>
> The solution I found was to use the UEFI shell to arm the watchdog
> before the actuall boot.
>
> After digging around in the abysmal UEFI ecosystem some time, I ended
> up with a bunch of "MM" commands in startup.nsh, before it launches
> BOOTx64.efi:
>
> MM 4e ;IO :87 -n
> MM 4e ;IO :87 -n
> MM 4e ;IO :20 -n
> MM 4f ;IO -n
> MM 4e ;IO :21 -n
> MM 4f ;IO -n
> [...]
> MM 4e ;IO :aa -n
> BOOTx64.efi
>
> This seems like a genuinely useful trick to have in the tool-box
> and now I'm trying to find out where in our documentation something
> like this belongs ?
>
> It seems too specialized and with too many sharp edges for the handbook ?
>
> Wiki/UEFI seems rather historical...
>
> Suggestions ?
boot(8). If that is deemed inappropriate, then boot(8) should definitely have a reference to the actual place.
> --
> Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
> phk at FreeBSD.ORG | TCP/IP since RFC 956
> FreeBSD committer | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>
--
Bob Bishop
rb at gid.co.uk
More information about the freebsd-hackers
mailing list