On 03/26/2018 08:47 AM, Martin Townsend wrote: > Hi, > > I've discovered that U-Boot in Rocko for several builds that I > maintain is broken when performing various network related operations > like tftp, dhcp and ping. You get a data abort and it resets. I found > that this has already been fixed in U-Boot with the commit below. I > think it has something to do with the way GCC 7.1 onwards is now > handling memory alignment. Anyway the problems have gone away when I > apply this patch and was wondering if it should be included in the > U-Boot recipes in Rocko, or is no-one else seeing this problem?
please send a patch to openembedded-c...@lists.openembedded.org with rocko called on in the beginning of subject line thanks, Armin > > Many Thanks, > Martin. > > commit 704f3acfcf55343043bbed01c5fb0a0094a68e8a > Author: Denis Pynkin <denis.pyn...@collabora.com > <mailto:denis.pyn...@collabora.com>> > Date: Fri Jul 21 19:28:42 2017 +0300 > > net: Use packed structures for networking > > PXE boot is broken with GCC 7.1 due option '-fstore-merging' enabled > by default for '-O2': > > BOOTP broadcast 1 > data abort > pc : [<8ff8bb30>] lr : [<00004f1f>] > reloc pc : [<17832b30>] lr : [<878abf1f>] > sp : 8f558bc0 ip : 00000000 fp : 8ffef5a4 > r10: 8ffed248 r9 : 8f558ee0 r8 : 8ffef594 > r7 : 0000000e r6 : 8ffed700 r5 : 00000000 r4 : 8ffed74e > r3 : 00060101 r2 : 8ffed230 r1 : 8ffed706 r0 : 00000ddd > Flags: nzcv IRQs off FIQs off Mode SVC_32 > Resetting CPU ... > > Core reason is usage of structures for network headers without packed > attribute. > > Reviewed-by: Yauheni Kaliuta <yauheni.kali...@redhat.com > <mailto:yauheni.kali...@redhat.com>> > Signed-off-by: Denis Pynkin <denis.pyn...@collabora.com > <mailto:denis.pyn...@collabora.com>> > Acked-by: Joe Hershberger <joe.hershber...@ni.com > <mailto:joe.hershber...@ni.com>> > > >
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto