Jump to content

Timeout beim Debug-Modus herstellen


Empfohlene Beiträge

Hallo,

hab mal wieder ein Problem. Versuche gerade ne Nokia d-Box mit 2xIntelFlash und Avia600 in den Debug zu bekommen aber ich bekomme mit der Mhc-Methode keine Eingabe im Com-Terminal und mit der Methode ohne Kurzschluss bekomme ich auch Timeout bei der Eingabe von Help.

 

Die Box hat ein Bmon 1.2 drauf.

 

Bitte um Hilfe

 

gruss

codo55 ;)

Link zu diesem Kommentar
Auf anderen Seiten teilen

Hallo!

 

Bei boxen die im debug modus sind ist es normal das man "keine Eingabe im Com-Terminal" bekommt. Die MHC Methode sollte eigentlich zu mehr als 1000% funzen.

 

Da sie noch nicht im Debug-Mode ist, gibt es auf die meisten Kommandos keine Rückmeldung, es sind aber alle Befehle möglich.

Alle unten beschriebenen Eingaben werden im com-terminal gemacht. Nicht nervös werden, wenn da noch nix steht, die erste Ausgabe ist die Antwort auf icache.

 

Aus gegebenem Anlass: Das com-terminal im Bootmanager erkennt man an dem Reiter com-terminal an der Seite.

Wenn ihr einen "timeout" erhaltet, war das der RSH-Client und nicht das com-terminal.

 

Prozedur:

 

Startet nun die Box mit Reset (Pfeil-nach-oben und Standby-Taste) und haltet die Pfeil-nach-oben Taste an der Box gedrückt bis die Zahlenfolge wieder im LCD erscheint.

 

Jetzt wird der Punkt für den Flashreset mit GND verbunden.

 

Diese Verbindug muss bestehen bleiben bis der Selbsttest der Box beendet ist.

 

Bei den Nokias tauchen dann 5 Balken mitten in den Zahlen auf, bei den anderen Boxen erscheint 1 Balken.

Nun sollte die Box im Bootloader-Prompt stehen.

 

Löst nun die Kontakte für den Flashreset wieder.

 

nun sollte die box bei dei eingabe von "icache" mit icache is on antworten.

Das ist eigentlich der ganze zauber.

 

nachzulesen hier: *klick*

 

mfg kekec

Link zu diesem Kommentar
Auf anderen Seiten teilen

Hallo,

 

habe es jetzt endlixh geschaft die Box in den Debug zu bringen. Anschliessend habe ich das Keyweltimage V5 geflashed aber es bootet nicht. Die Box bleibt mit "loading Kernel" stehen und resetet nach einer Weile wieder.

 

hier mal den Bootlog:

 

 

debug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS

debug: BMon V1.2 mID 01

debug: feID dd gtxID 0b

debug: fpID 5a dsID xxxxxxxxxxxxxx

debug: HWrev 09 FPrev 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

Found file /root/platform/nokia-dbox2/kernel/os in Flash-FS

debug: Got Block #0032

 

will verify ELF image, start= 0x800000, size= 155528

verify sig: 263

Branching to 0x40000

 

 

U-Boot 1.1.2 (Tuxbox) (Mar 20 2005 - 04:33:49)

 

CPU: PPC823ZTnnB2 at 67.100 MHz: 2 kB I-Cache 1 kB D-Cache

Board: DBOX2, Nokia, BMon V1.2

Watchdog enabled

I2C: ready

DRAM: 32 MB

FLASH: 8 MB

Scanning JFFS2 FS: ....... done.

FB: ready

LCD: ready

In: serial

Out: serial

Err: serial

Net: SCC ETHERNET

 

Options:

1: Console on null

2: Console on ttyS0

3: Console on framebuffer

Select option (1-3), other keys to stop autoboot: 0

### FS (jffs2) loading 'vmlinuz' to 0x100000

### FS load complete: 625303 bytes loaded to 0x100000

...............................................................

Un-Protected 63 sectors

## Booting image at 00100000 ...

Image Name: dbox2

Image Type: PowerPC Linux Kernel Image (gzip compressed)

