Re: Osmocon

2018-05-15 Thread Nikos Balkanas
Hi Domi,

You don't understand. I'm neither afraid or enthusiastic about it.
I cannot test yet. Still waiting on my phone:(

Nikos

On Tue, May 15, 2018 at 11:26 AM, Tomcsányi, Domonkos 
wrote:

> Hi Nikos,
>
> I’m really happy to see someone being so enthusiastic about testing out
> OsmocomBB. It is definitely one of the most intereting open-source projects
> out there.
>
> However I feel like there is an imbalance between the amount of mails
> being sent and the amount of fiddling done. Don’t take this the wrong way,
> but if you attempted to compile the code and test it out, or watch some
> talks/videos you would not need to search for osmocon or try to extend it
> with USB support. I am only saying this because the amount of time spent on
> writing the mails in question would have been enough, in my opinion, to
> actually do the task in question. Therefore it does not always make sense
> to write an email before just trying it out. Don’t worry about trying out
> things, there is not much chance of you breaking anything :).
> All in all this software was created, as far as I know by people testing
> and trying tirelessly and eventually succeeding in achieving their goals.
> This is the spirit of hacking and open-source.
>
> Happy hacking, get your fingers dirty :)!
>
> Domi
>
>
> 2018. máj. 15. dátummal, 6:22 időpontban Nikos Balkanas <
> nbalka...@gmail.com> írta:
>
>
> I guess, both are serial protocols and the hardware adaptor takes care of
> legit default serial values.
> Still the problem is to find a free available usb port for communication:(
> Will have to test and see:)
>
>
> Nikos
>
> On Tue, May 15, 2018 at 7:02 AM, Nikos Balkanas 
> wrote:
>
>> Ty Craig,
>>
>> I'll try it for myself before changing anything:)
>>
>> I'm surprised, however, that osmocon can work like that. RS232 interfaces
>> need different initialization (baud rate, stop bits, parity, etc) that usb
>> doesn't understant!
>>
>> Nikos
>>
>> On Tue, May 15, 2018 at 5:24 AM, Craig Comstock <
>> cr...@unreasonablefarm.org> wrote:
>>
>>> Hi Nikos,
>>>
>>> > Planning to add usb support to osmocon.
>>> > Is there any interest for a patch, or should I do it just for myself?
>>> >
>>> > PS: You can convert a USB port to serial with a USB2serial converter:)
>>>
>>> Exactly. I have mostly used a USB to serial adapter without modifying
>>> osmocom-bb code at all. At one point I also built osmocom-bb natively on a
>>> raspberry-pi and was able to operate that way to some extent.
>>>
>>> -Craig
>>>
>>
>>
>


Re: Osmocon

2018-05-15 Thread Tomcsányi , Domonkos
Hi Nikos,

I’m really happy to see someone being so enthusiastic about testing out 
OsmocomBB. It is definitely one of the most intereting open-source projects out 
there.

However I feel like there is an imbalance between the amount of mails being 
sent and the amount of fiddling done. Don’t take this the wrong way, but if you 
attempted to compile the code and test it out, or watch some talks/videos you 
would not need to search for osmocon or try to extend it with USB support. I am 
only saying this because the amount of time spent on writing the mails in 
question would have been enough, in my opinion, to actually do the task in 
question. Therefore it does not always make sense to write an email before just 
trying it out. Don’t worry about trying out things, there is not much chance of 
you breaking anything :).
All in all this software was created, as far as I know by people testing and 
trying tirelessly and eventually succeeding in achieving their goals. This is 
the spirit of hacking and open-source.

Happy hacking, get your fingers dirty :)!

Domi


2018. máj. 15. dátummal, 6:22 időpontban Nikos Balkanas  
írta:

> 
> I guess, both are serial protocols and the hardware adaptor takes care of 
> legit default serial values.
> Still the problem is to find a free available usb port for communication:(
> Will have to test and see:)
> 
> 
> Nikos
> 
>> On Tue, May 15, 2018 at 7:02 AM, Nikos Balkanas  wrote:
>> Ty Craig,
>> 
>> I'll try it for myself before changing anything:)
>> 
>> I'm surprised, however, that osmocon can work like that. RS232 interfaces 
>> need different initialization (baud rate, stop bits, parity, etc) that usb 
>> doesn't understant!
>> 
>> Nikos
>> 
>>> On Tue, May 15, 2018 at 5:24 AM, Craig Comstock 
>>>  wrote:
>>> Hi Nikos,
>>> 
>>> > Planning to add usb support to osmocon.
>>> > Is there any interest for a patch, or should I do it just for myself?
>>> > 
>>> > PS: You can convert a USB port to serial with a USB2serial converter:)
>>> 
>>> Exactly. I have mostly used a USB to serial adapter without modifying 
>>> osmocom-bb code at all. At one point I also built osmocom-bb natively on a 
>>> raspberry-pi and was able to operate that way to some extent.
>>> 
>>> -Craig
>> 
> 


