Re: [edk2] What do you use for debugging?

Subject: Re: [edk2] What do you use for debugging?

From: "Richardson, Brian" <brian.richardson@intel.com>

To: Eric Kler <helloworld1922@yahoo.com>, "edk2-devel@lists.sourceforge.net" <edk2-devel@lists.sourceforge.net>

Date: 2013-05-23 21:20:12

Eric: an XDP debugger meets your requirements for memory dumps, register ac=
cess and working in early firmware execution. This requires a XDP connector=
 (or JTAG on ARM) which will not be standard on production machines.

Thanks ... br
---
Brian Richardson -- brian.richardson@intel.com -- Twitter: intel_brian


-----Original Message-----
From: Eric Kler [mailto:helloworld1922@yahoo.com] =

Sent: Wednesday, May 22, 2013 11:42 PM
To: Richardson, Brian; edk2-devel@lists.sourceforge.net
Subject: Re: [edk2] What do you use for debugging?

Typically the low level things: firmware, drivers. I mostly use emulators (=
qemu, vmware) but sometimes things that work there do not work on physical =
systems. =


I'm looking for utility/hardware that would let me to debug problematic mac=
hines (even without source code) from the very beginning of firmware execut=
ion. Wanted features at this point are pretty standard: breakpoints, regist=
ers introspections, memory dumping functions etc. Can you recommend somethi=
ng for this particular case? Thanks.


- Eric




----- Original Message -----
From: "Richardson, Brian" 
To: "edk2-devel@lists.sourceforge.net" 
Cc: Eric Kler 
Sent: Wednesday, May 22, 2013 7:28 PM
Subject: RE: [edk2] What do you use for debugging?

I could you give you better guidance if I knew what type of UEFI code you w=
ere trying to debug (UEFI driver? OS loader? UEFI app? Firmware/BIOS?).

The EDK II DEBUG() macro is surprisingly useful as a starting point. It's o=
utput-only debugging, but very useful for seeing output from stages of code=
 where you have no display output.

Thanks ... br
---
Brian Richardson -- brian.richardson@intel.com -- Twitter: intel_brian

-----Original Message-----
From: Eric Kler [mailto:helloworld1922@yahoo.com] =

Sent: Wednesday, May 22, 2013 9:35 AM
To: edk2
Subject: [edk2] What do you use for debugging?

Dear list,

What do you use for debugging your code on real world systems? Is special h=
ardware really necessary, I'm curious what professionals use in this field =
and what is the most recommended product. =


So far I have found following options:
- http://www.windriver.com/products/simics/=A0 (software)-- but I have no i=
dea how much does it cost or if it will be enough for debugging the firmwar=
e (product promo: http://www.youtube.com/watch?v=3DlYAukMyek9A=A0 )
- DQ57TM (hardware)

Thanks,
Eric

---------------------------------------------------------------------------=
---
Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only Sa=
aS-based application performance monitoring service that delivers powerful =
full stack analytics. Optimize and monitor your browser, app, & servers wit=
h just a few lines of code. Try New Relic and get this awesome Nerd Life sh=
irt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel =


---------------------------------------------------------------------------=
---
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service =

that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel