From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-in2.apple.com (mail-out2.apple.com [17.151.62.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 3CB1A21C93ECE for ; Fri, 2 Jun 2017 10:59:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; d=apple.com; s=mailout2048s; c=relaxed/simple; q=dns/txt; i=@apple.com; t=1496426454; h=From:Sender:Reply-To:Subject:Date:Message-id:To:Cc:MIME-version:Content-type: Content-transfer-encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-reply-to:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=CFA5u1NIibGNQS8QuyzkMpNa9ZPCvszwwHOcgOiRpJE=; b=kX2rF4VqFZsmTcL26Ba/uDGYV7IKiKwaaW44InGEjZ8dB8ywqYphjZZWQknWcaF8 R1WIkKiSp9V1J3kaF7WCOtE1ox4OwCUKbjSBmxas2lR2+JavTF2m+jHJNc0taBTz KmwVLmDt1dAy+BPv92oveOH5KAsmMzD8tdYEhkFwbAvSHNkNsOeX/5+T31GoWC1r FBPd3N25oeA7/d+iD1In8m9hcQL+Z/I0YBzPxm4obGGSBp6JPNYmToXvWkBkwxRo K1W0OP2lAU9Sew0Kzf6UREn0GX36giLGk8JqAzJE3U4xhEI+bhI66Pyka+tFEZiz ruvceWI2Oz2o+daMDDaI5Q==; Received: from relay2.apple.com (relay2.apple.com [17.128.113.67]) (using TLS with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail-in2.apple.com (Apple Secure Mail Relay) with SMTP id 9E.10.12614.6D7A1395; Fri, 2 Jun 2017 11:00:54 -0700 (PDT) X-AuditID: 11973e11-167519a000003146-e1-5931a7d62f9b Received: from nwk-mmpp-sz12.apple.com (nwk-mmpp-sz12.apple.com [17.128.115.204]) by relay2.apple.com (Apple SCV relay) with SMTP id 5A.55.07829.6D7A1395; Fri, 2 Jun 2017 11:00:54 -0700 (PDT) MIME-version: 1.0 Received: from da0601a-dhcp124.apple.com (da0601a-dhcp124.apple.com [17.226.15.124]) by nwk-mmpp-sz12.apple.com (Oracle Communications Messaging Server 8.0.1.2.20170210 64bit (built Feb 10 2017)) with ESMTPSA id <0OQX00KQ4M1I0S40@nwk-mmpp-sz12.apple.com>; Fri, 02 Jun 2017 11:00:54 -0700 (PDT) Sender: afish@apple.com From: Andrew Fish In-reply-to: Date: Fri, 02 Jun 2017 11:00:54 -0700 Cc: edk2-devel@lists.01.org Message-id: <15B96BE3-C111-4125-B0CB-94FB74AD552C@apple.com> References: To: Blibbet X-Mailer: Apple Mail (2.3273) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrNLMWRmVeSWpSXmKPExsUi2FDorHttuWGkwdEbehZv37xntNhz6Ciz A5PHzll32T26Z/9jCWCK4rJJSc3JLEst0rdL4MpY97qgYCVPxfTJE9kaGH9xdjFyckgImEis vXmCpYuRi0NIYDWTxPLTp9lgEjv/v4VKHGKUOLFpE1iCV0BQ4sfke0AJDg5mAXmJg+dlQcLM AloS3x+1QtWvZZLYcr+TBSQhLCAu8e7MJmYI20zi7Nd3YHPYBJQlVsz/wA5icwrYSqyedZEJ xGYRUJU4MPM5C8RQaYmHE4+zQuy1kejvmsAIsWAio8SKtmlgDSJAR8y6/IwV4mpZiVuzLzGD FEkILGGTeLzyK8sERuFZSA6fhXD4LCSHL2BkXsUolJuYmaObmWekl1hQkJOql5yfu4kRFNrT 7QR3MB5fZXWIUYCDUYmHN6PMMFKINbGsuDL3EKM0B4uSOK9hgkGkkEB6YklqdmpqQWpRfFFp TmrxIUYmDk6pBkZLm3kSES7JhdeU270Cn9mnXW/OeJ3p8zb/7+cv8ixvXrGb1vl2asat5lwu +01nW+aMK3c/2c24cD1sx5x9Z+K//+xvsfrIaG6reeW8VgpHcNb9iIAV/+6GKW9q8GtoZRJ/ P/vaeoZ7f6rnHxZS261kOuPUwhxvXuanS019zc6Iswsc1txgul2JpTgj0VCLuag4EQDDA1Oh TgIAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplkeLIzCtJLcpLzFFi42IRbCg+o3ttuWGkweH7mhZv37xntNhz6Ciz A5PHzll32T26Z/9jCWCK4rJJSc3JLEst0rdL4MpY97qgYCVPxfTJE9kaGH9xdjFyckgImEjs /P+WpYuRi0NI4BCjxIlNm9hAErwCghI/Jt8DSnBwMAvISxw8LwsSZhbQkvj+qBWqfi2TxJb7 nSwgCWEBcYl3ZzYxQ9hmEme/vgObwyagLLFi/gd2EJtTwFZi9ayLTCA2i4CqxIGZz1kghkpL PJx4nBVir41Ef9cERogFExklVrRNA2sQATpi1uVnrBBXy0rcmn2JeQKjwCwkt85CuHUWklsX MDKvYhQoSs1JrDTSSywoyEnVS87P3cQIDsVC5x2Mx5ZZHWIU4GBU4uEVKDGMFGJNLCuuzAUG Bgezkgjv7llAId6UxMqq1KL8+KLSnNTiQ4xVQA9MZJYSTc4HxkleSbyhiYmBibGxmbGxuYk5 VYSVxHkPexlECgmkJ5akZqemFqQWwSxn4uCUamBc0biM9XZUfrnGzuTKfME5Vy+uWMUgVfnI rC2Ij5fz/gVtm+X7u6oiw/ca9jqVmopOPzxZo1JSaerqkJpVnHk2t+/umhuyc8rXROYLXjw/ VLLe9HQXlEUv3W9Wv/zKvemMP5LuXc4Kkz+xf+GG42f3fnpkunf+3yR33fvbxF99XbaXLd7/ 1CsHJZbijERDLeai4kQAssjEkKACAAA= Subject: Re: Format SD card while on UEFI shell X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jun 2017 17:59:52 -0000 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII 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 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