bzt 7798e28f98 Option to create EFI CDROM image | před 2 roky | |
---|---|---|
.. | ||
Makefile | před 2 roky | |
OLVASSEL.md | před 2 roky | |
README.md | před 2 roky | |
efidsk.c | před 2 roky | |
efiffs.c | před 2 roky | |
efirom.c | před 2 roky |
These are small portable commands to help you with the UEFI toolchain (libc only, no EFI headers needed). They convert the .efi output that you've compiled with POSIX-UEFI into different file formats required by the UEFI firmware.
./efirom [--vendor=VVVV] [--device=DDDD] infile outfile
* __efiffs__ - creates a DXE UEFI driver image (see [this wiki](https://github.com/pbatard/efifs/wiki/Adding-a-driver-to-a-UEFI-firmware#adding-the-module-to-the-firmware) on how to add it to a firmware).
POSIX-UEFI utils - efiffs by bztsrc@gitlab MIT
./efiffs [-g ] [-n ] [-v ] [-t ] [-p ] infile [outfile]
-g specify the GUID (defaults to random) -n specify the driver's name (eg 'FAT') -v specify the driver's version (eg '1.0') -t specify the ffs type (defaults to 7, EFI_FV_FILETYPE_DRIVER) -p specify the pe section type (defaults to 16, EFI_SECTION_PE32) infile input .efi file outfile output file name (default generated from infile)
* __efidsk__ - creates a bootable disk image with EFI System Partition from the contents of a directory. Copy the POSIX-UEFI
compiled file under the given directory as `EFI/BOOT/BOOTX64.EFI` to get it automatically booted.
POSIX-UEFI utils - efidsk by bztsrc@gitlab MIT
./efidsk [-p|-c] [-s ] indir outfile
-p save only the partition image without GPT -c save EFI CDROM (ISO9660 El Torito no emulation boot catalog) -s set the size of partition in megabytes (defaults to 33M) indir use the contents of this directory outfile output image file name ```