Hi List,

I am experiencing a Data Abort inside function 'GetSectionFromAnyFv' in file 
'DxeServicesLib.c'
on my ARMv7 UEFI platform.

To debug the same I added some print messages like:

/* Added for debugging */
  CHAR8                         Buffer1[100];
  UINTN                         CharCount;
  CharCount = AsciiSPrint (Buffer1,sizeof (Buffer1),"Inside Func\n\r");
  SerialPortWrite ((UINT8 *) Buffer1, CharCount);


And also something like: 
  SerialPrint ("Inside Func\n\r");

I have included:
#include <Library/PrintLib.h>
#include <Library/SerialPortLib.h>

and defined:

#define SerialPrint(txt)  SerialPortWrite ((UINT8*)(txt), AsciiStrLen(txt)+1);

I still cannot see any debug prints on the UART (placed right after the entry 
point of 'GetSectionFromAnyFv' function).
Debugger (DS-5) suggests that the crash is inside 'GetSectionFromAnyFv' itself.

I get the UEFI firmware <version xx built at xx on xx) and Data Abort Exception 
PC at xx prints on the console, but
no prints from 'DxeServicesLib.c'

Any pointers to what I may be missing here.

Regards,
Bhupesh



_______________________________________________
boot-architecture mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/boot-architecture

Reply via email to