Hi. I'm helping a friend build an Asterisk appliance based on David Rowe's Free Telephony Project (www.rowetel.com). Asterisk has mostly been ported to uClinux, and can run well on the Blackfin DSP processor. It seems to me that the FreeSwitch architecture has a lot more promise than that of Asterisk long-term, but it relies on far more external packages. Given that, how hard would it be to port FreeSwitch to uClinux? Thanks, Bill
We have discussed this with David some. The biggest issue on the blackfin relates to floating point math. The main places that you will see this in freeswitch is the codecs, the resample code, and in a couple places in applications like conference. For the codecs, much of the work is already done (like for speex, David's changes are already worked into our tree) but would need some more work. For the applications like conference, it would need small or no modifications. The resample code is the only code that would needs some real work, I think David can comment better than any of us how much work that would take. Mike
-----Original Message----- From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev- bounces@lists.freeswitch.org] On Behalf Of Bill Cox Sent: Monday, February 05, 2007 10:46 AM To: freeswitch-dev@lists.freeswitch.org Subject: [Freeswitch-dev] Port to uClinux?
Hi.
I'm helping a friend build an Asterisk appliance based on David Rowe's Free Telephony Project (www.rowetel.com). Asterisk has mostly been ported to uClinux, and can run well on the Blackfin DSP processor.
It seems to me that the FreeSwitch architecture has a lot more promise than that of Asterisk long-term, but it relies on far more external packages. Given that, how hard would it be to port FreeSwitch to uClinux?
Thanks, Bill
Thanks for the feedback, and sorry about the bounce. I've got this list configured properly through my filter now. On Mon, 2007-02-05 at 11:21 -0500, Michael Jerris wrote:
We have discussed this with David some. The biggest issue on the blackfin relates to floating point math. The main places that you will see this in freeswitch is the codecs, the resample code, and in a couple places in applications like conference. For the codecs, much of the work is already done (like for speex, David's changes are already worked into our tree) but would need some more work. For the applications like conference, it would need small or no modifications. The resample code is the only code that would needs some real work, I think David can comment better than any of us how much work that would take.
Mike
-----Original Message----- From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev- bounces@lists.freeswitch.org] On Behalf Of Bill Cox Sent: Monday, February 05, 2007 10:46 AM To: freeswitch-dev@lists.freeswitch.org Subject: [Freeswitch-dev] Port to uClinux?
Hi.
I'm helping a friend build an Asterisk appliance based on David Rowe's Free Telephony Project (www.rowetel.com). Asterisk has mostly been ported to uClinux, and can run well on the Blackfin DSP processor.
It seems to me that the FreeSwitch architecture has a lot more promise than that of Asterisk long-term, but it relies on far more external packages. Given that, how hard would it be to port FreeSwitch to uClinux?
Thanks, Bill
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Bill, I've started with a uClinux port (on a blackfin BF537-STAMP) of Freeswitch. My goal was to get a very minimal FS working (FS core + mod_sofia + mod_g711 + mod_dialplan_xml + mod_echo). As I understand it, this configuration has the following dependencies: -libFreeSwitch -APR -SQLLite -SRTP -libresample -sofia-sip SQLLite is already ported to uClinux. My plan was to first get all the libraries ported to uClinux and tested separately. I've started on sofia-sip and have it running on uClinux. I haven't touched the others yet. -Jeff
Thanks for the feedback, and sorry about the bounce. I've got this list configured properly through my filter now.
On Mon, 2007-02-05 at 11:21 -0500, Michael Jerris wrote:
We have discussed this with David some. The biggest issue on the blackfin relates to floating point math. The main places that you will see this in freeswitch is the codecs, the resample code, and in a couple places in applications like conference. For the codecs, much of the work is already done (like for speex, David's changes are already worked into our tree) but would need some more work. For the applications like conference, it would need small or no modifications. The resample code is the only code that would needs some real work, I think David can comment better than any of us how much work that would take.
Mike
-----Original Message----- From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev- bounces@lists.freeswitch.org] On Behalf Of Bill Cox Sent: Monday, February 05, 2007 10:46 AM To: freeswitch-dev@lists.freeswitch.org Subject: [Freeswitch-dev] Port to uClinux?
Hi.
I'm helping a friend build an Asterisk appliance based on David Rowe's Free Telephony Project (www.rowetel.com). Asterisk has mostly been ported to uClinux, and can run well on the Blackfin DSP processor.
It seems to me that the FreeSwitch architecture has a lot more promise than that of Asterisk long-term, but it relies on far more external packages. Given that, how hard would it be to port FreeSwitch to uClinux?
Thanks, Bill
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
That's great. I got the BF537-STAMP and one of David's FX4 cards for my birthday last December, so I'm in a good position to play with code. Thanks, Bill On Mon, 2007-02-05 at 11:26 -0700, Jeff Knighton wrote:
Bill, I've started with a uClinux port (on a blackfin BF537-STAMP) of Freeswitch. My goal was to get a very minimal FS working (FS core + mod_sofia + mod_g711 + mod_dialplan_xml + mod_echo).
As I understand it, this configuration has the following dependencies:
-libFreeSwitch -APR -SQLLite -SRTP -libresample -sofia-sip
SQLLite is already ported to uClinux.
My plan was to first get all the libraries ported to uClinux and tested separately. I've started on sofia-sip and have it running on uClinux. I haven't touched the others yet.
-Jeff
Thanks for the feedback, and sorry about the bounce. I've got this list configured properly through my filter now.
On Mon, 2007-02-05 at 11:21 -0500, Michael Jerris wrote:
We have discussed this with David some. The biggest issue on the blackfin relates to floating point math. The main places that you will see this in freeswitch is the codecs, the resample code, and in a couple places in applications like conference. For the codecs, much of the work is already done (like for speex, David's changes are already worked into our tree) but would need some more work. For the applications like conference, it would need small or no modifications. The resample code is the only code that would needs some real work, I think David can comment better than any of us how much work that would take.
Mike
-----Original Message----- From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev- bounces@lists.freeswitch.org] On Behalf Of Bill Cox Sent: Monday, February 05, 2007 10:46 AM To: freeswitch-dev@lists.freeswitch.org Subject: [Freeswitch-dev] Port to uClinux?
Hi.
I'm helping a friend build an Asterisk appliance based on David Rowe's Free Telephony Project (www.rowetel.com). Asterisk has mostly been ported to uClinux, and can run well on the Blackfin DSP processor.
It seems to me that the FreeSwitch architecture has a lot more promise than that of Asterisk long-term, but it relies on far more external packages. Given that, how hard would it be to port FreeSwitch to uClinux?
Thanks, Bill
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
_______________________________________________ Freeswitch-dev mailing list Freeswitch-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
-----Original Message----- From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev- bounces@lists.freeswitch.org] On Behalf Of Jeff Knighton Sent: Monday, February 05, 2007 1:27 PM To: freeswitch-dev@lists.freeswitch.org Subject: Re: [Freeswitch-dev] Port to uClinux?
Bill, I've started with a uClinux port (on a blackfin BF537-STAMP) of Freeswitch. My goal was to get a very minimal FS working (FS core + mod_sofia + mod_g711 + mod_dialplan_xml + mod_echo).
Very nice. We would be very interested in getting patches for this merged into tree.
As I understand it, this configuration has the following dependencies:
-libFreeSwitch -APR -SQLLite -SRTP -libresample -sofia-sip
The core has the following dependencies: APR APR-utils libresample sqllite srtp libteletone pcre Additionally, for the modules in that list you will need sofia-sip and at least g711.h from libs/codec/g7xx/src/include/g7xx
SQLLite is already ported to uClinux.
My plan was to first get all the libraries ported to uClinux and
tested
separately. I've started on sofia-sip and have it running on uClinux. I haven't touched the others yet.
Please let us know how this proceeds. If you have a freeswitch svn branch, feel free to commit directly to that and let us know either via this list, or one of the ops in #freeswitch on irc.freenode.net and we can get these changes merged in quickly for you.
-Jeff
Mike
Michael Jerris wrote:
We have discussed this with David some. The biggest issue on the blackfin relates to floating point math. The main places that you will see this in freeswitch is the codecs, the resample code, and in a couple places in applications like conference. For the codecs, much of the work is already done (like for speex, David's changes are already worked into our tree) but would need some more work. For the applications like conference, it would need small or no modifications. The resample code is the only code that would needs some real work, I think David can comment better than any of us how much work that would take.
Mike
David has been converting some of spandsp to fixed point. Before he converted the DTMF code, that alone was consuming most of the blackfin :-). Now, of course, its a pretty minor activity. If you want Freeswitch to be able to go embedded, you need to have a fixed point build option for any of the DSP functions which are frequently used. I think most floating point outside the DSP functions is probably fairly harmless, though undesirable. In most cases it won't be executed often enough to matter. RTCP statistics calculations would be the exception (if you don't consider those signal processing). I wonder how far Digium have got with fixed-pointifying Asterisk for their Blackfin box? Regards, Steve
participants (4)
-
Bill Cox
-
Jeff Knighton
-
Michael Jerris
-
Steve Underwood