From: "Andrew Fish via groups.io" <afish=apple.com@groups.io>
To: edk2-devel-groups-io <devel@edk2.groups.io>,
yuinyee.chew@starfivetech.com
Subject: Re: [edk2-devel] Is there a way to create filesystem in UEFI Shell ?
Date: Mon, 01 Apr 2024 08:07:10 -0700 [thread overview]
Message-ID: <89ED0653-81D3-4926-A29E-2E6912F8694D@apple.com> (raw)
In-Reply-To: <23235.1711942787716839645@groups.io>
[-- Attachment #1: Type: text/plain, Size: 1531 bytes --]
> On Mar 31, 2024, at 8:39 PM, John Chew <yuinyee.chew@starfivetech.com> wrote:
>
> 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?
>
The source code Mike linked. I forgot the place it lived.
I think we are really enough in the RISC-V that some older things have not been ported. It should not be that hard to port to edk2. That would probably get RISC-V working.
Thanks,
Andrew Fish
>
> Thanks! =)
>
> John
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#117296): https://edk2.groups.io/g/devel/message/117296
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: 2996 bytes --]
prev parent reply other threads:[~2024-04-01 15:07 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
2024-04-01 15:07 ` Andrew Fish via groups.io [this message]
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=89ED0653-81D3-4926-A29E-2E6912F8694D@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