Sagem Dbox2 1xI hängt beim Booten (alexW1xBaseimageV1.6.9)

Diskussionen um Bootloader, Kernel, Busybox
Hagie
Neugieriger
Neugieriger
Beiträge: 3
Registriert: Donnerstag 17. Juli 2003, 00:03

Sagem Dbox2 1xI hängt beim Booten (alexW1xBaseimageV1.6.9)

Beitrag von Hagie »

Hallo...
ich befürchte meine dBox hat beim Umrüsten auf Linux nen Schaden bekommen...
Alles was man über RS232 und Ethernet macht klappt einwandfrei....
Sobald ich das o.g. Image falsche und die Box neustarte bassiert folgendes:

Im LCD Display belibt sie bei "Loading Kernel" stehen...
Auf dem TV-Monitor sind die oberen zwei drittel des bildes streifig, und im unteren Drittel ist eine gelbe schrift (könnte Boot System heißen) auf blauem grund zu sehen...

das wars...

PRINTENV ergibt folgendes:
---------------------------------
printenv
bootcmd=fsload; setenv bootargs root=/dev/mtdblock2 console=$(console); bootm
bootdelay=1
baudrate=9600
loads_echo=1
ethaddr=00:50:9C:3D:3A:39
stdin=serial
stdout=serial
stderr=serial
console=ttyS0

Environment size: 198/16380 bytes
=>
---------------------------------

und das Bootlog sieht so aus:

---------------------------------
debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.2 mID 03
debug: feID 00 enxID 03
debug: fpID 52 dsID 01-bf.16.09.08.00.00-48
debug: HWrev 61 FPrev 0.23
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
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:09:31)

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.
** ERROR ** tuxbox has dup version = 00000005
** ERROR ** boot has dup version = 00000016
** ERROR ** ppcboot.conf has dup version = 0000001f
** ERROR ** ppcboot.conf has dup version (resolve) = 0000001f
LCD: ** ERROR ** tuxbox has dup version = 00000005
** ERROR ** boot has dup version = 00000016
** ERROR ** logo-lcd has dup version = 0000001e
** ERROR ** logo-lcd has dup version (resolve) = 0000001e
ready
FB: ** ERROR ** tuxbox has dup version = 00000005
** ERROR ** boot has dup version = 00000016
** ERROR ** logo-fb has dup version = 0000001d
** ERROR ** logo-fb has dup version (resolve) = 0000001d
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
### FS (cramfs) loading 'vmlinuz' to 0x100000
### FS LOAD ERROR<ffffffff> for vmlinuz!
=>
--------------------------------------

Falls jemand ne lösung für mich hat, die nicht einschicken heißt wäre das toll :-)
ps: habe das ganze forum nach diesem fehler durchsucht und nix gefunden...
cu
Hagie
DieMade
Oberlamer, Administrator & Supernanny
Beiträge: 10532
Registriert: Samstag 13. Juli 2002, 10:49

Beitrag von DieMade »

Hmm, poste doch mal bitte ein Log vom Flashvorgang.

Evtl. auch mla mit der "Methode ohne Nullmodem" flashen, aber dropsdem das Nullmodem franlassen und dieses Log auch posten.
There are 10 types of people in the world: those who know binary and those who don't
Hagie
Neugieriger
Neugieriger
Beiträge: 3
Registriert: Donnerstag 17. Juli 2003, 00:03

Beitrag von Hagie »

DieMade hat geschrieben:Hmm, poste doch mal bitte ein Log vom Flashvorgang.

Evtl. auch mla mit der "Methode ohne Nullmodem" flashen, aber dropsdem das Nullmodem franlassen und dieses Log auch posten.
Hm... da war ich heute morgen wohl zu blöd die nachricht die ich geschrieben habe abzuschicken :-( egal...

hier die beiden logs, das erste ist vom flashvorgang ohne nullmodem:

-----------------------------------------------------
debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.2 mID 03
debug: feID 00 enxID 03
debug: fpID 52 dsID 01-bf.16.09.08.00.00-48
debug: HWrev 61 FPrev 0.23
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: Got BOOTP reply from Server IP 192.168.123.190, My IP 192.168.123.212
debug: Sending TFTP-request for file C/test/ppcboot.txt
will verify ELF image, start= 0x800000, size= 222280
verify sig: 262
boot net: boot file has no valid signature
Branching to 0x40000


ppcboot 0.6.4 (Jul 12 2001 - 02:51:28)

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-3d-3a-39
FLASH: 8 MB
FB logo at: none
Input: serial
Output: serial

Any key druecken um das Flashing abzubrechen.. : 0
LCD driver (KS0713) initialized
Logo FlashingBOOTP broadcast 1
TFTP from server 192.168.123.190; our IP address is 192.168.123.212
Filename '/tftpboot/13.img'.
Load address: 0x100000
Loading: #######################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
######################
done
lo: 0x100000unprotecting 1
[0]-> [0] [Sb000b0] unprotecting 2
[0]-> [0] [Sb000b0] unprotecting 3
[0]-> [0] [Sb000b0] unprotecting 4
[0]-> [0] [Sb000b0] unprotecting 5
[0]-> [0] [Sb000b0] unprotecting 6
[0]-> [0] [Sb000b0] unprotecting 7
[0]-> [0] [Sb000b0] unprotecting 8
[0]-> [0] [Sb000b0] unprotecting 9
[0]-> [0] [Sb000b0] unprotecting a
[0]-> [0] [Sb000b0] unprotecting b
[0]-> [0] [Sb000b0] unprotecting c
[0]-> [0] [Sb000b0] unprotecting d
[0]-> [0] [Sb000b0] unprotecting e
[0]-> [0] [Sb000b0] unprotecting f
[0]-> [0] [Sb000b0] unprotecting 10
[0]-> [0] [Sb000b0] unprotecting 11
[0]-> [0] [Sb000b0] unprotecting 12
[0]-> [0] [Sb000b0] unprotecting 13
[0]-> [0] [Sb000b0] unprotecting 14
[0]-> [0] [Sb000b0] unprotecting 15
[0]-> [0] [Sb000b0] unprotecting 16
[0]-> [0] [Sb000b0] unprotecting 17
[0]-> [0] [Sb000b0] unprotecting 18
[0]-> [0] [Sb000b0] unprotecting 19
[0]-> [0] [Sb000b0] unprotecting 1a
[0]-> [0] [Sb000b0] unprotecting 1b
[0]-> [0] [Sb000b0] unprotecting 1c
[0]-> [0] [Sb000b0] unprotecting 1d
[0]-> [0] [Sb000b0] unprotecting 1e
[0]-> [0] [Sb000b0] unprotecting 1f
[0]-> [0] [Sb000b0] unprotecting 20
[0]-> [0] [Sb000b0] unprotecting 21
[0]-> [0] [Sb000b0] unprotecting 22
[0]-> [0] [Sb000b0] unprotecting 23
[0]-> [0] [Sb000b0] unprotecting 24
[0]-> [0] [Sb000b0] unprotecting 25
[0]-> [0] [Sb000b0] unprotecting 26
[0]-> [0] [Sb000b0] unprotecting 27
[0]-> [0] [Sb000b0] unprotecting 28
[0]-> [0] [Sb000b0] unprotecting 29
[0]-> [0] [Sb000b0] unprotecting 2a
[0]-> [0] [Sb000b0] unprotecting 2b
[0]-> [0] [Sb000b0] unprotecting 2c
[0]-> [0] [Sb000b0] unprotecting 2d
[0]-> [0] [Sb000b0] unprotecting 2e
[0]-> [0] [Sb000b0] unprotecting 2f
[0]-> [0] [Sb000b0] unprotecting 30
[0]-> [0] [Sb000b0] unprotecting 31
[0]-> [0] [Sb000b0] unprotecting 32
[0]-> [0] [Sb000b0] unprotecting 33
[0]-> [0] [Sb000b0] unprotecting 34
[0]-> [0] [Sb000b0] unprotecting 35
[0]-> [0] [Sb000b0] unprotecting 36
[0]-> [0] [Sb000b0] unprotecting 37
[0]-> [0] [Sb000b0] unprotecting 38
[0]-> [0] [Sb000b0] unprotecting 39
[0]-> [0] [Sb000b0] unprotecting 3a
[0]-> [0] [Sb000b0] unprotecting 3b
[0]-> [0] [Sb000b0] unprotecting 3c
[0]-> [0] [Sb000b0] unprotecting 3d
[0]-> [0] [Sb000b0] unprotecting 3e
[0]-> [0] [Sb000b0] unprotecting 3f
[0]-> [0] [Sb000b0] Un-Protected 63 sectors
Erase Flash from 0x10020000 to 0x107fffff
sector 63 .... done
Erased 63 sectors
Copy to Flash... Flash not Erased
LCD driver (KS0713) initialized
Logo Flashing done !
dbox2-ppcboot>
------------------------------------------------------------

was mir daran komisch vorkommt ist die meldung : flash not erased... auch verhält dich die box jetzt ganz anders... am TV-Monitor kein bild, auf dem display steht nur booting kernel und sonst ists leer...

weils rechjt kurz ist, hier das boot-log von diesem zustand:

------------------------------------------------------------
debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.2 mID 03
debug: feID 00 enxID 03
debug: fpID 52 dsID 01-bf.16.09.08.00.00-48
debug: HWrev 61 FPrev 0.23
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
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:09:31)

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.
find_inode failed for name=tuxbox
load: Failed to find inode
LCD: Scanning JFFS2 FS: done.
find_inode failed for name=tuxbox
load: Failed to find inode
ready - can't find logo in flash
FB: Scanning JFFS2 FS: done.
find_inode failed for name=tuxbox
load: Failed to find inode
can't find logo in flash - no init
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
### FS (cramfs) loading 'vmlinuz' to 0x100000
### FS LOAD ERROR<ffffffff> for vmlinuz!
=>
--------------------------------------------------------------