Data Size: 625239 Bytes = 610.6 kB

Load Address: 00000000

Entry Point: 00000000

Verifying Checksum ... OK

Uncompressing Kernel Image ... OK

Linux version 2.4.27-dbox2 (dietmarw@linux) (gcc version 3.3.5) #1 So Mr 20 04:3

6:57 CET 2005

On node 0 totalpages: 8192

zone(0): 8192 pages.

zone(1): 0 pages.

zone(2): 0 pages.

Kernel command line: console=ttyS0 root=/dev/mtdblock2 rw

Decrementer Frequency = 251625000/60

m8xx_wdt: active wdt found (SWTC: 0xFFFF, SWP: 0x1)

m8xx_wdt: keep-alive trigger installed (PITC: 0x2580)

Console: colour dummy device 80x25

Calibrating delay loop... 66.76 BogoMIPS

Memory: 30876k available (1064k kernel code, 368k data, 60k init, 0k highmem)

Oops: kernel access of bad area, sig: 11

NIP: C0138F54 XER: 8000127F LR: C0138F34 SP: C0126FD0 REGS: c0126f20 TRAP: 0300

Not tainted

MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11

DAR: 0000001C, DSISR: 00000009

TASK = c0125050[0] 'swapper' Last syscall: 0

last math 00000000 last altivec 00000000

GPR00: C017E188 C0126FD0 C0125050 C010E820 C010F728 000001C8 C0126F98 C017E1A8

GPR08: FFFFFFFF 00000000 0000003B C017E180 93303059 00031BFC 01FFBE00 00000001

GPR16: FFFFFFFF 007FFF00 01FF63A0 00000000 00000001 007FFEC0 00800000 00000000

GPR24: 00000000 C0140000 C0110000 C0110000 C0110000 C0110000 C0126FE0 C01277C4

Call backtrace:

C0138F34 C0136510 C0002138

Kernel panic: Attempted to kill the idle task!

In idle task - not syncing

<0>Rebooting in 180 seconds..

 

Bitte um Hilfe

 

gruss codo55

Link zu diesem Kommentar
Auf anderen Seiten teilen

Habs schon 2x geflashed hab grad das vom März versucht, geht au ned.

Muss man nach dem Debuggen noch irgendetwas tun bevor man das Linuximage flashed?

 

gruss

codo55

Nein.

 

Würde nochmals flashen und genau so wie von homer1974 empfohlen. Also mit dem Flashassi. Im gepostetem Log steht: Boot net failed. Das wird mit dem Assi verhindert. Normalerweise.

Link zu diesem Kommentar
Auf anderen Seiten teilen

Wäre hilfreich, wenn Du mitteilst womit Du geflasht hast und ob mit oder ohne Nullmodemkabel. Das ist nämlich manchmal wichtig, weil ichs bereits erlebt habe, dass es ohne - selbst mit dem Alleskönner Flashassi nicht erfolgreich war.

Link zu diesem Kommentar
Auf anderen Seiten teilen

Habe mit Boot-Manager von Feldtech geflashed, mit Nullmodemkabel.

Gerade habe ich die orginal BR-Soft geflashed und die läuft astrein.

 

Was ist da Los??

Was bedeutet denn am Ende des Bootlog:

 

Kernel panic: Attempted to kill the idle task!

In idle task - not syncing

 

 

gruss codo55

Link zu diesem Kommentar
Auf anderen Seiten teilen

anbei noch der Bootlog des Flashingassistent

 

ÿdebug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS

debug: BMon V1.2 mID 01

debug: feID dd gtxID 0b

debug: fpID 5a dsID http://Hallenberg.com

debug: HWrev 09 FPrev 0.81

debug: B/Ex/Fl(MB) 32/00/08

WATCHDOG reset enabled

debug: autoboot aborted from terminal

dbox2:root>

dbox2:root> boot net net net net net net net net net net

debug:

BOOTP/TFTP bootstrap loader (v0.3)

debug:

debug: Transmitting BOOTP request via broadcast

