Enable watchdog and control pxe boot, Am5020 uefi bios the uefi shell – Kontron AM5020 uEFI BIOS User Manual
Page 61
Advertising

AM5020 uEFI BIOS
The uEFI Shell
ID 1045-0247, Rev. 1.0
Page 55
P R E L I M I N A R Y
6.3.3.4
Enable Watchdog and Control PXE Boot
The uEFI Shell provides environment variables used to control the execution flow.
The following sample start-up script shows two uEFI Shell environment variables,
wdt_enable
and pxe_first, used to control the boot process and the Watchdog.
To create uEFI Shell environment variables, use the set uEFI Shell command as shown below:
echo -off
echo “Executing sample startup.nsh...”
if %wdt_enable% == “on” then
kwdt -t 15
echo “Watchdog enabled”
endif
if %pxe_first% == “on” then
echo “forced booting from network”
kboot -t network
endif
Shell> set wdt_enable on
Shell> set pxe_first on
Shell> set
pxe_first : on
wdt_enable : on
Shell> reset
Advertising