Project

General

Profile

SciphoneDreamG2 » History » Version 6

marcin, 02/19/2016 10:49 PM

1 1 laforge
= Sciphone Dream G2 =
2 1 laforge
3 1 laforge
The Sciphone Dream G2 is a [wiki:MT6235] based phone running UI software to mimic the look+feel of Android.
4 1 laforge
5 1 laforge
There is currently an u-boot and Linux port for the MT6235 underway, the primary development platform is the Sciphone G2.
6 1 laforge
7 1 laforge
OsmocomBB does not yet support any Mediatek chipsets, so this phone is not supported by OsmocomBB.  Nonetheless, we
8 1 laforge
expect to have support for it at some point in the future.
9 1 laforge
10 3 laforge
More information on the hardware of the device can be found at [http://en.qi-hardware.com/wiki/Sciphone_Dream_G2]
11 2 steve-m
== Serial Cable ==
12 2 steve-m
13 2 steve-m
You can make a serial cable by sacrificing the headset that comes with the phone, by swapping the pins inside the connector.
14 2 steve-m
15 2 steve-m
Serial pinout:
16 2 steve-m
17 2 steve-m
||Pin||signal||
18 2 steve-m
||1||GND||
19 2 steve-m
||2||GND||
20 2 steve-m
||5||Rx||
21 2 steve-m
||7||Tx||
22 2 steve-m
23 2 steve-m
[[Image(sciphone_serial.jpg,20%)]]
24 2 steve-m
25 1 laforge
== JTAG ==
26 1 laforge
27 1 laforge
The JTAG port of the MT6235 is accessible on the phone PCB, see the attached picture.
28 5 steve-m
You can use [http://openocd.berlios.de/web/ OpenOCD] along with the attached configuration file ([raw-attachment:openocd_mt6235.cfg]) for debugging.
29 4 steve-m
30 6 marcin
[[Image(scig2_front.JPG,20%)]]
31 6 marcin
[[Image(scig2_jtag.jpg,20%)]]
32 6 marcin
33 4 steve-m
== Serial Bootloader == 
34 4 steve-m
35 5 steve-m
Like all Mediatek MT62xx !SoCs, the phone uses the [wiki:MTKRomloader].
36 6 marcin
37 6 marcin
== U-Boot ==
38 6 marcin
39 6 marcin
Port of U-Boot for Sciphone G2 can be found at [http://git.osmocom.org/gitweb?p=uboot-mt623x.git;a=summary U-Boot]
40 6 marcin
41 6 marcin
Building U-Boot:
42 6 marcin
43 6 marcin
{{{
44 6 marcin
export CROSS_COMPILE=arm-linux-gnueabi-
45 6 marcin
make sciphone_g2_config
46 6 marcin
make
47 6 marcin
}}}
48 6 marcin
49 6 marcin
== Linux kernel ==
50 6 marcin
51 6 marcin
Port of Linux kernel for Sciphone G2 can be found at [http://git.osmocom.org/gitweb?p=linux-mt623x.git;a=summary Linux kernel]
52 6 marcin
53 6 marcin
Building Linux:
54 6 marcin
55 6 marcin
{{{
56 6 marcin
export CROSS_COMPILE=arm-linux-gnueabi-
57 6 marcin
make sciphone_g2_defconfig
58 6 marcin
make ARCH=arm uImage
59 6 marcin
}}}
60 6 marcin
61 6 marcin
== Reading data files in U-Boot ==
62 6 marcin
63 6 marcin
'''NAND'''
64 6 marcin
65 6 marcin
Following command will read 256 bytes from NAND address 0 at address 0x8000.
66 6 marcin
67 6 marcin
{{{
68 6 marcin
nand read 0x8000 0 0x100
69 6 marcin
}}}
70 6 marcin
71 6 marcin
'''Serial'''
72 6 marcin
73 6 marcin
Following command will read data at address 0x8000 from serial at baudrate 115200 (using kermit protocol).
74 6 marcin
75 6 marcin
{{{
76 6 marcin
loadb 0x8000 115200
77 6 marcin
}}}
78 6 marcin
79 6 marcin
'''SD/MMC'''
80 6 marcin
81 6 marcin
Following command will read uImage file at address 0x8000 from MMC card.
82 6 marcin
83 6 marcin
{{{
84 6 marcin
fatload mmc 0 0x8000 uImage
85 6 marcin
}}}
Add picture from clipboard (Maximum size: 48.8 MB)