debug: Got BOOTP reply from Server IP 192.168.5.3, My IP 192.168.5.202

debug: Sending TFTP-request for file J/dboxifa_tmp/tftpboot/u-boot

will verify ELF image, start= 0x800000, size= 140336

verify sig: 263

boot net: boot file has no valid signature

Branching to 0x40000

 

 

U-Boot 1.1.2 (Tuxbox) (Jun 12 2005 - 13:44:14)

 

CPU: PPC823ZTnnB2 at 67.100 MHz: 2 kB I-Cache 1 kB D-Cache

Board: DBOX2, Nokia, BMon V1.2

Watchdog enabled

I2C: ready

DRAM: 32 MB

FLASH: 8 MB

FB: ready

LCD: ready

In: serial

Out: serial

Err: serial

Net: SCC ETHERNET

BOOTP broadcast 1

Using SCC ETHERNET device

TFTP from server 192.168.5.3; our IP address is 192.168.5.202

Filename 'J/dboxifa_tmp/tftpboot/u-boot'.

Load address: 0x100000

Loading: *Using SCC ETHERNET device

TFTP from server 192.168.5.3; our IP address is 192.168.5.202

Filename '/tftpboot/logo-lcd'.

Load address: 0x100000

Loading: *##

done

Bytes transferred = 7680 (1e00 hex)

BOOTP broadcast 1

Using SCC ETHERNET device

TFTP from server 192.168.5.3; our IP address is 192.168.5.202

Filename 'J/dboxifa_tmp/tftpboot/u-boot'.

Load address: 0x100000

Loading: *Using SCC ETHERNET device

TFTP from server 192.168.5.3; our IP address is 192.168.5.202

Filename '/tftpboot/logo-fb'.

Load address: 0x100000

Loading: *####################################

done

Bytes transferred = 179877 (2bea5 hex)

 

Options:

1: Console on null

2: Console on ttyS0

3: Console on framebuffer

Select option (1-3), other keys to stop autoboot: 0

 

Bank # 1: INTEL 28F320C3B (32M, bottom boot sect), 32 bit

 

Size: 8192 kB in 71 Sectors

 

Using SCC ETHERNET device

TFTP from server 192.168.5.3; our IP address is 192.168.5.202

Filename 'kernel-yadd'.

Load address: 0x100000

Loading: *#################################################################

#################################################################

####################

done

Bytes transferred = 763552 (ba6a0 hex)

...............................................................

Un-Protected 63 sectors

## Booting image at 00100000 ...

Image Name: dbox2

Image Type: PowerPC Linux Kernel Image (gzip compressed)

Data Size: 763488 Bytes = 745.6 kB

Load Address: 00000000

Entry Point: 00000000

Verifying Checksum ... OK

Uncompressing Kernel Image ... OK

Memory: 30560k available (1296k kernel code, 440k data, 72k init, 0k highmem)

 

debug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS

debug: WATCHDOG RESET

debug: BMon V1.2 mID 01

debug: feID dd gtxID 0b

debug: fpID 5a dsID http://Hallenberg.com

debug: HWrev 09 FPrev 0.81

debug: B/Ex/Fl(MB) 32/00/08

WATCHDOG reset enabled

debug: autoboot aborted from terminal

dbox2:root>

dbox2:root> boot net net net net net net net net net net

debug:

BOOTP/TFTP bootstrap loader (v0.3)

debug:

debug: Transmitting BOOTP request via broadcast

debug: Got BOOTP reply from Server IP 192.168.5.3, My IP 192.168.5.202

debug: Sending TFTP-request for file J/dboxifa_tmp/tftpboot/u-boot

will verify ELF image, start= 0x800000, size= 140336

verify sig: 263

boot net: boot file has no valid signature

Branching to 0x40000

 

 

U-Boot 1.1.2 (Tuxbox) (Jun 12 2005 - 13:44:14)

 

CPU: PPC823ZTnnB2 at 67.100 MHz: 2 kB I-Cache 1 kB D-Cache

Board: DBOX2, Nokia, BMon V1.2

Watchdog enabled

I2C: ready

DRAM: 32 MB

FLASH: 8 MB

FB: ready

LCD: ready

In: serial

Out: serial

Err: serial

Net: SCC ETHERNET

BOOTP broadcast 1

Using SCC ETHERNET device

TFTP from server 192.168.5.3; our IP address is 192.168.5.202

Filename 'J/dboxifa_tmp/tftpboot/u-boot'.

Load address: 0x100000

Loading: *Using SCC ETHERNET device

TFTP from server 192.168.5.3; our IP address is 192.168.5.202

Filename '/tftpboot/logo-lcd'.

Load address: 0x100000

Loading: *##

done

Bytes transferred = 7680 (1e00 hex)

BOOTP broadcast 1

Using SCC ETHERNET device

TFTP from server 192.168.5.3; our IP address is 192.168.5.202

Filename 'J/dboxifa_tmp/tftpboot/u-boot'.

Load address: 0x100000

Loading: *Using SCC ETHERNET device

TFTP from server 192.168.5.3; our IP address is 192.168.5.202

Filename '/tftpboot/logo-fb'.

Load address: 0x100000

Loading: *####################################

done

Bytes transferred = 179877 (2bea5 hex)

 

Options:

1: Console on null

2: Console on ttyS0

3: Console on framebuffer

Select option (1-3), other keys to stop autoboot: 0

 

Bank # 1: INTEL 28F320C3B (32M, bottom boot sect), 32 bit

 

Size: 8192 kB in 71 Sectors

 

Using SCC ETHERNET device

TFTP from server 192.168.5.3; our IP address is 192.168.5.202

Filename 'kernel-yadd'.

Load address: 0x100000

Loading: *#################################################################

#################################################################

####################

done

Bytes transferred = 763552 (ba6a0 hex)

...............................................................

Un-Protected 63 sectors

## Booting image at 00100000 ...

Image Name: dbox2

Image Type: PowerPC Linux Kernel Image (gzip compressed)

Data Size: 763488 Bytes = 745.6 kB

Load Address: 00000000

Entry Point: 00000000

Verifying Checksum ... OK

Uncompressing Kernel Image ... OK

<0>Rebooting in 180 seconds..

 

debug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS

debug: WATCHDOG RESET

debug: BMon V1.2 mID 01

debug: feID dd gtxID 0b

debug: fpID 5a dsID http://Hallenberg.com

debug: HWrev 09 FPrev 0.81

debug: B/Ex/Fl(MB) 32/00/08

WATCHDOG reset enabled

debug: autoboot aborted from terminal

dbox2:root>

dbox2:root> boot net net net net net net net net net net

debug:

BOOTP/TFTP bootstrap loader (v0.3)

debug:

debug: Transmitting BOOTP request via broadcast

debug: Got BOOTP reply from Server IP 192.168.5.3, My IP 192.168.5.202

debug: Sending TFTP-request for file J/dboxifa_tmp/tftpboot/u-boot

will verify ELF image, start= 0x800000, size= 140336

verify sig: 263

boot net: boot file has no valid signature

Branching to 0x40000

 

 

U-Boot 1.1.2 (Tuxbox) (Jun 12 2005 - 13:44:14)

 

CPU: PPC823ZTnnB2 at 67.100 MHz: 2 kB I-Cache 1 kB D-Cache

Board: DBOX2, Nokia, BMon V1.2

Watchdog enabled

I2C: ready

DRAM: 32 MB

FLASH: 8 MB

FB: ready

LCD: ready

In: serial

Out: serial

Err: serial

Net: SCC ETHERNET

BOOTP broadcast 1

Using SCC ETHERNET device

TFTP from server 192.168.5.3; our IP address is 192.168.5.202

Filename 'J/dboxifa_tmp/tftpboot/u-boot'.

Load address: 0x100000

Loading: *Using SCC ETHERNET device

TFTP from server 192.168.5.3; our IP address is 192.168.5.202

Filename '/tftpboot/logo-lcd'.

Load address: 0x100000

Loading: *##

done

Bytes transferred = 7680 (1e00 hex)

BOOTP broadcast 1

