Project

General

Profile

Gigaset Elements Base » History » Version 7

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