Storing grubenv in nvram

2014-02-04 Thread Sergey Mironov
Hello, list! I want to write a grub.conf which would allow me to keep a crash-detection/fallback logic. In order to implement it, I need to keep a state, so load_env and save_env are my friends. Unfortunately, the storage I am using is unreliable and I don't want to store the bootloader's state

[PATCH] Make CTRL and ALT keys work as expected on EFI systems.

2014-02-04 Thread Peter Jones
Signed-off-by: Peter Jones pjo...@redhat.com --- grub-core/term/efi/console.c | 119 +++ include/grub/efi/api.h | 65 ++- 2 files changed, 174 insertions(+), 10 deletions(-) diff --git a/grub-core/term/efi/console.c

[PATCH] Make CTRL and ALT keys work as expected on EFI systems (version 2).

2014-02-04 Thread Peter Jones
This is version 2. Changes from version 1: - handles SHIFT as a modifier - handles F11 and F12 keys - uses the handle provided by the system table to find our _EX protocol. Signed-off-by: Peter Jones pjo...@redhat.com --- grub-core/term/efi/console.c | 104

[PATCH] Make CTRL and ALT keys work as expected on EFI systems (version 3).

2014-02-04 Thread Peter Jones
This is version 3. Changes from version 1: - handles SHIFT as a modifier - handles F11 and F12 keys - uses the handle provided by the system table to find our _EX protocol. Changes from version 2: - eliminate duplicate keycode translation. Signed-off-by: Peter Jones pjo...@redhat.com ---

Re: Fix serial output for OpenBSD current

2014-02-04 Thread Markus Müller
Am Montag, den 03.02.2014, 18:03 +0100 schrieb Vladimir 'φ-coder/phcoder' Serbinenko: On 02.02.2014 11:48, Markus Müller wrote: Hi all, attached is a patch that fixes serial console output with OpenBSD current (will be 5.5). Grub uses an old struct for providing the kernel with

Re: Fix serial output for OpenBSD current

2014-02-04 Thread SevenBits
On Feb 4, 2014, at 5:46 PM, Markus Müller m...@grummel.net wrote: Am Montag, den 03.02.2014, 18:03 +0100 schrieb Vladimir 'φ-coder/phcoder' Serbinenko: On 02.02.2014 11:48, Markus Müller wrote: Hi all, attached is a patch that fixes serial console output with OpenBSD current (will be

RE: grub2 code

2014-02-04 Thread Roger Cruz
This was a bug that was introduced into GRUB when the code to detect if the SHIFT key is being pressed was added. The symptom was that customers were complaining that even though they had turn on NUMLOCK in the BIOS, once we booted our software, NUMLOCK was off. It was easy to see when the

RE: grub2 code

2014-02-04 Thread Roger Cruz
Yes, that certainly would be a better fix. Thanks for addressing it. Roger -Original Message- From: Colin Watson [mailto:cjwat...@ubuntu.com] Sent: Monday, February 03, 2014 10:51 AM To: Roger Cruz Cc: Ben Guthro; grub-devel@gnu.org Subject: Re: grub2 code On Mon, Feb 03, 2014 at