Hi, carsey and Olivier:
let me describe the problem more detailly.
first, I use the the shell efi from the directory of
edk2\ShellBinPkg\UefiShell\Arm\Shell.efi
when i boot to the shell, the uart console print information like below:
Loading driver at 0x000BB914000 EntryPoint=0x000BB95A389 Shell.efi
InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF BF002F90
UEFI Interactive Shell v2.0. UEFI v2.31 (AllWiner Technology EFI Oct 17 2013
21:12:25, 0x00000000). Revision 1.02
Mapping tableolInterface: 752F3136-4E16-4FDC-A22A-E5F46812F4CA BC098910
FS1: Alias(s):F6:e: 6302D008-7F9B-4F30-87AC-60C9FEF5DA4E BB9C5390
VenHw(C5B9C74A-6D72-4719-99AB-C59F199091EB)
FS0: Alias(s):HD2a0b:;BLK1:
PciRoot(0x0)/Pci(0x0,0x0)/USB(0x0,0x0)/HD(1,MBR,0x00000000,0x3E,0x762BA4)
BLK0: Alias(s):
PciRoot(0x0)/Pci(0x0,0x0)/USB(0x0,0x0)
Press ESC in 1 seconds to skip startup.nsh or any other key to continue.
problem starts here: if i press "ESC" ,it enter the shell correctly.but if i
press any key other than "ESC"
the console would not continue to execte(stop here),and "ctrl+c" do not work.
secondly, if i press "ESC" in the step above, i enter the shell, and if i input
the command that exist in the shell
(for example: help/ls),everything looks ok.but if enter the command that do not
exist in the shell,the console would not
response any more.for example,if i input a command like "abc", then press
"enter",the shell prints:
Shell> vol
Error. No current directory is specified.
Shell> ver
UEFI Interactive Shell v2.0
Copyright 2009-2013 Intel(r) Corporation. All rights reserved.
UEFI v2.31 (Dream board EFI Oct 17 2013 21:12:25, 0x00000000)
Shell> abc
at this step, i try to press "ctrl+c", but nothing happened.
i guess if there are some configs in dsc file to enable the ctrl+c feature. but
i am not sure.
zhengjiewen2005
From: Carsey, Jaben
Date: 2013-10-18 00:59
To: edk2-devel@lists.sourceforge.net; 'zhengjiewen2005'
CC: Carsey, Jaben
Subject: RE: [edk2] ctrl+c don't work in shell
The shell will create and event to monitor for CTRL+C if the platform supports
it. There is no requirement that the platform support it.
-Jaben
From: Olivier Martin [mailto:olivier.mar...@arm.com]
Sent: Thursday, October 17, 2013 7:08 AM
To: 'zhengjiewen2005'; edk2-devel
Subject: Re: [edk2] ctrl+c don't work in shell
(Let’s start again the discussion with a clear title)
Hi,
Do you know if CTLR+C is supported by the shell? If no, do you know if your EFI
application support CTRL+C ?
Thanks,
Olivier
From: zhengjiewen2005 [mailto:zhengjiewen2...@163.com]
Sent: 17 October 2013 14:59
To: edk2-devel
Subject: [edk2] ctrl+c don't work in shell
hi:
everybody! i'am porting edkii to a arm cortex a7 soc, everything looks well.
but when i enter shell,
there is a problem: i can‘t use "ctrl+c" to stop app in my uart console. that
means ctrl+c do not work on my platform !
is there any guys had meet such a situation ?
zhengjiewen2005
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel