How to build osmocon for the target?

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/.

Pierre Pronchery khorben at defora.org
Tue Mar 29 14:05:05 UTC 2011


			Hi Dave, list,

On 29/03/2011 13:51, Dave Schmidt wrote:
> 
> I'm trying to run osmocombb on Neo Freerunner. Read and hopefully understood
> http://bb.osmocom.org/trac/wiki/{CalypsoRomloader,osmocon,OpenMoko}.
> 
> One thing I completely miss is how to build osmocon for the target phone to be able to run
> ./osmocon -i 13 -m romload -p /dev/ttySAC0 layer1.highram.bin
> In the source tree, osmocon is built only for the host, and I do not see any configuration options to enable it also for the phone...

The Openmoko Freerunner has two CPUs: one for the main operating system
(the host), and one for the baseband (the target). Here osmocon is
running on the host as usual.

So technically, you either need to:
- compile osmocombb with a native ARM compiler, possibly on the
  Openmoko (can be slow though)
- cross-compile osmocombb for Openmoko, which may require a different
  compiler than the one recommended for the target.

Alternatively, you can use the Debian packages from the hackable:1 project:
http://trac.hackable1.org/
http://build.hackable1.org/debian/dists/wip-squeeze/main/binary-armel/

HTH,
-- 
khorben




More information about the baseband-devel mailing list