Protected sectors

Wie blitze ich ein Bild - Permanent Outgoing Incomes
only
Neugieriger
Neugieriger
Beiträge: 15
Registriert: Sonntag 9. März 2003, 12:47

Protected sectors

Beitrag von only »

hallo zusammen,

habe zu meinem problem von gestern noch was gefunden.
nach mehrmaligen, manuellen erasen des flash (so wie es hier auch oft vorgeschlagen wird), bekomme ich folgende fehlermeldung:

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-39-f4-6d
FLASH: 8 MB
LCD driver (KS0713) initialized
BOOTP broadcast 1
TFTP from server 192.168.0.1; our IP address is 192.168.0.5
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.0.1; our IP address is 192.168.0.5
Filename 'C/Programme/tftpboot/logo-fb'.
Load address: 0x120000
Loading: #########
done
FB logo at: 0x0 (0x1FC0000 bytes)
debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: WATCHDOG RESET
debug: BMon V1.1 mID 03
debug: feID 00 enxID 03
debug: fpID 52 dsID 01-d1.4c.86.07.00.00-ac
debug: HWrev 41 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.0.1, My IP 192.168.0.5
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-39-f4-6d
FLASH: 8 MB
LCD driver (KS0713) initialized
BOOTP broadcast 1
TFTP from server 192.168.0.1; our IP address is 192.168.0.5
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.0.1; our IP address is 192.168.0.5
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
BOOTP broadcast 1
TFTP from server 192.168.0.1; our IP address is 192.168.0.5
Filename 'C/Programme/tftpboot/kernel-cdk'.
Load address: 0x100000
Loading: T T T T T T T T T
Abort

dbox2-ppcboot>

dbox2-ppcboot> enable
Unknown command 'enable' - try 'help'

dbox2-ppcboot> protect enable
Usage:
protect - enable or disable FLASH write protection


dbox2-ppcboot> protect - enable 10020000 107fffff
Usage:
protect - enable or disable FLASH write protection


dbox2-ppcboot> erase 10020000 107fffff
Erase Flash from 0x10020000 to 0x107fffff - Warning: 34 protected sectors will n
ot be erased!
................ done
Erased 63 sectors

dbox2-ppcboot>

gibt es eine möglichkeit diese 34 sectoren irgendwie "frei" zubekommen??

thx
Only the lonly
only
Neugieriger
Neugieriger
Beiträge: 15
Registriert: Sonntag 9. März 2003, 12:47

Beitrag von only »

ach ja. "problem von gestern" war Time ot writing to flash"
habe ne sagem 2xAMD im 1x Intellayout. hab auch nochmal die ganze prozedur durchgemacht:
- flashreset
- debug enable mit minflash

dort kommt dann als meldung: current state - unprotectet

hoffe ihr könnt mir helfen :D
Only the lonly
only
Neugieriger
Neugieriger
Beiträge: 15
Registriert: Sonntag 9. März 2003, 12:47

Beitrag von only »

habe noch was "neues" als fehler:
nachdem ich mal die methode probiert hab

http://www.dietmar-h.net/alt_flash.html

gdebug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.1 mID 03
debug: feID 00 enxID 03
debug: fpID 52 dsID 01-d1.4c.86.07.00.00-ac
debug: HWrev 41 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)

Flash superblock not ok: No bootrecord
boot flash /root/platform/sagem-dbox2/kernel/os failed

Flash-FS bootstrap loader (v1.5)

Flash superblock not ok: No bootrecord
boot flash /root/platform/mpc8xx-dbox2/kernel/os failed

Flash-FS bootstrap loader (v1.5)

Flash superblock not ok: No bootrecord
boot flash /root/platform/kernel/os failed

Flash-FS bootstrap loader (v1.5)

Flash superblock not ok: No bootrecord
boot flash /root.new/platform/sagem-dbox2/kernel/os failed

Flash-FS bootstrap loader (v1.5)

Flash superblock not ok: No bootrecord
boot flash /root.new/platform/mpc8xx-dbox2/kernel/os failed

Flash-FS bootstrap loader (v1.5)

Flash superblock not ok: No bootrecord
boot flash /root.new/platform/kernel/os failed

Flash-FS bootstrap loader (v1.5)

Flash superblock not ok: No bootrecord
boot flash /lost+found/root/platform/sagem-dbox2/kernel/os failed

Flash-FS bootstrap loader (v1.5)

Flash superblock not ok: No bootrecord
boot flash /lost+found/root/platform/mpc8xx-dbox2/kernel/os failed

Flash-FS bootstrap loader (v1.5)

Flash superblock not ok: No bootrecord
boot flash /lost+found/root/platform/kernel/os failed
dbox2:root> reset
dbox2:root> debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: WATCHDOG RESET
debug: BMon V1.1 mID 03
debug: feID 00 enxID 03
debug: fpID 52 dsID 01-d1.4c.86.07.00.00-ac
debug: HWrev 41 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.0.1, My IP 192.168.0.5
debug: Sending TFTP-request for file F/d_box/flashen/ppcboot
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-39-f4-6d
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.0.1; our IP address is 192.168.0.5
Filename '/tftpboot/13.img'.
Load address: 0x100000
Loading: #######################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
######################
done
lo: 0x100000unprotecting 4
unprotecting 5
unprotecting 6
unprotecting 7
unprotecting 8
unprotecting 9
unprotecting a
unprotecting b
unprotecting c
unprotecting d
unprotecting e
unprotecting f
unprotecting 10
unprotecting 11
unprotecting 12
unprotecting 13
unprotecting 14
unprotecting 15
unprotecting 16
unprotecting 17
unprotecting 18
unprotecting 19
unprotecting 1a
unprotecting 1b
unprotecting 1c
unprotecting 1d
unprotecting 1e
unprotecting 1f
unprotecting 20
unprotecting 21
unprotecting 22
unprotecting 23
unprotecting 24
unprotecting 25
unprotecting 26
unprotecting 27
unprotecting 28
unprotecting 29
unprotecting 2a
unprotecting 2b
unprotecting 2c
unprotecting 2d
unprotecting 2e
unprotecting 2f
unprotecting 30
unprotecting 31
unprotecting 32
unprotecting 33
unprotecting 34
unprotecting 35
unprotecting 36
unprotecting 37
unprotecting 38
unprotecting 39
unprotecting 3a
unprotecting 3b
unprotecting 3c
unprotecting 3d
unprotecting 3e
unprotecting 3f
unprotecting 40
unprotecting 41
unprotecting 42
Un-Protected 63 sectors
Erase Flash from 0x10020000 to 0x107fffff
............................ done
Erased 63 sectors
Copy to Flash... Flash not Erased
LCD driver (KS0713) initialized
Logo Flashing done !
dbox2-ppcboot> erase 10020000 107ffff
Usage:
erase - erase FLASH memory


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

dbox2-ppcboot>

kann mir bitte jemand weiterhelfen????? :o

thx
Only the lonly
SoLaLa
Tuxboxer
Tuxboxer
Beiträge: 6119
Registriert: Mittwoch 3. April 2002, 00:32

Beitrag von SoLaLa »

hmmm,
irgendwas ist faul an den flashs... entweder Löttechnisch oder eben tatsächlich defekt
never change a running system
only
Neugieriger
Neugieriger
Beiträge: 15
Registriert: Sonntag 9. März 2003, 12:47

Beitrag von only »

hmm,

was meinste denn mit löttechnisch?? :roll:
wonach soll ich denn mal schauen?

falls defekt, kann ich irgendwie festestellen, welcher baustein sich verabschiedet hat??

thx
Only the lonly
only
Neugieriger
Neugieriger
Beiträge: 15
Registriert: Sonntag 9. März 2003, 12:47

Beitrag von only »

so, nun hab ich die box nochmal "traktiert" :D
manchmal hilft es ja, die technik über nacht schlafen zu lassen :wink:

nun dieses log:

heute erzahlt mir der bootmanager plötzlich auch was von flashbank 2. das hat er gestern nicht getan. kann ich den besagten flashfehler irgendwie beseitigen?????

mal noch etwas. kann es vielleicht sein, das ein flashbaustein überhaupt nicht beim schreibschutz aufheben angesprochen wird??

das seltsame ist nämlich, wenn ich die metohde durchführe, kommt irgendwann im display von der box "Flashing Done", was ja nicht wirklich durchgeführt wird.
bei neustart der box werde ich dann aufgefordert eine IP-Adresse anzugeben. nun gebe ich der box eine IP, und im Display steht dann "IP gesetzt" und das wars. hier steht die box.....

danke schon mal für die hilfe :)


debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.1 mID 03
debug: feID 00 enxID 03
debug: fpID 52 dsID 01-d1.4c.86.07.00.00-ac
debug: HWrev 41 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)

