On Feb 6, 2013, at 1:01 PM, Toto Lebolo <toto_leb...@yahoo.com> wrote:

> How do I check that?

The edk2 shell is 
https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/ShellPkg/
the EDK shell is 
https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/EdkShellPkg/

EDK is the codebase that is obsolete by edk2. So the EDK shell is obsolete and 
no one is working on it. It was a place holder until ShellPkg could be 
produced. 

If you are doing new work I would suggest you try the ShellPkg shell. 

> I am at the hello world level.
> I think I am using the ShellFull because it creates all the shell commands.

Does the MM work with the FullShell?

> Yes I am running the created command on top of the shell. 
> For example I rename the command mm.efi to mm3.efi and I run 
> mm3 -?

I've never tried that. Try using the Shell without the built in commands and 
see if that works?

Thanks,

Andrew

> no output
> MiKL~
> 
> 
> 
> From: Andrew Fish <af...@apple.com>
> To: Toto Lebolo <toto_leb...@yahoo.com> 
> Cc: "edk2-devel@lists.sourceforge.net" <edk2-devel@lists.sourceforge.net> 
> Sent: Tuesday, February 5, 2013 7:48 PM
> Subject: Re: [edk2] shell command MM does not run inside a shell script and 
> PrintToken
> 
> On Feb 5, 2013, at 5:37 PM, Toto Lebolo <toto_leb...@yahoo.com> wrote:
> 
>> Andrew,
>> I am just rebuilding the shell commands without changing anything.
>> The build completes successfully and a mm.efi is created.
>> The PrintToken() return 0 which means it fails.
>> I checked out the edkshell from here:
>> https://efi-shell.svn.sourceforge.net/svnroot/efi-shell/trunk/Shell/
>> Copied into the UDK2010 environement 
>> and run build -a X64 -p EdkShellPkg\EdkShellPkg.dsc
>> the file EdkShellPkg.dsc is unchanged.
>> Is there anything wrong I did?
> 
> Are you running mm.efi on top of the EDK shell?
> Does your test platform produce gEfiHiiDatabaseProtocolGuid and 
> gEfiHiiStringProtocolGuid?
> Have you tried using ShellFull that has all the commands built in?
> 
> Thanks,
> 
> Andrew Fish
> 
> 
>> MiKL~
>> 
>> 
>> From: Andrew Fish <af...@apple.com>
>> To: Toto Lebolo <toto_leb...@yahoo.com>; edk2-devel@lists.sourceforge.net 
>> Sent: Saturday, February 2, 2013 5:59 PM
>> Subject: Re: [edk2] shell command MM does not run inside a shell script and 
>> PrintToken
>> 
>> 
>> On Feb 2, 2013, at 3:37 PM, Toto Lebolo <toto_leb...@yahoo.com> wrote:
>> 
>>> Hello,
>>> I noticed that the shell command "mm" does not run inside a shell script or 
>>> from a python script. The command seems to NOT understand the arguments 
>>> that are passed. 
>>> I found that there is a ticket about that here: 
>>> http://sourceforge.net/apps/trac/efidevkit/ticket/1316
>>> I wanted to investigate this. I rebuild the file mm.c to create mm.efi but 
>>> I faced a new issue: when I run my build, the new mm command does not 
>>> display anything on the stdout using the function PrintToken(). The Print() 
>>> function is fine.
>>> Anybody can guide me with those issues?
>> 
>> Are you using an existing token? The *.uni file is Unicode so you need to be 
>> careful your editor does not mess up the file?
>> If you are making your own command did you do the HiiAddPackages() to 
>> register the strings?
>> 
>> Thanks,
>> 
>> Andrew Fish
>> 
>>> I am new to the EFI environment.
>>> MIKL~
>>> ------------------------------------------------------------------------------
>>> Everyone hates slow websites. So do we.
>>> Make your web apps faster with AppDynamics
>>> Download AppDynamics Lite for free today:
>>> http://p.sf.net/sfu/appdyn_d2d_jan_______________________________________________
>>> edk2-devel mailing list
>>> edk2-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>> 
>> 
>> 
> 
> 
> 

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to