> Date: Sun, 6 Aug 2017 15:16:09 +0200 (CEST)
> From: Mark Kettenis <mark.kette...@xs4all.nl>
> Things are already broken before that commit though, so there is
> another problem.  I'll see if I can figure out what it is...

data abort
pc : [<7ef59160>]          lr : [<7ef59118>]
reloc pc : [<4a003160>]    lr : [<4a003118>]
sp : 7af2b820  ip : 7af69635     fp : 7ef5aee4
r10: 00000005  r9 : 7af35ee0     r8 : 7efb4490
r7 : 7af695e8  r6 : 7af69620     r5 : 0000005c  r4 : 7af2b828
r3 : 7efae477  r2 : 0000005c     r1 : 0000002f  r0 : 00000000
Flags: nzCv  IRQs off  FIQs off  Mode SVC_32

addr2line -e u-boot.bin 0x4a003160

which is the ascii2unicode() function which is used in
efi_disk_add_dev() and indeed does 16-bit stores to potentiaslly
unaligned memory.  And yes, adding __packed to struct
efi_device_file_path will trigger the unaligned access in this case.
U-Boot mailing list

Reply via email to