Nach Debug mit MHC bei Sagem 2xI nurnoch 1 Balken!?

Domestos & Derivate
joersche
Interessierter
Interessierter
Beiträge: 35
Registriert: Sonntag 23. März 2003, 18:01

Nach Debug mit MHC bei Sagem 2xI nurnoch 1 Balken!?

Beitrag von joersche »

Hallo,
nachdem ich bei meiner Sagem mit 2xI die MHC Methode angewandt habe kommt immer nur noch 1 Balken im Display, Debug ist aber enabled.
Was kann da passiert sein?
schon mal Danke für die Antwort.
Mfg
joersche

P.s.:Folgender Log erscheint beim flashen:

0debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.0 mID 03
debug: feID 00 enxID 03
debug: fpID 52 dsID 01-d7.d8.0d.07.00.00-fb
debug: HWrev 41 FPrev 0.23
debug: B/Ex/Fl(MB) 32/00/08
WATCHDOG reset enabled
dbox2:root> boot
debug:
BOOTP/TFTP bootstrap loader (v0.3)
debug:
debug: Transmitting BOOTP request via broadcast
debug: Got BOOTP reply from Server IP 192.168.1.200, My IP 192.168.1.3
debug: Sending TFTP-request for file C/Programme/DBoxBoot/ppcboot_writeflash
will verify ELF image, start= 0x800000, size= 201596
verify sig: 262
boot net: boot file has no valid signature
Branching to 0x40000


ppcboot 0.6.4 (Apr 11 2002 - 16:10:44)

Initializing...
CPU: PPC823ZTnnB2 at 66 MHz: 2 kB I-Cache 1 kB D-Cache
Board: ### No HW ID - assuming TQM8xxL
DRAM: (faked) 32 MB
Ethernet: 00-50-9c-38-8e-05
FLASH: 8 MB
LCD driver (KS0713) initialized
BOOTP broadcast 1
TFTP from server 192.168.1.200; our IP address is 192.168.1.3
Filename 'C/Programme/tftpboot/logo-lcd'.
Load address: 0x130000
Loading: ##
done
LCD logo at: 0x130000 (0x1F9FFC0 bytes)
BOOTP broadcast 1
TFTP from server 192.168.1.200; our IP address is 192.168.1.3
Filename 'C/Programme/tftpboot/logo-fb'.
Load address: 0x120000
Loading: #########
done
FB logo at: 0x0 (0x1FC0000 bytes)
AVIA Frambuffer
Input: serial
Output: serial


1: Console on ttyS0
2: Console on null
3: Console on framebuffer
Select (1-3), other keys to stop autoboot: 0
dbox2-ppcboot> bootp 120000 /C/alexW2xBaseimageV1.6.9.img
BOOTP broadcast 1
TFTP from server 192.168.1.200; our IP address is 192.168.1.3
Filename '/C/alexW2xBaseimageV1.6.9.img'.
Load address: 0x120000
Loading: #######################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
######################
done

dbox2-ppcboot> protect off 10020000 107fffff
...............................................................
Un-Protected 63 sectors

dbox2-ppcboot> erase 10020000 107fffff
Erase Flash from 0x10020000 to 0x107fffff
sector 66 .... done
Erased 63 sectors

dbox2-ppcboot> cp.l 120000 10020000 1F8000
Copy to Flash... done

dbox2-ppcboot>
DieMade
Oberlamer, Administrator & Supernanny
Beiträge: 10532
Registriert: Samstag 13. Juli 2002, 10:49

Beitrag von DieMade »

Und wie schaut ein Bootlog aus?
There are 10 types of people in the world: those who know binary and those who don't
joersche
Interessierter
Interessierter
Beiträge: 35
Registriert: Sonntag 23. März 2003, 18:01

Beitrag von joersche »

Danke für die schnelle Antwort!!!
Bin mir leider nicht 100% sicher was ein Bootlog ist, aber ich hoffe das ist richtig:

debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.0 mID 03
debug: feID 00 enxID 03
debug: fpID 52 dsID 01-d7.d8.0d.07.00.00-fb
debug: HWrev 41 FPrev 0.23
debug: B/Ex/Fl(MB) 32/00/08
WATCHDOG reset enabled
dbox2:root> boot
debug:
BOOTP/TFTP bootstrap loader (v0.3)
debug:
debug: Transmitting BOOTP request via broadcast
debug: Got BOOTP reply from Server IP 192.168.1.200, My IP 192.168.1.3
debug: Sending TFTP-request for file C/yadd/tftpboot/ppcboot
will verify ELF image, start= 0x800000, size= 204200
verify sig: 262
boot net: boot file has no valid signature
Branching to 0x40000


ppcboot 0.6.4 (Jun 24 2002 - 20:39:15)

Initializing...
CPU: PPC823ZTnnB2 at 66 MHz: 2 kB I-Cache 1 kB D-Cache
Board: ### No HW ID - assuming TQM8xxL
DRAM: (faked) 32 MB
Ethernet: 00-50-9c-38-8e-05
FLASH: 8 MB
LCD driver (KS0713) initialized
BOOTP broadcast 1
TFTP from server 192.168.1.200; our IP address is 192.168.1.3
Filename 'C/yadd/tftpboot/logo-lcd'.
Load address: 0x130000
Loading: ##
done
LCD logo at: 0x130000 (0x1FD2814 bytes)
BOOTP broadcast 1
TFTP from server 192.168.1.200; our IP address is 192.168.1.3
Filename 'C/yadd/tftpboot/logo-fb'.
Load address: 0x120000
Loading: ##############
done
FB logo at: 0x0 (0x1FC0000 bytes)
AVIA Frambuffer
Input: serial
Output: serial


1: Console on ttyS0
2: Console on null
3: Console on framebuffer
Select (1-3), other keys to stop autoboot: 0
...............................................................
Un-Protected 63 sectors
BOOTP broadcast 1
TFTP from server 192.168.1.200; our IP address is 192.168.1.3
Filename 'C/yadd/tftpboot/kernel-yadd'.
Load address: 0x100000
Loading: #######################################################################
#############################################
done
## Booting Linux kernel at 00100000 ...
Image Name: dbox2
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 590089 Bytes = 576 kB = 0 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Linux version 2.4.19 (von alexW) Wer Kernels nachmacht, oder faelscht, wird best
raft ;-) #1 Mon Sep 23 08:56:15 CEST 2002
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0 ip=bootp root=/dev/nfs rw nfsroot=192.168.1.2
00:C/yadd/yaddroot/
WARNING: Frequency is not in HZ. Please consider using a newer bootloader!
WARNING: OLD intfreq = 66 busfreq = 66
WARNING: NEW intfreq = 66000000 busfreq = 66000000
Decrementer Frequency = 247500000/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... 65.53 BogoMIPS
Memory: 30944k available (1036k kernel code, 320k data, 68k 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.12a (20020514) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
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, 00:50:9c:38:8e:05
D-Box 2 flash driver (size->0x800000 mem->0x10000000)
Using word write method
Creating 3 MTD partitions on "D-Box 2 flash memory":
0x00000000-0x00020000 : "BR bootloader"
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)
Sending BOOTP requests . OK
IP-Config: Got BOOTP answer from 192.168.1.200, my address is 192.168.1.3
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
device=eth0, addr=192.168.1.3, mask=255.255.255.0, gw=255.255.255.255,
host=192.168.1.3, domain=, nis-domain=(none),
bootserver=192.168.1.200, rootserver=192.168.1.200, rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Looking up port of RPC 100003/2 on 192.168.1.200
portmap: server 192.168.1.200 not responding, timed out
Root-NFS: Unable to get nfsd port number from server, using default
Looking up port of RPC 100005/1 on 192.168.1.200
DieMade
Oberlamer, Administrator & Supernanny
Beiträge: 10532
Registriert: Samstag 13. Juli 2002, 10:49

Beitrag von DieMade »

Mach mal alles außer dem COM-Port aus, damit die Box nach dem Flashen versucht, aus dem Flash zu booten.
There are 10 types of people in the world: those who know binary and those who don't
joersche
Interessierter
Interessierter
Beiträge: 35
Registriert: Sonntag 23. März 2003, 18:01

Beitrag von joersche »

Sorry, verstehe nicht ganz. Direkt nach dem Flashen hat bei mir die Box noch nie was ohne Reset gemacht. Wenn ich den mache und im Bootmanager alles aus mache außer ComPort steht sie im Prompt:

debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.0 mID 03
debug: feID 00 enxID 03
debug: fpID 52 dsID 01-d7.d8.0d.07.00.00-fb
debug: HWrev 41 FPrev 0.23
debug: B/Ex/Fl(MB) 32/00/08
WATCHDOG reset enabled
dbox2:root>

Dann hab ich halt immer Boot eingeben und Sie hat je nach dem was im Bootp eingestellt war das gemacht.
Tut mir leid wenn ich mich ein bißchen dumm anstelle, aber bisher hat alles reibungslos funktioniert und ich hab mir keine genauen Gedanken über den Bootmanager gemacht...
Wie gehts weiter?
Mfg
joersche
DieMade
Oberlamer, Administrator & Supernanny
Beiträge: 10532
Registriert: Samstag 13. Juli 2002, 10:49

Beitrag von DieMade »

Hmm, 2 Dinge noch.

Gib mal "printenv" ein und poste das Ergebnis. Anschließend "boot flash" eingeben zum Test.
There are 10 types of people in the world: those who know binary and those who don't
joersche
Interessierter
Interessierter
Beiträge: 35
Registriert: Sonntag 23. März 2003, 18:01

Beitrag von joersche »

Hoffe du sagst mir jetzt nicht gleich das die Box tot ist :-(
Mir fällt grad ein, dass ich zum erstenmal eine andere Netzwerkkarte benutzt habe und ein Crosskabel und keinen Switch. Denke aber nicht dass das was ändert, oder?
Hier die Daten:

|debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.0 mID 03
debug: feID 00 enxID 03
debug: fpID 52 dsID 01-d7.d8.0d.07.00.00-fb
debug: HWrev 41 FPrev 0.23
debug: B/Ex/Fl(MB) 32/00/08
WATCHDOG reset enabled
dbox2:root> printenv
printenv: config_mem: 0x10000a00
name value default
product?: false false
diag-switch?: false true
auto-boot?: true true
watchdog-reboot?: false false
boot-cmd: boot net flash boot net
intopt: 0x01234567 0x12345678
dbox2:root> boot flash

Flash-FS bootstrap loader (v1.5)

Found Flash-FS superblock version 3.1
Found file /root/platform/sagem-dbox2/kernel/os in Flash-FS
debug: Got Block #0052

will verify ELF image, start= 0x800000, size= 203620
verify sig: 262
Branching to 0x40000


PPCBoot 1.1.6 (TuxBox) (Mar 13 2003 - 12:11:32)

CPU: PPC823ZTnnB2 at 66 MHz: 2 kB I-Cache 1 kB D-Cache
Watchdog enabled
Board: DBOX2, Sagem
I2C: ready
DRAM: 32 MB
FLASH: 8 MB
Scanning JFFS2 FS: . done.
LCD: ready
FB: loading - ready
In: serial
Out: serial
Err: serial

Options:
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
### FS (cramfs) loading 'vmlinuz' to 0x100000
### FS load compleate: 571677 bytes loaded to 0x100000
## Booting image at 00100000 ...
Image Name: dbox2
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 571613 Bytes = 558 kB = 0 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Linux version 2.4.20-dbox2 (von alexW) Wer Kernels nachmacht, oder faelscht, wir
d bestraft ;-) #1 Son Apr 13 14:50:18 CEST 2003
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 console=ttyS0
Decrementer Frequency = 247500000/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... 65.74 BogoMIPS
Memory: 30964k available (996k kernel code, 348k data, 60k 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.12c (20020818) 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, 00:50:9c:38:8e:05
D-Box 2 flash driver (size->0x800000 mem->0x10000000)
cfi_cmdset_0001: Erase suspend on write enabled
Using word write method
Creating 6 MTD partitions on "D-Box 2 flash memory":
0x00000000-0x00020000 : "BR bootloader"
0x00020000-0x00040000 : "flfs (ppcboot)"
0x00040000-0x00720000 : "root (cramfs)"
0x00720000-0x00800000 : "var (jffs2)"
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: 60k init
init started: BusyBox v0.61.pre (2003.04.09-05:48+0000) multi-caUsing /lib/modu
les/2.4.20-dbox2/misc/i2c-8xx.o
[i2c-8xx]: mpc 8xx i2c init
i2c-core.o: adapter registered as adapter 0.
[i2c-8xx]: adapter: 0
Using /lib/modules/2.4.20-dbox2/misc/info.o
i2c-core.o: driver FOR_PROBE_ONLY registered.
i2c-core.o: driver unregistered: FOR_PROBE_ONLY
Using /lib/modules/2.4.20-dbox2/misc/event.o
event: init ...
Using /lib/modules/2.4.20-dbox2/misc/fp.o
i2c-core.o: driver DBox2 Frontprocessor driver registered.
i2c-core.o: client [DBox2 Frontprocessor client] registered to adapter [](pos. 0
).
[1] 19
Using /lib/modules/2.4.20-dbox2/misc/lcd.o
lcd.o: init lcd driver module
lcd.o: found KS0713/SED153X lcd interface on 3
[lcdip] Bootmanager IP gefunden.
DieMade
Oberlamer, Administrator & Supernanny
Beiträge: 10532
Registriert: Samstag 13. Juli 2002, 10:49

Beitrag von DieMade »

Die Box ist doch noch OK, gaaaaaaaanz ruhig. Scheinbar unterbricht der PC bei angeschlossem Nullmodemkabel den Bootvorgang. Zieh das Kabel mal ab und guck ob die Box bootet - solle sie dann eigentlich :D
There are 10 types of people in the world: those who know binary and those who don't
joersche
Interessierter
Interessierter
Beiträge: 35
Registriert: Sonntag 23. März 2003, 18:01

Beitrag von joersche »

Jetzt muß ich nochmal was komisches nachtragen:
Als ich zufällig merkte, dass die Infrarotschnittstelle nicht auf die FB reagierte habe ich die komplette IR-Platine ausgetauscht und siehe da, die Box fährt hoch. Aber die IR geht immernoch nicht. Dann hab ichs wieder mit der alten probiert und die Box fuhr wieder nicht hoch. Mit der neuen fuhr sie wieder hoch, aber IR wieder nicht. Ohne fuhr Sie auch hoch. Jetzt aufeinmal fährt Sie mit beiden hoch, der Reset mit den Tasten fkt. bei beiden, aber bei beiden geht die IR nicht.
Kann mir das einer erklären???
So geht die Box auf alle Fälle immer noch nicht!
Bitte weiterhin um Hilfe und Erklärung!??
Mfg
joersche
SoLaLa
Tuxboxer
Tuxboxer
Beiträge: 6119
Registriert: Mittwoch 3. April 2002, 00:32

Beitrag von SoLaLa »

aaaah, Du warst das :D
gut, im Hardwareforum hab ich Dir schon gepostet was Du am FP checken kannst
Jetzt zum testen OHNE Fernbedienungsfunktion könntest Du noch mal n fertiges Image installieren (also komplett mit cdk.cramfs, ucodes und senderlisten). damit ließe sich die prinzipielle Funktion der Box dann schonmal testen
never change a running system