Regarding integration of NURAN L1 1.0

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/osmocom-net-gprs@lists.osmocom.org/.

Minh-Quang Nguyen minh-quang.nguyen at nutaq.com
Tue Mar 29 20:39:00 UTC 2016


Hi Prasad,


>Regarding cross compilation we have some queries 1.  We are able to cross compile  libosmocore commit  8649d57f507d359c99a89654aac7e19ce22db282 and some of later versions using local >talloc files,  but there is a dependency of talloc  library in latest version.
>Let us know which talloc version to pick and any specific procedure to cross compile talloc source.

New libosmocore requires talloc version > 2.0.1. I followed instruction here https://wiki.samba.org/index.php/Waf#cross-compiling to cross-compile talloc 2.0.8

export CC=~/MentorGraphics/Sourcery_CodeBench_Lite_for_ARM_GNU_Linux/bin/arm-none-linux-gnueabi-gcc
./configure --cross-compile --cross-answers=arm.txt --hostcc=arm-none-linux-gnueabi-gcc --disable-python --prefix=$SYSROOT/usr
make
make install

NOTE: Replace UNKNOWN to OK in arm.txt until the configuration has no error

>2.  We see that there is ARM cross compiler described at  http://bb.osmocom.org/trac/wiki/GnuArmToolchain.  Let us know if this is usable with NURAN boards.

I have never tried this compiler yet.

>3.  There is an  error while linking  osmo-pcu 
>	arm-none-linux-gnueabi/bin/ld: ./.libs/libgprs.a(gprs_bssgp_pcu.o): undefined reference to symbol 'tlv_parse@@LIBOSMOGSM_1.0'
>	/home/pkaup/osmo/latest/libosmocore/src/gsm/.libs/libosmogsm.so: error adding symbols: DSO missing from command line
>And the final linking command for osmo-pcu  is 
>	echo "  CXXLD   " osmo-pcu;/bin/bash ../libtool --silent --tag=CXX   --mode=link arm-none-linux-gnueabi-g++  -march=armv5te -marm -mthumb-interwork -Wall -ldl -pthread -O2 -pipe -g >-feliminate-unused-debug-types -fpermissive -lrt -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o osmo-pcu pcu_main.o  libgprs.la >/home/pkaup/osmo/latest/libosmocore/src/gb/.libs/libosmogb.so /home/pkaup/osmo/latest/libosmocore/src/.libs/libosmocore.so >/home/pkaup/osmo/latest/libosmocore/src/gsm/.libs/libosmogsm.so 
>As I see, tlv_parse   is part of libosmogsm which is getting linked.  
>Can you let me know the final linking command (corresponding output as above of  "make -n"  in your setup ) so that I can cross-verify ?

Please see attachment.


Minh-Quang Nguyen

Concepteur logiciel  |  Software designer GSM/Network


T. 418 914-7484 x2296  |  1 855 914-7484  |  F. 418 914-9477
2150, Cyrille-Duquet, Québec (Québec)  G1N 2G3 CANADA


minh-quang.nguyen at nutaq.com
www.nutaq.com 

 QUEBEC MONTREAL NEW YORK

Facebook Twitter LinkedIn YouTube


-----Original Message-----
From: Prasad Kaup [mailto:Prasad.Kaup at radisys.com] 
Sent: Tuesday, March 29, 2016 11:48 AM
To: Minh-Quang Nguyen; Neels Hofmeyr; osmocom-net-gprs at lists.osmocom.org
Cc: Saurabh Sharan; Yves Godin; Abhinav Pragya Rishi
Subject: RE: Regarding integration of NURAN L1 1.0

Hi Minh-Quang Nguyen,
		Thanks for the information. We are able to connect to the board and execute the commands.

Regarding cross compilation we have some queries 1.  We are able to cross compile  libosmocore commit  8649d57f507d359c99a89654aac7e19ce22db282 and some of later versions using local talloc files,  but there is a dependency of talloc  library in latest version.
Let us know which talloc version to pick and any specific procedure to cross compile talloc source.

2.  We see that there is ARM cross compiler described at  http://bb.osmocom.org/trac/wiki/GnuArmToolchain.  Let us know if this is usable with NURAN boards.

3.  There is an  error while linking  osmo-pcu 
	arm-none-linux-gnueabi/bin/ld: ./.libs/libgprs.a(gprs_bssgp_pcu.o): undefined reference to symbol 'tlv_parse@@LIBOSMOGSM_1.0'
	/home/pkaup/osmo/latest/libosmocore/src/gsm/.libs/libosmogsm.so: error adding symbols: DSO missing from command line

And the final linking command for osmo-pcu  is 
	echo "  CXXLD   " osmo-pcu;/bin/bash ../libtool --silent --tag=CXX   --mode=link arm-none-linux-gnueabi-g++  -march=armv5te -marm -mthumb-interwork -Wall -ldl -pthread -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -lrt -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o osmo-pcu pcu_main.o  libgprs.la /home/pkaup/osmo/latest/libosmocore/src/gb/.libs/libosmogb.so /home/pkaup/osmo/latest/libosmocore/src/.libs/libosmocore.so /home/pkaup/osmo/latest/libosmocore/src/gsm/.libs/libosmogsm.so 

As I see, tlv_parse   is part of libosmogsm which is getting linked.  
Can you let me know the final linking command (corresponding output as above of  "make -n"  in your setup ) so that I can cross-verify ?

Regards
Prasad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osmo-pcu-linking.png
Type: image/png
Size: 220691 bytes
Desc: osmo-pcu-linking.png
URL: <http://lists.osmocom.org/pipermail/osmocom-net-gprs/attachments/20160329/30e83b14/attachment.png>


More information about the osmocom-net-gprs mailing list