public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Andrew Fish <afish@apple.com>
To: Blibbet <blibbet@gmail.com>
Cc: edk2-devel@lists.01.org
Subject: Re: Format SD card while on UEFI shell
Date: Fri, 02 Jun 2017 11:00:54 -0700	[thread overview]
Message-ID: <15B96BE3-C111-4125-B0CB-94FB74AD552C@apple.com> (raw)
In-Reply-To: <fdcbb34c-dd40-af24-14eb-1c7b596c04e1@gmail.com>

The SD spec calls out MBR with a single partition and FAT32 or exFAT file system based on size.  You need to follow those rules if you want to use it with embedded devices. A general purpose OS will treat the SD card like a disk and the format does not really matter. 

Thanks,

Andrew Fish

> On Jun 2, 2017, at 10:30 AM, Blibbet <blibbet@gmail.com> wrote:
> 
> On 06/02/2017 12:23 AM, Shubham Mittal wrote:
>> Hi all,
>> 
>> Is there any utility/tool by which i can format sd card(connected to
> board) using UEFI shell.
>> 
>> As of now, i have to detach it and format it and attach it again..
> 
> I'm not sure this answers your question or not, but Intel has some UEFI
> disk utilities, but they're pre-EDK2 and non-BSD licensed. So you can
> fdisk/format from within the UEFI Shell, for FAT volumes. Brian of Intel
> says that there is work underway to revise these tools, unclear of what
> (perhaps relicense these tools, make them work with current toolchain,
> and perhaps transfer them from Intel to UEFI Forum) and when. See this
> message:
> 
> https://lists.01.org/pipermail/edk2-devel/2016-October/002734.html
> 
> Hmm, it looks like URL has changed:
> https://firmware.intel.com/content/uefidiskutilitiesagreement
> And the zip is no longer password-protected, thanks Intel lawyers!
> But the contents appear to be still last-updated in 2011.
> 
> HTH,
> Lee Fisher
> 
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel



  reply	other threads:[~2017-06-02 17:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-02  7:23 Format SD card while on UEFI shell Shubham Mittal
2017-06-02 17:30 ` Blibbet
2017-06-02 18:00   ` Andrew Fish [this message]
2017-06-04  5:28     ` Shubham Mittal
2017-06-05 17:03       ` Vladimir Olovyannikov

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=15B96BE3-C111-4125-B0CB-94FB74AD552C@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