Project

General

Profile

Actions

OpenMoko » History » Revision 3

« Previous | Revision 3/9 (diff) | Next »
Anonymous, 02/19/2016 10:48 PM
minor grammar fixes


Open source phone project: see http://wiki.openmoko.org/wiki/Main_Page for details.

Osmocom can be run directly on the phone. The communication flow is:

Image(osmocon-on-OpenMoko.png)

For details see [wiki:osmocon] and [wiki:CalypsoRomloader]. IP networking between the host and the phone must be set up.

On the phone: * disable ogsmd, ousaged, ophoned via /etc/frameworkd.conf * prevent fsogsmd from accessing modem by commenting following variables in /etc/freesmartphone/conf/GTA02/fsogsmd.conf: * device_port * modem_access * re-check that nothing uses the modem: fuser /dev/ttySAC0 * open three SSH terminals to the phone * transfer layer1.highram.bin and osmocon binary to the phone * in the first terminal, make L2 socket externally available via socat: {{{
socat -v -x tcp-l:16661,reuseaddr,fork unix-connect:/tmp/osmocom_l2
}}} * in the second terminal, run osmocon: {{{
./osmocon -i 13 -m romload -p /dev/ttySAC0 layer1.highram.bin
}}} * in the third terminal, turn power off/on: {{{
echo 0 >/sys/bus/platform/devices/gta02-pm-gsm.0/power_on && echo 1 >/sys/bus/platform/devices/gta02-pm-gsm.0/power_on
}}} on the host machine * Connect the socket: {{{
socat -v -x unix-l:/var/tmp/l2,fork tcp:192.168.0.202:16661,fork
}}}
Note: 192.168.0.202 is default address of the device when you use shr linux distribution.

After this you can run various tools on host machine, for example: {{{
./cell_log -s /var/tmp/l2 -l /var/tmp/osmocom.log
}}}

Files (2)
osmocon-on-OpenMoko.png View osmocon-on-OpenMoko.png 35.8 KB Scheme of osmocom running on OpenMoko phone , 01/26/2012 07:20 AM
osmocon-on-OpenMoko.odp osmocon-on-OpenMoko.odp 14.1 KB Scheme of osmocom running on OpenMoko phone, OpenOffice source , 01/26/2012 07:20 AM

Updated by about 8 years ago · 3 revisions

Add picture from clipboard (Maximum size: 48.8 MB)