[U-Boot] Boot Linux using EFI environment from u-boot

Hello Alex
I am not sure, but it seems it is possible to boot Linux from u-boot using EFI environment. So what I intend to do is that without using UEFI , if I can boot Linux and make EFI variables available for Linux.
Can you please help me on how I can use this configuration.
Many Thanks Poonam

Corrected the email address of Alex.
-----Original Message----- From: U-Boot u-boot-bounces@lists.denx.de On Behalf Of Poonam Aggrwal Sent: Wednesday, July 10, 2019 9:37 AM To: Alexander Graf agraf@suse.de Cc: u-boot@lists.denx.de Subject: [U-Boot] Boot Linux using EFI environment from u-boot
Hello Alex
I am not sure, but it seems it is possible to boot Linux from u-boot using EFI environment. So what I intend to do is that without using UEFI , if I can boot Linux and make EFI variables available for Linux.
Can you please help me on how I can use this configuration.
Many Thanks Poonam _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.d enx.de%2Flistinfo%2Fu- boot&data=02%7C01%7Cpoonam.aggrwal%40nxp.com%7C46064a707f d541574b4e08d704ec1202%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7 C0%7C636983284290884791&sdata=%2B2utWn4ocwBt7l%2BYs%2Fi0% 2B%2FWFjSMdfTSOTGU%2FpIsejh8%3D&reserved=0

On Wed, Jul 10, 2019 at 12:09 PM Poonam Aggrwal poonam.aggrwal@nxp.com wrote:
Corrected the email address of Alex.
-----Original Message----- From: U-Boot u-boot-bounces@lists.denx.de On Behalf Of Poonam Aggrwal Sent: Wednesday, July 10, 2019 9:37 AM To: Alexander Graf agraf@suse.de Cc: u-boot@lists.denx.de Subject: [U-Boot] Boot Linux using EFI environment from u-boot
Hello Alex
I am not sure, but it seems it is possible to boot Linux from u-boot using EFI environment. So what I intend to do is that without using UEFI , if I can boot Linux and make EFI variables available for Linux.
Can you please help me on how I can use this configuration.
Please check README.uefi
Regards, Bin

Thanks Bin,
-----Original Message----- From: Bin Meng bmeng.cn@gmail.com Sent: Wednesday, July 10, 2019 9:43 AM To: Poonam Aggrwal poonam.aggrwal@nxp.com Cc: Alexander Graf agraf@csgraf.de; u-boot@lists.denx.de Subject: Re: [U-Boot] Boot Linux using EFI environment from u-boot
On Wed, Jul 10, 2019 at 12:09 PM Poonam Aggrwal poonam.aggrwal@nxp.com wrote:
Corrected the email address of Alex.
-----Original Message----- From: U-Boot u-boot-bounces@lists.denx.de On Behalf Of Poonam Aggrwal Sent: Wednesday, July 10, 2019 9:37 AM To: Alexander Graf agraf@suse.de Cc: u-boot@lists.denx.de Subject: [U-Boot] Boot Linux using EFI environment from u-boot
Hello Alex
I am not sure, but it seems it is possible to boot Linux from u-boot using EFI environment. So what I intend to do is that without using UEFI , if I can boot Linux and make EFI variables available for Linux.
Can you please help me on how I can use this configuration.
Please check README.uefi
I went over it.,thanks!. It seems I can run grub.efi on u-boot and that would boot Linux. Let me try this...
Regards, Bin

On 10.07.19 06:09, Poonam Aggrwal wrote:
Corrected the email address of Alex.
-----Original Message----- From: U-Boot u-boot-bounces@lists.denx.de On Behalf Of Poonam Aggrwal Sent: Wednesday, July 10, 2019 9:37 AM To: Alexander Graf agraf@suse.de Cc: u-boot@lists.denx.de Subject: [U-Boot] Boot Linux using EFI environment from u-boot
Hello Alex
I am not sure, but it seems it is possible to boot Linux from u-boot using EFI environment. So what I intend to do is that without using UEFI , if I can boot Linux and make EFI variables available for Linux.
Can you please help me on how I can use this configuration.
Linux will only have access to UEFI variables through the UEFI Runtime Services which again are only provided to the OS when it is booted through the "bootefi" command.
Keep in mind that UEFI variable services are currently work in progress and may or may not fit your needs just yet.
Alex
participants (3)
-
Alexander Graf
-
Bin Meng
-
Poonam Aggrwal