The partition driver already exists (see
MdeModulePkg/Universal/Disk/PartitionDxe). This already recognizes El Torito
format, so, as long as the partition you boot from is FAT32 you should have no
trouble (see the FatBinPkg).
If you are trying to boot an OS, then you have to figure out how to convince
how to convince that OS to continue to use that driver once it reaches the
hand-off point in boot, because it then requires a native OS driver to continue
to access your ISO.
Tim
From: Thomas Rognon [mailto:[email protected]]
Sent: Thursday, April 04, 2013 1:31 PM
To: [email protected]
Subject: Re: [edk2] Boot to ISO image in volatile memory
Thanks! That gives me a great start. I'm new to a lot of this stuff, though,
so the steps you outlined will be tough for me without guidance. Is there any
UEFI optical drive code floating around the internet somewhere? I looked but
couldn't find any. I'm essential doing the same thing as booting to a CD/DVD,
except its all in memory.
Thomas Rognon
On Thu, Apr 4, 2013 at 2:27 PM, Tim Lewis
<[email protected]<mailto:[email protected]>> wrote:
Produce an instance of BLOCK_IO protocol which returns pieces of the in-memory
image. Then perform a ConnectController() on that handle, which should cause a
DISK_IO and SIMPLE_FILE_SYSTEM to be mounted automatically.
Then, you use the file system to load the boot loader (LoadImage()), signal the
ready-to-boot event, set up the UEFI watchdog timer, and then start the boot
loader (StartImage()). There may be a few more standard boot items I may be
forgetting, but that's about it.
Tim
From: Thomas Rognon [mailto:[email protected]<mailto:[email protected]>]
Sent: Thursday, April 04, 2013 12:21 PM
To: [email protected]<mailto:[email protected]>
Subject: [edk2] Boot to ISO image in volatile memory
Let's say I'm running a UEFI_APPLICATION called IsoBootTest.efi and I have an
ISO image in volatile memory and I have the start address and size of the ISO
image. Can I boot the ISO image? If so, can someone give me a hint on how I
would do it? (If it makes any difference, I'm using UDK2010.)
Thomas Rognon
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
edk2-devel mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/edk2-devel
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel