tree: 9b5121627a224b803c7cb6bc1ee2c1271bff3585 [path history] [tgz]
  1. BUILD.gn
  2. make-efi.go
  3. OWNERS
  4. README.md
tools/make-efi/README.md

make-efi

A host tool for constructing EFI ESP partitions.

Usage

make-efi -target efi.blk -size $((63*1024*1024)) -offset 0 -kernel zircon.bin -ramdisk ramdisk.bin -efi-bootloader bootx64.efi -mkfs mkfs-msdosfs

Notes:

  • mkfs is required, and must be a path to the zircon mkfs-msdosfs host tool.
  • Size and offset are optional. They are most useful when writing into an existing disk image or block device, such as when writing into a GPT.
  • The -ramdisk and -efi-bootloader are optional.
  • A -manifest option supports dst=src\n formats and all files will be added. This is most useful for targets that require extra files, such as arm targets with extra firmware.