RTEMS 4.9.5 vs 4.10.2 Network Stack

Ficheux Pierre pierre.ficheux at openwide.fr
Sat Sep 1 08:32:01 UTC 2012


Le 01/09/2012 08:05, SAeeD a écrit :

 > I guess you missed to align some of those structures related to
 > networking using __attribute__((packed)) notation.
 > Attached, you'll find RTEMS 4.10.2 patch for Mini2440 which Bacon Xu
 > sent to me. Although some files are rejected after applying the patch,
 > but it worked for me fine and now I'm able to run network-demos-4.10.2
 > in QEMU.

Works fine for me too (with QEMU, I don't have my real board today).

$ telnet 192.168.1.101
Trying 192.168.1.101...
Connected to 192.168.1.101.
Escape character is '^]'.

Welcome to rtems-4.10.2(ARM/ARMv4T/mini2440)
COPYRIGHT (c) 1989-2008.
On-Line Applications Research Corporation (OAR).

running on (ARM/ARMv4T)
/dev/pty0 login: root
Password:

RTEMS SHELL (Ver.1.0-FRC):/dev/pty0. Sep  1 2012. 'help' to list commands.
[/] # ifconfig
ifconfig ************ INTERFACE STATISTICS ************
***** dm0 *****
Ethernet Address: 00:00:01:23:45:00
Address:192.168.1.101   Broadcast Address:192.168.1.255   Net 
mask:255.255.255.0
Flags: Up Broadcast Running Active
Send queue limit:50   length:1    Dropped:0
dm9000_stats isn't sound.


 > Remember to apply the patch after the bootstrap process. (bootstrap 
script)

I did the test on the rtems-4.10.2.tar.bz2. Actually I noticed some 
reject on git version (Makefile.in files), should be because the patch 
was built with tar.bz2 version (?).

regards

-- 
Pierre FICHEUX -/- CTO OW/OWI, France -\- pierre.ficheux at openwide.fr
                                          http://ingenierie.openwide.fr
                                          http://www.ficheux.org
I would love to change the world, but they won't give me the source code





More information about the users mailing list