Using SCC ETHERNET device

TFTP from server 192.168.5.3; our IP address is 192.168.5.202

Filename 'J/dboxifa_tmp/tftpboot/u-boot'.

Load address: 0x100000

Loading: *Using SCC ETHERNET device

TFTP from server 192.168.5.3; our IP address is 192.168.5.202

Filename '/tftpboot/logo-fb'.

Load address: 0x100000

Loading: *####################################

done

Bytes transferred = 179877 (2bea5 hex)

 

Options:

1: Console on null

2: Console on ttyS0

3: Console on framebuffer

Select option (1-3), other keys to stop autoboot: 0

 

Bank # 1: INTEL 28F320C3B (32M, bottom boot sect), 32 bit

 

Size: 8192 kB in 71 Sectors

 

Using SCC ETHERNET device

TFTP from server 192.168.5.3; our IP address is 192.168.5.202

Filename 'kernel-yadd'.

Load address: 0x100000

Loading: *#################################################################

#################################################################

####################

done

Bytes transferred = 763552 (ba6a0 hex)

...............................................................

Un-Protected 63 sectors

## Booting image at 00100000 ...

Image Name: dbox2

Image Type: PowerPC Linux Kernel Image (gzip compressed)

Data Size: 763488 Bytes = 745.6 kB

Load Address: 00000000

Entry Point: 00000000

Verifying Checksum ... OK

Uncompressing Kernel Image ... OK

<0>Rebooting in 180 seconds..

------ Zusatzinformationen ------

Gewählter Netzwerkadapter: 3Com EtherLink III Bus-Master PCI Ethernet Adapter - Paketplaner-Miniport (0)

IP-Adresse des Netzwerkadapters: 192.168.5.3

IP-Adresse die die dbox bekommt: 192.168.5.202

Comport: Kommunikationsanschluss (COM1)

Betriebssystem: Microsoft Windows XP Home Edition Service Pack 2 (Build 2600)

CPU 1: Intel® Pentium® 4 CPU 3.00GHz @ 3000 MHz

Dateiname des Images: KEYWELT_V2_April_2x_SQUASHFS_2006.img

Imagetyp: Zwei Flashs

DBOX-IFA Version: 2.0

------ Powered by http://www.dboxservice-hallenberg.de ------

 

 

 

Gruss Codo55 ;)

Link zu diesem Kommentar
Auf anderen Seiten teilen

Sorry,

 

aber warum zum Teufel benutzt Du nicht den Flasassi ein - in Verbindung mit dem Bootmanager?

 

Und wenn es wider unserer Erwartung auch damit nicht klappt, wars doch einen Versuch wert.

Oder?

 

Es ist für mich unbegreiflich, dass ein Fragesteller Tipps bekommt und die dann einfach nicht umsetzet / ignoriert.

Link zu diesem Kommentar
Auf anderen Seiten teilen

Hallo!

 

Das klingt nicht so gut. Bootet die box noch mit bn oder nicht mehr?

Ich schätze mal du triffst nicht den richtigen zeitpunkt mit dem flashreset. versuch mal dass: Halte vor dem Einstecken der Box Pfeil nach oben Taste und Standby Taste gedrückt. Nun steck die Box ein und lass die Standbytaste los (mit einem delay von 2sec.). Warte nun bis du die Zahlenfolge im Dispay siehst. Wenn du die Zahlen siehst Flash reset ausführen. Erst wenn 4 Balken (ich denke es sind 4) in den Zahlen erscheinen dann hörst du mit dem Flashreset auf. Nun sollte die box auch per Com-Terminal auf "icache" mit "icache is on" antworten. Gib bitte darauf acht dass du auch ein voll belegtes Nullmodemkabel verwendest.

 

*klick*

 

mfg kekec

Link zu diesem Kommentar
Auf anderen Seiten teilen

Gast derderbste

Bist du dir sicher, dass du im Bootmanager auch alles richtig eingestellt hast?

 

Die Dbox muss mit einem Nullmodem mit dem PC verbunden sein.

