public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Andrew Fish <afish@apple.com>
To: "Robinson, Herbie" <Herbie.Robinson@stratus.com>
Cc: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: Creating EFI System Partition
Date: Thu, 14 Jun 2018 17:41:07 -0700	[thread overview]
Message-ID: <F5AFFCF1-E60F-4552-89E3-155248247B7C@apple.com> (raw)
In-Reply-To: <CY1PR08MB1487204C64F2F0CD2445FBAAE67C0@CY1PR08MB1487.namprd08.prod.outlook.com>



> On Jun 14, 2018, at 5:35 PM, Robinson, Herbie <Herbie.Robinson@stratus.com> wrote:
> 
> I have been tasked with implementing EFI boot in our VOS operating system (in a panic, nobody bothered to tell us ahead of time that legacy boot was being dropped from the BIOS on our latest hardware).  I think we have a pretty good handle on writing the bootloader, but I can't find any solid information on creating an empty EFI System Partition bearing the correct flavor of FAT32 to put the bootloader in.  I need to end up with a binary image file (which I can process into an object module and embed into our OS code for initializing disks).
> 

Herbie,

It is "bog standard" FAT3", see Microsoft Extensible Firmware Initiative FAT32 File System Specification <https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0ahUKEwi_g6P8ttTbAhUCE3wKHQMHC24QFggpMAA&url=https%3A%2F%2Fdownload.microsoft.com%2Fdownload%2F1%2F6%2F1%2F161ba512-40e2-4cc9-843a-923143f3456c%2Ffatgen103.doc&usg=AOvVaw2NwPT7yLI0sIcY1mEmzrbe>

The OS loader is just an EFI Executable in file. So any old FAT32 tools will do. 

So are you looking for EFI tools to do GPT partitioning and FAT32 file system creation? 

Thanks,

Andrew Fish

> I found a thread on submitting a "GPT" EFI shell application on this list, but it seems to have trailed off to nowhere about two years ago.
> 
> Did that end up somewhere that I haven't found?
> 
> Herbie Robinson
> Software Architect
> Stratus Technologies | www.stratus.com
> 5 Mill and Main Place, Suite 500 | Maynard, MA 01754
> T: +1-978-461-7531 | E: Herbie.Robinson@stratus.com
> [Stratus Technologies]<http://go.stratus.com/US>
> 
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel



  reply	other threads:[~2018-06-15  0:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-15  0:35 Creating EFI System Partition Robinson, Herbie
2018-06-15  0:41 ` Andrew Fish [this message]
2018-06-15 13:17 ` Rod Smith
2018-06-15 15:01   ` Andrew Fish
2018-06-15 15:09     ` Andrew Fish
2018-06-15 20:11     ` Rod Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F5AFFCF1-E60F-4552-89E3-155248247B7C@apple.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox