> 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 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] -=-=-=-=-=-=-=-=-=-=-=-