Gigaset Elements Base » History » Version 1
laforge, 12/11/2022 07:58 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 | h2. Open Source Tarball |
||
17 | |||
18 | 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. |
||
19 | |||
20 | h2. building |
||
21 | |||
22 | It can be built on a current (Debian 11) system, if you install the following dependencies: |
||
23 | |||
24 | <pre> |
||
25 | apt install genromfs build-essential default-jdk gcc-multilib lib32z1 |
||
26 | dpkg --add-architecture i386 |
||
27 | apt update |
||
28 | apt install liblzo2-2:i386 |
||
29 | </pre> |
||
30 | |||
31 | After that, you shoul be able to compile it using the instructions from the README_BUILDING file that's in the source code. |
||
32 | |||
33 | h2. flashing |
||
34 | |||
35 | <pre> |
||
36 | HomeConnector_001.000.026/uniprog $ ./uniprog.sh |
||
37 | Creating empty file: |
||
38 | size 0 kB |
||
39 | file: 'reef_boot_rec_sys_fs.bin' |
||
40 | |||
41 | Inserting image file: |
||
42 | file 'image452.bin' |
||
43 | at offset 0 |
||
44 | size 131072 |
||
45 | |||
46 | Inserting image file: |
||
47 | file '../reef_vmlinuz-recovery' |
||
48 | at offset 131072 |
||
49 | size 819200 |
||
50 | |||
51 | Inserting image file: |
||
52 | file '../reef_vmlinuz' |
||
53 | at offset 950272 |
||
54 | size 2560000 |
||
55 | |||
56 | Not creating new filesystem image. |
||
57 | Using old one: ../reef_fs.bin |
||
58 | |||
59 | Inserting image file: |
||
60 | file '../reef_fs.bin' |
||
61 | at offset 3510272 |
||
62 | size 1138688 |
||
63 | |||
64 | /tmp/HomeConnector_001.000.026 /tmp/HomeConnector_001.000.026/uniprog |
||
65 | /tmp/HomeConnector_001.000.026/uniprog |
||
66 | ---------------------------------------------------------- |
||
67 | Image: / (size 4648960) created. |
||
68 | ---------------------------------------------------------- |
||
69 | |||
70 | To skip this question, you can assign serial port to environment variable PROGRAM_PORT or PORT |
||
71 | |||
72 | Please choose serial port: |
||
73 | 1) ttyS0 3) ttyS2 5) ttyUSB0 7) ttyUSB2 9) ttyUSB4 |
||
74 | 2) ttyS1 4) ttyS3 6) ttyUSB1 8) ttyUSB3 10) ttyUSB5 |
||
75 | #? 10 |
||
76 | Programming HW via /dev/ttyUSB5 |
||
77 | |||
78 | Please do following things: |
||
79 | 1. Push "Program" button, |
||
80 | 2. Push "Reset" button, |
||
81 | 3. Pop "Reset" button, |
||
82 | 4. Pop "Program" button. |
||
83 | Be patient |
||
84 | |||
85 | Programmer File Size 3464 |
||
86 | Programmer File CRC 0x6E |
||
87 | Image File Size 4648960 |
||
88 | Image File CRC 0x62 |
||
89 | |||
90 | --- IDLE --- |
||
91 | Uart RX[1]=0xFE,... |
||
92 | state IDLE rec: 0xFE |
||
93 | |||
94 | --- IDLE --- |
||
95 | Uart RX[1]=0x02,... |
||
96 | state IDLE rec: 0x02 |
||
97 | Uart TX[3]=0x01,... |
||
98 | Downloading programmer & image... |
||
99 | |||
100 | --- WAIT_ACK --- |
||
101 | Uart RX[1]=0x06,... |
||
102 | state WAIT_ACK rec: 0x06 |
||
103 | ACK received, flashing loader (size 3464)... |
||
104 | Uart TX[3464]=0x04,... |
||
105 | |||
106 | --- WAIT_CRC --- |
||
107 | Uart RX[1]=0x6E,... |
||
108 | CRC expected 6E, received 6E CRC OK |
||
109 | Uart TX[1]=0x06,... |
||
110 | |||
111 | --- CHANGE_UART_BPS --- |
||
112 | |||
113 | --- PROG_IDLE --- |
||
114 | Uart RX[1]=0x05,... |
||
115 | Writing image header... |
||
116 | Uart TX[5]=0x03,... |
||
117 | |||
118 | --- PROG_WAIT_ACK --- |
||
119 | Uart RX[1]=0x07,... |
||
120 | Writing image (size 4648960)... |
||
121 | Uart TX[4648960]=0x70,... |
||
122 | |||
123 | --- PROG_WAIT_CRC --- |
||
124 | Uart RX |
||
125 | |||
126 | FIXME |
||
127 | </pre> |