[PATCH 0/2] Add gta0x board support

Daniel Willmann daniel at totalueberwachung.de
Sun May 16 23:37:01 UTC 2010

these patches enable osmocom to be run on the Openmoko GTA0x devices
(only tested with GTA02). The first patch fixes an issue with baudrate
setting in osmocon.c (termios setting wasn't read prior to writing). The
second patch adds a gta0x board (currently only copied from compal_e88)
and implements the differences in controlling the RF frontend.

Use it as follows (on the device):
kill all processes communicating with the modem (fso, gsm0710muxd)
gta02# echo 1 > /sys/bus/platform/devices/neo1973-pm-gsm.0/download

Then on the PC connect the download cable and start osmocon:
# ./osmocon -m romload -p /dev/ttyUSB0 ../../target/firmware/board/gta0x/l1test.osmoload.bin

To initiate the download toggle baseband power on the phone:
gta02# echo 0 >/sys/bus/platform/devices/neo1973-pm-gsm.0/power_on &&
> echo 1 >/sys/bus/platform/devices/neo1973-pm-gsm.0/power_on

After the firmware is transferred the app should start.

Daniel Willmann

Daniel Willmann (2):
  osmocon.c: Fix serial_set_baudrate function
  Add new board gta0x (for Openmoko Freerunner devices) and build it

 src/host/osmocon/osmocon.c                         |    5 +
 src/target/firmware/Makefile                       |    4 +-
 .../firmware/board/common/rffe_gta0x_triband.c     |   88 +++++++++++++
 src/target/firmware/board/gta0x/init.c             |  131 ++++++++++++++++++++
 4 files changed, 227 insertions(+), 1 deletions(-)
 create mode 100644 src/target/firmware/board/common/rffe_gta0x_triband.c
 create mode 100644 src/target/firmware/board/gta0x/init.c

More information about the baseband-devel mailing list