<
shiva.linuxworks@gmail.com> wrote:
> Hi,
>
> I am using Linaro Toolchain for compiling UEFI and I am getting alignment
> fault as exception while running UEFI on Origen Board.
> When I was using other cross compilers the issue was not there.
> The crash report is as follows:
>
>
> Data Abort Exception PC at 0x4F84DCDC  CPSR 0x60000133 nZCveAifT_svc
> /home/shiva/workspace/armserver/uefi_origen/edk2/Build/OrigenBoard-Exynos/DEBUG_ARMLINUXGCC/ARM/FatPkg/EnhancedFatDxe/Fat/DEBUG/Fat.dll
> loaded at 0x4F84D000 (PE/COFF offset) 0xCDC (ELF or Mach-O offset) 0xA9C
> 0xF8BD6037   LDRH   r6, [sp, #0x37]
>   R0 0x0000000B   R1 0x0000000A   R2 0x4FCEEAD8   R3 0x80000000
>   R4 0x4F836010   R5 0x4F863619   R6 0x00000000   R7 0x4F837F10
>   R8 0xFFFFFFFF   R9 0x00000000  R10 0x00000001  R11 0x00000000
>  R12 0x00000000   SP 0x4FCEEA20   LR 0x4F84DCDD   PC 0x4F84DCDC
> DFSR 0x00000001 DFAR 0x4FCEEB17 IFSR 0x0000140B IFAR 0x00910883
>  Alignment fault: read from 0x4FCEEB17
>  Instruction Domain fault on Page at 0x00910883
>
> ASSERT
> /home/shiva/workspace/armserver/uefi_origen/edk2/ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandler.c(304):
> ((BOOLEAN)(0==1))