Krishna,
There is a lot of good information on setting up an EDK II source tree at
http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=Getting_Started_with_EDK_II.
Use Subversion to get a copy of the source tree from
https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/<https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/AppPkg/Applications/>.
Following the information from the first link, and the ReadMe file in AppPkg,
you should be able to build the current UEFI Python v2.7.2.
There are also comments in the AppPkg.dsc build file explaining some of the
sections.
Use the information in the Python User's Guide, which I sent you previously, to
make sure that all of the UEFI interface components you need (sockets, etc.)
are built into the Python executable.
Sincerely,
Daryl McDaniel
________________________________
From: Krishna Joshi [mailto:kriish...@gmail.com]
Sent: Tuesday, October 23, 2012 6:04 AM
To: edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] New to EFI. help needed
Thanks Daryl,
To answer to your question : In what way does it not work? What symptoms or
error messages do you get?
I do not get any error messages. I simply get a prompt when I try to execute
python scripts.
And I downloaded EADK Alpha2.zip from the given link to get the AppPkg,StdLib
and StdLibInternalFiles. But I the AppPkg/Applications folder has Hello,
Enquire and Main in it and python , sockets are missing. However I do see the
entire package in
https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/AppPkg/Applications/.
How can I get the missing folders in AppPkg/Applications?
Thanks
Krishna
On Tue, Oct 23, 2012 at 1:21 AM, Mcdaniel, Daryl
<daryl.mcdan...@intel.com<mailto:daryl.mcdan...@intel.com>> wrote:
The old EFI toolkit is for the old EDK, not EDK II. There are some major
differences in how services are presented in EDK II and the old way from the
EDK. This is most noticeable with networking -- EDK Toolkit networking apps.
will usually not work in EDK II.
If you use the Toolkit version of Python, you need to have everything in the
locations expected by that version. The error message you quote below is
indicating that python.efi could not find the file site.py. The file is being
searched for in '\TOOLKIT\python2.4;\TOOLKIT\python2.lib'. You must only use
Python library files provided with the version of python you are using. Many
capabilities, such as sockets, must be built in to the python interpreter
before they can be used.
You say that " i am unable to use the python.efi generated from building
AppPkg. I do not know the reason why.". In what way does it not work? What
symptoms or error messages do you get?
When you build applications using AppPkg and StdLib, make sure that you are not
mixing EDK and EDK II components. Instead, use a pure EDK II tree from
edk2.tianocore.org<http://edk2.tianocore.org> to build your applications in.
Make sure that you read the ReadMe file present in AppPkg.
Daryl McDaniel
________________________________
From: Krishna Joshi [mailto:kriish...@gmail.com<mailto:kriish...@gmail.com>]
Sent: Monday, October 22, 2012 4:45 AM
To: edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
Subject: Re: [edk2] New to EFI. help needed
hi,
This is what I observed:
1) In EDK 2 bios, the efi\tools is not automatically recognised
2) i am unable to use the python.efi generated from building AppPkg. I do
not know the reason why. The same efi i use in APTIO and works fine.
3) When I use the python.efi generated by efi toolkit (uses python 2.4), it
does work in EDK2 but the directory structure it expects is different.
It expects the the .efi file in \efi\tools and libraray in
\toolkit\python24\lib\ . Most of the scripts work with this but i still get a
msg at the start saying:
"Could not find platform independent libraries in '\TOOLKIT\python2.4 ;
\TOOLKIT\python2.lib'
' import site ' failed ; use -v for traceback
If anyone has resolution for these, please let me know
Thanks
Krishna
On Fri, Oct 19, 2012 at 12:04 PM, Krishna Joshi
<kriish...@gmail.com<mailto:kriish...@gmail.com>> wrote:
Thanks Tonderai and Daryl.And yes , I do not just want to execute command , I
want to transfer data to SUT.
Daryl,
I used the document u gave earlier and was able to install
python successfully on Romley platform with APTIO BIOS. But since I was
concentrating on networking aspects , it was suggested to me
to move to EDK2 BIOS.
Now I am unable to execute the python scripts with this BIOS.
Do I need to do anything differently?
Earlier I built the required package and had the required folder
structure in the USB, as specified in the document. I used to plug the USB and
map to it run the python script using the python command.It
would run successfully. I am following the same procedure with EDK2 BIOS, but
am unable to run them. Please help me out on this.
Thanks
Krishna
On Thu, Oct 18, 2012 at 6:56 AM, Mcdaniel, Daryl
<daryl.mcdan...@intel.com<mailto:daryl.mcdan...@intel.com>> wrote:
Krishna,
If you are still doing this in Python, there is a Python package called Pyro
that might help you. Pyro stands for PYthon Remote Objects. It is like a
streamlined CORBA implementation in pure Python. I used it several years ago
to set up distributed associations of management controllers.
I haven't tried it with UEFI Python yet, but don't think there should be any
problem using it.
Best of luck,
Daryl McDaniel
"Software is like entropy.
It is difficult to grasp, weighs nothing, and obeys the second law of
thermodynamics;
i.e. it always increases."
-- Norman R. Augustine
________________________________
From: Krishna Joshi [mailto:kriish...@gmail.com<mailto:kriish...@gmail.com>]
Sent: Tuesday, October 16, 2012 8:46 PM
To: edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
Subject: Re: [edk2] New to EFI. help needed
Hi Tonderai,
I am trying for a having a communication wherein i can
reliably send data to the System Under Test (SUT). It would be great if I we
are able to write this data to specified memory location in SUT. But as of now
I would be happy if somehow I am able to send data to USB attached to SUT.
Thanks
Krishna
On Mon, Oct 15, 2012 at 8:24 PM, Belomorski, Plamen
<plamen.belomor...@amd.com<mailto:plamen.belomor...@amd.com>> wrote:
Hi Tony,
Can I find this driver somewhere? I want to experiment to get the debug
messages over the network.
Thanks,
Plamen
From: Nemarundwe, Tonderai C
[mailto:tonderai.c.nemarun...@intel.com<mailto:tonderai.c.nemarun...@intel.com>]
Sent: Wednesday, October 10, 2012 4:35 PM
To: edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
Subject: Re: [edk2] New to EFI. help needed
Are you just trying to have the ability to connect to the EFI from remote
machine via LAN and execute some EFI commands? I got a basic Telnet efi driver
that can do that. It's not 100% complete but it will do the basic forwarding of
the EFI shell to your remote client.
-Tony
From: Krishna Joshi [mailto:kriish...@gmail.com<mailto:kriish...@gmail.com>]
Sent: Monday, October 08, 2012 3:26 AM
To: edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
Subject: [edk2] New to EFI. help needed
Hi,
I am an Intern and currently working on a project wherein I need make it
possible for host and target machine to communicate via LAN. As a first step I
started with python script. Can someone let me know how do I execute my python
script via EFI shell? Nobody in our team have worked on python in efi and i am
finding it difficult to proceed. I have heard of something called AppPkg but do
not know how to make use of it in developing my script. I am an amateur in this
field , please help me out.
Thanks
Krishna
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/edk2-devel
------------------------------------------------------------------------------
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_sfd2d_oct
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/edk2-devel
------------------------------------------------------------------------------
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_sfd2d_oct
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/edk2-devel
------------------------------------------------------------------------------
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_sfd2d_oct
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel