public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* Creating New EFI variables in Red Hat AS 2.1
@ 2003-11-17 14:54 Kamesh R
  2003-11-17 15:10 ` Matt Domsch
  0 siblings, 1 reply; 2+ messages in thread
From: Kamesh R @ 2003-11-17 14:54 UTC (permalink / raw)
  To: linux-ia64

Hello All,

For one of my application, I want to create a new EFI variable from the OS.
The contents of this EFI variable will be used by and EFI application
running at the EFI shell.
How do I do it? Can any one Please explain?

Thanks in advance,
Kamesh.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Creating New EFI variables in Red Hat AS 2.1
  2003-11-17 14:54 Creating New EFI variables in Red Hat AS 2.1 Kamesh R
@ 2003-11-17 15:10 ` Matt Domsch
  0 siblings, 0 replies; 2+ messages in thread
From: Matt Domsch @ 2003-11-17 15:10 UTC (permalink / raw)
  To: linux-ia64

> For one of my application, I want to create a new EFI variable from the OS.
> The contents of this EFI variable will be used by and EFI application
> running at the EFI shell.
> How do I do it? Can any one Please explain?

Please see the source code for efibootmgr.  This is the only application 
I'm aware of that creates/deletes/changes EFI variables from within the OS 
at present.  http://domsch.com/linux/ia64/efibootmgr/.  Version 0.4.2 is 
the most recent released.  There's a test version 0.5.0-test1 in the 
testing directory there which handles both the 2.4.x kernel style EFI 
variables, and the new sysfs-based style on 2.6.x (if/when that patch is 
submitted and accepted - hint hint Matt T.).    You'll want your app to be 
able to handle both I'm certain.  efibootmgr is licensed under the GNU 
GPL.

Essentially, you fill out a structure, open a file, and write the 
structure to the file.  The structure contains your variable name, GUID, 
data, and properties.

Thanks,
Matt

-- 
Matt Domsch
Sr. Software Engineer, Lead Engineer
Dell Linux Solutions www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-11-17 15:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-17 14:54 Creating New EFI variables in Red Hat AS 2.1 Kamesh R
2003-11-17 15:10 ` Matt Domsch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox