GRUB2 - Please add support for 64-bit FreeBSD
Quoted 5 lines · Bean
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.
Signature · 1 line
Daniel Nebdal
Quoted 7 lines · Daniel Nebdal
Quoted 5 lines · Bean
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.
Quoted 7 lines
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.
Signature · 1 line
Bean
Hello
Great, I can't wait!
Please give it a go (that is, modifying the 32-bit GRUB2 module for FreeBSD to support 64-bit as well... or creating a separate module based on that)
Thanks in advance,
Panarchy
Quoted 35 lines · Bean
Quoted 7 lines · Daniel Nebdal
Quoted 5 lines · Bean
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.Quoted 7 lines
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 &
0xFFFFFFI think the principle can be applied to 64-bit kernel as well, it shouldn't be difficult to add support for it.
--
Bean_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel
I haven't looked in depth yet, but it's a bit more. the loader switches to amd64 and sets preliminary page translation
Quoted 25 lines · Bean
Quoted 6 lines · Daniel Nebdal
Quoted 5 lines · Bean
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.Quoted 7 lines
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 &
0xFFFFFFI think the principle can be applied to 64-bit kernel as well, it shouldn't be difficult to add support for it.
Signature · 2 lines
Regards Vladimir 'phcoder' Serbinenko
Hello
Okay, well I'm not really that well versed to understand what you are saying.
However, I'd be eternally grateful if you were able to 'port' 32-bit FreeBSD for GRUB to 64-bit FreeBSD (for GRUB).
Thanks in advance,
Panarchy
Quoted 45 lines · phcoder
I haven't looked in depth yet, but it's a bit more. the loader switches to amd64 and sets preliminary page translation
Quoted 21 lines · Bean
Quoted 9 lines · Daniel Nebdal
Quoted 6 lines · Bean
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.Quoted 7 lines
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,
Quoted 8 lines
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 &
0xFFFFFFI 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_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel
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
Quoted 29 lines · phcoder
I haven't looked in depth yet, but it's a bit more. the loader switches to amd64 and sets preliminary page translation
Quoted 25 lines · Bean
Quoted 6 lines · Daniel Nebdal
Quoted 5 lines · Bean
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.Quoted 7 lines
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 &
0xFFFFFFI think the principle can be applied to 64-bit kernel as well, it shouldn't be difficult to add support for it.
Signature · 2 lines
Regards Vladimir 'phcoder' Serbinenko