Re: Patch to add newer i386 modinfo types

2020-04-05 Thread Paul Menzel
Dear Eric, Am 05.04.20 um 03:54 schrieb Eric McCorkle: Here's a first attempt at a patch that adds the code necessary to pass the EFI framebuffer info into the FreeBSD kernel. I have tested this successfully on real hardware. Nice. Great work. What hardware (also firmware version) did you te

Re: Patch to add newer i386 modinfo types

2020-04-05 Thread Eric McCorkle
Will do. I want to try and get the TODOs in the code taken care of first, though. Also, FYI, I just tested the FreeBSD port with clang, and it worked. I'm boot-testing on a Librem 15 (amd64) with the original AMI BIOS (not coreboot). I'd have to look up the exact version. On 4/5/20 4:42 AM, Pa

[PATCH] Add functionality for passing information to FreeBSD kernel

2020-04-05 Thread eric
From: Eric McCorkle Fixes GRUB with FreeBSD to pass EFI frame buffer info into the kernel at boot. --- grub-core/loader/i386/bsd.c| 81 ++ include/grub/i386/freebsd_linker.h | 9 2 files changed, 90 insertions(+) diff --git a/grub-core/loader/i386/bsd.

Re: [PATCH] Add functionality for passing information to FreeBSD kernel

2020-04-05 Thread Eric McCorkle
A couple of things... First, these calls are in grub_cmd_freebsd, not grub_freebsd_boot. They seem to get dropped on the floor when placed in the latter, and I'm not sure why. This is going to cause some problems, because the EFI memory map (which is produced by exit_boot_services) needs to get