Gigaset Elements Base » History » Version 8
laforge, 12/11/2022 09:46 PM
1 | 5 | laforge | {{>toc}} |
---|---|---|---|
2 | |||
3 | 1 | laforge | h1. Gigaset Elements Base |
4 | |||
5 | 4 | laforge | This is a DECT [[ULE]] base station for a variety of _IoT_ style devices such as burgler alarm, switchable power sockets, etc. |
6 | |||
7 | FIXME: External Pictures |
||
8 | |||
9 | 1 | laforge | h2. Hardware |
10 | |||
11 | * Dialog SC14452 CR16C based DECT SoC |
||
12 | * Dialog LMX4181 RF frontend |
||
13 | * Winbond W9825G6KH-6 RAM |
||
14 | 3 | laforge | * SMSC 8720A Ethernet PHY |
15 | * MX25??? QSPI flash |
||
16 | |||
17 | 1 | laforge | |
18 | {{thumbnail(20221211_104138.jpg)}} |
||
19 | {{thumbnail(20221211_104127.jpg)}} |
||
20 | {{thumbnail(20221211_104300.jpg)}} |
||
21 | {{thumbnail(20221211_104108.jpg)}} |
||
22 | {{thumbnail(20221211_104324.jpg)}} |
||
23 | {{thumbnail(20221211_104059.jpg)}} |
||
24 | |||
25 | 2 | laforge | h3. Connectors / Test Pads |
26 | |||
27 | h4. 3-pin UART header |
||
28 | |||
29 | 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: |
||
30 | |||
31 | |_.Pin|_.Signal| |
||
32 | |left|P0 [1] / URX| |
||
33 | |center|GND| |
||
34 | |right|P0 [0] / UTX| |
||
35 | |||
36 | 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. |
||
37 | |||
38 | h4. 2-pin jumper |
||
39 | |||
40 | 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: |
||
41 | |||
42 | |_.Pin|_.Signal| |
||
43 | |left|GND| |
||
44 | |right|P2 [5] / ADC1| |
||
45 | |||
46 | h4. Row of large test pads |
||
47 | |||
48 | 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: |
||
49 | |||
50 | |_.Pin|_.Signal| |
||
51 | |1 (left)|P2 [5] / ADC1| |
||
52 | |2|6.5V voltage input| |
||
53 | |3|GND| |
||
54 | |4|P0 [1] / URX| |
||
55 | |5 (right)|P0 [0] / UTX| |
||
56 | |||
57 | h4. test pads on the back side |
||
58 | |||
59 | FIXME: Picture with annotations. So far we know the single-wire JTAG pin. |
||
60 | |||
61 | |||
62 | 1 | laforge | h2. Open Source Tarball |
63 | |||
64 | 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. |
||
65 | |||
66 | h2. building |
||
67 | |||
68 | It can be built on a current (Debian 11) system, if you install the following dependencies: |
||
69 | |||
70 | <pre> |
||
71 | apt install genromfs build-essential default-jdk gcc-multilib lib32z1 |
||
72 | dpkg --add-architecture i386 |
||
73 | apt update |
||
74 | apt install liblzo2-2:i386 |
||
75 | </pre> |
||
76 | |||
77 | After that, you shoul be able to compile it using the instructions from the README_BUILDING file that's in the source code. |
||
78 | |||
79 | h2. flashing |
||
80 | |||
81 | 7 | laforge | h3. entering the ROM boot-from-UART mode |
82 | |||
83 | The flashing process utilizes the SC14452 mask ROM _boot from UART_ feature. In order to enable this, the UTX pin must be pulled to GND at startup. So the sequence should be: |
||
84 | # place jumper between GND and UTX |
||
85 | # plug in the power supply |
||
86 | # remove the jumper |
||
87 | # plug in your UART cable |
||
88 | |||
89 | You will notice that in this mode (unlike the normal boot) all 3 LEDs will stay dark. |
||
90 | |||
91 | h3. Flashing via @uniprog.sh@ |
||
92 | |||
93 | the @uniprog.sh@ script |
||
94 | * creates a combined flash image using the bootloader, recovery image, kernel image and file system image. |
||
95 | * performs the actual flashing using the @uartfp@ program. |
||
96 | |||
97 | 8 | laforge | While the flashing is in progress, you will note different LEDs blinking during the writing and the CRC check / verification phase. It will take quite some time 7.5 minutes here), so be patient. |
98 | |||
99 | Note: Don't try to strace the @uartfp@ program, it will break the flashing process. |
||
100 | |||
101 | 1 | laforge | <pre> |
102 | HomeConnector_001.000.026/uniprog $ ./uniprog.sh |
||
103 | Creating empty file: |
||
104 | size 0 kB |
||
105 | file: 'reef_boot_rec_sys_fs.bin' |
||
106 | |||
107 | Inserting image file: |
||
108 | file 'image452.bin' |
||
109 | at offset 0 |
||
110 | size 131072 |
||
111 | |||
112 | Inserting image file: |
||
113 | file '../reef_vmlinuz-recovery' |
||
114 | at offset 131072 |
||
115 | size 819200 |
||
116 | |||
117 | Inserting image file: |
||
118 | file '../reef_vmlinuz' |
||
119 | at offset 950272 |
||
120 | size 2560000 |
||
121 | |||
122 | Not creating new filesystem image. |
||
123 | Using old one: ../reef_fs.bin |
||
124 | |||
125 | Inserting image file: |
||
126 | file '../reef_fs.bin' |
||
127 | at offset 3510272 |
||
128 | size 1138688 |
||
129 | |||
130 | /tmp/HomeConnector_001.000.026 /tmp/HomeConnector_001.000.026/uniprog |
||
131 | /tmp/HomeConnector_001.000.026/uniprog |
||
132 | ---------------------------------------------------------- |
||
133 | Image: / (size 4648960) created. |
||
134 | ---------------------------------------------------------- |
||
135 | |||
136 | To skip this question, you can assign serial port to environment variable PROGRAM_PORT or PORT |
||
137 | |||
138 | Please choose serial port: |
||
139 | 1) ttyS0 3) ttyS2 5) ttyUSB0 7) ttyUSB2 9) ttyUSB4 |
||
140 | 2) ttyS1 4) ttyS3 6) ttyUSB1 8) ttyUSB3 10) ttyUSB5 |
||
141 | #? 10 |
||
142 | Programming HW via /dev/ttyUSB5 |
||
143 | |||
144 | Please do following things: |
||
145 | 1. Push "Program" button, |
||
146 | 2. Push "Reset" button, |
||
147 | 3. Pop "Reset" button, |
||
148 | 4. Pop "Program" button. |
||
149 | Be patient |
||
150 | |||
151 | Programmer File Size 3464 |
||
152 | Programmer File CRC 0x6E |
||
153 | Image File Size 4648960 |
||
154 | Image File CRC 0x62 |
||
155 | |||
156 | --- IDLE --- |
||
157 | Uart RX[1]=0xFE,... |
||
158 | state IDLE rec: 0xFE |
||
159 | |||
160 | --- IDLE --- |
||
161 | Uart RX[1]=0x02,... |
||
162 | state IDLE rec: 0x02 |
||
163 | Uart TX[3]=0x01,... |
||
164 | Downloading programmer & image... |
||
165 | |||
166 | --- WAIT_ACK --- |
||
167 | Uart RX[1]=0x06,... |
||
168 | state WAIT_ACK rec: 0x06 |
||
169 | ACK received, flashing loader (size 3464)... |
||
170 | Uart TX[3464]=0x04,... |
||
171 | |||
172 | --- WAIT_CRC --- |
||
173 | Uart RX[1]=0x6E,... |
||
174 | CRC expected 6E, received 6E CRC OK |
||
175 | Uart TX[1]=0x06,... |
||
176 | |||
177 | --- CHANGE_UART_BPS --- |
||
178 | |||
179 | --- PROG_IDLE --- |
||
180 | Uart RX[1]=0x05,... |
||
181 | Writing image header... |
||
182 | Uart TX[5]=0x03,... |
||
183 | |||
184 | --- PROG_WAIT_ACK --- |
||
185 | Uart RX[1]=0x07,... |
||
186 | Writing image (size 4648960)... |
||
187 | Uart TX[4648960]=0x70,... |
||
188 | |||
189 | --- PROG_WAIT_CRC --- |
||
190 | 4 | laforge | Uart RX[1]=0x07,... |
191 | Writing image (size 4648960)... |
||
192 | Uart TX[4648960]=0x70,... |
||
193 | 1 | laforge | |
194 | 4 | laforge | --- PROG_WAIT_CRC --- |
195 | Uart RX[1]=0x62,... |
||
196 | PROG CRC expected 62, received 62 CRC OK |
||
197 | Uart TX[1]=0x07,... |
||
198 | Programming image ... |
||
199 | |||
200 | --- PROG_WAIT_COMP --- |
||
201 | Uart RX[1]=0x17,... |
||
202 | Flash programmed successfully |
||
203 | |||
204 | real 7m32.798s |
||
205 | user 0m0.008s |
||
206 | sys 0m0.460s |
||
207 | |||
208 | Done. |
||
209 | 5 | laforge | </pre> |
210 | |||
211 | h2. Unlocking the serial port |
||
212 | |||
213 | In the default firmware, the UART is locked (disabled) by the boot loader. You can use it for the ROM boot loader (which executes before the cr16boot), but once you enter cr16boot, it is switched off. |
||
214 | |||
215 | 6 | laforge | In order to unlock it, there is a special build called @image452_service.bin@ which gets built in parallel to the normal production @image452.bin@ by the build process. |
216 | 1 | laforge | |
217 | 6 | laforge | In order to install it, use @./uartfp 452fp.bin image452_service.bin /dev/ttyUSBx@ from the UART ROM boot mode. It will overwrite the first 128kByte partition (boot loader) with the unlocked version. |
218 | |||
219 | 5 | laforge | <pre> |
220 | ./uartfp 452fp.bin image452_service.bin /dev/ttyUSB5 |
||
221 | Programmer File Size 3464 |
||
222 | Programmer File CRC 0x6E |
||
223 | Image File Size 87804 |
||
224 | Image File CRC 0x4A |
||
225 | |||
226 | --- IDLE --- |
||
227 | Uart RX[1]=0x00,... |
||
228 | state IDLE rec: 0x00 |
||
229 | |||
230 | --- IDLE --- |
||
231 | Uart RX[1]=0xF0,... |
||
232 | state IDLE rec: 0xF0 |
||
233 | |||
234 | --- IDLE --- |
||
235 | Uart RX[1]=0x00,... |
||
236 | state IDLE rec: 0x00 |
||
237 | |||
238 | --- IDLE --- |
||
239 | Uart RX[1]=0x00,... |
||
240 | state IDLE rec: 0x00 |
||
241 | |||
242 | --- IDLE --- |
||
243 | Uart RX[1]=0x00,... |
||
244 | state IDLE rec: 0x00 |
||
245 | |||
246 | --- IDLE --- |
||
247 | Uart RX[1]=0x00,... |
||
248 | state IDLE rec: 0x00 |
||
249 | |||
250 | --- IDLE --- |
||
251 | Uart RX[1]=0x02,... |
||
252 | state IDLE rec: 0x02 |
||
253 | Uart TX[3]=0x01,... |
||
254 | Downloading programmer & image... |
||
255 | |||
256 | --- WAIT_ACK --- |
||
257 | Uart RX[1]=0x06,... |
||
258 | state WAIT_ACK rec: 0x06 |
||
259 | ACK received, flashing loader (size 3464)... |
||
260 | Uart TX[3464]=0x04,... |
||
261 | |||
262 | --- WAIT_CRC --- |
||
263 | Uart RX[1]=0x6E,... |
||
264 | CRC expected 6E, received 6E CRC OK |
||
265 | Uart TX[1]=0x06,... |
||
266 | |||
267 | --- CHANGE_UART_BPS --- |
||
268 | |||
269 | --- PROG_IDLE --- |
||
270 | Uart RX[1]=0x05,... |
||
271 | Writing image header... |
||
272 | Uart TX[5]=0x03,... |
||
273 | |||
274 | --- PROG_WAIT_ACK --- |
||
275 | Uart RX[1]=0x07,... |
||
276 | Writing image (size 87804)... |
||
277 | Uart TX[87804]=0x70,... |
||
278 | |||
279 | --- PROG_WAIT_CRC --- |
||
280 | Uart RX[1]=0x4A,... |
||
281 | PROG CRC expected 4A, received 4A CRC OK |
||
282 | Uart TX[1]=0x07,... |
||
283 | Programming image ... |
||
284 | |||
285 | --- PROG_WAIT_COMP --- |
||
286 | Uart RX[1]=0x17,... |
||
287 | Flash programmed successfully |
||
288 | </pre> |
||
289 | |||
290 | When you now reboot the unit, you get serial console for bootloader and linux: |
||
291 | <pre> |
||
292 | |||
293 | |||
294 | |||
295 | |||
296 | ,;:. |
||
297 | ;;;;;;; :, |
||
298 | ;;: . ;; |
||
299 | ;; , `;;;. `:;;, .;;: `;;: :;;:, |
||
300 | ,;` `; :;;:;;, :;,:;: ,;:.; .;;,;; ;;;; |
||
301 | :; `; ;: ;, :; ;; ;: ;. ;; |
||
302 | :; ;;;.`; ,; ;, .:;;; ,;;. `;....;: ;; |
||
303 | ,;` ..;.`; :; ;, ;;,.:; .;;; `;;;;;;: ;; |
||
304 | ;; ;.`; ,;` ;,.; :; `;; ;` ;; |
||
305 | :;; `;.`; ;; ,;,`;` :; ` ;; ;; . ;; |
||
306 | ,;;;;;;``; `;;;;;, ;;;;:; ;;;;; ;;;;; ,;;; |
||
307 | `.. :, `` .` `.` . |
||
308 | `:. |
||
309 | ::.,:: |
||
310 | `:::: |
||
311 | |||
312 | |||
313 | Sitelboot 1.0.3 (Dec 11 2022 - 19:29:16) |
||
314 | |||
315 | Runing on SC14452 SoC |
||
316 | |||
317 | SiTelboot |
||
318 | code: 00f00000 -> 00f0fddc |
||
319 | data: 00f139ec -> 00f15a28 |
||
320 | DRAM Configuration: |
||
321 | Bank #0: 00020000 15 MB |
||
322 | Bank #1: 01080000 15 MB |
||
323 | MXIC: MX25L6405D (64-megabit) |
||
324 | FLASH Configuration: |
||
325 | Bank #0: 00000000 8 MB |
||
326 | Factory device ID=CFE8D287ED60B4B8393398706788C121 |
||
327 | Factory MAC=7C:2F:80:EE:3D:A7 |
||
328 | |||
329 | This is SERVICE U-Boot! |
||
330 | |||
331 | Hit any key to stop autoboot: 0 |
||
332 | |||
333 | ....AutoBoot for SiTel 450 DK.... |
||
334 | |||
335 | Booting from flash memory... |
||
336 | |||
337 | |||
338 | Booting from 'E8000' |
||
339 | ## Booting image at 000e8000 ... |
||
340 | ## Copy image from flash 000e8000 to ram 00a00000 ... |
||
341 | Image Name: |
||
342 | Image Type: CR16C+ 16 Bit Linux Kernel Image (gzip compressed) |
||
343 | Data Size: 2335367 Bytes = 2280 kB = 2 MB |
||
344 | Load Address: 000f4000 |
||
345 | Entry Point: 000f4000 |
||
346 | Verifying Checksum ... OK |
||
347 | Uncompressing Kernel Image ... OK |
||
348 | commandline arguments position = 000f0000 |
||
349 | commandline = 'ethaddr=7C:2F:80:EE:3D:A7 board_rev=RevB Giga94=false system_locked=false deviceid=CFE8D287ED60B4B8393398706788C121 booted_from=1' |
||
350 | |||
351 | Starting kernel ... |
||
352 | |||
353 | Linux version 2.6.19-uc1reef-g28ca9fc4-dirty (laforge@sunbeam.de.gnumonks.org) (gcc version 4.1.2) #5 Sun Dec 11 19:29:29 CET 2022 |
||
354 | SC14450_VoIP version: v_1.0.29.1291 Tagged at: |
||
355 | Version Status: NOT REPOSITORY VERSION |
||
356 | Local compilation |
||
357 | Reef BS version 'bas-001.000.026' tagged at: 'unknown' version status: 'NOT REPOSITORY VERSION' |
||
358 | Reef BS hash 'bd35bcc4d561e2d4e268c01eb21aa615bb45dff8' |
||
359 | based on build version 'build-483' tagged at: '2013-10-01 11:19:13 +0200' version status: 'NOT REPOSITORY VERSION' |
||
360 | Repository compilation, .git found |
||
361 | RAM size: 0x1f10000, memory_end = 0x2000000 |
||
362 | IRQ stack size 0x2000 at 00feeff8 |
||
363 | freed bootmem 5b9000 1a47000 |
||
364 | reserve bootmem 5b9000 3e4 |
||
365 | IRQ stack + mem hole: reserved memory range 00fed000-0107ffff |
||
366 | Setting up paging |
||
367 | commandline = 'root=/dev/mtdblock0 rootfstype=romfs ro earlyprintk=serial console=ttyS0 ip=dhcp panic=10 ethaddr=7C:2F:80:EE:3D:A7 board_rev=RevB Giga94=false system_locked=false deviceid=CFE8D287ED60B4B8393398706788C121 booted_from=1' |
||
368 | Built 1 zonelists. Total pages: 11716 |
||
369 | Kernel command line: root=/dev/mtdblock0 rootfstype=romfs ro earlyprintk=serial console=ttyS0 ip=dhcp panic=10 ethaddr=7C:2F:80:EE:3D:A7 board_rev=RevB Giga94=false system_locked=false deviceid=CFE8D287ED60B4B8393398706788C121 booted_from=1 |
||
370 | PID hash table entries: 256 (order: 8, 1024 bytes) |
||
371 | platform_timer_setup () timer_int = 0x0007af31 |
||
372 | disabling early console |
||
373 | Lnux version 2.6.19-uc1reef-g28ca9fc4-dirty (laforge@sunbeam.de.gnumonks.org) (gcc version 4.1.2) #5 Sun Dec 11 19:29:29 CET 2022 |
||
374 | SC14450_VoIP version: v_1.0.29.1291 Tagged at: |
||
375 | Version Status: NOT REPOSITORY VERSION |
||
376 | Local compilation |
||
377 | Reef BS version 'bas-001.000.026' tagged at: 'unknown' version status: 'NOT REPOSITORY VERSION' |
||
378 | Reef BS hash 'bd35bcc4d561e2d4e268c01eb21aa615bb45dff8' |
||
379 | based on build version 'build-483' tagged at: '2013-10-01 11:19:13 +0200' version status: 'NOT REPOSITORY VERSION' |
||
380 | Repository compilation, .git found |
||
381 | RAM size: 0x1f10000, memory_end = 0x2000000 |
||
382 | IRQ stack size 0x2000 at 00feeff8 |
||
383 | freed bootmem 5b9000 1a47000 |
||
384 | reserve bootmem 5b9000 3e4 |
||
385 | IRQ stack + mem hole: reserved memory range 00fed000-0107ffff |
||
386 | Setting up paging |
||
387 | commandline = 'root=/dev/mtdblock0 rootfstype=romfs ro earlyprintk=serial console=ttyS0 ip=dhcp panic=10 ethaddr=7C:2F:80:EE:3D:A7 board_rev=RevB Giga94=false system_locked=false deviceid=CFE8D287ED60B4B8393398706788C121 booted_from=1' |
||
388 | Built 1 zonelists. Total pages: 11716 |
||
389 | Kernel command line: root=/dev/mtdblock0 rootfstype=romfs ro earlyprintk=serial console=ttyS0 ip=dhcp panic=10 ethaddr=7C:2F:80:EE:3D:A7 board_rev=RevB Giga94=false system_locked=false deviceid=CFE8D287ED60B4B8393398706788C121 booted_from=1 |
||
390 | PID hash table entries: 256 (order: 8, 1024 bytes) |
||
391 | platform_timer_setup () timer_int = 0x0007af31 |
||
392 | disabling early console |
||
393 | Console: SC1445x on-chip UART channel 0 |
||
394 | Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) |
||
395 | Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) |
||
396 | Memory: 25880k/31808k available (1095k kernel code, 5928k reserved, 243k data, 48k init) |
||
397 | Mount-cache hash table entries: 512 |
||
398 | NET: Registered protocol family 16 |
||
399 | NET: Registered protocol family 2 |
||
400 | IP route cache hash table entries: 1024 (order: 0, 4096 bytes) |
||
401 | TCP established hash table entries: 2048 (order: 3, 32768 bytes) |
||
402 | TCP bind hash table entries: 1024 (order: 2, 20480 bytes) |
||
403 | TCP: Hash tables configured (established 2048 bind 1024) |
||
404 | TCP reno registered |
||
405 | JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc. |
||
406 | ROMFS MTD (C) 2007 Red Hat, Inc. |
||
407 | cryptodev : SC14452 HW Crypto engine des(ecb/cbc) 3des(ecb/cbc) aes(ecb/cbc/ctr) |
||
408 | io scheduler noop registered |
||
409 | io scheduler deadline registered (default) |
||
410 | Initializing watchdog driver for SC14452 ... |
||
411 | Watchdog initialized, but not started. |
||
412 | SC1445x on-chip UART |
||
413 | ttyS0 at MMIO 0xd (irq = 5) is a sc1445x_uart |
||
414 | eth0: SC14452_EMAC found at ff2000, |
||
415 | EMAC DEVICE ADDRESS: 7c 2f 80 ee 3d a7 |
||
416 | register 0x1F=[40] cnt=500 tmp1=[1] |
||
417 | Eth speed: Still auto negotiating |
||
418 | SC14452 EMAC dev_irq: 2 |
||
419 | Probe for eth0 |
||
420 | init_mtdram: __xip_romfs_start=00252000, __xip_romfs_end=0058e000 |
||
421 | m25p80 spi0.0: MX25L6405D/MX25L6445E (8192 Kbytes) |
||
422 | Creating 13 MTD partitions on "m25p80": |
||
423 | 0x00000000-0x00001000 : "Loader" |
||
424 | 0x00001000-0x00020000 : "Bootloader" |
||
425 | 0x00020000-0x000e8000 : "Recovery" |
||
426 | 0x000e8000-0x00359000 : "Linux1" |
||
427 | 0x00359000-0x0046f000 : "FS1" |
||
428 | 0x0046f000-0x006e0000 : "Linux2" |
||
429 | 0x006e0000-0x007f6000 : "FS2" |
||
430 | 0x007f6000-0x007fe000 : "Factory" |
||
431 | 0x007fe000-0x00800000 : "Env" |
||
432 | will reboot on crash |
||
433 | 0x00000000-0x00800000 : "All Flash Contents" |
||
434 | 0x000e8000-0x0046f000 : "Firmware1" |
||
435 | 0x0046f000-0x007f6000 : "Firmware2" |
||
436 | 0x007fe000-0x007ff000 : "Crashdump" |
||
437 | sc1445x-spi sc1445x-spi.0: SC1445x SPI Controller Driver, Version 1.0 |
||
438 | sc1445x-spi sc1445x-spi.1: SC1445x SPI Controller Driver, Version 1.0 |
||
439 | input: paging as /class/input/input0 |
||
440 | gpio-key gpio-key.0: Registered new button: paging |
||
441 | Registered led device: power |
||
442 | Registered led device: network |
||
443 | Registered led device: cloud |
||
444 | TCP bic registered |
||
445 | TCP cubic registered |
||
446 | TCP westwood registered |
||
447 | TCP htcp registered |
||
448 | TCP scalable registered |
||
449 | NET: Registered protocol family 1 |
||
450 | NET: Registered protocol family 17 |
||
451 | VFS: Mounted root (romfs filesystem) readonly. |
||
452 | Freeing unused kernel memory: 48k freed |
||
453 | init started: BusyBox v1.20.2 (2022-12-11 19:29:09 CET) |
||
454 | doing rcS |
||
455 | Starting /etc/init.d/S10mountall.sh |
||
456 | Looking for MTD device 'FS1' ... /dev/mtdblock5 found! |
||
457 | Starting /etc/init.d/S11factory.sh |
||
458 | Starting /etc/init.d/S11logging.sh |
||
459 | Starting local logging: OK |
||
460 | Starting /etc/init.d/S12leds.sh |
||
461 | Starting /etc/init.d/S13check_sha256.sh |
||
462 | Starting /etc/init.d/S15features.sh |
||
463 | Starting /etc/init.d/S30hostname.sh |
||
464 | Starting /etc/init.d/S31loopback.sh |
||
465 | Starting /etc/init.d/S33iplugd.sh |
||
466 | Starting /etc/init.d/S34dectdata.sh |
||
467 | [mac_open] |
||
468 | EMAC: Link NOT detected |
||
469 | Starting /etc/init.d/S34sysctl.sh |
||
470 | Starting /etc/init.d/S36inetd.sh |
||
471 | System unlocked - starting inetd |
||
472 | Starting /etc/init.d/S39date.sh |
||
473 | BNFMT_FLAT: bad header magic |
||
474 | BINFMT_FLAT: bad header magic |
||
475 | S39date.sh: applet not found |
||
476 | Starting /etc/init.d/S40reef.sh |
||
477 | Key file /mnt/data/cert/cert.key already exists. Skipping generation. |
||
478 | CSR file /mnt/data/cert/cert.csr already exists. Skipping generation. |
||
479 | (LOG) CoIn: DB 'cloud' is OK |
||
480 | (LOG) CoIn: DB 'heartbeat' is OK |
||
481 | (LOG) CoIn: DB 'settings' is OK |
||
482 | REEF basestation with id CFE8D287ED60B4B8393398706788C121 is being started ... |
||
483 | (LOG) JBusServer: JBus server is running ... |
||
484 | Wtchdog is working and will generate NMI. |
||
485 | (LOG) JBusWatchdog: Watchdog is enabled |
||
486 | |||
487 | Running /usr/bin/coco in normal mode |
||
488 | (LOG) JBusServer: New client from IP 127.0.0.1 was added. |
||
489 | (LOG) JBusServer: New client from IP 127.0.0.1 was added. |
||
490 | sh: can't execute '/usr/bin/sens': No such file or directory |
||
491 | (LOG) TransactionManager: TRAM is up |
||
492 | (LOG) JBusServer: Thread 141 was created for new client with file descriptor 7. |
||
493 | (LOG) JBusServer: Thread 138 was created for new client with file descriptor 4. |
||
494 | sh: can't execute '/usr/bin/pyta': No such file or directory |
||
495 | Done. |
||
496 | (LOG) JBusServer: New client from IP 127.0.0.1 was added. |
||
497 | (LOG) JBusServer: Thread 149 was created for new client with file descriptor 8. |
||
498 | (LOG) JBusServer: New client from IP 127.0.0.1 was added. |
||
499 | (LOG) JBusServer: Thread 150 was created for new client with file descriptor 9. |
||
500 | (LOG) JBusServer: New client from IP 127.0.0.1 was added. |
||
501 | (LOG) JBusServer: Thread 151 was created for new client with file descriptor 10. |
||
502 | json_object_from_file: error reading file /mnt/data/endnodes: No such file or directory |
||
503 | (WRN) JBusServer: Client with fd 4 is down |
||
504 | (WRN) JBusServer: File: server.c, line: 120, func: ReceiverThread |
||
505 | (LOG) JBusServer: Thread 138 for client 4 will be terminated, because client is down |
||
506 | (LOG) JBusServer: New client from IP 127.0.0.1 was added. |
||
507 | (LOG) JBusServer: Thread 153 was created for new client with file descriptor 11. |
||
508 | (LOG) JBusServer: New client from IP 127.0.0.1 was added. |
||
509 | (LOG) JBusServer: Thread 155 was created for new client with file descriptor 4. |
||
510 | (LOG) JBusServer: New client from IP 127.0.0.1 was added. |
||
511 | (LOG) JBusServer: Thread 156 was created for new client with file descriptor 13. |
||
512 | Starting /etc/init.d/S50ubootscript.sh |
||
513 | arg.verbose = 1, arg.logMask = 0x07 |
||
514 | (LOG) coco: ready! |
||
515 | rxdect452: module license 'Proprietary' taints kernel. |
||
516 | rtxdectstack: Loading SC14452 DECT Stack |
||
517 | rtxdectstack: Version: NATALIEV3_FPCVM_V1018, Build date: 2013/09/17, 13:15 |
||
518 | Starting /etc/init.d/S60private.sh |
||
519 | Opened '/dev/dect' (3) |
||
520 | Opened '/dev/dectdbg' (4) |
||
521 | sixLowpanBorderRouterInit(2001:5254:5800:0000::1) |
||
522 | Our IPv6 address = 2001:5254:5800:0000:7e2f:80ff:feee:3da7 |
||
523 | Ckipping IPv6 DAD, setting 2001:5254:5800:0000:7e2f:80ff:feee:3da7 as preferreDdE |
||
524 | TS kMiApCp iinngt eIrPrvu6p tDhADa,n dsleetrt iinngs tfael8l0e:d0!0 0 |
||
525 | 0:0000:0000:?*???2??????"?? |
||
526 | ???5????jR??iU? ????????5(?QA?????????????????????Sb?????????????????zj?????????????5R?eE"??????????M??????b??????Q??????5????????b??????Q??????5???????b?????? |
||
527 | ?&$*??%???I???????J????????????????????????2???????????????????????????????????????????&&HL??LN??0 28 01 ff ff ff 20 00 2c 00 ff ff ff ff ff ff ff ff ff ff ff ff 01 00 00 03 3a 80 00 5e 03 80 0f 40 00 53 03 80 0a 20 00 48 03 80 2a 10 00 46 03 80 2a 10 00 43 03 80 44 10 00 41 03 80 22 .G.$.l8%u............................ (.... .,.................:..^...@.S... .H..*..F..*..C..D..A.." |
||
528 | dectUleJbusConnect() |
||
529 | (LOG) JBusServer: New client from IP 127.0.0.1 was added. |
||
530 | (LOG) JBusServer: Thread 172 was created for new client with file descriptor 12. |
||
531 | DECT config file '/mnt/data/uleapp.conf' not found |
||
532 | API-SEND 4FFE ProdTestReq ( 6) fe 4f 00 03 00 00 .O.... |
||
533 | API-SEND 4FFE ProdTestReq ( 6) fe 4f 06 02 00 00 .O.... |
||
534 | API-SEND 4FFE ProdTestReq ( 6) fe 4f 1c 00 00 00 .O.... |
||
535 | dectUleLoop(apifd = 3, dbgfd = 4, listensd = 0, rawrecvsd = 6) |
||
536 | API-RECV 4702 FpLinuxInitCfm (34) 02 47 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .G................................ |
||
537 | uleStackStart() |
||
538 | API-SEND 410D FpMmStartProtocolReq ( 2) 0d 41 .A |
||
539 | API-SEND 4188 FpUleInitReq ( 4) 88 41 30 00 .A0. |
||
540 | API-SEND 5500 LasStartSessionReq ( 5) 00 55 08 00 00 .U... |
||
541 | API-SEND 418C FpUleGetRegistrationCountReq ( 2) 8c 41 .A |
||
542 | API-SEND 4002 FpGetFwVersionReq ( 2) 02 40 .@ |
||
543 | API-RECV 00CE V24TxCmd ( 9) ce 00 03 00 02 1f 84 82 00 ......... |
||
544 | API-RECV 4FFF ProdTestCfm ( 7) ff 4f 00 03 01 00 07 .O..... |
||
545 | Opcode = 0x300, ParameterLength = 1 |
||
546 | API-RECV 00CE V24TxCmd ( 9) ce 00 03 00 02 35 75 00 bb .....5u.. |
||
547 | API-RECV 4FFF ProdTestCfm ( 8) ff 4f 06 02 02 00 75 00 .O....u. |
||
548 | Opcode = 0x206, ParameterLength = 2 |
||
549 | API-RECV 00CE V24TxCmd (12) ce 00 06 00 02 75 03 24 c8 6c 38 03 .....u.$.l8. |
||
550 | API-RECV 4FFF ProdTestCfm (11) ff 4f 1c 00 05 00 03 24 c8 6c 38 .O.....$.l8 |
||
551 | Opcode = 0x1c, ParameterLength = 5 |
||
552 | DECT params from NVS: |
||
553 | bandgap = 0x07 |
||
554 | clockfreq = 0x0075 |
||
555 | rfpi = 0x0324C86C38 |
||
556 | API-RECV 4189 FpUleInitCfm ( 7) 89 41 00 30 00 5f 00 .A.0._. |
||
557 | Status = 0 (OK), MaxUlpDevices = 48, UpLinkBuffers = 95 |
||
558 | API-RECV 418D FpUleGetRegistrationCountCfm (14) 8d 41 00 06 30 01 07 02 00 00 00 00 00 00 .A..0......... |
||
559 | API-SEND 418E FpUleGetDeviceIpuiReq ( 3) 8e 41 07 .A. |
||
560 | Status = 0, NoDevices = 1, MaxNoDevices = 48, MaxNoHs = 6, Length = 7, devices = { 7 } |
||
561 | uleStackReady(1) |
||
562 | API-RECV 4003 FpGetFwVersionCfm (27) 03 40 00 18 10 00 00 13 09 17 13 15 00 0c 00 0e 00 04 1a 65 00 00 0c 00 02 03 04 .@.................e....... |
||
563 | Status = 0, VersionHex = 0x00001018, date = 2013-09-17 13:15 |
||
564 | API-RECV 5501 LasStartSessionCfm (19) 01 55 08 01 00 00 00 00 00 00 ff 06 00 01 10 03 02 0c 10 .U................. |
||
565 | sessionId = 1, ListIdentifier = 8, NoOfEntries = 0, RejectReason = 255, p->IeLength = 6 |
||
566 | API-SEND 5502 LasEndSessionReq ( 4) 02 55 01 00 .U.. |
||
567 | API-RECV 418F FpUleGetDeviceIpuiCfm ( 9) 8f 41 00 07 03 24 c3 f4 1f .A...$... |
||
568 | Status = 0 (OK), PpId = 7, IPUI = 03:24:C3:F4:1F |
||
569 | uleStackReady(2) |
||
570 | API-RECV 5503 LasEndSessionCfm ( 4) 03 55 01 00 .U.. |
||
571 | sessionId = 1 |
||
572 | |||
573 | reefbs login: (LOG) JBusServer: New client from IP 127.0.0.1 was added. |
||
574 | (LOG) JBusServer: Thread 183 was created for new client with file descriptor 14. |
||
575 | (LOG) coco: Waiting for message ... |
||
576 | (LOG) JBusServer: New client from IP 127.0.0.1 was added. |
||
577 | (LOG) JBusServer: Thread 184 was created for new client with file descriptor 16. |
||
578 | (LOG) JBusServer: New client from IP 127.0.0.1 was added. |
||
579 | (LOG) JBusServer: Thread 187 was created for new client with file descriptor 15. |
||
580 | (LOG) coco: Waiting for message ... |
||
581 | (LOG) JBusServer: New client from IP 127.0.0.1 was added. |
||
582 | (LOG) JBusServer: Thread 188 was created for new client with file descriptor 17. |
||
583 | (LOG) coco: Waiting for message ... |
||
584 | [mac_open] |
||
585 | EMAC: Link NOT detected |
||
586 | (LOG) JBusServer: New client from IP 127.0.0.1 was added. |
||
587 | (LOG) JBusServer: Thread 208 was created for new client with file descriptor 18. |
||
588 | (LOG) coco: Link down! |
||
589 | |||
590 | (WRN) JBusServer: Client with fd 18 is down |
||
591 | (WRN) JBusServer: File: server.c, line: 120, func: ReceiverThread |
||
592 | (LOG) JBusServer: Thread 208 for client 18 will be terminated, because client is down |
||
593 | (LOG) JBusServer: Ready |
||
594 | (LOG) JBus-Client: Connection with server was closed |
||
595 | (LOG) JBusServer: New client from IP 127.0.0.1 was added. |
||
596 | (LOG) JBusServer: Thread 219 was created for new client with file descriptor 18. |
||
597 | (LOG) coco: New logger cfgmask=9801 |
||
598 | (WRN) JBusServer: Client with fd 18 is down |
||
599 | (WRN) JBusServer: File: server.c, line: 120, func: ReceiverThread |
||
600 | (LOG) JBusServer: Thread 219 for client 18 will be terminated, because client is down |
||
601 | (LOG) JBusWatchdog: Added new client to JBus Monitor (ClientId=132; name:coco) |
||
602 | |||
603 | (LOG) JBusWatchdog: Added new client to JBus Monitor (ClientId=146; name:uleapp) |
||
604 | |||
605 | (LOG) JBusWatchdog: Added new client to JBus Monitor (ClientId=145; name:qpa) |
||
606 | |||
607 | (LOG) JBusWatchdog: Added new client to JBus Monitor (ClientId=137; name:TransactionManager) |
||
608 | |||
609 | (LOG) JBusWatchdog: Added new client to JBus Monitor (ClientId=133; name:Heartbeat) |
||
610 | |||
611 | (LOG) JBusWatchdog: Added new client to JBus Monitor (ClientId=130; name:COMA-Server) |
||
612 | |||
613 | json_object_from_file: error reading file /mnt/data/cfg/firmware_cfg: No such file or directory |
||
614 | json_object_from_file: error reading file /mnt/data/cfg/firmware_inprogress: No such file or directory |
||
615 | (LOG) JBusServer: New client from IP 127.0.0.1 was added. |
||
616 | (LOG) JBusServer: Thread 232 was created for new client with file descriptor 19. |
||
617 | (LOG) coco: Link down! |
||
618 | |||
619 | (WRN) JBusServer: Client with fd 19 is down |
||
620 | (WRN) JBusServer: File: server.c, line: 120, func: ReceiverThread |
||
621 | (LOG) JBusServer: Thread 232 for client 19 will be terminated, because client is down |
||
622 | |||
623 | reefbs login: |
||
624 | 1 | laforge | </pre> |