Hallo,
Nachdem ich mich ein bisschen in die Materie eingearbeitet habe und die Abläufe ein wenig verstehe, habe ich bemerkt dass meine Box ein, wenn nicht zwei Probleme hat.
Erstens bleibt sie öfters beim Start oder beim Herunterfahren hängen. Zweitens gibts manchmal mitten im laufenden Betrieb einen Neustart.
Von dem Hänger beim Hochfahren habe ich ein Logfile gemacht.
Das komische ist halt, dass die Box mal startet und mal nicht.
Offensichtlich gibt es ein Problem mit dem i2c.
Ich habe das Log mit einem anderen verglichen wo der Start funktioniert hat.
Der erste Unterschied tritt hier auf (wenn die Box hängt):
[...]
AVIA: $Id: avia_core.c,v 1.30 2002/05/06 02:18:18 obi Exp $
write 1 event's ...
write 1 event's ...
der moment ist gekommen...
i2c-core.o: driver DBox2-CAM registered.
CAM: attaching CAM at 0x6e
i2c-core.o: client [DBOX2-CAM] registered to adapter [](pos. 3).
CAM: attached to adapter
i2c-CAM read error.
[...]
Wenn die Box richtig startet, sieht der Abschnitt so aus:
[...]
AVIA: $Id: avia_core.c,v 1.30 2002/05/06 02:18:18 obi Exp $
der moment ist gekommen...
i2c-core.o: driver DBox2-CAM registered.
CAM: attaching CAM at 0x6e
i2c-core.o: client [DBOX2-CAM] registered to adapter [](pos. 3).
CAM: attached to adapter
write 1 event's ...
write 1 event's ...
[...]
Was bedeuten die "write 1 event's" und warum sind sie an verschiedenen Stellen?
Weiter unten im Log steht dann noch etwas:
[AVS] i2c error -121
i2c-CAM read error.
Wer kann sich das mal ansehen und (hoffentlich) eine Lösung finden?
Hier das gesamte Log vom fehlgeschlagenen Start:
-----------------------------------------------------------
debug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS
debug: BMon V1.0 mID 01
debug: feID dd gtxID 0b
debug: fpID 5a dsID xx-xx.xx.xx.xx.xx.xx-xx
debug: HWrev X5 SWrev 0.81
debug: B/Ex/Fl(MB) 32/00/08
WATCHDOG reset enabled
dbox2:root> debug:
BOOTP/TFTP bootstrap loader (v0.3)
debug:
debug: Transmitting BOOTP request via broadcast
debug: Given up BOOTP/TFTP boot
boot net failed
Flash-FS bootstrap loader (v1.5)
Found Flash-FS superblock version 3.1
File /root/platform/nokia-dbox2/kernel/os not found: No such file or directory
boot flash /root/platform/nokia-dbox2/kernel/os failed
Flash-FS bootstrap loader (v1.5)
Found Flash-FS superblock version 3.1
File /root/platform/mpc8xx-dbox2/kernel/os not found: No such file or directory
boot flash /root/platform/mpc8xx-dbox2/kernel/os failed
Flash-FS bootstrap loader (v1.5)
Found Flash-FS superblock version 3.1
Found file /root/platform/kernel/os in Flash-FS
debug: Got Block #0196
will verify ELF image, start= 0x800000, size= 202876
verify sig: 262
Branching to 0x40000
ppcboot 0.6.4 (Mar 2 2002 - 20:44:32)
Initializing...
CPU: PPC823ZTnnA at 67 MHz: 2 kB I-Cache 1 kB D-Cache
*** Warning: CPU Core has Silicon Bugs -- Check the Errata ***
Board: ### No HW ID - assuming TQM8xxL
DRAM: (faked) 32 MB
Ethernet: xx-xx-xx-xx-xx-xx
FLASH: 8 MB
LCD driver (KS0713) initialized
LCD logo at: 0x8F049 (0x1E00 bytes)
FB logo at: 0x90E71 (0x31C1 bytes)
AVIA Frambuffer
Input: serial
Output: serial
1: Console on null
2: Console on ttyS0
3: Console on framebuffer
Select (1-3), other keys to stop autoboot: 0
...............................................................
Un-Protected 63 sectors
Kernel image at: 0x10020034 (0x8EFED bytes)
## Booting Linux kernel at 10020034 ...
Image Name: dbox2
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 585645 Bytes = 571 kB = 0 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Linux version 2.4.19-pre8-dbox2 (von alexW) (gcc version 3.0.4) #16 Son Mai 19 19:32:22 UTC 2002
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: ro root=1f03 console=ttyS0
WARNING: Frequency is not in HZ. Please consider using a newer bootloader!
WARNING: OLD intfreq = 67 busfreq = 67
WARNING: NEW intfreq = 67000000 busfreq = 67000000
Decrementer Frequency = 251250000/60
mpc8xx-wdt: active wdt found (SWTC: 0xFFFF, SWP: 0x1)
mpc8xx-wdt: keep-alive trigger activated (PITC: 0x2000)
Console: colour dummy device 80x25
Calibrating delay loop... 66.56 BogoMIPS
Memory: 30920k available (1032k kernel code, 352k data, 64k init, 0k highmem)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12 (20020219) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.1. (C) 2001, 2002 Red Hat, Inc., designed by Axis Communications AB.
i2c-core.o: i2c core module
CPM UART driver version 0.03
ttyS00 at 0x0280 is a SMC
ttyS01 at 0x0380 is a SMC
pty: 256 Unix98 ptys configured
eth0: CPM ENET Version 0.2 on SCC2, xx:xx:xx:xx:xx:xx
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
D-Box 2 flash driver (size->0x800000 mem->0x10000000)
Using word write method
Creating 7 MTD partitions on "D-Box 2 flash memory":
0x00000000-0x00020000 : "BR bootloader"
0x00020000-0x000c0000 : "idxfs (kernel, logos)"
0x000c0000-0x00160000 : "var (jffs2)"
0x00160000-0x00760000 : "root (cramfs)"
0x00760000-0x00800000 : "flfs (ppcboot)"
0x00020000-0x00800000 : "flash without bootloader"
0x00000000-0x00800000 : "complete flash"
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (cramfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 64k init
init started: BusyBox v0.61.pre (2002.04.02-22:55+0000) multi-ca[i2c-8xx]: mpc 8xx i2c init
i2c-core.o: adapter registered as adapter 0.
[i2c-8xx]: adapter: 0
i2c-core.o: driver FOR_PROBE_ONLY registered.
i2c-core.o: driver unregistered: FOR_PROBE_ONLY
i2c-core.o: driver FOR_PROBE_ONLY registered.
i2c-core.o: driver unregistered: FOR_PROBE_ONLY
event: init ...
i2c-core.o: driver i2c audio/video switch driver registered.
i2c-core.o: client [CXA2092] registered to adapter [](pos. 0).
i2c-core.o: driver i2c saa7126 driver registered.
i2c-core.o: client [i2c saa7126 chip] registered to adapter [](pos. 1).
i2c-core.o: driver DBox2 Frontprocessor driver registered.
i2c-core.o: client [DBox2 Frontprocessor client] registered to adapter [](pos. 2).
AVIA: $Id: avia_core.c,v 1.30 2002/05/06 02:18:18 obi Exp $
write 1 event's ...
write 1 event's ...
der moment ist gekommen...
i2c-core.o: driver DBox2-CAM registered.
CAM: attaching CAM at 0x6e
i2c-core.o: client [DBOX2-CAM] registered to adapter [](pos. 3).
CAM: attached to adapter
i2c-CAM read error.
avia_gt_core: $Id: avia_gt_core.c,v 1.19 2002/05/09 19:54:19 obi Exp $
avia_gt_core: autodetecting chip type... AViA GTX found
avia_gt_gtx: $Id: avia_gt_gtx.c,v 1.13 2002/05/09 22:25:23 obi Exp $
avia_gt_dmx: $Id: avia_gt_dmx.c,v 1.86 2002/05/09 07:29:21 waldi Exp $
avia_gt_core: masking unhandled irq reg 1 bit 11
avia_gt_core: masking unhandled irq reg 1 bit 13
avia_gt_gv: $Id: avia_gt_gv.c,v 1.17 2002/05/09 22:23:30 obi Exp $
avia_gt_gv: set_input_size (width=720, height=576)
avia_gt_pcm: $Id: avia_gt_pcm.c,v 1.12 2002/05/08 12:56:41 obi Exp $
avia_gt_capture: $Id: avia_gt_capture.c,v 1.18 2002/05/01 21:51:35 Jolt Exp $
avia_gt_pig: $Id: avia_gt_pig.c,v 1.18 2002/05/07 16:59:19 Jolt Exp $
avia_gt_ir: $Id: avia_gt_ir.c,v 1.15 2002/05/13 22:38:36 Jolt Exp $
avia_gt_core: Loaded AViA eNX/GTX driver
Init VES1893
i2c-core.o: driver VES1893 DVB demodulator registered.
[AVS] i2c error -121
avia_gt_napi: $Id: avia_gt_napi.c,v 1.88 2002/05/07 16:59:19 Jolt Exp $
avia_gt_napi: warning, misaligned queue 0 (is 32a00, size 10000), aligning...
avia_gt_vbi: $Id: avia_gt_vbi.c,v 1.10 2002/05/06 02:18:18 obi Exp $
avia_gt_vbi: got demux C-Cube - AViA eNX/GTX
avia_gt_fb: $Id: avia_gt_fb_core.c,v 1.30 2002/05/03 16:47:35 obi Exp $
avia_gt_gv: set_input_mode (mode=3)
avia_gt_gv: set_input_size (width=720, height=576)
avia_gt_gv: set_input_mode (mode=3)
avia_gt_gv: set_input_size (width=720, height=576)
avia_gt_gv: set_input_mode (mode=3)
avia_gt_gv: set_input_size (width=720, height=576)
Console: switching to colour frame buffer device 90x36
avia_gt_fb: fb0: AViA eNX/GTX Framebuffer frame buffer device
CXA2092 found
i2c-CAM read error.
[AVS] i2c error -121
i2c-CAM read error.
[AVS] i2c error -121
i2c-CAM read error.
[AVS] i2c error -121
i2c-CAM read error.
[AVS] i2c error -121
CXA2092 found
i2c-CAM read error.
write 1 event's ...
avia_gt_core: masking unhandled irq reg 0 bit 6
lcd.o: init lcd driver module
lcd.o: found KS0713/SED153X lcd interface on 1
Network LCD-Driver $Id: lcdd.cpp,v 1.48 2002/05/15 23:32:12 McClean Exp $
[lcdd] load config
[FONT] initializing core...
[FONT] adding font /share/fonts/micron.ttf...OK (Micron/Regular)
[FONT] Intializing font cache...
[AVS] i2c error -121
i2c-CAM read error.
------------------------------------- Ende des Logs
Gelegentliche Bootprobleme mit AlexW 1.5 (Nokia avia500)
-
- Interessierter
- Beiträge: 84
- Registriert: Dienstag 4. Juni 2002, 19:40
Gelegentliche Bootprobleme mit AlexW 1.5 (Nokia avia500)
Ciao
Ozymandias
Ozymandias
-
- Interessierter
- Beiträge: 84
- Registriert: Dienstag 4. Juni 2002, 19:40