From: DJDAS <djdas@djdas.net>
To: ofono@ofono.org
Subject: Re: How to talk with FreeRunner?
Date: Tue, 20 Oct 2009 10:09:06 +0200 [thread overview]
Message-ID: <4ADD7022.9040905@djdas.net> (raw)
In-Reply-To: <fb249edb0910191122sbcf5747i4f937f711dfb5520@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2553 bytes --]
Andrzej Zaborowski ha scritto:
> Hi,
>
> 2009/10/19 Denis Kenzior <denkenz@gmail.com>:
>
>>> I just got a Openmoko FreeRunner and I wonder how oFono can talk with it.
>>> Use ser2net, but how? Can someone help on some simple steps or
>>> instructions? Thanks a lot! By the way, the OS installed in it is Android
>>> Cupcake. Need I change to other OS?
>>>
>> There are a couple of ways:
>> - Cross compile oFono itself to run directly on the device using the calypso
>> driver.
>> - Cross compile ser2net, but run oFono on the desktop using the phonesim
>> driver.
>>
>> Either way you will need the cross compiler and toolchain here:
>> http://wiki.openmoko.org/wiki/Toolchain
>>
>> Note that my device came stock with the OpenMoko rootfs, so I have no
>> experience with Android.
>>
>> For ser2net:
>> - Cross compile ser2net using the supplied toolchain, I don't remember
>> exactly, but I think this will get you there: ./configure --prefix=/usr --
>> sysconfdir=/etc --host=arm-angstrom-linux-gnueabi
>>
>
> You can possibly avoid the cross compiling if you're going to run
> oFono on PC anyway, by using netcat instead of ser2net. Either
> "netcat" or "nc" is usually in the packages repo of any distribution.
> The command would be
> # nc -l -p 2000 < /dev/ttySAC0 > /dev/ttySAC0
>
> All other steps would be same as Denis outlined.
>
> If you find that the port is spitting corrupt data, it's probably not
> initialised. I use picocom to initialise ttys, it's:
> # picocom /dev/ttySAC0
> then ^a^q to quit picocom without resetting the port and then re-run nc.
>
> Regards
> _______________________________________________
> ofono mailing list
> ofono(a)ofono.org
> http://lists.ofono.org/listinfo/ofono
>
Hi all,
I'm the project leader of a new Freerunner distribution which claims to
be AT MOST a stable telephone instead of replicate all the other
distributions who claim to port the desktop-style distribution paradigm
to the Freerunner. In this way of think we planned to use oFono as the
main telephone stack because, following the mailing list since the
starting of the project, I believe oFono is a very well planned and
developed platform.
At the moment I am able to cross compile oFono with my toolchain and it
works quite well on my Freerunner so if someone needs a tarball with
ofonod and everything "make install" produces I can provide them without
problems :)
Thank you very much for your great work good bye.
Dario.
next prev parent reply other threads:[~2009-10-20 8:09 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-18 6:04 How to talk with FreeRunner? Gu, Yang
2009-10-19 17:13 ` Denis Kenzior
2009-10-19 18:22 ` Andrzej Zaborowski
2009-10-20 8:09 ` DJDAS [this message]
2009-10-20 8:32 ` Gu, Yang
2009-10-20 9:05 ` DJDAS
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4ADD7022.9040905@djdas.net \
--to=djdas@djdas.net \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.