Author Topic: YateBTS initial setup with bladeRF x115  (Read 18462 times)

ce-uk

  • Newbie
  • *
  • Posts: 10
    • View Profile
YateBTS initial setup with bladeRF x115
« on: November 27, 2014, 11:27:26 AM »
Hello

I have installed Yate and YateBTS via the SVN installation guide at http://wiki.yatebts.com/index.php/Prerequisites etc.

I have tested the bladeRF-cli which works well and I have loaded the latest img and FPGA onto the x115 (fx3 v1.8.0, x115 FPGA v0.1.2).

Debugging things I've run 'yate -sd -vvvvv -l /usr/src/yate/logfiles/yate.log'

I can telnet in and start/stop ybts. Can't for the life of me work the mbts commands as I just get an IRC chatbot to 'Tell me more..'

The root of the problem seems to be with the transceiver setting in ybts.conf - the error when I set the transceiver to ./transceiver-rad1:

Code: [Select]
2014-11-27_15:47:11.100867 <mbts:NOTE> OpenBTS.cpp:144:startTransceiver: starting transceiver ./transceiver-rad1 w/ 1 ARFCNs and Args:
2014-11-27_15:47:11.121035 <transceiver:MILD> rnrad1Core.cpp:171:openNthCmdInterface: Failed to find rad1 num 0
2014-11-27_15:47:11.121091 <transceiver:MILD> rnrad1Core.cpp:472:load_status_msg: Failed to load firmware ezusb.ihx
2014-11-27_15:47:11.121594 <transceiver:MILD> rnrad1Core.cpp:559:rnrad1Core: File load failed
EMERG 140571653601024 15:47:11.1 OpenBTS.cpp:155:startTransceiver: Transceiver quit with status 256. Exiting.
2014-11-27_15:47:11.122043 <mbts:GOON> OpenBTS.cpp:155:startTransceiver: Transceiver quit with status 256. Exiting.

And when I set the transceiver as ./transceiver-bladerf:
Code: [Select]
2014-11-27_15:44:57.097372 <mbts:NOTE> OpenBTS.cpp:144:startTransceiver: starting transceiver ./transceiver-bladerf w/ 1 ARFCNs and Args:
EMERG 140160281310976 15:44:57.0 OpenBTS.cpp:150:startTransceiver: cannot find ./transceiver-bladerf
2014-11-27_15:44:57.097487 <mbts:GOON> OpenBTS.cpp:150:startTransceiver: cannot find ./transceiver-bladerf
EMERG 140160281310976 15:44:57.0 OpenBTS.cpp:155:startTransceiver: Transceiver quit with status 256. Exiting.
2014-11-27_15:44:57.098019 <mbts:GOON> OpenBTS.cpp:155:startTransceiver: Transceiver quit with status 256. Exiting.

The files in the /usr/src/yatebts/mbts directory are:
Code: [Select]
A53   AUTHORS  CommonLibs  Control  ctags.sh   Globals GSM    Makefile.head.in  Peering  SGSNGGSN  Transceiver52M   TRXManager
apps  CLI      Connection  COPYING  doxconfig  GPRS LEGAL  Makefile.tail.in  README   sqlite3   TransceiverRAD1

Do I need to create symlinks to somewhere for yatebts to get the bladeRF working?

Any advice would be much appreciated!  ;D

Thanks

Chris

Diana Cionoiu

  • Administrator
  • Jr. Member
  • *****
  • Posts: 71
    • View Profile
Re: YateBTS initial setup with bladeRF x115
« Reply #1 on: November 28, 2014, 09:06:49 AM »
Use ps -ef|grep yate
tell us how many yate instances you see. If you see more than one most likely you started twice.

paulc

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: YateBTS initial setup with bladeRF x115
« Reply #2 on: December 01, 2014, 01:01:54 PM »
...
Code: [Select]
2014-11-27_15:44:57.097372 <mbts:NOTE> OpenBTS.cpp:144:startTransceiver: starting transceiver ./transceiver-bladerf w/ 1 ARFCNs and Args:
EMERG 140160281310976 15:44:57.0 OpenBTS.cpp:150:startTransceiver: cannot find ./transceiver-bladerf
2014-11-27_15:44:57.097487 <mbts:GOON> OpenBTS.cpp:150:startTransceiver: cannot find ./transceiver-bladerf
...

Apparently the bladeRF specific transceiver was not installed or built (check existence of TransceiverRAD1/transceiver-bladerf). Perhaps the bladeRF library wasn't properly installed or wasn't detected?

Please check the config.log produced by YateBTS's ./configure to see what happened. Do you see something like the following?
Code: [Select]
configure:5518: checking for bladeRF support using pkg-config
configure:5533: result: no
configure:5551: checking libbladeRF.h usability
configure:5568: gcc -c  -O2 -DLITTLE_ENDIAN  conftest.c >&5
conftest.c:60:24: error: libbladeRF.h: No such file or directory
If so please make sure libbladeRF was properly built and its development files were installed in the proper location. Also make sure you have pkg-config installed.

ce-uk

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: YateBTS initial setup with bladeRF x115
« Reply #3 on: December 04, 2014, 11:10:15 AM »
Hi

Thanks for all the advice  :)

I found that in following the guide, I compiled YateBTS and its dependancies before starting on the bladeRF installation.

Going into the yatebts sourcefile and re-doing ./config and  make && make install after bladeRF was installed built the transceiver for me.

Cheers  ;D

habibur333

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: YateBTS initial setup with bladeRF x115
« Reply #4 on: December 24, 2014, 12:45:03 AM »
ya i faced same problem. and this solution is great.thanks