Discussion:
Bay Trail 32bit UEFI
Joe Holden
2016-02-28 07:00:06 UTC
Permalink
Hi all,

Apologies if this is the wrong list...

Is there any plan to support booting FreeBSD on 32bit UEFI systems (with
or without 64bit kernel/userland)? Obviously there is no i386 efi loader
currently so neither is possible...

TIA,
J
John Baldwin
2016-03-02 01:20:34 UTC
Permalink
Post by Joe Holden
Hi all,
Apologies if this is the wrong list...
Is there any plan to support booting FreeBSD on 32bit UEFI systems (with
or without 64bit kernel/userland)? Obviously there is no i386 efi loader
currently so neither is possible...
I don't think anyone is actively working on it. I think it shouldn't be
that much work once the i386 loader is resurrected. The i386 kernel just
needs to use the EFI memory map and I think the rest of it should generally
just work.
--
John Baldwin
Lundberg, Johannes
2016-03-02 01:45:04 UTC
Permalink
CherryTrail devices/boards with 64bit UEFI are already out. Upgrading the
hardware is one solution (I did).

I never did try FreeBSD on BayTrail but for running Linux on BayTrail I
used special built Grub that was 32bit but could load 64bit OS. Could this
kind of Grub boot a 64bit FreeBSD, I wonder?
Post by John Baldwin
Post by Joe Holden
Hi all,
Apologies if this is the wrong list...
Is there any plan to support booting FreeBSD on 32bit UEFI systems (with
or without 64bit kernel/userland)? Obviously there is no i386 efi loader
currently so neither is possible...
I don't think anyone is actively working on it. I think it shouldn't be
that much work once the i386 loader is resurrected. The i386 kernel just
needs to use the EFI memory map and I think the rest of it should generally
just work.
--
John Baldwin
_______________________________________________
https://lists.freebsd.org/mailman/listinfo/freebsd-current
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。
もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、
複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。
---
CONFIDENTIALITY NOTE: The information in this email is confidential
and intended solely for the addressee.
Disclosure, copying, distribution or any other action of use of this
email by person other than intended recipient, is prohibited.
If you are not the intended recipient and have received this email in
error, please destroy the original message.
Joe Holden
2016-03-02 10:10:11 UTC
Permalink
Post by Lundberg, Johannes
CherryTrail devices/boards with 64bit UEFI are already out. Upgrading
the hardware is one solution (I did).
I'm thinking of the sticks etc, they all have 32bit UEFI and no
CSM/legacy boot, but have 64bit cpus
Post by Lundberg, Johannes
I never did try FreeBSD on BayTrail but for running Linux on BayTrail I
used special built Grub that was 32bit but could load 64bit OS. Could
this kind of Grub boot a 64bit FreeBSD, I wonder?
I looked at this but honestly it looked like a giant nightmare - I did
get grub loading on a test platform (tablet, for display etc) but didn't
manage to make it boot anything
Post by Lundberg, Johannes
Post by Joe Holden
Hi all,
Apologies if this is the wrong list...
Is there any plan to support booting FreeBSD on 32bit UEFI systems (with
or without 64bit kernel/userland)? Obviously there is no i386 efi loader
currently so neither is possible...
I don't think anyone is actively working on it. I think it shouldn't be
that much work once the i386 loader is resurrected. The i386 kernel just
needs to use the EFI memory map and I think the rest of it should generally
just work.
--
John Baldwin
_______________________________________________
mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to
Lundberg, Johannes
2016-03-02 19:00:35 UTC
Permalink
Post by Joe Holden
Post by Lundberg, Johannes
CherryTrail devices/boards with 64bit UEFI are already out. Upgrading
the hardware is one solution (I did).
I'm thinking of the sticks etc, they all have 32bit UEFI and no
CSM/legacy boot, but have 64bit cpus
Yeah and it sucks. All to adapt to Microsoft who couldn't make 64bit UEFI
boot loader in time (or so I heard)...
I heard though that newer (Linux) versions of Intel Compute Stick would
have 64bit UEFI but I'm not sure.
Post by Joe Holden
I never did try FreeBSD on BayTrail but for running Linux on BayTrail I
Post by Lundberg, Johannes
used special built Grub that was 32bit but could load 64bit OS. Could
this kind of Grub boot a 64bit FreeBSD, I wonder?
I looked at this but honestly it looked like a giant nightmare - I did
get grub loading on a test platform (tablet, for display etc) but didn't
manage to make it boot anything
This page contains some instructions and a downloadable booti32.efi image
that you can put in the EFI folder. That will boot a 64bit grub that should
be able to boot a 64bit OS.

http://liliputing.com/2013/10/booting-ubuntu-asus-transformer-book-t100.html

