No description
Find a file
2020-12-23 13:35:58 -08:00
launch.sh add launch and watch scripts 2019-06-01 11:39:54 -07:00
LICENSE Initial commit 2019-04-25 14:47:44 -07:00
OVMF.fd add UEFI rom, disk image, update README 2019-04-25 15:01:43 -07:00
README.md update info on building, listing, and launching the shoe loader 2020-12-23 12:02:06 -08:00
shoe.asm add jump to payload area at binary offset 0x5000 (linear offset 0x805000) 2020-12-23 13:35:58 -08:00
uefi.iso remove data in relocatable section 2019-04-25 15:07:50 -07:00
watch.sh add launch and watch scripts 2019-06-01 11:39:54 -07:00
yo.asm adjust offsets 2019-05-13 15:12:24 -07:00

nasm-uefi

bare-bones nasm uefi application

build with:

  • nasm -f bin shoe.asm -o shoe.efi
  • sudo mount disk.iso mnt
  • sudo cp shoe.efi mnt/EFI/BOOT/BOOTX64.EFI
  • sudo umount mnt

get asm listing with:

  • objdump -Mintel -d shoe.efi

Launch QEMU with:

  • /usr/bin/qemu-system-x86_64 -machine accel=kvm -name guest=uefiguest -machine pc,accel=kvm,usb=off,dump-guest-core=off -smp 2,sockets=2,cores=1,threads=1 -uuid 515645b7-ab3a-4e82-ba62-25751e4b523f -bios ./OVMF.fd -m 1G -vga qxl -spice port=5900,addr=127.0.0.1,disable-ticketing -drive file=disk.iso

Launch the Spice viewer with:

  • remote-viewer spice://localhost:5900