public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Cannot boot ISO on RamDisk
@ 2020-11-26 19:53 nahim.souza
  2020-11-27 17:08 ` [edk2-devel] " Laszlo Ersek
  0 siblings, 1 reply; 2+ messages in thread
From: nahim.souza @ 2020-11-26 19:53 UTC (permalink / raw)
  To: devel

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

Greetings!

We are trying to implement an .efi application that receives an ISO file from an Android device, loads it into a buffer and try to boot an Operating System. To do this, we tested some implementations using Ram Disk but after creating the virtual disk and running BOOTX64.efi and found on the FAT32 partition, but some problems occur after boot, as if I did not find the other files in the ISO. To solve this problem, we tried some approaches:

* Change the parameters when calling RamDiskProtocol->Register() function (GUID and DevicePath)
* Tried with different OS (Xubuntu, Windows 10, Windows 7, Ubuntu and OpenSuse)
* Compared with HttpBoot implementation from EDK2, where we saw that an ISO file could be loaded into memory to boot an OS, but the RamDisk implementation in HttpBootRegisterRamDisk was very similar to ours
Based on this, I have some questions:

* In our understanding, HttpBoot downloads the ISO and boots the OS using the RamDisk. Is that correct?
* We saw that RamDiskDxe has some dependencies from ACPI tables, since it uses NFIT (NVDIMM Firmware Interface Table) to save some persistent information. Is there some hardware/driver requirement to make the OS boot through RamDisk? Did we need to have this NVDIMM to support ACPI feature from RamDiskDxe?
* Would you have any other suggestions for solving this scenario?

Best regards!
Nahim.

[-- Attachment #2: Type: text/html, Size: 1547 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-27 17:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-26 19:53 Cannot boot ISO on RamDisk nahim.souza
2020-11-27 17:08 ` [edk2-devel] " Laszlo Ersek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox