Compare commits
No commits in common. "36a7c9066acd7dc09bd76da6a0edeb31c6b40b5e" and "868d27cecbeca83da46eef671095c0fe6cd8e20c" have entirely different histories.
36a7c9066a
...
868d27cecb
52
README.md
52
README.md
@ -14,46 +14,28 @@ cd ..
|
|||||||
|
|
||||||
## How to use
|
## How to use
|
||||||
|
|
||||||
### Download release
|
### On VM
|
||||||
|
|
||||||
#### On Real hardware
|
run ```./test.sh # only works on AMD64``` to run in VM using QEMU
|
||||||
|
|
||||||
if your have amd64(x86_64) UEFI computer
|
### On Real hardware
|
||||||
Download release and copy the UEFI_fireworks.efi to <USB_DRIVE>/EFI/BOOT/bootx64.efi case independent
|
|
||||||
|
|
||||||
#### On VM
|
|
||||||
|
|
||||||
run:
|
|
||||||
you will need OVMF firmware you can get it [here](https://qemu.weilnetz.de/test/ovmf/usr/share/OVMF/OVMF_CODE_4M.fd)
|
|
||||||
```bash
|
|
||||||
qemu-system-x86_64 -machine type=q35,accel=kvm -drive if=pflash,format=raw,readonly=on,file="$OVMF_CODE_PATH" -hda fat:rw:build -boot order=c -smp 4 -s -serial mon:stdio
|
|
||||||
```
|
|
||||||
|
|
||||||
### Build
|
|
||||||
|
|
||||||
#### On VM
|
|
||||||
|
|
||||||
you will need OVMF firmware you can get it [here](https://qemu.weilnetz.de/test/ovmf/usr/share/OVMF/OVMF_CODE_4M.fd)
|
|
||||||
run ```./test.sh $OVMF_CODE_PATH# only works on AMD64``` to run in VM using QEMU
|
|
||||||
|
|
||||||
#### On Real hardware
|
|
||||||
|
|
||||||
copy ```edk2/Build/UEFI_fireworks/DEBUG_GCC5/<YOUR ARCH>/UEFI_fireworks.efi``` to FAT32 or FAT16 USB at location:
|
copy ```edk2/Build/UEFI_fireworks/DEBUG_GCC5/<YOUR ARCH>/UEFI_fireworks.efi``` to FAT32 or FAT16 USB at location:
|
||||||
|
|
||||||
| Architecture | Default Boot Path |
|
| Architecture | Default Boot Path |
|
||||||
| ------------------- | ------------------------ |
|
|--------------|-------------------|
|
||||||
| **x86_64 (AMD64)** | `/EFI/BOOT/BOOTX64.EFI` |
|
| **x86_64 (AMD64)** | `\EFI\BOOT\BOOTX64.EFI` |
|
||||||
| **x86 (IA32)** | `/EFI/BOOT/BOOTIA32.EFI` |
|
| **x86 (IA32)** | `\EFI\BOOT\BOOTIA32.EFI` |
|
||||||
| **ARM64 (AArch64)** | `/EFI/BOOT/BOOTAA64.EFI` |
|
| **ARM64 (AArch64)** | `\EFI\BOOT\BOOTAA64.EFI` |
|
||||||
| **ARM (32-bit)** | `/EFI/BOOT/BOOTARM.EFI` |
|
| **ARM (32-bit)** | `\EFI\BOOT\BOOTARM.EFI` |
|
||||||
|
|
||||||
## Controling
|
## Controling
|
||||||
|
|
||||||
| Key | Action | Note |
|
| Key | Action | Note |
|
||||||
| ---------- | ------------ | ----------------------------------- |
|
|-----|--------|------|
|
||||||
| ARROW_UP | speed up | delays under 1ms may be unrelayable |
|
| ARROW_UP | speed up | delays under 1ms may be unrelayable |
|
||||||
| ARROW_DOWN | slow down | max delay is about UINT32_MAXμs |
|
| ARROW_DOWN | slow down | max delay is about UINT32_MAXμs |
|
||||||
| PAGE_UP | speed up | 10x step |
|
| PAGE_UP | speed up | 10x step |
|
||||||
| PAGE_DOWN | speed down | 10x step |
|
| PAGE_DOWN | speed down | 10x step |
|
||||||
| Home key | reset speed | reset frame delay to 10ms |
|
| Home key | reset speed | reset frame delay to 10ms |
|
||||||
| Delete key | clear screen | |
|
| Delete key | clear screen | |
|
||||||
|
|||||||
8
build.sh
8
build.sh
@ -9,9 +9,9 @@ else
|
|||||||
fi
|
fi
|
||||||
mkdir -p build/EFI/BOOT/
|
mkdir -p build/EFI/BOOT/
|
||||||
if [ "$1" == "debug" ]; then
|
if [ "$1" == "debug" ]; then
|
||||||
cp -v $(find edk2/Build/UEFI_fireworks/DEBUG_GCC5/ -name "UEFI_fireworks.efi" -type f | head -1) build/
|
cp edk2/Build/UEFI_fireworks/DEBUG_GCC5/X64/UEFI_fireworks.efi build/
|
||||||
cp -v $(find edk2/Build/UEFI_fireworks/DEBUG_GCC5/ -name "UEFI_fireworks.efi" -type f | head -1) build/EFI/BOOT/BOOTX64.EFI
|
cp edk2/Build/UEFI_fireworks/DEBUG_GCC5/X64/UEFI_fireworks.efi build/EFI/BOOT/BOOTX64.EFI
|
||||||
else
|
else
|
||||||
cp -v $(find edk2/Build/UEFI_fireworks/RELEASE_GCC5/ -name "UEFI_fireworks.efi" -type f | head -1) build/
|
cp edk2/Build/UEFI_fireworks/RELEASE_GCC5/X64/UEFI_fireworks.efi build/
|
||||||
cp -v $(find edk2/Build/UEFI_fireworks/RELEASE_GCC5/ -name "UEFI_fireworks.efi" -type f | head -1) build/EFI/BOOT/BOOTX64.EFI
|
cp edk2/Build/UEFI_fireworks/RELEASE_GCC5/X64/UEFI_fireworks.efi build/EFI/BOOT/BOOTX64.EFI
|
||||||
fi
|
fi
|
||||||
Loading…
x
Reference in New Issue
Block a user