Die Verbindungsgeschwindigkeit im Bootmanager oder einem anderen com-terminal muss auf 9600 gestellt werden.

(Denkt daran beim Bootmanager auf Start zu drücken)

Link zu diesem Kommentar
Auf anderen Seiten teilen

Habe glaube Problem gefunden,

beim debuggen sollte am Schluss im Com-Terminal stehen:

 

DebugEnabler © tmbinc, gillem +(sagem,amd,philips) 1.8 beta

bl-version :1.0

product? at :10000944

current state :tmb-locked

flashrom type :2x16 bit? yes. vendor: INTEL

unprotecting :oK! flashing NOW :DONE !

 

 

bei mir stand aber gar nichts drin. Box startet aber im Debug. Liegt vielleicht dort der Hund begraben??

hat mir jemand nochmal die minflsh Datei??

 

gruss

 

codo55

Link zu diesem Kommentar
Auf anderen Seiten teilen

  • Admin

@codo55

 

Da die Box im Debug startet, mußt Du nichts mehr machen.

Einen "halben" Debugmodus gibt es nicht.

Auf Deinem PC läuft noch ein Virenscanner oder eine Fire-

wall, die den TFTP-Transfer des Images auf die Box verhin-

dert. Daher hast Du immer noch das kaputte Image von ganz

zu Anfang drauf (daher auch "kernel panic", da das Image im

Flash beschädigt ist).

Also deaktiviere alle Firewalls und Virenscanner, deinstalliere

Norton AV und flashe noch mal mit dem Flash-Assi. Ein erfolgrei-

cher Flashvorgang sieht so aus: Klick

Link zu diesem Kommentar
Auf anderen Seiten teilen

Habe die Box jetzt mit der Methode ohne Kurzschluss in den Debug gebracht, glaube ich zumindest. Nach dem debuggen sollte eigentlich im Com-Terminal stehen:

 

DebugEnabler © tmbinc, gillem +(sagem,amd,philips) 1.8 beta

bl-version :1.0

product? at :10000944

current state :tmb-locked

flashrom type :2x16 bit? yes. vendor: INTEL

unprotecting :oK! flashing NOW :DONE !

 

 

aber da stand halt nix.

 

Box startet aber mit Debug-Bildschirm (viele Zahlen und so).

wenn ich jetzt aber ein Image flashe startet die Box nicht, sie bricht bei loading Kernel ab und resetet.!!!

 

Hab dazu einen neuen Thread aufgemacht:

 

http://www.keywelt-board.com/index.php?showtopic=73175

 

Danke bis hier, ich hoffe Ihr könnt mir da auch weiterhelfen

 

Gruss

codo55

Link zu diesem Kommentar
Auf anderen Seiten teilen

Ja das mit dem neuen Thread war nicht ganz so clever!Sorry

 

Habe jetzt nochmal das V2 geflashed und wieder der gleiche Fehler.

 

Box startet bis Loading Kernel und resettet dann.

 

Hier der Bootlog vom flashen:

 

debug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS

debug: BMon V1.2 mID 01

debug: feID dd gtxID 0b

debug: fpID 5a dsID Edit SnowHead: dsID immer überschreiben!

debug: HWrev 09 FPrev 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: Got BOOTP reply from Server IP 192.168.5.3, My IP 192.168.5.5

debug: Sending TFTP-request for file D/Programme/DBOX2/Boot-Manager/ppcboot_writ

eflash

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 67 MHz: 2 kB I-Cache 1 kB D-Cache

Board: ### No HW ID - assuming TQM8xxL

DRAM: (faked) 32 MB

Ethernet: 00-50-9c-40-2f-5d

FLASH: 8 MB

LCD driver (KS0713) initialized

BOOTP broadcast 1

TFTP from server 192.168.5.3; our IP address is 192.168.5.5

Filename 'D/Programme/DBOX2/tftpboot/logo-lcd'.

Load address: 0x130000

Loading: ##

done

LCD logo at: 0x130000 (0x1F9FFC0 bytes)

BOOTP broadcast 1

TFTP from server 192.168.5.3; our IP address is 192.168.5.5

