[PATCH 0/4] Fixes for gta0x targets

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.

Alex Badea vamposdecampos at gmail.com
Wed Nov 17 21:35:14 UTC 2010

Hi all,

I've been trying to join the party with my OpenMoko GTA02,
and I found that a few tweaks were required.

Patch 1/4 was required to get the romloader to start, otherwise
osmocon would only receive an occasional '\x00' character instead
of the ident_cmd.  It works perfectly with the beacon interval
reduced to 13 mS, but I've made it configurable just in case other
targets don't like it.

Patches 2/4 and 3/4 are bugfixes for the calypso uart code. The LCR
register ended up being clobbered, and this rendered the uart on my
board silent.

Finally, I'm using the GTA02 AP as the "host", communicating via
the internal ttySAC0 UART.  Patch 4/4 allowed me to cross-compile
osmocon & friends on my x86 box with the AP ARM as the target.

Now I can run,

./osmocon -m romload -p /dev/ttySAC0 -i 13 -d tr firmware/layer1.highram.bin

while toggling power via,

echo 0 >/sys/bus/platform/devices/neo1973-pm-gsm.0/power_on
echo 1 >/sys/bus/platform/devices/neo1973-pm-gsm.0/power_on

and get:

OSMOCOM Layer 1 (revision osmocon_v0.0.0-696-ge801cee-modified)
Device ID code: 0xb496
Device Version code: 0x0000
ARM ID code: 0xfff3
cDSP ID code: 0x0128
Die ID code: e4942219e4949b52


Alex Badea (4):
  osmocon: make beacon interval configurable via cmdline
  target uart: fix preservation of LCR
  target uart: remove REG_OFFS() macro side-effect
  toplevel Makefile: accept arguments for host ./configure calls

 src/Makefile                       |    8 ++++----
 src/host/osmocon/osmocon.c         |   26 ++++++++++++++++----------
 src/target/firmware/calypso/uart.c |   10 +++++-----
 3 files changed, 25 insertions(+), 19 deletions(-)

More information about the baseband-devel mailing list