How to flash UEFI BIOS with iPXE?
|
2019-02-25, 21:47
Post: #1
|
|||
|
|||
How to flash UEFI BIOS with iPXE?
Hello iPXE Forum!
Can iPXE be configured to flash a UEFI BIOS over the network? My current process: 1. Format a USB drive as FAT32 and copy flash files to USB 2. Boot to UEFI Built in Shell 3. Execute the flash.nsh 4. Reboot system after the UEFI BIOS is flashed FILES: afuefi.smc fdt.smc flash.nsh X11SPI8.614 I was able to utilize iPXE sanboot to boot FreeDOS ISOs over a network share to flash legacy BIOS. Now I'm looking for a way to do this to flash UEFI BIOS. Can you please assist? Is there some way to pull the flash files and flash.nsh script over the network with iPXE and flash the BIOS? |
|||
2019-02-25, 22:49
Post: #2
|
|||
|
|||
RE: How to flash UEFI BIOS with iPXE?
use initrd to download all files
and then use chain shellx64.efi That usually "just" works. Use GitHub Discussions VRAM bin |
|||
2019-02-26, 17:47
Post: #3
|
|||
|
|||
RE: How to flash UEFI BIOS with iPXE?
Thanks for the information. The initrd commands completed successfully. How can I generate the shellx64.efi file?
|
|||
2019-02-26, 18:36
Post: #4
|
|||
|
|||
RE: How to flash UEFI BIOS with iPXE?
What do you mean generate the shellx64.efi?
A right you wrote use built in .... there is few bioses where that works so I skipped that part and assumed that you had appropiate shell.efi binary on your usb device. Probably this or similar is what you want https://github.com/tianocore/edk2/blob/m.../Shell.efi Use GitHub Discussions VRAM bin |
|||
2019-02-26, 18:51
Post: #5
|
|||
|
|||
RE: How to flash UEFI BIOS with iPXE?
If I attempt to `chain http://xxx/Shell.efi` from the iPXE shell I get a black screen with a flat cursor. The system appears to be unresponsive.
|
|||
2019-02-26, 19:10
Post: #6
|
|||
|
|||
RE: How to flash UEFI BIOS with iPXE?
And you have tested that the shell file works when booted from usb memory as boot file, or even started from the builtin shell?
Use GitHub Discussions VRAM bin |
|||
2019-02-26, 19:58
(This post was last modified: 2019-02-26 20:26 by engineer7.)
Post: #7
|
|||
|
|||
RE: How to flash UEFI BIOS with iPXE?
I configured the BIOS to boot to the UEFI Built in Shell and placed the .efi on a USB drive. Then at the prompt enter:
fs1: Shell.efi Running this starts a new shell successfully Update: I was able to run the chain Shell.efi command successfully now. It might have been a network hiccup on the first run or two. Thank you! After successfully running initrd and chain I'm greeted with a working shell. However, I'm trying to edit/rename files in the shell which yields a "cannot move to or from a read-only file or directory FS2:\fdt.efi" Is it possible to enable read/write access on FS2:\ in the shell? |
|||
2019-03-11, 22:56
Post: #8
|
|||
|
|||
RE: How to flash UEFI BIOS with iPXE?
I am using various shell binaries that I have collected. I am curious if you get it working, is it is possible to pass an argument to the shell in order to automatically execute your 'flash.nsh' file?
Code: ################################# uefishell |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)