Re: Re: Osmocombb on Ubuntu 16.04

2017-09-07 Thread Harald Welte
On Thu, Sep 07, 2017 at 09:27:27PM +0200, Sylvain Munaut wrote:
> >> arm-none-eabi-ld: section .text.exceptions VMA [0080001c,00800037]
> >> overlaps section .compal.reservedram VMA [0080,008000fe]
> 
> Yeah, IIRC the issue is that the newer GCC can't have overlapping
> regions even if they're NOLOAD. Problem is that we use that in the
> builds  so we've just been sticking with older GCC that support
> that.

See also the laforge/lib-update branch where I tried to fix this some
months ago (but never completed related work), specifically

commit 4de980b32c09dc0697f8f84302b646d48cdbef28
Author: Harald Welte 
Date:   Sun Jan 15 16:49:06 2017 +0100

WIP: Attempt to make linker scripts compatible with binutils 2.27

In binutils-2.27, one can no longer have linker sections with
overlapping VMA addresses.  Let's try to work around this.

See https://osmocom.org/issues/1917 for more details.

-- 
- Harald Weltehttp://laforge.gnumonks.org/

"Privacy in residential applications is a desirable marketing option."
  (ETSI EN 300 175-7 Ch. A6)


Re: Re: Osmocombb on Ubuntu 16.04

2017-09-07 Thread Sylvain Munaut
>> arm-none-eabi-ld: section .text.exceptions VMA [0080001c,00800037]
>> overlaps section .compal.reservedram VMA [0080,008000fe]

Yeah, IIRC the issue is that the newer GCC can't have overlapping
regions even if they're NOLOAD. Problem is that we use that in the
builds  so we've just been sticking with older GCC that support
that.


Cheers,

   Sylvain


Re: Re: Osmocombb on Ubuntu 16.04

2017-09-07 Thread Vasil Velichkov

На 31.08.2017 в 20:11, ty написа:
​Hello. Resending after seeing Harald's email about the outage. I 
hadn't received a response so I suspect my mail never got delivered.​



On Fri, Aug 25, 2017 at 5:02 PM, ty > wrote:


Thanks once again Pau.

I managed to fix the above error. It was a symlink issue which
forced the build to use the old libtalloc.

However, the build now fails with this error:

arm-none-eabi-ld: section .text.exceptions VMA [0080001c,00800037]
overlaps section .compal.reservedram VMA [0080,008000fe]
Makefile.inc:135: recipe for target
'board/compal_e88/hello_world.e88flash.elf' failed
make[1]: *** [board/compal_e88/hello_world.e88flash.elf] Error 1
make[1]: Leaving directory
'/home/tyrus/osmocom-bb/src/target/firmware'
Makefile:89: recipe for target 'firmware' failed
make: *** [firmware] Error 2



See https://osmocom.org/issues/1917

On Fedora 26 I was able to build it using gcc-4.9.4, binutils-2.21.1a 
and newlib-1.19.0.
I've build the arm toolchain using the build script and instructions 
from https://osmocom.org/projects/baseband/wiki/GnuArmToolchain


BR
Vasil


Re: SDR_PHY question

2017-09-07 Thread Vadim Yanitskiy
Hi,

> I believe I need to keep focusing on osmo-trx support
> as the gr-gsm app does not seem to support TX (please
> correct me if I'm wrong though).

You are right, currently it doesn't. But we together with
Piotr Krysik are working on TX support for GR-GSM...

> I will keep investigating this and I will provide you
> some patches for osmo-trx which enable power
> measurement and synchronization.

Great! Having both OsmoTRX and GR-GSM TRX support would
be good. I am currently busy with TCH implementation for
trxcon, so as soon as I finish, I'll put my development
power on this too.

With best regards,
Vadim Yanitskiy.