und hier nun das log vom flashen via nullmodem:
bemerkung: während des flashens ist auf dem TV-Monitor auch ein "defektes" bild zu sehen... obere zwei dritte bunte pixel und unteres drittel "DBox II Bootmanager is working with your flash..." Für mich sihts irgendwie nach dem fehler im grafikspeicher aus, aber warum fährt die kiste ned hoch?

--------------------------------------------------------------
debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.2 mID 03
debug: feID 00 enxID 03
debug: fpID 52 dsID 01-bf.16.09.08.00.00-48
debug: HWrev 61 FPrev 0.23
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: Got BOOTP reply from Server IP 192.168.123.190, My IP 192.168.123.212
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-3d-3a-39
FLASH: 8 MB
LCD driver (KS0713) initialized
BOOTP broadcast 1
TFTP from server 192.168.123.190; our IP address is 192.168.123.212
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.123.190; our IP address is 192.168.123.212
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/dbox2/alexW1xBaseimageV1.6.9.img
BOOTP broadcast 1
TFTP from server 192.168.123.190; our IP address is 192.168.123.212
Filename '/C/dbox2/alexW1xBaseimageV1.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 63 .... done
Erased 63 sectors

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

dbox2-ppcboot>

-------------------------------------------

nochmals danke im vorraus....
cu
Hagie
DieMade
Oberlamer, Administrator & Supernanny
Beiträge: 10532
Registriert: Samstag 13. Juli 2002, 10:49

Beitrag von DieMade »

Schaut ziemlich krank aus die Box, da wird wohl mal ein Besuch bei DBox-Doktor fällig:

http://www.eifelshop.biz
http://www.kovac.de
http://www.neutrino-anleitung.de
http://www.ekssat.de

Therapiepreise liegen im Bereich 25 Euro - Neuanschaffung (bevor wieder Rückfragen kommen ;))
There are 10 types of people in the world: those who know binary and those who don't
Hagie
Neugieriger
Neugieriger
Beiträge: 3
Registriert: Donnerstag 17. Juli 2003, 00:03

Beitrag von Hagie »

DieMade hat geschrieben:Schaut ziemlich krank aus die Box, da wird wohl mal ein Besuch bei DBox-Doktor fällig:

http://www.eifelshop.biz
http://www.kovac.de
http://www.neutrino-anleitung.de
http://www.ekssat.de

Therapiepreise liegen im Bereich 25 Euro - Neuanschaffung (bevor wieder Rückfragen kommen ;))
Leider genau die Antwort die ich nicht hören wollte, obwohls mir eigendlich schon klar war...
ich danke dir...

cu
Hagie