I do have customized Arch Linux memstick image with Grub and this
booti32.efi image so it boots on these systems. This can be used to install
a Grub bootloader that maybe can boot FreeBSD.

One question is, would Grub's filesystem drivers for FreeBSD work in this
mode?

Maybe I should give it a shot today..
Post by Joe Holden
Post by Lundberg, Johannes
Post by Joe Holden
Hi all,
Apologies if this is the wrong list...
Is there any plan to support booting FreeBSD on 32bit UEFI systems
(with
Post by Joe Holden
or without 64bit kernel/userland)? Obviously there is no i386 efi
loader
Post by Joe Holden
currently so neither is possible...
I don't think anyone is actively working on it. I think it shouldn't be
that much work once the i386 loader is resurrected. The i386 kernel just
needs to use the EFI memory map and I think the rest of it should generally
just work.
--
John Baldwin
_______________________________________________
mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。
もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、
複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。
---
CONFIDENTIALITY NOTE: The information in this email is confidential
and intended solely for the addressee.
Disclosure, copying, distribution or any other action of use of this
email by person other than intended recipient, is prohibited.
If you are not the intended recipient and have received this email in
error, please destroy the original message.
Lundberg, Johannes
2016-03-02 19:45:41 UTC
Permalink
Post by Lundberg, Johannes
Post by Joe Holden
Post by Lundberg, Johannes
CherryTrail devices/boards with 64bit UEFI are already out. Upgrading
the hardware is one solution (I did).
I'm thinking of the sticks etc, they all have 32bit UEFI and no
CSM/legacy boot, but have 64bit cpus
Yeah and it sucks. All to adapt to Microsoft who couldn't make 64bit UEFI
boot loader in time (or so I heard)... I heard though that newer (Linux)
versions of Intel Compute Stick would have 64bit UEFI but I'm not sure.
The Intel Compute sticks can boot both 32 and 64 bit. It doesn't matter if
you have the Windows or Linux version. (The difference between the is the
amount of RAM and onboard storage, the firmware is the same)
I have the Windows one and it boots 64 bit just fine.
You can select it in the settings. (OS setting: Windows=32 bit, Linux=64
bit)
That's great. However, as for all other BayTrail devices out there that
does not support Linux officially I think you're stuck with 32bit.
Jakob
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
秘密保持について:この電子メールは、名宛人に送信したものであり、秘匿特権の対象となる情報を含んでいます。
もし、名宛人以外の方が受信された場合、このメールの破棄、およびこのメールに関する一切の開示、
複写、配布、その他の利用、または記載内容に基づくいかなる行動もされないようお願い申し上げます。
---
CONFIDENTIALITY NOTE: The information in this email is confidential
and intended solely for the addressee.
Disclosure, copying, distribution or any other action of use of this
email by person other than intended recipient, is prohibited.
If you are not the intended recipient and have received this email in
error, please destroy the original message.
Joe Holden
2016-03-02 22:18:09 UTC
Permalink
Post by Lundberg, Johannes
Post by Joe Holden
Post by Lundberg, Johannes
CherryTrail devices/boards with 64bit UEFI are already out. Upgrading
the hardware is one solution (I did).
I'm thinking of the sticks etc, they all have 32bit UEFI and no
CSM/legacy boot, but have 64bit cpus
Yeah and it sucks. All to adapt to Microsoft who couldn't make 64bit UEFI
boot loader in time (or so I heard)... I heard though that newer (Linux)
versions of Intel Compute Stick would have 64bit UEFI but I'm not sure.
The Intel Compute sticks can boot both 32 and 64 bit. It doesn't matter if
you have the Windows or Linux version. (The difference between the is the
amount of RAM and onboard storage, the firmware is the same)
I have the Windows one and it boots 64 bit just fine.
You can select it in the settings. (OS setting: Windows=32 bit,
Linux=64 bit)
That's great. However, as for all other BayTrail devices out there that
does not support Linux officially I think you're stuck with 32bit.
Jakob
My point was that it is possible to boot amd64 bit kernels from 32bit
UEFI, grub (and therefore, linux) does it.
I think even openbsd at least has a 32bit loader, I'd settle for 32bit
but the problem is I can't easily boot it.

John Baldwin
2016-03-02 17:02:34 UTC
Permalink
Post by Lundberg, Johannes
CherryTrail devices/boards with 64bit UEFI are already out. Upgrading the
hardware is one solution (I did).
I never did try FreeBSD on BayTrail but for running Linux on BayTrail I
used special built Grub that was 32bit but could load 64bit OS. Could this
kind of Grub boot a 64bit FreeBSD, I wonder?
Mmm, booting an amd64 kernel from an i386 UEFI loader would be a bit more
work. OTOH, in the non-UEFI case we use an i386 loader that boots an
amd64 kernel, so it isn't impossible.
--
John Baldwin
Loading...