Filename 'D/Programme/DBOX2/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 /D/Programme/DBOX2/Neutrino/Part2/KEYWELT_V2_April_2

x_SQUASHFS_2006.img

BOOTP broadcast 1

TFTP from server 192.168.5.3; our IP address is 192.168.5.5

Filename '/D/Programme/DBOX2/Neutrino/Part2/KEYWELT_V2_April_2x_SQUASHFS_2006.im

g'.

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>

 

passt doch alles oder? und wenn ich die BR flashe geht die Box! fehlt da noch irgendeine Datei, oder was ist damit??

 

 

7. Wenn was nicht klappt, ungefähr wie im folgenden Log sollten die Meldungen

auch bei euch ausschauen:

 

***Adapter Desc: Realtek RTL8029(AS) Ethernet Adapt

***MAC address: 00:00:xx:xx:xx:xx Local IP: 10.0.0.2

***BootP server started... Port 67

***TFTP server started... Port 69

BootP> Request from 00:50:xx:xx:xx:xx (assuming that this is DBox).

BootP> Answer sent!

TFTP> Started TFTP-Transfer for "c:\dbox2\yadd\tftpboot\ppcboot"...

TFTP> Transfer finished, sent 436 blocks

BootP> Answer sent!

TFTP> Non-BootP TFTP-transfer requested "c\dbox2\yadd\tftpboot\kernel-cdk"

TFTP> Started TFTP-Transfer for "c:\dbox2\yadd\tftpboot\kernel-cdk"...

TFTP> Transfer finished, sent 1153 blocks

BootP> Answer sent!

1 - mountd: mount: path: c/dbox2/yadd/cdkroot/

 

Die Box müsste hochfahren und ihr müsstet mit 9600 Baud eine Konsole auf der Seriellen kriegen!

Im DBox-Display sollte schon was zu sehen sein!

 

8. Ins Verzeichnis c/dbox2/yadd/cdkroot/ucodes müssen nun die richtigen Dateien rein

Die Originale solltet ihr beim beim Debug-Enablen ausgelesen haben (siehe Pkt. 12 und 13 von oben)

- avia600.ux (600vb017.ux umbenennen) bzw.

- avia500.ux (500v093.ux umbenennen)

kommen aus \dbox2-original\root\platform\drv

 

- cam-alpha.bin

kommt aus \dbox2-original\sec\platform\drv

 

- ucode.bin

wird aus dmx.so hergestellt (und die kommt aus \dbox2-original\root\platform\drv)

Auf der Utilities-Seite ist ein Knopf, der das erledigt.

 

9. Danach die Box nochmal starten, und auf die serielle Konsole warten

10. Dann zB "neutrino" eingeben...

- Wenn nix geht, dann sind wahrscheinlich eure Kanal-Einstellungen hinüber.

Schaut ins Forum, wie die gerade aktuell generiert werden.

 

 

aus readme.txt vom Bootmanager

 

gruss codo55

Link zu diesem Kommentar
Auf anderen Seiten teilen

  • Admin

@codo55

 

Zunächst mal, die dsID im Log sollte immer überschrieben werden,

die ist einmalig und wie ein Fingerabdruck der Box.

 

Wie sieht das Log vom Start der Box mit dem neu geflashten Image

aus? (Die Anleitung vom BM kannst Du beim KW-Image knicken, da

ist schon alles drin und deshalb brauchen, oder besser dürfen keine

Ucodes eingespielt werden).

Link zu diesem Kommentar
Auf anderen Seiten teilen

Aha alles klar, hier der Bootlog:

 

debug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS

debug: BMon V1.2 mID 01

debug: feID dd gtxID 0b

debug: fpID 5a dsID xxxxxxxxxxxxxx

debug: HWrev 09 FPrev 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

Found file /root/platform/nokia-dbox2/kernel/os in Flash-FS

debug: Got Block #0032

 

will verify ELF image, start= 0x800000, size= 154948

verify sig: 262

Branching to 0x40000

 

 

U-Boot 1.1.4 (Tuxbox) (Apr 7 2006 - 19:38:48)

 

