Has anyone ponied up to the update of TCP/IP yet?
Thomas Dörfler
Thomas.Doerfler at imd-systems.de
Thu Apr 16 09:33:25 UTC 2009
Hi,
xu ray wrote:
> I think the only reason usb from FreeBSD better than NetBSD might be
> the compatibly with TCP/IP (rtems is using Freebsd).
yes, and this is a major one. When doing the initial port of the network
stack, a lot of "standard" header files have been adapted to RTEMS in a
more or less clean way. Nowadays they provide many potential conflicts
with other versions of the headers.
involving a third set of headers with identical names, but slighly
different content may lead to LOTs of confusion.
I don't want to think what will happen when a driver is to be used for a
USB-based network device. In that case, different headers would involved
for the networking and USB stuff, with identical names, identical
element names, but slighly different implementation.
Therefore doing a clean sweep over the header mess is mandantory now and
that's what is going to happen now.
Another issue is the USB stack itself. FreeBSD now has a USB2 stack, and
that's what we have in focus. It is more modern and also provides device
side support, which may get more and more interesting for RTEMS systems.
wkr,
Thomas.
>
> NetBSD is the first to have USB stack in all bsd family and FreeBSD
> just ported NetBSD's stack to itself and all BSD family synicronize
> usb codes from each other from that time. So it hard to say which code
> base is more advanced.
>
> The advantage of NetBSD stack is its support for different families.
> The USB support for ARM and PPC families has long been merged into
> release branches. However, there are no support for other
> architectures in Freebsd in release branch so far (at91rm9200 still on
> dev branch). I think the different arch support will also be a problem
> that we will face when porting Freebsd TCP/IP from FreeBSD to RTEMS.
>
> In short, porting from both OSes have their advantages and drawbacks.
>
> 2009/4/16 Thomas Dörfler <Thomas.Doerfler at imd-systems.de>:
>> Hi,
>>
>> sorry for being silent on that issue (USB) for so long. We have received
>> your USB port package and after some inspection came to the conclusion
>> that in the long term it would be better to port the USB functinality
>> from FreeBSD to RTEMS, but with a more complete "FreeBSD porting layer".
>>
>> The benefits from that approach are:
>> - have a more modern USB stack (which may even include client functinality)
>> - have the capability to upgrade to newer FreeBSD packages with low effort
>> - have the capability to upgrade the TCP/IP stack with low effort
>> - keep much closer to the FreeBSD sources WRT these two stacks and their
>> drivers
>>
>> This work is already in progress.
>>
>> wkr,
>> Thomas Doerfler.
>>
>> xu ray wrote:
>>> No one has claimed as a mentor for this project yet.
>>> However, my friend and I are on the way to merge the USB stack from
>>> NetBSD now. We choose NetBSD because it is more friendly to different
>>> architectures.
>>> If you will begin to merge the new BSD TCP/IP. I think it will be a
>>> good idea to work together because there are lots of common codes
>>> (esp, the BSD header file and the OS adaptor layer)
>>>
>>>
>>>
>>> 2009/4/14 Andrew Sporner <asporner at googlemail.com>:
>>>> I am curious if this "open task" has been claimed.
>>>>
>>>> If not I would be eager to take it on. I have been working in the TCP/IP
>>>> area for about 10 years now and know the FreeBSD stack fairly well
>>>> (as well as that kernel fairly well).
>>>>
>>>> Cheers
>>>>
>>>>
>>>> Andy
>>>> _______________________________________________
>>>> rtems-users mailing list
>>>> rtems-users at rtems.com
>>>> http://rtems.rtems.org/mailman/listinfo/rtems-users
>>>>
>>>
>>>
>>
>> --
>> --------------------------------------------
>> IMD Ingenieurbuero fuer Microcomputertechnik
>> Thomas Doerfler Herbststrasse 8
>> D-82178 Puchheim Germany
>> email: Thomas.Doerfler at imd-systems.de
>> PGP public key available at:
>> http://www.imd-systems.de/pgpkey_en.html
>>
>
>
>
--
--------------------------------------------
IMD Ingenieurbuero fuer Microcomputertechnik
Thomas Doerfler Herbststrasse 8
D-82178 Puchheim Germany
email: Thomas.Doerfler at imd-systems.de
PGP public key available at:
http://www.imd-systems.de/pgpkey_en.html
More information about the users
mailing list