Skip to contentSkip to conversation

How do I set variables in efishell?

Linux-ia64 Christoph Rohland 4 participants 5 messages May 9, 2000 – May 18, 2000

lore
Share & tools
lore
#0 lore raw

Hi all,

I still do not know how to set variables in efishell to switch the console to my serial device.

I actually know that I have to set the variables ConIn and ConOut. But I am prettty confused by any documentation I can find about actually setting these variables.

Any help appreciated

Christoph

#1 lore raw

Hi All,

Quoted 10 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Christoph Rohland
Sent: Tuesday, May 09, 2000 3:02 AM
To: [email protected]
Subject: [Linux-ia64] How do I set variables in efishell?

Hi all,

Quoted 8 lines

I still do not know how to set variables in efishell to switch the console to my serial device.

I actually know that I have to set the variables ConIn and ConOut. But I am prettty confused by any documentation I can find about actually setting these variables.

Any help appreciated

Has anybody figured this out yet? Specifically, there is a "set" command in the EFI shell, but the difficulty seems to be figuring out the device path to actually set the variables to. Then of course this early firmware may end up ignoring them anyway. Thoughts?

---
Best Regards
Chris Hyser
Hewlett-Packard

#2 lore raw
In reply to Christoph Rohland

From what I can glean from the docs and my hacking, a set in the shell sets a shell variable, NOT a root EFI variable. The only way to set the EFI variables is to do so from a C app usinf the EFI toolkit. This is a bit unfortunate as it means one can not add/edit menu items from the shell prompt. Also, typing exit at the prompt puts you into the boot menu, but AFAIK there is no way of getting back to the shell.

Quoted 36 lines · Chris Hyser

Hi All,

Quoted 10 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Christoph Rohland
Sent: Tuesday, May 09, 2000 3:02 AM
To: [email protected]
Subject: [Linux-ia64] How do I set variables in efishell?

Hi all,

Quoted 8 lines

I still do not know how to set variables in efishell to switch the console to my serial device.

I actually know that I have to set the variables ConIn and ConOut. But I am prettty confused by any documentation I can find about actually setting these variables.

Any help appreciated

Has anybody figured this out yet? Specifically, there is a "set" command in the EFI shell, but the difficulty seems to be figuring out the device path to actually set the variables to. Then of course this early firmware may end up ignoring them anyway. Thoughts?

---
Best Regards
Chris Hyser
Hewlett-Packard

_______________________________________________
Linux-IA64 mailing list
[email protected]
http://lists.linuxia64.org/lists/listinfo/linux-ia64

Signature · 3 lines
Tim Riker - http://rikers.org/ - short SIGs! <g>
All I need to know I could have learned in Kindergarten
... if I'd just been paying attention.
#3 lore raw
In reply to Christoph Rohland

Plus the fact I haven't found a single version of the firmware which actually saves these variables. So setting them tends to be useless.

It hasn't been too important so I haven't followed up on it with Intel.

JE

Quoted 56 lines · Tim Riker
Quoted 1 line

From what I can glean from the docs and my hacking, a set in the shell

sets a shell variable, NOT a root EFI variable. The only way to set the EFI variables is to do so from a C app usinf the EFI toolkit. This is a bit unfortunate as it means one can not add/edit menu items from the shell prompt. Also, typing exit at the prompt puts you into the boot menu, but AFAIK there is no way of getting back to the shell.

Quoted 36 lines · Chris Hyser

Hi All,

Quoted 10 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Christoph Rohland
Sent: Tuesday, May 09, 2000 3:02 AM
To: [email protected]
Subject: [Linux-ia64] How do I set variables in efishell?

Hi all,

Quoted 8 lines

I still do not know how to set variables in efishell to switch the console to my serial device.

I actually know that I have to set the variables ConIn and ConOut. But I am prettty confused by any documentation I can find about actually setting these variables.

Any help appreciated

Has anybody figured this out yet? Specifically, there is a "set" command in the EFI shell, but the difficulty seems to be figuring out the device path to actually set the variables to. Then of course this early firmware may end up ignoring them anyway. Thoughts?

---
Best Regards
Chris Hyser
Hewlett-Packard

_______________________________________________
Linux-IA64 mailing list
[email protected]
http://lists.linuxia64.org/lists/listinfo/linux-ia64

Signature · 9 lines
Tim Riker - http://rikers.org/ - short SIGs! <g>
All I need to know I could have learned in Kindergarten
... if I'd just been paying attention.


_______________________________________________
Linux-IA64 mailing list
[email protected]
http://lists.linuxia64.org/lists/listinfo/linux-ia64
#4 lore raw
In reply to Christoph Rohland

Yes? I've saved variables from one reboot to another. I was using a workstation (bigsur) with 0.29 PAL, but it worked for me.

note also there is a dmpstore command which shows all the variables.

Quoted 65 lines · Johannes Erdfelt

Plus the fact I haven't found a single version of the firmware which actually saves these variables. So setting them tends to be useless.

It hasn't been too important so I haven't followed up on it with Intel.

JE

Quoted 56 lines · Tim Riker
Quoted 1 line

From what I can glean from the docs and my hacking, a set in the shell

sets a shell variable, NOT a root EFI variable. The only way to set the EFI variables is to do so from a C app usinf the EFI toolkit. This is a bit unfortunate as it means one can not add/edit menu items from the shell prompt. Also, typing exit at the prompt puts you into the boot menu, but AFAIK there is no way of getting back to the shell.

Quoted 32 lines · Chris Hyser

Hi All,

Quoted 10 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]]On Behalf Of Christoph Rohland
Sent: Tuesday, May 09, 2000 3:02 AM
To: [email protected]
Subject: [Linux-ia64] How do I set variables in efishell?

Hi all,

Quoted 8 lines

I still do not know how to set variables in efishell to switch the console to my serial device.

I actually know that I have to set the variables ConIn and ConOut. But I am prettty confused by any documentation I can find about actually setting these variables.

Any help appreciated

Has anybody figured this out yet? Specifically, there is a "set" command in the EFI shell, but the difficulty seems to be figuring out the device path to actually set the variables to. Then of course this early firmware may end up ignoring them anyway. Thoughts?

---
Best Regards
Chris Hyser
Hewlett-Packard

Quoted 4 lines

_______________________________________________
Linux-IA64 mailing list
[email protected]
http://lists.linuxia64.org/lists/listinfo/linux-ia64

--
Tim Riker - http://rikers.org/ - short SIGs! <g> All I need to know I could have learned in Kindergarten ... if I'd just been paying attention.

_______________________________________________
Linux-IA64 mailing list
[email protected]
http://lists.linuxia64.org/lists/listinfo/linux-ia64

--
Tim Riker - http://rikers.org/ - short SIGs! <g> All I need to know I could have learned in Kindergarten ... if I'd just been paying attention.