Copyrights and licenses

2020-04-12 Thread Eric McCorkle
As part of my work on FreeBSD (re)-integration, I would like to pull in some code from the FreeBSD loader for GELI volumes. Specifically, there were some changes a while back that did things like store keys and check new volumes against the cached keys. I also noticed when I looked at the current

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

2020-04-05 Thread Eric McCorkle
LI code in from the FreeBSD loader, as it's structured to do that (the current implementation has some issues as well: it leaves key material on the stack). On 4/5/20 5:10 PM, e...@metricspace.net wrote: > From: Eric McCorkle > > Fixes GRUB with FreeBSD to pass EFI frame buffer

Re: Patch to add newer i386 modinfo types

2020-04-05 Thread Eric McCorkle
20 4:42 AM, Paul Menzel wrote: > 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 h

Re: Patch to add newer i386 modinfo types

2020-04-04 Thread 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. On 4/4/20 6:57 PM, Eric McCorkle wrote: > I'm working on trying to get GRUB to properly set up the EFI framebuff

Patch to add newer i386 modinfo types

2020-04-04 Thread Eric McCorkle
I'm working on trying to get GRUB to properly set up the EFI framebuffer info for the freebsd kernel. This is a patch to one of the includes that adds updates the modinfo types to match the FreeBSD kernel sources. Hopefully the EFI framebuffer patch will come shortly. --- include/grub/i386/freebs

FreeBSD support

2019-10-12 Thread Eric McCorkle
Hi all, I finally got a chance to resume work on FreeBSD support recently. Here's where things are: * I can boot on an EFI platform, however, the efifb driver never turns the screen on, so the screen is blank until the X11 DRM driver takes over (I know why this is, see below) * grub_install does

Re: FreeBSD port work

2019-06-08 Thread Eric McCorkle
On 6/8/19 8:53 AM, Eric McCorkle wrote: > Basically, you have to treat R_X86_64_PLT32 linker symbols as R_X86_64_32. I'm sorry, I meant R_X86_64_PC32. signature.asc Description: OpenPGP digital signature ___ Grub-devel mailing list Gr

Re: FreeBSD port work

2019-06-08 Thread Eric McCorkle
On 6/3/19 6:05 AM, Leif Lindholm wrote: > Hi Eric, > > Well, feels a bit silly to deal with the other main BSDs and not > FreeBSD... (especially as it looks like it was supported at some point > in the past). A bit of info here: the way the FreeBSD ports system works, we have a bunch of patch fil

FreeBSD port work

2019-05-31 Thread Eric McCorkle
Hi folks, I've been doing some work to refurbish the FreeBSD port, and I may take over maintaining it. I also want to modify GRUB to pass GELI keys into the kernel using the newer keybuf mechanism, but that's later (I posted about this a while back). Attached are some quick-and-dirty patches I c

Re: Integrating a FreeBSD/GELI change

2017-04-01 Thread Eric McCorkle
On 04/01/2017 09:57, Andrei Borzenkov wrote: > > There was proposed patch that stored secret in environment variable that > was later used by loader (I think; I am not sure whether loader part was > actually implemented). Search this list for subject > > Patch to support GELI passphrase passthro

Integrating a FreeBSD/GELI change

2017-04-01 Thread Eric McCorkle
Hello, I've been working on a series of changes designed to expand FreeBSD's full-disk encryption support via GELI (its preferred disk encryption mechanism). One of the important parts of this landed in HEAD last night: https://github.com/freebsd/freebsd/commit/6a205a32527153697eb4df4114ff0cd3c7