Re: sciphone dream g2 mtk 6235 status? ;)

2018-02-16 Thread craig
> well, I think the really interesting part of those devices is their
> cellular/RF side, not the LEDs :P  But well it's of course your time and
> your decision how to spend it :)

Yes. Was just trying to get a simple/quick "it works" firmware to confirm 
loading. Next step is probably porting serial comm from fernly into a layer1 
start.

Craig


Re: sciphone dream g2 mtk 6235 status? ;)

2018-02-16 Thread Harald Welte
Hi Craig,

On Thu, Feb 15, 2018 at 10:48:50PM -0600, Craig Comstock wrote:
> The craig_comstock account works fine. I added a bunch of MTK related
> bits to the wiki. Hopefully it's not too much or "out of style" or
> "vaporware". I tried to limit myself to stating facts that I am
> confident about.

I did a quick review and think everything is fine with the way you added
information.

> I should probably try and fiddle some more with my simple-serial.py
> script to provide basic chip-id POC for various devices. I can use the
> osmocom-bb wiki as a place to share notes on addresses I find and
> such.

great.

> I ran into a snag trying to support a blink firmware on both sciphone
> dream g2 and fernvale 

well, I think the really interesting part of those devices is their
cellular/RF side, not the LEDs :P  But well it's of course your time and
your decision how to spend it :)

> Thanks and let me know where to RTFM about adding things to the wiki
> properly if there is a doc/page about that.

I don't think there are any manuals about this, aside from the redmine
wiki syntax reference.

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

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


Re: sciphone dream g2 mtk 6235 status? ;)

2018-02-15 Thread Craig Comstock
> you already had wiki editing rights for your user 'escogido'.  However, your 
> other 
> account 'craig_comstock' didn't have them.  Now you should have both.
> 
> Please let me know if it doesn't work for some reason. Thanks!

The craig_comstock account works fine. I added a bunch of MTK related bits to 
the wiki. Hopefully it's not too much or "out of style" or "vaporware". I tried 
to limit myself to stating facts that I am confident about.

I should probably try and fiddle some more with my simple-serial.py script to 
provide basic chip-id POC for various devices. I can use the osmocom-bb wiki as 
a place to share notes on addresses I find and such.

I ran into a snag trying to support a blink firmware on both sciphone dream g2 
and fernvale since sciphone doesn't have an LED that I can find and the LCD 
Backlight is more complicated than the simple fernvale poke a value into an 
address. :( I also tried to figure out an LED blink firmware for ZTE 
Obsidian/MT6735 but again it looks more complicated according to linux kernael 
sources I found... a bunch of PWM stuff to fiddle with there.

Thanks and let me know where to RTFM about adding things to the wiki properly 
if there is a doc/page about that.

Craig


Re: sciphone dream g2 mtk 6235 status? ;)

2018-02-14 Thread Harald Welte
hi Craig,

On Tue, Feb 13, 2018 at 08:52:42PM -0600, Craig Comstock wrote:
> A few comments:
> - Can I get edit rights to some mediatek related pages, there are some things 
> I might clear up/freshen up: 

you already had wiki editing rights for your user 'escogido'.  However, your 
other 
account 'craig_comstock' didn't have them.  Now you should have both.

Please let me know if it doesn't work for some reason. Thanks!

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

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


Re: sciphone dream g2 mtk 6235 status? ;)

2018-02-13 Thread Craig Comstock
Hi All,

A few comments:
- Can I get edit rights to some mediatek related pages, there are some things I 
might clear up/freshen up: 
https://osmocom.org/projects/baseband/wiki/SciphoneDreamG2
https://osmocom.org/projects/baseband/wiki/MTKRomloader
https://osmocom.org/projects/baseband/wiki/MediaTek?parent=MTKRomloader
https://osmocom.org/projects/baseband/wiki/Mediatek_Chipset
https://osmocom.org/projects/baseband/wiki/Hardware (to add new pages for the 
newer mediatek chipsets)
Or maybe just add pages and give me edit rights so I can add findings as I make 
them.

- the loader_mtk doesn't work in master and I can't find the 
steve-m/loader_sciphone branch in git, so either someone might find that branch 
or I'll need to fix things up.
- I have a start at supporting both mt6260 (fernvale) and mt6235 (sciphone 
dream g2) but the sciphone's lack of something easy to "blink" slowed me down a 
little ;) I tried the lcd backlight and the vibrate function but neither proved 
easy-fixes with the existing uboot code.
- I could add more info about various mediatek devices on more pages on the 
wiki. Maybe I could get access or we could create some pages for... fernvale, 
sim800, zte-obsidian/mt6735, rephone (ACSip mt2502) and adjust some more 
general info about romloader.
- I might take a crack at modifying the osmocon mtk loader bits to support 
different systems like -m mt6260 -m mt6261 -m mt6235 -m mt6735. Though much is 
the same the main differences seem to be startup behavior, baud rate and SRAM 
address.

Thanks,
Craig


Re: sciphone dream g2 mtk 6235 status? ;)

2018-02-13 Thread craig
Apologies, after a very small amount of RTFM'ing I think I understand that 
WCDMA supports UMTS aka 3/3.5G. HSUPA and HSDPA are uplink/downlink and that I 
can likely focus on hardware options on the CMU200 and work on upgrading the 
software as I proceed up the chain of 2G and on.

Thanks y'all,
Craig


Re: sciphone dream g2 mtk 6235 status? ;)

2018-02-13 Thread Craig Comstock
Thanks Mychaela,

I have opted to wait and purchase a CMU200 as you suggested. Can you suggest 
which features I should look for? I'm more of a hands on learner.

https://www.ebay.com/sch/m.html?_odkw=&_ssn=asset-resellers&item=292339250305&_osacat=0&ssPageName=STRK%3AMEBIDX%3AIT&_from=R40&_trksid=p2046732.m570.l1313.TR11.TRC2.A0.H0.Xcmu200.TRS1&_nkw=cmu200&_sacat=0

I figure GSM (all four bands), EGPRS, and HSDPA (HSPA/HSPA+? not sure how these 
three differ yet).

Thanks for any advice you can give.

Cheers,
Craig


Re: sciphone dream g2 mtk 6235 status? ;)

2018-02-05 Thread Mychaela Falconia
On the subject of RF test equipment for the testing and development of
GSM MS devices, chiming in here as a "professional hobbyist" active
manufacturer of such devices, my choice of equipment is Rohde&Schwarz
CMU200.  This model has been the "gold standard" in the world of GSM
chipset vendors and mainstream phone/modem manufacturers: TI used the
CMU200 as their primary choice of instrument when validating their RF
chips (Clara, Rita, LoCosto and so forth) and their complete GSM MS
development boards with those chips, and they provided turnkey
software to their downstream customers (phone/modem manufs) so the
latter could do production line testing and RF calibration of their
end product devices using the very same R&S CMU200.

CMU200 units are readily available on ebay at very reasonable prices -
that's where I got mine.  Most of them (including the one I got) are
equipped with hardware options not only for GSM, but also for WCDMA
(UMTS/3G) - as I see it, the _*only*_ sensible reason to invest the
absolutely enormous amount of effort to run libre MS firmware on some
newer-than-Calypso chipset would be to get UMTS/3G support (expending
such Herculean effort to move from the Calypso to some newer chipset
that is still 2G-only just to please some gerontophones is not
justifiable in my book), hence I similarly see little point in
investing in RF test equipment that is not 3G-capable.

The CMU200 can be operated both standalone (using the front panel
display and controls) and under external host control, and for the
latter mode it supports both GPIB and RS-232.  I use the RS-232 option
for my automated RF test and calibration processes, as it conveniently
avoids the need for exotic interface adapter hardware and equally
exotic drivers and libraries.  The documentation is very good; I got
it in the form of an original R&S documentation CD, but if someone
else needs it, I can upload it to my FTP site.

If you go the ebay-sourced CMU200 route, one issue to watch out for is
units with subtle defects which are not immediately obvious.  My unit
came with a defective main RF generator: the RF analyzer functions
worked fine (analyzing the signal put out by the DUT), but when I
tried to make the CMU200 generate its own signal, the output was so
severely attenuated that it was almost undetectable.  The Aux Tx
generator worked, and I used it as a hacky workaround before I fixed
the main one.  To fix the main signal generator, I first isolated the
fault to the Rx/Tx board inside: I checked the signal at the internal
interface from the Rx/Tx board to the front end module, and found it
to be just as badly attenuated as the external output, pointing the
blame to the Tx half of the Rx/Tx board.  Then I found a replacement
Rx/Tx board on ebay, bought it, swapped it in, and the main signal
generator started working.