Re: Osmocon

2018-05-14 Thread Nikos Balkanas
Ty Craig,

I'll try it for myself before changing anything:)

I'm surprised, however, that osmocon can work like that. RS232 interfaces
need different initialization (baud rate, stop bits, parity, etc) that usb
doesn't understant!

Nikos

On Tue, May 15, 2018 at 5:24 AM, Craig Comstock 
wrote:

> Hi Nikos,
>
> > Planning to add usb support to osmocon.
> > Is there any interest for a patch, or should I do it just for myself?
> >
> > PS: You can convert a USB port to serial with a USB2serial converter:)
>
> Exactly. I have mostly used a USB to serial adapter without modifying
> osmocom-bb code at all. At one point I also built osmocom-bb natively on a
> raspberry-pi and was able to operate that way to some extent.
>
> -Craig
>


Re: Osmocon

2018-05-14 Thread Craig Comstock
Hi Nikos,

> Planning to add usb support to osmocon.
> Is there any interest for a patch, or should I do it just for myself?
> 
> PS: You can convert a USB port to serial with a USB2serial converter:)

Exactly. I have mostly used a USB to serial adapter without modifying 
osmocom-bb code at all. At one point I also built osmocom-bb natively on a 
raspberry-pi and was able to operate that way to some extent.

-Craig


Re: Osmocon

2018-05-14 Thread Nikos Balkanas
Ty Vasil,

Found it:)

Seems it supports only serial interfaces:(
PCs since 5 years back don't have any more serial interfaces. Only usb:(
Planning to add usb support to osmocon.
Is there any interest for a patch, or should I do it just for myself?

PS: You can convert a USB port to serial with a USB2serial converter:)

BR
Nikos



On Tue, May 15, 2018 at 3:46 AM, Vasil Velichkov 
wrote:

> Hi Nikos,
> На 15.05.2018 в 03:31, Nikos Balkanas написа:
>
> To run osmocom-bb I need to install and use osmocon.
> Can't find it in git repos. Where is it hiding?
>
>
> It's part of osmocom-bb. http://git.osmocom.org/osmocom-bb/tree/src/host/
> osmocon
>
> Vasil
>


Re: Osmocon

2018-05-14 Thread Vasil Velichkov

Hi Nikos,

На 15.05.2018 в 03:31, Nikos Balkanas написа:

To run osmocom-bb I need to install and use osmocon.
Can't find it in git repos. Where is it hiding?


It's part of osmocom-bb. 
http://git.osmocom.org/osmocom-bb/tree/src/host/osmocon


Vasil


Re: Osmocon failed to flash

2017-12-03 Thread Felix Angga
I'm using CP2102 with apprx 1 m stereo cable.
I create another jack with shorter cable and still the same error.
I have cp2102 and Pl 2303 and has the same resut.
My last suspect is the phone. My phone is C118 made in china. Is that any
limitations on specified region that support osmocom ?


On Dec 3, 2017 6:35 PM, "Tomcsányi, Domonkos"  wrote:

> Hi,
>
> Length of the cable and the type of serial adapter can also cause some
> issues.
>
> What adapter are you using?
>
> Cheers,
> Domi
>
>
> 2017. dec. 3. dátummal, 12:09 időpontban Felix Angga 
> írta:
>
> Yes I've tried using xor and without xor.
> I'm running on bare hardware. Linux mint 18.
> Do I need to configure baud rate? Or the default 115200 should be OK?
> Hmm okay, i'll try on other computer.
>
> Btw, will it be affected with the length of the cable?
>
>
> On Dec 3, 2017 6:00 PM, "Harald Welte"  wrote:
>
> On Sat, Dec 02, 2017 at 10:43:40PM +0700, felan...@gmail.com wrote:
> > $ host/osmocon/osmocon -p /dev/ttyUSB0 -m c123xor target/firmware/board/
> > compal_e88/hello_world.compalram.bin -c
>
> have you tried 'c123' without XOR?  Are you running in some kind of VM
> or on bare hardware?  The timing is very critical, and some combinations
> of hardware + drivers + software are not able to fulfill the strict
> timing requirements.
>
> In case of doubt, try using a different computer.
>
> --
> - Harald Welte 
> http://laforge.gnumonks.org/
> 
> 
> "Privacy in residential applications is a desirable marketing option."
>   (ETSI EN 300 175-7 Ch.
> A6)
>
>
>