mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-23 11:35:19 +01:00
files for qemu
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
This commit is contained in:
parent
579b28b4f3
commit
956009f8ea
1
.gitignore
vendored
1
.gitignore
vendored
@ -108,6 +108,7 @@ build/
|
||||
!default.mode2v3
|
||||
!default.perspectivev3
|
||||
xcuserdata/
|
||||
xcshareddata/
|
||||
|
||||
# Translation files
|
||||
CloverUpdater.strings
|
||||
|
BIN
Qemu/QEMU-test3.img.7z
Normal file
BIN
Qemu/QEMU-test3.img.7z
Normal file
Binary file not shown.
19
Qemu/test.sh
Executable file
19
Qemu/test.sh
Executable file
@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
#cp -v /Users/sergey/src/edk2/Clover/CloverPackage/CloverV2/EFI/CLOVER/drivers64UEFI/VBoxHfs-64.efi /Volumes/TEFI/EFI/CLOVER/drivers64UEFI
|
||||
#sudo umount /Volumes/QEFI
|
||||
diskutil umount /dev/disk2s1
|
||||
#qemu -L ~/Desktop/QEMU-Clover/QEMU -m 2048 -cpu core2duo -bios OVMF.fd -machine q35 -usb -device usb-mouse,bus=usb-bus.0,port=2 -device usb-kbd,bus=usb-bus.0,port=1 -device ahci,id=ahc -device ide-drive,bus=ahc.0,drive=hdc -drive id=hdc,file=/Users/sergey/Desktop/QEMU-Clover/QEMU-test2.img -device ide-drive,bus=ahc.1,drive=hdb -drive id=hdb,if=none,file=/Users/sergey/Desktop/QEMU-Clover/freedos.img -net nic,macaddr=00:12:32:43:55:16 -net user,name=lan -serial stdio
|
||||
|
||||
#qemu -L ~/Desktop/QEMU-Clover/QEMU -m 2048 -vga std -cpu core2duo -bios OVMF.fd -machine q35 -usb -device usb-mouse,bus=usb-bus.0,port=2 -device usb-kbd,bus=usb-bus.0,port=1 -hda /Users/sergey/Desktop/QEMU-Clover/QEMU-test2.img -hdc /Users/sergey/Desktop/QEMU-Clover/freedos.img -net nic,macaddr=00:12:32:43:55:16 -net user,name=lan
|
||||
#-serial stdio
|
||||
|
||||
qemu -L . -m 2048 -cpu core2duo -bios bios.bin-1.13.0 -machine q35 -device ahci,id=ahc -drive format=raw,file=QEMU-test3.img -usb -device usb-mouse,bus=usb-bus.0,port=2 -device usb-kbd,bus=usb-bus.0,port=1
|
||||
#-serial stdio
|
||||
|
||||
#qemu -L ~/Desktop/QEMU-Clover/QEMU -m 2048 -vga std -cpu core2duo -bios bios.bin -machine q35 -usb -device usb-mouse,bus=usb-bus.0,port=2 -device usb-kbd,bus=usb-bus.0,port=1 -hda /Users/sergey/Desktop/QEMU-Clover/QEMU-test2.img -hdc /Users/sergey/Desktop/QEMU-Clover/freedos.img -net nic,macaddr=00:12:32:43:55:16 -net user,name=lan
|
||||
#-serial stdio
|
||||
|
||||
#sudo mkdir /Volumes/QEFI
|
||||
#sudo mount -t msdos /dev/disk1s1 /Volumes/QEFI
|
||||
diskutil mount /dev/disk2s1
|
BIN
Qemu/vgabios-stdvga.bin
Normal file
BIN
Qemu/vgabios-stdvga.bin
Normal file
Binary file not shown.
@ -40,8 +40,8 @@ bool all_tests()
|
||||
DebugLog(2, "A test failed\n");
|
||||
PauseForKey(L"press");
|
||||
}else{
|
||||
DebugLog(2, "All tests are ok\n");
|
||||
#ifdef JIEF_DEBUG
|
||||
DebugLog(2, "All tests are ok\n");
|
||||
// PauseForKey(L"press");
|
||||
#endif
|
||||
}
|
||||
|
@ -288,7 +288,7 @@ EFI_STATUS ReinitSelfLib(VOID)
|
||||
&TmpDevicePath,
|
||||
&NewSelfHandle);
|
||||
CheckError(Status, L"while reopening our self handle");
|
||||
// DBG("new SelfHandle=%x\n", NewSelfHandle);
|
||||
DBG("new SelfHandle=%x\n", NewSelfHandle);
|
||||
|
||||
SelfRootDir = EfiLibOpenRoot(NewSelfHandle);
|
||||
if (SelfRootDir == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user