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