Flash superblock not ok: No bootrecord
boot flash /root/platform/sagem-dbox2/kernel/os failed

Flash-FS bootstrap loader (v1.5)

Flash superblock not ok: No bootrecord
boot flash /root/platform/mpc8xx-dbox2/kernel/os failed

Flash-FS bootstrap loader (v1.5)

Flash superblock not ok: No bootrecord
boot flash /root/platform/kernel/os failed

Flash-FS bootstrap loader (v1.5)

Flash superblock not ok: No bootrecord
boot flash /root.new/platform/sagem-dbox2/kernel/os failed

Flash-FS bootstrap loader (v1.5)

Flash superblock not ok: No bootrecord
boot flash /root.new/platform/mpc8xx-dbox2/kernel/os failed

Flash-FS bootstrap loader (v1.5)

Flash superblock not ok: No bootrecord
boot flash /root.new/platform/kernel/os failed

Flash-FS bootstrap loader (v1.5)

Flash superblock not ok: No bootrecord
boot flash /lost+found/root/platform/sagem-dbox2/kernel/os failed

Flash-FS bootstrap loader (v1.5)

Flash superblock not ok: No bootrecord
boot flash /lost+found/root/platform/mpc8xx-dbox2/kernel/os failed

Flash-FS bootstrap loader (v1.5)

Flash superblock not ok: No bootrecord
boot flash /lost+found/root/platform/kernel/os failed
dbox2:root> reset
dbox2:root> debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: WATCHDOG RESET
debug: BMon V1.1 mID 03
debug: feID 00 enxID 03
debug: fpID 52 dsID 01-d1.4c.86.07.00.00-ac
debug: HWrev 41 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.0.1, My IP 192.168.0.5
debug: Sending TFTP-request for file F/d_box/flashen/ppcboot
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-39-f4-6d
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.0.1; our IP address is 192.168.0.5
Filename '/tftpboot/13.img'.
Load address: 0x100000
Loading: #######################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
################################################################################
######################
done
lo: 0x100000unprotecting 4
unprotecting 5
unprotecting 6
unprotecting 7
unprotecting 8
unprotecting 9
unprotecting a
unprotecting b
unprotecting c
unprotecting d
unprotecting e
unprotecting f
unprotecting 10
unprotecting 11
unprotecting 12
unprotecting 13
unprotecting 14
unprotecting 15
unprotecting 16
unprotecting 17
unprotecting 18
unprotecting 19
unprotecting 1a
unprotecting 1b
unprotecting 1c
unprotecting 1d
unprotecting 1e
unprotecting 1f
unprotecting 20
unprotecting 21
unprotecting 22
unprotecting 23
unprotecting 24
unprotecting 25
unprotecting 26
unprotecting 27
unprotecting 28
unprotecting 29
unprotecting 2a
unprotecting 2b
unprotecting 2c
unprotecting 2d
unprotecting 2e
unprotecting 2f
unprotecting 30
unprotecting 31
unprotecting 32
unprotecting 33
unprotecting 34
unprotecting 35
unprotecting 36
unprotecting 37
unprotecting 38
unprotecting 39
unprotecting 3a
unprotecting 3b
unprotecting 3c
unprotecting 3d
unprotecting 3e
unprotecting 3f
unprotecting 40
unprotecting 41
unprotecting 42
Un-Protected 63 sectors
Erase Flash from 0x10020000 to 0x107fffff
............................. done
Erased 63 sectors
Copy to Flash... Flash not Erased
LCD driver (KS0713) initialized
Logo Flashing done !
dbox2-ppcboot> erase
Usage:
erase - erase FLASH memory


dbox2-ppcboot> erase all
Erase Flash Bank # 1 - Warning: 4 protected sectors will not be erased!
........................... done
Erase Flash Bank # 2 Can't erase unknown flash type 0000ffff - aborted

