Gigaset Elements Base » History » Version 2
laforge, 12/11/2022 08:09 PM
1 | 1 | laforge | h1. Gigaset Elements Base |
---|---|---|---|
2 | |||
3 | h2. Hardware |
||
4 | |||
5 | * Dialog SC14452 CR16C based DECT SoC |
||
6 | * Dialog LMX4181 RF frontend |
||
7 | * Winbond W9825G6KH-6 RAM |
||
8 | |||
9 | {{thumbnail(20221211_104138.jpg)}} |
||
10 | {{thumbnail(20221211_104127.jpg)}} |
||
11 | {{thumbnail(20221211_104300.jpg)}} |
||
12 | {{thumbnail(20221211_104108.jpg)}} |
||
13 | {{thumbnail(20221211_104324.jpg)}} |
||
14 | {{thumbnail(20221211_104059.jpg)}} |
||
15 | |||
16 | 2 | laforge | h3. Connectors / Test Pads |
17 | |||
18 | h4. 3-pin UART header |
||
19 | |||
20 | There is an unpopulated 3-pin 2.54mm header on the board. It has the following pin-out, in left-toright direction when looking at the component side of the PCBA with the ethernet jack facing downwards: |
||
21 | |||
22 | |_.Pin|_.Signal| |
||
23 | |left|P0 [1] / URX| |
||
24 | |center|GND| |
||
25 | |right|P0 [0] / UTX| |
||
26 | |||
27 | The voltage of the UART is about 3.2V; the data sheet states up to 3.45V should be fine, so a normal 3.3V UART should work. |
||
28 | |||
29 | h4. 2-pin jumper |
||
30 | |||
31 | There is an unpopulated 2-pin 2.54mm header on the board. It has the following pin-out, in left-toright direction when looking at the component side of the PCBA with the ethernet jack facing downwards: |
||
32 | |||
33 | |_.Pin|_.Signal| |
||
34 | |left|GND| |
||
35 | |right|P2 [5] / ADC1| |
||
36 | |||
37 | h4. Row of large test pads |
||
38 | |||
39 | There is a row of large (3mm?) test pads close to the unpopulated 3pin header / 2pin jumper. It has the following pin-out, in left-toright direction when looking at the component side of the PCBA with the ethernet jack facing downwards: |
||
40 | |||
41 | |_.Pin|_.Signal| |
||
42 | |1 (left)|P2 [5] / ADC1| |
||
43 | |2|6.5V voltage input| |
||
44 | |3|GND| |
||
45 | |4|P0 [1] / URX| |
||
46 | |5 (right)|P0 [0] / UTX| |
||
47 | |||
48 | h4. test pads on the back side |
||
49 | |||
50 | FIXME: Picture with annotations. So far we know the single-wire JTAG pin. |
||
51 | |||
52 | |||
53 | 1 | laforge | h2. Open Source Tarball |
54 | |||
55 | In remarkably good compliance with the GNU GPLv2, Gigaset has published a tarball containing the _complete and corresponding_ soure code for the open source parts of the firmware. |
||
56 | |||
57 | h2. building |
||
58 | |||
59 | It can be built on a current (Debian 11) system, if you install the following dependencies: |
||
60 | |||
61 | <pre> |
||
62 | apt install genromfs build-essential default-jdk gcc-multilib lib32z1 |
||
63 | dpkg --add-architecture i386 |
||
64 | apt update |
||
65 | apt install liblzo2-2:i386 |
||
66 | </pre> |
||
67 | |||
68 | After that, you shoul be able to compile it using the instructions from the README_BUILDING file that's in the source code. |
||
69 | |||
70 | h2. flashing |
||
71 | |||
72 | <pre> |
||
73 | HomeConnector_001.000.026/uniprog $ ./uniprog.sh |
||
74 | Creating empty file: |
||
75 | size 0 kB |
||
76 | file: 'reef_boot_rec_sys_fs.bin' |
||
77 | |||
78 | Inserting image file: |
||
79 | file 'image452.bin' |
||
80 | at offset 0 |
||
81 | size 131072 |
||
82 | |||
83 | Inserting image file: |
||
84 | file '../reef_vmlinuz-recovery' |
||
85 | at offset 131072 |
||
86 | size 819200 |
||
87 | |||
88 | Inserting image file: |
||
89 | file '../reef_vmlinuz' |
||
90 | at offset 950272 |
||
91 | size 2560000 |
||
92 | |||
93 | Not creating new filesystem image. |
||
94 | Using old one: ../reef_fs.bin |
||
95 | |||
96 | Inserting image file: |
||
97 | file '../reef_fs.bin' |
||
98 | at offset 3510272 |
||
99 | size 1138688 |
||
100 | |||
101 | /tmp/HomeConnector_001.000.026 /tmp/HomeConnector_001.000.026/uniprog |
||
102 | /tmp/HomeConnector_001.000.026/uniprog |
||
103 | ---------------------------------------------------------- |
||
104 | Image: / (size 4648960) created. |
||
105 | ---------------------------------------------------------- |
||
106 | |||
107 | To skip this question, you can assign serial port to environment variable PROGRAM_PORT or PORT |
||
108 | |||
109 | Please choose serial port: |
||
110 | 1) ttyS0 3) ttyS2 5) ttyUSB0 7) ttyUSB2 9) ttyUSB4 |
||
111 | 2) ttyS1 4) ttyS3 6) ttyUSB1 8) ttyUSB3 10) ttyUSB5 |
||
112 | #? 10 |
||
113 | Programming HW via /dev/ttyUSB5 |
||
114 | |||
115 | Please do following things: |
||
116 | 1. Push "Program" button, |
||
117 | 2. Push "Reset" button, |
||
118 | 3. Pop "Reset" button, |
||
119 | 4. Pop "Program" button. |
||
120 | Be patient |
||
121 | |||
122 | Programmer File Size 3464 |
||
123 | Programmer File CRC 0x6E |
||
124 | Image File Size 4648960 |
||
125 | Image File CRC 0x62 |
||
126 | |||
127 | --- IDLE --- |
||
128 | Uart RX[1]=0xFE,... |
||
129 | state IDLE rec: 0xFE |
||
130 | |||
131 | --- IDLE --- |
||
132 | Uart RX[1]=0x02,... |
||
133 | state IDLE rec: 0x02 |
||
134 | Uart TX[3]=0x01,... |
||
135 | Downloading programmer & image... |
||
136 | |||
137 | --- WAIT_ACK --- |
||
138 | Uart RX[1]=0x06,... |
||
139 | state WAIT_ACK rec: 0x06 |
||
140 | ACK received, flashing loader (size 3464)... |
||
141 | Uart TX[3464]=0x04,... |
||
142 | |||
143 | --- WAIT_CRC --- |
||
144 | Uart RX[1]=0x6E,... |
||
145 | CRC expected 6E, received 6E CRC OK |
||
146 | Uart TX[1]=0x06,... |
||
147 | |||
148 | --- CHANGE_UART_BPS --- |
||
149 | |||
150 | --- PROG_IDLE --- |
||
151 | Uart RX[1]=0x05,... |
||
152 | Writing image header... |
||
153 | Uart TX[5]=0x03,... |
||
154 | |||
155 | --- PROG_WAIT_ACK --- |
||
156 | Uart RX[1]=0x07,... |
||
157 | Writing image (size 4648960)... |
||
158 | Uart TX[4648960]=0x70,... |
||
159 | |||
160 | --- PROG_WAIT_CRC --- |
||
161 | Uart RX |
||
162 | |||
163 | FIXME |
||
164 | </pre> |