[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #10728] [PATCH] FreeBSD Boot Patch

From: Robert Millan
Subject: [bug #10728] [PATCH] FreeBSD Boot Patch
Date: Mon, 24 Apr 2006 20:18:15 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv: Gecko/20060313 Debian/1.5.dfsg+ Firefox/

Follow-up Comment #3, bug #10728 (project grub):

Here's my current patch.  Usage:

  kernel /boot/kernel/kernel
  loadenv /boot/device.hints

Note: kernel MUST be compiled with acpi builtin ("device acpi" in config
file).  Theoricaly, you should be able to load it as a module
(/boot/kernel/acpi.ko), but this requires FreeBSD.hint.acpi.0.* variables to
contain correct data.

I've added code to fetch hint.acpi values from BIOS memory space
(stage2/biosacpi.c), but for some reason it gets the wrong stuff.  Correct
variables are sort of like:

  hint.acpi.0.rsdt=<address in hex>

It still needs a lot of cleanup.  In particular, the function and variable
names (added in the former patch) are very cryptic and difficult to figure
out what they do (grub_fstenv, grub_nxtenv and that lot of two-letter
variables).  The code to parse device.hints (grub_loadenv), which I added, is
quite dirty as well.


Additional Item Attachment:

File name: kfreebsd.diff                  Size:29 KB
new patch with (incomplete) support for 5.x


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]