SciphoneDreamG2 » History » Version 6
Anonymous, 02/19/2016 10:49 PM
1 | 1 | laforge | = Sciphone Dream G2 = |
---|---|---|---|
2 | |||
3 | The Sciphone Dream G2 is a [wiki:MT6235] based phone running UI software to mimic the look+feel of Android. |
||
4 | |||
5 | There is currently an u-boot and Linux port for the MT6235 underway, the primary development platform is the Sciphone G2. |
||
6 | |||
7 | OsmocomBB does not yet support any Mediatek chipsets, so this phone is not supported by OsmocomBB. Nonetheless, we |
||
8 | expect to have support for it at some point in the future. |
||
9 | |||
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 | |||
13 | You can make a serial cable by sacrificing the headset that comes with the phone, by swapping the pins inside the connector. |
||
14 | |||
15 | Serial pinout: |
||
16 | |||
17 | ||Pin||signal|| |
||
18 | ||1||GND|| |
||
19 | ||2||GND|| |
||
20 | ||5||Rx|| |
||
21 | ||7||Tx|| |
||
22 | |||
23 | [[Image(sciphone_serial.jpg,20%)]] |
||
24 | |||
25 | 1 | laforge | == JTAG == |
26 | |||
27 | 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 | laforge | [[Image(scig2_front.JPG,20%)]] |
31 | [[Image(scig2_jtag.jpg,20%)]] |
||
32 | |||
33 | 4 | steve-m | == Serial Bootloader == |
34 | |||
35 | 5 | steve-m | Like all Mediatek MT62xx !SoCs, the phone uses the [wiki:MTKRomloader]. |
36 | 6 | laforge | |
37 | == U-Boot == |
||
38 | |||
39 | 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 | |||
41 | Building U-Boot: |
||
42 | |||
43 | {{{ |
||
44 | export CROSS_COMPILE=arm-linux-gnueabi- |
||
45 | make sciphone_g2_config |
||
46 | make |
||
47 | }}} |
||
48 | |||
49 | == Linux kernel == |
||
50 | |||
51 | 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 | |||
53 | Building Linux: |
||
54 | |||
55 | {{{ |
||
56 | export CROSS_COMPILE=arm-linux-gnueabi- |
||
57 | make sciphone_g2_defconfig |
||
58 | make ARCH=arm uImage |
||
59 | }}} |
||
60 | |||
61 | == Reading data files in U-Boot == |
||
62 | |||
63 | '''NAND''' |
||
64 | |||
65 | Following command will read 256 bytes from NAND address 0 at address 0x8000. |
||
66 | |||
67 | {{{ |
||
68 | nand read 0x8000 0 0x100 |
||
69 | }}} |
||
70 | |||
71 | '''Serial''' |
||
72 | |||
73 | Following command will read data at address 0x8000 from serial at baudrate 115200 (using kermit protocol). |
||
74 | |||
75 | {{{ |
||
76 | loadb 0x8000 115200 |
||
77 | }}} |
||
78 | |||
79 | '''SD/MMC''' |
||
80 | |||
81 | Following command will read uImage file at address 0x8000 from MMC card. |
||
82 | |||
83 | {{{ |
||
84 | fatload mmc 0 0x8000 uImage |
||
85 | }}} |