public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "John Chew" <yuinyee.chew@starfivetech.com>
To: "Andrew Fish" <afish@apple.com>, devel@edk2.groups.io
Subject: Re: [edk2-devel] Is there a way to create filesystem in UEFI Shell ?
Date: Sun, 31 Mar 2024 20:39:47 -0700	[thread overview]
Message-ID: <23235.1711942787716839645@groups.io> (raw)
In-Reply-To: <2C326D09-30A2-4421-ADA2-EFE6D3910C67@apple.com>

[-- Attachment #1: Type: text/plain, Size: 1136 bytes --]

On Sat, Mar 30, 2024 at 06:10 AM, Andrew Fish wrote:

> 
> 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.
> 

Hi Andrew,

I forgot to mention earlier, that I'm developing for RISC-V architecture.

It seems like the semihosting lib in edk2 does not have support for RISC-V yet.

Thanks for the FvSimpleFileSystemDxe suggestion.

Actually, I'm trying to TFTP "initramfs" (1MB) and "linux.efi" (25MB) into a filesystem. So, it requires to support write to the filesystem.

Do you have other suggestions?

Thanks! =)

John


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#117275): https://edk2.groups.io/g/devel/message/117275
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: 1847 bytes --]

  parent reply	other threads:[~2024-04-01  3:39 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
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 [this message]
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=23235.1711942787716839645@groups.io \
    --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