-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Most of the work was in fixing up elfconv and the x64 linker script to get things just lined up so. Overall this conversion thing is pretty fragile, but given that there's not a lot more that really needs to go into the boot manager it seems fine for now. Perhaps a better solution would be to see if binutils could be configured with an additional target to create these types of files directly. There were also a couple changes to the assembly, where the @GOTPCREL register needs to be dereferenced to get the value of the variable. Finally, I had to add a prefix to the boot manager PCAT build, and stop reusing bootman.o and bootim.o. This is because in PCAT builds, those are compiled in 32-bit mode, whereas in the EFI boot manager those are 64-bit object files. I wasn't able to fully test the mingen build, because I hit the strict-aliasing IPv6 compiler errors. I'll fix those sometime soon. The system now boots, albeit a bit slowly due apparently to hammering the disk, via x64 UEFI on VMWare.
- Loading branch information
Showing
9 changed files
with
151 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Convert an image to VHDX: | ||
qemu-img convert source.img -O vhdx -o subformat=dynamic dest.vhdx | ||
|
||
Convert an image to VHD: | ||
qemu-img convert source.img -O vpc -o subformat=dyanmic dest.vhdx | ||
|
||
The subformat parameter can by dynamic or fixed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.