FYI you can have much larger files in the newer version of the filesystem. See
EFI_COMMON_SECTION_HEADER2
https://uefi.org/specs/PI/1.8A/V3_Code_Definitions.html#firmware-file-system
https://uefi.org/specs/PI/1.8A/V3_Code_Definitions.html#firmware-file-section
Thanks,
Andrew Fish
> On Apr 3, 2
Hi, John
Can you show how do you add your FV?
[FV.MY_FV]
balabala
I cannot find a way to insert a linux.efi and initrd into FV. But I see you
success.
If you are willing, your work on this post will be very meaningful. Can you
write a blog with all the steps?
Thank you very much!
Charlley
-
On Wed, Apr 3, 2024 at 8:48 AM Yoshinoya wrote:
>
> Maybe ref to ramdisk sample, create a memory type block io device, then mount
> file system on it.
> UEFI supports fat file system, some 3rd drivers could be added to support
> ext4 filesystem.
> Search them on github website
EDK2 already supp
Maybe ref to ramdisk sample, create a memory type block io device, then mount
file system on it.
UEFI supports fat file system, some 3rd drivers could be added to support ext4
filesystem.
Search them on github website
At 2024-04-01 11:43:59, "John Chew" wrote:
Hi Michael,
Th
> On Mar 31, 2024, at 8:39 PM, John Chew 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 def
Hi Michael,
Thanks for the tool recommendation.
However, the tools are useful for x86, arm, and IPF platforms. I'm working on a
RISC-V platform.
I wanted to compile the tools for RISC-V, but the link is not found:
https://edk.tianocore.org/files/documents/16/347/file_347.dat/EDK%20Build_0_2.pd
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 con
...@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
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/FatP