RTEMS 4.9.5 vs 4.10.2 Network Stack

Sebastian Huber sebastian.huber at embedded-brains.de
Sat Sep 8 06:17:42 UTC 2012


On 29/08/12 04:10, Bacon Xu wrote:
> Hi, all, It's Indeed that there are no any difference of tcp/ip stack
> between rtems 4.9.5 and rtems 4.10.2.
> But there are some problems in ARM platform. The processors of  Arm7,
> arm 9, arm11 can't solve non-align address directly.
[...]

The problem is due to a bug in the network interface driver. You have to 
make sure that the IP header structure is aligned properly, e.g.

/* Adjust by two bytes for proper IP header alignment */
m->m_data = mtod(m, char *) + 2;

for the receive mcluster.

-- 
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the users mailing list