Hi All
Just wanted to confirm that I got Osmocom-BB up and running on a Raspberry Pi. I did not use the GPIO UART pins but USB <-> serial converters. I tried Motorola C118 and C155 with success.
Everything you need is already described: http://bb.osmocom.org/trac/wiki/GnuArmToolchain http://bb.osmocom.org/trac/wiki/libosmocore http://bb.osmocom.org/trac/wiki/Software/GettingStarted?redirectedfrom=Getti...
My previous problem seems to have been a not fully compatible crosscompiled toolchain. (it worked mostly, but I could not log-in to a cell and the spectrum view crashed on the RSSI Firmware.
Also if you want transmit capability (or flashing) then you need to activate those features in the makefile.
Thanks Sylvain (confirming c118 will work) and all others who are involved!!
PS: Any news on the "emulated BTS" that has been presented at last years chaos communication congress? I have 2 C118s + 1 normal USB serial dongle + 1 capable of burst ind. I hope this will suffice to also run also a possible future 1 trasmit phone + 1 receive phone configuration. I assume that even without the filter change it should be enough to send a few meters of distance.
PS: Any news on the "emulated BTS" that has been presented at last years chaos communication congress?
http://bb.osmocom.org/trac/wiki/Software/Transceiver
Cheers,
Sylvain
Hi nice to hear your success, but I've got stuck with it at making osmocom-bb:
============================================ ..... config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing tests/atconfig commands config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-tests, --disable-tests cd shared/libosmocore/build-target && make make[1]: Entering directory `/home/pi/osmocom-bb/src/shared/libosmocore/build-target' make all-recursive make[2]: Entering directory `/home/pi/osmocom-bb/src/shared/libosmocore/build-target' Making all in include make[3]: Entering directory `/home/pi/osmocom-bb/src/shared/libosmocore/build-target/include' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/pi/osmocom-bb/src/shared/libosmocore/build-target/include' Making all in src make[3]: Entering directory `/home/pi/osmocom-bb/src/shared/libosmocore/build-target/src' make all-am make[4]: Entering directory `/home/pi/osmocom-bb/src/shared/libosmocore/build-target/src' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/pi/osmocom-bb/src/shared/libosmocore/build-target/src' make[3]: Leaving directory `/home/pi/osmocom-bb/src/shared/libosmocore/build-target/src' Making all in src/vty make[3]: Entering directory `/home/pi/osmocom-bb/src/shared/libosmocore/build-target/src/vty' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/pi/osmocom-bb/src/shared/libosmocore/build-target/src/vty' Making all in src/codec make[3]: Entering directory `/home/pi/osmocom-bb/src/shared/libosmocore/build-target/src/codec' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/pi/osmocom-bb/src/shared/libosmocore/build-target/src/codec' Making all in src/gsm make[3]: Entering directory `/home/pi/osmocom-bb/src/shared/libosmocore/build-target/src/gsm' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/pi/osmocom-bb/src/shared/libosmocore/build-target/src/gsm' Making all in src/gb make[3]: Entering directory `/home/pi/osmocom-bb/src/shared/libosmocore/build-target/src/gb' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/pi/osmocom-bb/src/shared/libosmocore/build-target/src/gb' Making all in tests make[3]: Entering directory `/home/pi/osmocom-bb/src/shared/libosmocore/build-target/tests' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/pi/osmocom-bb/src/shared/libosmocore/build-target/tests' Making all in utils make[3]: Entering directory `/home/pi/osmocom-bb/src/shared/libosmocore/build-target/utils' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/pi/osmocom-bb/src/shared/libosmocore/build-target/utils' make[3]: Entering directory `/home/pi/osmocom-bb/src/shared/libosmocore/build-target' make[3]: Leaving directory `/home/pi/osmocom-bb/src/shared/libosmocore/build-target' make[2]: Leaving directory `/home/pi/osmocom-bb/src/shared/libosmocore/build-target' make[1]: Leaving directory `/home/pi/osmocom-bb/src/shared/libosmocore/build-target' make -C host/layer23 make[1]: Entering directory `/home/pi/osmocom-bb/src/host/layer23' Making all in include make[2]: Entering directory `/home/pi/osmocom-bb/src/host/layer23/include' Making all in osmocom make[3]: Entering directory `/home/pi/osmocom-bb/src/host/layer23/include/osmocom' Making all in bb make[4]: Entering directory `/home/pi/osmocom-bb/src/host/layer23/include/osmocom/bb' Making all in common make[5]: Entering directory `/home/pi/osmocom-bb/src/host/layer23/include/osmocom/bb/common' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/pi/osmocom-bb/src/host/layer23/include/osmocom/bb/common' Making all in misc make[5]: Entering directory `/home/pi/osmocom-bb/src/host/layer23/include/osmocom/bb/misc' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/pi/osmocom-bb/src/host/layer23/include/osmocom/bb/misc' Making all in mobile make[5]: Entering directory `/home/pi/osmocom-bb/src/host/layer23/include/osmocom/bb/mobile' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/pi/osmocom-bb/src/host/layer23/include/osmocom/bb/mobile' make[5]: Entering directory `/home/pi/osmocom-bb/src/host/layer23/include/osmocom/bb' make[5]: Nothing to be done for `all-am'. make[5]: Leaving directory `/home/pi/osmocom-bb/src/host/layer23/include/osmocom/bb' make[4]: Leaving directory `/home/pi/osmocom-bb/src/host/layer23/include/osmocom/bb' make[4]: Entering directory `/home/pi/osmocom-bb/src/host/layer23/include/osmocom' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/pi/osmocom-bb/src/host/layer23/include/osmocom' make[3]: Leaving directory `/home/pi/osmocom-bb/src/host/layer23/include/osmocom' make[3]: Entering directory `/home/pi/osmocom-bb/src/host/layer23/include' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/pi/osmocom-bb/src/host/layer23/include' make[2]: Leaving directory `/home/pi/osmocom-bb/src/host/layer23/include' Making all in src make[2]: Entering directory `/home/pi/osmocom-bb/src/host/layer23/src' Making all in common make[3]: Entering directory `/home/pi/osmocom-bb/src/host/layer23/src/common' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/pi/osmocom-bb/src/host/layer23/src/common' Making all in misc make[3]: Entering directory `/home/pi/osmocom-bb/src/host/layer23/src/misc' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/pi/osmocom-bb/src/host/layer23/src/misc' Making all in mobile make[3]: Entering directory `/home/pi/osmocom-bb/src/host/layer23/src/mobile' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/pi/osmocom-bb/src/host/layer23/src/mobile' make[3]: Entering directory `/home/pi/osmocom-bb/src/host/layer23/src' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/pi/osmocom-bb/src/host/layer23/src' make[2]: Leaving directory `/home/pi/osmocom-bb/src/host/layer23/src' make[2]: Entering directory `/home/pi/osmocom-bb/src/host/layer23' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/home/pi/osmocom-bb/src/host/layer23' make[1]: Leaving directory `/home/pi/osmocom-bb/src/host/layer23' make -C target/firmware CROSS_COMPILE=arm-elf- make[1]: Entering directory `/home/pi/osmocom-bb/src/target/firmware' LD board/compal_e88/hello_world.highram.elf arm-elf-ld: error: Source object ../../shared/libosmocore/build-target/src/.libs/libosmocore.a(msgb.o) has EABI version 5, but target board/compal_e88/hello_world.highram.elf has EABI version 0 arm-elf-ld: failed to merge target specific data of file ../../shared/libosmocore/build-target/src/.libs/libosmocore.a(msgb.o) make[1]: *** [board/compal_e88/hello_world.highram.elf] Error 1 make[1]: Leaving directory `/home/pi/osmocom-bb/src/target/firmware' make: *** [firmware] Error 2 pi@raspberrypi ~/osmocom-bb/src $ ==============================================
Does anyone have a clue - and can help me - what I've been doing wrong (again ;-))?
Thanks in advance, regards,
Martin
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/Osmovom-BB-on-Raspberry-Pi-tp4025... Sent from the baseband-devel mailing list archive at Nabble.com.
...Update: It's compiling now, must have been too tired / late for me
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/Osmovom-BB-on-Raspberry-Pi-tp4025... Sent from the baseband-devel mailing list archive at Nabble.com.
hi, everyone i got the exact error Martin has posted in this thread.please help me. I am stuck.i successfully compiled the tool chain
On 3/1/13, Madin martin.zicke@gmx.de wrote:
...Update: It's compiling now, must have been too tired / late for me
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/Osmovom-BB-on-Raspberry-Pi-tp4025... Sent from the baseband-devel mailing list archive at Nabble.com.
i successfully compiled the toolchain
...afterwards compile libosmocore
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/Osmovom-BB-on-Raspberry-Pi-tp4025... Sent from the baseband-devel mailing list archive at Nabble.com.
thanks,solved that error,now i have this error: comments.gmane.org/gmane.comp.mobile.osmocom.baseband.devel/3331 help me once more. Kind Regards
On 3/27/13, Madin martin.zicke@gmx.de wrote:
i successfully compiled the toolchain
...afterwards compile libosmocore
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/Osmovom-BB-on-Raspberry-Pi-tp4025... Sent from the baseband-devel mailing list archive at Nabble.com.
thanks,solved that error,now i have this error: comments.gmane.org/gmane.comp.mobile.osmocom.baseband.devel/3331
You need to compile and install the libosmocore from the libosmocore git and NOT the one that's in shared/... this latter one is used for some internal stuff and shouldn't be use for the host.
Cheers,
Sylvain
thanks Sylvain.it worked. I have a c118 and when i try to run the hello world i only get: got 5 bytes from modem, data looks like: 00 00 d8 00 00 ..... How long should i wait until it loads? Thanks
On 3/27/13, Sylvain Munaut 246tnt@gmail.com wrote:
thanks,solved that error,now i have this error: comments.gmane.org/gmane.comp.mobile.osmocom.baseband.devel/3331
You need to compile and install the libosmocore from the libosmocore git and NOT the one that's in shared/... this latter one is used for some internal stuff and shouldn't be use for the host.
Cheers,
Sylvain
Hi
Can anyone elaborate on the "compatible crosscompiled tool-chain"? I compiled mine (gnu arm toolchain) following these instructions, but it seems that RSSI and other firmwares compiled on raspberry are crashing (-110 dBm on all ARFCNs after certain operations - e.g. spectrum view).
Host tools compiled on raspberry seem to work fine (e.g. osmocon loading firmware compiled on PC). Still they don't quite "talk" with different firmware version (from PC).
Richard Menedetter wrote
I tried Motorola C118 and C155 with success.
Everything you need is already described: http://bb.osmocom.org/trac/wiki/GnuArmToolchain http://bb.osmocom.org/trac/wiki/libosmocore http://bb.osmocom.org/trac/wiki/Software/GettingStarted?redirectedfrom=Getti...
My previous problem seems to have been a not fully compatible crosscompiled toolchain. (it worked mostly, but I could not log-in to a cell and the spectrum view crashed on the RSSI Firmware.
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/Osmovom-BB-on-Raspberry-Pi-tp4025... Sent from the baseband-devel mailing list archive at Nabble.com.
It seems that the -110 / -138 dBm level happens when using Sylvain testing branch of osmocom-bb. AFAIK it's not related to raspberry-pi (Testing branch produces this glitch on PC, Main branch runs fine on RPi).
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/Osmovom-BB-on-Raspberry-Pi-tp4025... Sent from the baseband-devel mailing list archive at Nabble.com.
baseband-devel@lists.osmocom.org