From: "Michael D Kinney" <michael.d.kinney@intel.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
"afish@apple.com" <afish@apple.com>,
"yuinyee.chew@starfivetech.com" <yuinyee.chew@starfivetech.com>
Cc: "Kinney, Michael D" <michael.d.kinney@intel.com>
Subject: Re: [edk2-devel] Is there a way to create filesystem in UEFI Shell ?
Date: Sat, 30 Mar 2024 00:16:17 +0000 [thread overview]
Message-ID: <CO1PR11MB492979C8604AE61E533D6F34D2392@CO1PR11MB4929.namprd11.prod.outlook.com> (raw)
In-Reply-To: <2C326D09-30A2-4421-ADA2-EFE6D3910C67@apple.com>
[-- Attachment #1: Type: text/plain, Size: 1710 bytes --]
There are also utilities to partition and format.
https://www.intel.com/content/www/us/en/download/714351/uefi-shell-disk-utilities.html
Mike
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Andrew Fish via groups.io
Sent: Friday, March 29, 2024 3:11 PM
To: devel@edk2.groups.io; yuinyee.chew@starfivetech.com
Subject: Re: [edk2-devel] Is there a way to create filesystem in UEFI Shell ?
MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf is a virtual storage device, so it just emulates an unformatted disk. You would need to partition or initialize the file system given you have a RAM disk.
The file system driver lives here: https://github.com/tianocore/edk2/tree/master/FatPkg/EnhancedFatDxe
The ArmPkg has a driver that lets you do a file system over JTAG: https://github.com/tianocore/edk2/blob/master/ArmPkg/Filesystem/SemihostFs/Arm/
You can make a ReadOnly file system out of contents on an FV (Firmware Volume): https://github.com/tianocore/edk2/tree/master/MdeModulePkg/Universal/FvSimpleFileSystemDxe
FV is defined in the PI Spec as a layout for flash that contains files, but no directories.
Thanks,
Andrew Fish
On Mar 29, 2024, at 1:21 AM, John Chew <yuinyee.chew@starfivetech.com<mailto:yuinyee.chew@starfivetech.com>> wrote:
[cid:attach_0_17C12E88E9BAF705_29633@groups.io]
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#117247): https://edk2.groups.io/g/devel/message/117247
Mute This Topic: https://groups.io/mt/105212723/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-
[-- Attachment #2: Type: text/html, Size: 5801 bytes --]
next prev parent reply other threads:[~2024-03-30 0:16 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-29 8:21 [edk2-devel] Is there a way to create filesystem in UEFI Shell ? John Chew
2024-03-29 22:10 ` Andrew Fish via groups.io
2024-03-30 0:16 ` Michael D Kinney [this message]
2024-04-01 3:43 ` John Chew
2024-04-03 7:47 ` Yoshinoya
2024-04-03 12:27 ` Pedro Falcato
2024-04-04 3:11 ` John Chew
2024-04-17 10:42 ` charlleygreen.work
2024-04-17 20:30 ` Andrew Fish via groups.io
2024-04-01 3:39 ` John Chew
2024-04-01 15:07 ` Andrew Fish via groups.io
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=CO1PR11MB492979C8604AE61E533D6F34D2392@CO1PR11MB4929.namprd11.prod.outlook.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