Index of /pub/rtems/people/amar/x86

 NameLast modifiedSize

 Parent Directory  -
 x86_64-amd64efi-hello.exe2024-05-05 01:52 1.9M
 x86_64-amd64-hello.exe2024-05-05 01:52 2.0M
 boot-fixed.img2024-05-12 00:06 524M
 boot-efi.img2024-05-05 01:57 524M
 boot-broken.img2024-05-05 01:57 524M
 amd64hello.exe2024-05-12 00:08 2.0M
 amd64efihello.exe2024-05-12 00:08 1.9M
 README.txt2024-05-12 00:09 653
 OVMF.fd2024-05-05 01:52 4.0M
 FreeBSD-14.0-RELEASE-amd64-mini-memstick.img2024-05-05 01:56 524M

Using QEMU 8.2.2
qemu-system-x86_64 -m 1024 -serial stdio  -drive format=raw,file=<name>.img
qemu-system-x86_64 -m 1024 -serial stdio --bios OVMF.fd -drive format=raw,file=<name>.img



boot-efi.img has x86_64-amd64efi-hello.exe as /boot/kernel/kernel
boot-broken.img has x86_64-amd64-hello.exe as /boot/kernel/kernel

boot-fixed has amd64hello.exe as /boot/kernel/kernel
This boot loader contains this patch: https://lists.rtems.org/pipermail/devel/2024-April/077579.html


mdconfig -u md0 -f FreeBSD-14.0-RELEASE-amd64-mini-memstick.img
mount /dev/md0s2a /mnt/img
cp x86_64-amd64-hello.exe /mnt/img/boot/kernel/kernel
umount /mnt/img
mdconfig -du 0