Re: [ipxe-devel] hello, I need some help about EFI_File.

2014-03-27 Thread Michael Brown
On 27/03/14 01:55, 冯鹏祥 wrote: I am try to write some config file on ipxe, that should read this file when ipxe started. Did you have any ideas about it ? See http://ipxe.org/scripting It is possible that I use efi_file interface to create a new file on harddisk? If yes , and how should I do t

[ipxe-devel] hello, I need some help about EFI_File.

2014-03-27 Thread 冯鹏祥
I am try to write some config file on ipxe, that should read this file when ipxe started. Did you have any ideas about it ? It is possible that I use efi_file interface to create a new file on harddisk? If yes , and how should I do to create efi file on harddisk, I only find "extern int efi_f

Re: [ipxe-devel] serial arrow keys broken

2014-03-27 Thread Michael Brown
On 27/03/14 08:36, Peter Pickford wrote: The arrow keys would not work in my ipxe serial console. The following seems to fix it but causes a busy wait while reading escape sequences. Arrow keys over serial works for me. Could you try the attached (untested) patch, which preserves the cpu_n

Re: [ipxe-devel] serial arrow keys broken

2014-03-27 Thread Jarrod Johnson
#define GETKEY_TIMEOUT ( TICKS_PER_SEC / 4 ) What happens if you changed that to 2 instead of 4? Speaking of issues, FWIW, if you are in something that sends a cursor key application mode (e.g. esxi serial console), then arrow keys might not work based on what I see in code review. ESC [ A is re

[ipxe-devel] serial arrow keys broken

2014-03-27 Thread Peter Pickford
Hi, The arrow keys would not work in my ipxe serial console. The following seems to fix it but causes a busy wait while reading escape sequences. diff --git a/src/core/getkey.c b/src/core/getkey.c index d69cfb4..441b9d9 100644 --- a/src/core/getkey.c +++ b/src/core/getkey.c @@ -47,7 +47,7 @@ st