dbox2-ppcboot> protect off all
Un-Protect Flash Bank # 1
unprotecting 0
unprotecting 1
unprotecting 2
unprotecting 3
unprotecting 4
unprotecting 5
unprotecting 6
unprotecting 7
unprotecting 8
unprotecting 9
unprotecting a
unprotecting b
unprotecting c
unprotecting d
unprotecting e
unprotecting f
unprotecting 10
unprotecting 11
unprotecting 12
unprotecting 13
unprotecting 14
unprotecting 15
unprotecting 16
unprotecting 17
unprotecting 18
unprotecting 19
unprotecting 1a
unprotecting 1b
unprotecting 1c
unprotecting 1d
unprotecting 1e
unprotecting 1f
unprotecting 20
unprotecting 21
unprotecting 22
unprotecting 23
unprotecting 24
unprotecting 25
unprotecting 26
unprotecting 27
unprotecting 28
unprotecting 29
unprotecting 2a
unprotecting 2b
unprotecting 2c
unprotecting 2d
unprotecting 2e
unprotecting 2f
unprotecting 30
unprotecting 31
unprotecting 32
unprotecting 33
unprotecting 34
unprotecting 35
unprotecting 36
unprotecting 37
unprotecting 38
unprotecting 39
unprotecting 3a
unprotecting 3b
unprotecting 3c
unprotecting 3d
unprotecting 3e
unprotecting 3f
unprotecting 40
unprotecting 41
unprotecting 42

dbox2-ppcboot> erase all
Erase Flash Bank # 1
............................. done
Erase Flash Bank # 2 Can't erase unknown flash type 0000ffff - aborted


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

Beitrag von DieMade »

"erase all" nach "protect off all" löscht den gesamten Flash inkl. Bootloader!

Hoffentlich hat das nicht geklappt, sonst ist jetzt zappenduster wenn Du die Box vom Strom nimmst.

Lebt die Kiste noch?
There are 10 types of people in the world: those who know binary and those who don't
only
Neugieriger
Neugieriger
Beiträge: 15
Registriert: Sonntag 9. März 2003, 12:47

Beitrag von only »

mhh, ich wes jetzt net was du mit "leben" meinst.
die kiste kommt wie die ganze zeit auch, nur in den DEBUG mit der meldung kein system.
Only the lonly
SoLaLa
Tuxboxer
Tuxboxer
Beiträge: 6119
Registriert: Mittwoch 3. April 2002, 00:32

Beitrag von SoLaLa »

DieMade meint:
wäre das ne 2xintel box, dann hättest du mit "erase all" den ganzen Bootloader gleich mitgelöscht... da es aber AMDs sind hast Du in der Hinsicht nochmal Glück gehabt... dennoch würd ich immer noch sagen entweder flashs defekt oder Lötstellen an den flashs defekt.
never change a running system
only
Neugieriger
Neugieriger
Beiträge: 15
Registriert: Sonntag 9. März 2003, 12:47

Beitrag von only »

werd morgen mal intensiv nach den lötstellen schauen :D

hab hier mal noch ein log von flinfo
könnt ihr mir sagen, ob ich nach was speziellem schauen soll, oder bestimmte spannungen, die anliegen sollen??

thx

dbox2-ppcboot> flinfo

Bank # 1: AMD AM29LV323B (32 Mbit, bottom boot sector)
Size: 8 MB in 67 Sectors
Sector Start Addresses:
10000000 (RO) 10008000 (RO) 1000C000 (RO) 10010000 (RO) 10020000 (RO)
10040000 (RO) 10060000 (RO) 10080000 (RO) 100A0000 (RO) 100C0000 (RO)
100E0000 (RO) 10100000 (RO) 10120000 (RO) 10140000 (RO) 10160000 (RO)
10180000 (RO) 101A0000 (RO) 101C0000 (RO) 101E0000 (RO) 10200000 (RO)
10220000 (RO) 10240000 (RO) 10260000 (RO) 10280000 (RO) 102A0000 (RO)
102C0000 (RO) 102E0000 (RO) 10300000 (RO) 10320000 (RO) 10340000 (RO)
10360000 (RO) 10380000 (RO) 103A0000 (RO) 103C0000 (RO) 103E0000 (RO)
10400000 (RO) 10420000 (RO) 10440000 (RO) 10460000 (RO) 10480000 (RO)
104A0000 (RO) 104C0000 (RO) 104E0000 (RO) 10500000 (RO) 10520000 (RO)
10540000 (RO) 10560000 (RO) 10580000 (RO) 105A0000 (RO) 105C0000 (RO)
105E0000 (RO) 10600000 (RO) 10620000 (RO) 10640000 (RO) 10660000 (RO)
10680000 (RO) 106A0000 (RO) 106C0000 (RO) 106E0000 (RO) 10700000 (RO)
10720000 (RO) 10740000 (RO) 10760000 (RO) 10780000 (RO) 107A0000 (RO)
107C0000 (RO) 107E0000 (RO)

Bank # 2: missing or unknown FLASH type

dbox2-ppcboot>
Only the lonly