grub-devel
[Top][All Lists]
Advanced

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

Re: GRUB2 - Please add support for 64-bit FreeBSD


From: phcoder
Subject: Re: GRUB2 - Please add support for 64-bit FreeBSD
Date: Sun, 12 Apr 2009 15:18:42 +0200
User-agent: Thunderbird 2.0.0.21 (X11/20090318)

I have looked in it and isolated the files which changes are needed:
1) switching to x86_64 mode and setting the paging up
2) elf64 parser
3) different boot parameters
I'm quite optimistic and think I should have working freebsd64 soon. Another good piece of news is that it seems that in freebsd64 all BIOS calls are moved to bootloader. It's a very wise decision which also allows FreeBSD64 to boot on EFI or coreboot
phcoder wrote:
I haven't looked in depth yet, but it's a bit more. the loader switches to amd64 and sets preliminary page translation
Bean wrote:
On Sat, Apr 11, 2009 at 5:54 AM, Daniel Nebdal <address@hidden> wrote:
Bean wrote:
Hi,

Please try the btx loader in /boot/loader, which I believe to be
32-bit even in amd64 freebsd. The btx loader is an a.out executable,
grurb2 has supported for it already.
Ah, just noticed I replied to this before subscribing, so the copy to
the list bounced.
Let's try again.

The BTX loader starts, yes - but the reason I'm using GRUB2 in the
first place is to skip it,
since it doesn't seem to support logical partitions.

Hi,

Oh, thanks for the information. The 32-bit bsd kernel is basically an
elf image that needs a little address translation:

physical address = virtual address & 0xFFFFFF

I think the principle can be applied to 64-bit kernel as well, it
shouldn't be difficult to add support for it.





--

Regards
Vladimir 'phcoder' Serbinenko




reply via email to

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