CPU: PPC823ZTnnB2 at 67.100 MHz: 2 kB I-Cache 1 kB D-Cache

Board: DBOX2, Nokia, BMon V1.2

Watchdog enabled

I2C: ready

DRAM: 32 MB

FLASH: 8 MB

Scanning JFFS2 FS: ... done.

FB: ready

LCD: ready

In: serial

Out: serial

Err: serial

Net: SCC ETHERNET

 

Options:

1: Console on null

2: Console on ttyS0

3: Console on framebuffer

Select option (1-3), other keys to stop autoboot: 0

### FS (squashfs) loading 'vmlinuz' to 0x100000

### FS load complete: 670653 bytes loaded to 0x100000

...............................................................

Un-Protected 63 sectors

## Booting image at 00100000 ...

Image Name: dbox2

Image Type: PowerPC Linux Kernel Image (gzip compressed)

Data Size: 670589 Bytes = 654.9 kB

Load Address: 00000000

Entry Point: 00000000

Verifying Checksum ... OK

Uncompressing Kernel Image ... OK

Linux version 2.4.32-dbox2 (image@tower) (gcc version 3.4.4) #2 Fr Apr 7 20:44:2

9 CEST 2006

On node 0 totalpages: 8192

zone(0): 8192 pages.

zone(1): 0 pages.

zone(2): 0 pages.

Kernel command line: console=ttyS0 root=/dev/mtdblock1 rootfstype=squashfs

Decrementer Frequency = 251625000/60

m8xx_wdt: active wdt found (SWTC: 0xFFFF, SWP: 0x1)

m8xx_wdt: keep-alive trigger installed (PITC: 0x2000)

Console: colour dummy device 80x25

Calibrating delay loop... 66.76 BogoMIPS

Memory: 30824k available (1140k kernel code, 344k data, 60k init, 0k highmem)

Oops: kernel access of bad area, sig: 11

NIP: C0027FF8 XER: A000127F LR: C0028018 SP: C013A840 REGS: c013a790 TRAP: 0300

Not tainted

MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11

DAR: 00000000, DSISR: C0000000

TASK = c0138910[0] 'swapper' Last syscall: 0

last math 00000000 last altivec 00000000

GPR00: 00000031 C013A840 C0138910 C012224C C0123160 0000032F C013A848 C018B508

GPR08: 00000000 C0140000 00010000 00000030 C0160000 00031BFC 01FFBC00 FFFFFFFF

GPR16: 00000000 01FF62A8 007FFF00 01FACD98 C0140000 C0140000 00000000 00000000

GPR24: C013A890 C0160000 C0120000 C0120000 C0140000 C018B4E8 00000000 00000000

Call backtrace:

C0027E04 C014CC4C C014A390 C0002138

Kernel panic: Attempted to kill the idle task!

In idle task - not syncing

<0>Rebooting in 180 seconds..

 

 

Habe noch ne Philips-Box da klappt das flashen perfekt!

 

Gruss codo55

Link zu diesem Kommentar
Auf anderen Seiten teilen

  • Admin

@codo55

 

Das sieht nicht gut aus. Bei Dir ist entweder der Flash oder der

RAM defekt. Bei den aktuellen, von Dir getesteten Linux-Images

betrifft das dummerweise einen Bereich, in dem eine wichtige

Kernel-Routine (swapper) liegt. Beim BN scheint dort nur ein

unwichtiger Teil des System an dieser Stelle zu liegen, der zu-

mindest erst mal nicht beim Booten zum Absturz führt. Inwieweit

später ein Absturz bei einer bestimmten Funktion auftritt, kann

man nicht voraussagen.

Versuch mal, ob die Box mit einem älteren Linux-Image (eventuell

ein JFFS2-Only) startet.

Link zu diesem Kommentar
Auf anderen Seiten teilen

Archiviert

Dieses Thema ist jetzt archiviert und für weitere Antworten gesperrt.

  • Wer ist Online   0 Benutzer

    • Keine registrierten Benutzer online.
×
×
  • Neu erstellen...