Right now my CMU200 is at R&S's service center in Maryland where I
sent it for recalibration - one of my requirements is to measure the
Tx power levels put out by my FreeCalypso GSM MS devices as precisely
as possible (for production calibration), and to feed signals of a
precisely known power level to these devices for Calypso Rx path
calibration.  Given that I have swapped an internal module in the RF
path of my CMU200 in the process of repairing it, I now need to have
the instrument recalibrated in order to get that absolute highest
power level accuracy I desire, which is why I sent it to R&S.  The
cost of this calibration service is more than the cost of the used
unit itself, but that's life.

Professional hobbyist regards,
Mychaela


Re: sciphone dream g2 mtk 6235 status? ;)

2018-02-05 Thread Harald Welte
On Mon, Feb 05, 2018 at 03:50:38PM -0600, Craig Comstock wrote:
> Hi all,
> 
> I have found a Racal 6103g with many options enabled and seemingly in good 
> condition. I don't expect to have a manual so wonder if anyone here could 
> help me get started with this device?

There are PDF manuals floating around, and many people in the Osmocom project 
have used a 6103 before.

> I would imagine I might need some cabling of some sort and ideally an RF 
> isolation cage of some sort?

Just whatever RF cabling / adapters required to connect to the coaxial port of 
your phone / modem.  an RF
shield box is an option, but wired connection is much easier and less expensive.

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

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


Re: sciphone dream g2 mtk 6235 status? ;)

2018-02-05 Thread Craig Comstock
Hi all,

I have found a Racal 6103g with many options enabled and seemingly in good 
condition. I don't expect to have a manual so wonder if anyone here could help 
me get started with this device?

I would imagine I might need some cabling of some sort and ideally an RF 
isolation cage of some sort?

Thanks for any help you can give. My primary purpose is getting osmocom-bb 
layer1 ported for fernvale/sim800 modules (mtk 6260/6261).

Craig


re: sciphone dream g2 mtk 6235 status? ;)

2018-02-03 Thread Harald Welte
Racal 6103 is still a good choice for gsm/gprs, particularly at those low 
prices. Do not buy any ANITE devixes, as those don't have the normal software 
with the built in user interface, but rather need some conformance testing 
software suite on a PC, which nobody  seems to provide along with the devices.
-- 
Sent from a mobile device. Please excuse my brevity.


sciphone dream g2 mtk 6235 status? ;)

2018-02-03 Thread Craig Comstock
Hello,

I have several of these devices now and am working on porting fernly code for 
the fernvale board (and other mtk626x devices) to osmocom-bb.

I found this document: 
https://elinux.org/images/9/9a/Getting_the_First_Open_Source_GSM_Stack_in_Linux.pdf

and was wondering about the "GSM RF chips slide" which seems to indicate that 
you may have written RF HW drivers enough to transmit?

I don't see the u-boot sources from the links at 
https://osmocom.org/projects/baseband/wiki/SciphoneDreamG2 but interestingly I 
can get to them directly with git. :)

git clone git://git.osmocom.org/uboot-mt623x.git

So I will take a look at what you have and see if I can get somewhere with 
these devices.

If you have any suggestions please let me know.

Cheers,
Craig


re: sciphone dream g2 mtk 6235 status? ;)

2018-02-03 Thread Craig Comstock
Sorry for the premature mail posting. I did some more digging and found a quite 
good thread of information from around 2011 or so.

http://baseband-devel.722152.n3.nabble.com/Mediatek-MT6235-status-Sciphone-G2-td2519606.html

I note that Harald mentioned whether Marcin had suitable lab equipment and I 
was starting to wonder this as well. Harald, you suggested Racal 6103 or 
similar, spectrum analyzer/scope up to 900/1800/1900 MHz. I'm wondering if you 
have any more current recommendations for equipment. I would imagine I might 
use an RTL-SDR possibly to receive/monitor TX. I see Racal 6103 devices for 
around $100 on ebay so I could get one of those if need be.

So I found the uboot sources and looked through and see 
board/mtk/sciphone_g2/mt6140.c which has the rf_tx  uboot command. So 
I'll check fernvale/mtk6260 and see if similar code could be made for fernvale.

-Craig