24.01.2010, 08:16
Moin,
also ich hab hier ein Jasper Board mit 512MB, jetzt habe ich schon zweimal ausgelesen und bekomme immer 5 Bad Blocks und zwar:
Error: 250 reading block 3BC8
Error: 250 reading block 54D8
Error: 250 reading block 5C28
Error: 250 reading block 6EB8
Error: 250 reading block 72A8
Starting Block: 0x000000
Ending Block: 0x007FFF
jetzt hatte ich die nandbackup1.bin und nandbackup2.bin mal durch den Nand Checker gejagt und das hat mir aber auch nicht wirklich weiter geholfen.
Dann habe ich mit dem Total Commander nochmal verglichen und der sagt mir ich habe zwei verschiedene Dateien und das ich nicht genug Speicher habe um die Bins komplett zu vergleichen ( ich denk mein Arbeitsspeicher ist da einfach zu klein habe gerade mal 768 MB oder so (ist halt mein Bastel Rechner).
Als nächstes hab ich mal das Programm NAND Compare and Reconstruction Tool v1.2 und habe nandbackup1.bin und nandbackup2.bin mit compare verglichen und der findet drei verschiedene Blöcke oder was zeigt der mir da an ? Es handelt sich dabei nur um einen Block den ich beim Auslesen auch als Badblock hatte glaube ich und ich denk da stimmt doch was nicht. Jetzt bin ich gerade dabei ein drittes mal auszulesen und er findet wie es scheint schon wieder die gleichen 5 Blöcke wie oben schon geschrieben.
Ich lese immer den kompletten Nand aus und das dauert echt 3,5 Stunden und das dann mal 3 dann ist der Tag auch vorbei !
Jetzt hatte ich gelesen, das man gar nicht den kompletten Nand auslesen muss sonder z.B. nur die ersten 16MB oder gar 2MB, aber wie sicher ist die Methode man bekommt ja dann die kv.bin und kann ja diese dann auch in das Xbr einfügen und damit flashen, aber wie ist das dann wenn etwas nicht geht wegen irgendwelcher Bad Blocks oder anderem Kram und man den Ursprungszustand wieder haben möchte ohne das Xbr, kann man das dann auch noch hinbekommen ohne das man den kompletten Nand ausgelesen hat ?
Hatte auch schon gelesen das man per Linux auf der Box den Nand auslesen kann, nur soll das schreiben nicht funktionieren unter Linux siehe hier:
Here is the mini tutorial i put on XBH for reading the large block jasper's NAND in 10 minutes, vs 16 hours.
DO NOT USE THIS EDITED VERSION OF LFLASH.C TO FLASH THE NAND!!!!!!!!! IT WILL NOT WORK!!!!
Mini tutorial:
1.) Wire up jtag+LPT and dump the first 2MB. (DUMP MULTIPLE TIMES AND COMPARE UNTIL YOU GET MATCHING FILES)
2.) Copy this code in the box in its entirety
3.) Open notepad (start->run->notepad) and paste the contents inside.
4.) Save the file as "lflash.c" (The quotes here are required to stop it from saving as a *.txt file)
5.) Put lflash.c on a USB stick that is formatted to fat32. (The USB stick needs to be larger than 512MB obviously as the NAND is larger than this)
6.) Download xell jasper 256 512 file at the "usual places" and rename to "xell.bin"
7.) Flash the file to the NAND nandpro 2.0b. "nandpro lpt: -w512 xell.bin" (Without quotes, Injecting keyvault is optional. This will only write the first 1.5MB or so, which is why you dumped the first 2MB already)
8.) Burn gentoo livecd beta 2 http://www.free60.org/LiveCD
9.) Put the gentoo livecd beta 2 disc in the xbox and boot. (or boot without it in the drive and write down your CPU key)
10.) Plug in the USB
11.) Open up the terminal (Applications->Accessories->Terminal)
12.) Type "sudo passwd" (without quotes)this will prompt you to enter a new password and verify it
13.) Type "su" (without quotes) it will ask for your password, the one you just created
14.) Type "cd Desktop"
15.) Type "mkdir flash"
16.) Type "dmesg | grep -i "SCSI device""(without the outer most quotes the quotes around SCSI Device should be kept. The important part here is the part after Device (sda, could also be sdb, sdc etc))
17.) Type "mount -t vfat -o uid=gentoo,gid=users /dev/sda1 /home/gentoo/Desktop/flash" (without quotes. Change the sda to the value you had)
18.) You should have a folder on the desktop named flash and inside you should see lflash.c
19.) Type "cd flash" to change dir to the USB drive
20.) Type "gcc lflash.c", this will compile lflash and create an a.out file on the USB drive
21.) Type "chmod +x a.out", this will make it executable
22.) Type "./a.out backupnand.bin"
23.) Dump this a few times and compare in a hex editor for file accuracy (maybe one dump at a time between transferring to your PC if your stick doesn't have a lot of space.. each dump is 512MB)
24.) Copy the contents of your original 2MB NAND dump in your favorite hex editor, and inject them into the first 2MB of your 512MB dump you just made (in your favorite hex editor).
25.) You should now have a legitimate backup of your large block jasper without the multiple day long dump from LPT.
Parts of the gentoo tutorial taken from "X-QlusioN".
Updated lflash.c code taken from "tuxuser" and "Bydox"
lflash.c written by tmbinc
Auf jeden Fall weiß ich jetzt gerade nicht wie ich weiter vorgehen soll, denn wenn ich jetzt einfach mal Xell drauf kopiere und dann damit Linux starte ist mein Nand ja schon nicht mehr original, hatte irgendwo zwar gelesen das man Block 0 bis 50 auslesen soll dann Xell drauf Linux starten auslesen und dann die 0 bis 50 ausgelesenen Blocks ( die man vorher bevor man Xell drauf geschmissen hat, ausgelesen hat ) wieder ind mit Linux ausgelesene Nand rein kopieren soll. Eine meiner Frage ist jetzt, Linux bekommt dann doch bestimmt beim Auslesen auch die 5 Bad Blocks und wie geht es dann da weiter ???
Ich will doch einfach nur Xbr zum Laufen bringen !
Gruß
Wexx
also ich hab hier ein Jasper Board mit 512MB, jetzt habe ich schon zweimal ausgelesen und bekomme immer 5 Bad Blocks und zwar:
Error: 250 reading block 3BC8
Error: 250 reading block 54D8
Error: 250 reading block 5C28
Error: 250 reading block 6EB8
Error: 250 reading block 72A8
Starting Block: 0x000000
Ending Block: 0x007FFF
jetzt hatte ich die nandbackup1.bin und nandbackup2.bin mal durch den Nand Checker gejagt und das hat mir aber auch nicht wirklich weiter geholfen.
Dann habe ich mit dem Total Commander nochmal verglichen und der sagt mir ich habe zwei verschiedene Dateien und das ich nicht genug Speicher habe um die Bins komplett zu vergleichen ( ich denk mein Arbeitsspeicher ist da einfach zu klein habe gerade mal 768 MB oder so (ist halt mein Bastel Rechner).
Als nächstes hab ich mal das Programm NAND Compare and Reconstruction Tool v1.2 und habe nandbackup1.bin und nandbackup2.bin mit compare verglichen und der findet drei verschiedene Blöcke oder was zeigt der mir da an ? Es handelt sich dabei nur um einen Block den ich beim Auslesen auch als Badblock hatte glaube ich und ich denk da stimmt doch was nicht. Jetzt bin ich gerade dabei ein drittes mal auszulesen und er findet wie es scheint schon wieder die gleichen 5 Blöcke wie oben schon geschrieben.
Ich lese immer den kompletten Nand aus und das dauert echt 3,5 Stunden und das dann mal 3 dann ist der Tag auch vorbei !
Jetzt hatte ich gelesen, das man gar nicht den kompletten Nand auslesen muss sonder z.B. nur die ersten 16MB oder gar 2MB, aber wie sicher ist die Methode man bekommt ja dann die kv.bin und kann ja diese dann auch in das Xbr einfügen und damit flashen, aber wie ist das dann wenn etwas nicht geht wegen irgendwelcher Bad Blocks oder anderem Kram und man den Ursprungszustand wieder haben möchte ohne das Xbr, kann man das dann auch noch hinbekommen ohne das man den kompletten Nand ausgelesen hat ?
Hatte auch schon gelesen das man per Linux auf der Box den Nand auslesen kann, nur soll das schreiben nicht funktionieren unter Linux siehe hier:
Here is the mini tutorial i put on XBH for reading the large block jasper's NAND in 10 minutes, vs 16 hours.
DO NOT USE THIS EDITED VERSION OF LFLASH.C TO FLASH THE NAND!!!!!!!!! IT WILL NOT WORK!!!!
Mini tutorial:
1.) Wire up jtag+LPT and dump the first 2MB. (DUMP MULTIPLE TIMES AND COMPARE UNTIL YOU GET MATCHING FILES)
2.) Copy this code in the box in its entirety
3.) Open notepad (start->run->notepad) and paste the contents inside.
4.) Save the file as "lflash.c" (The quotes here are required to stop it from saving as a *.txt file)
5.) Put lflash.c on a USB stick that is formatted to fat32. (The USB stick needs to be larger than 512MB obviously as the NAND is larger than this)
6.) Download xell jasper 256 512 file at the "usual places" and rename to "xell.bin"
7.) Flash the file to the NAND nandpro 2.0b. "nandpro lpt: -w512 xell.bin" (Without quotes, Injecting keyvault is optional. This will only write the first 1.5MB or so, which is why you dumped the first 2MB already)
8.) Burn gentoo livecd beta 2 http://www.free60.org/LiveCD
9.) Put the gentoo livecd beta 2 disc in the xbox and boot. (or boot without it in the drive and write down your CPU key)
10.) Plug in the USB
11.) Open up the terminal (Applications->Accessories->Terminal)
12.) Type "sudo passwd" (without quotes)this will prompt you to enter a new password and verify it
13.) Type "su" (without quotes) it will ask for your password, the one you just created
14.) Type "cd Desktop"
15.) Type "mkdir flash"
16.) Type "dmesg | grep -i "SCSI device""(without the outer most quotes the quotes around SCSI Device should be kept. The important part here is the part after Device (sda, could also be sdb, sdc etc))
17.) Type "mount -t vfat -o uid=gentoo,gid=users /dev/sda1 /home/gentoo/Desktop/flash" (without quotes. Change the sda to the value you had)
18.) You should have a folder on the desktop named flash and inside you should see lflash.c
19.) Type "cd flash" to change dir to the USB drive
20.) Type "gcc lflash.c", this will compile lflash and create an a.out file on the USB drive
21.) Type "chmod +x a.out", this will make it executable
22.) Type "./a.out backupnand.bin"
23.) Dump this a few times and compare in a hex editor for file accuracy (maybe one dump at a time between transferring to your PC if your stick doesn't have a lot of space.. each dump is 512MB)
24.) Copy the contents of your original 2MB NAND dump in your favorite hex editor, and inject them into the first 2MB of your 512MB dump you just made (in your favorite hex editor).
25.) You should now have a legitimate backup of your large block jasper without the multiple day long dump from LPT.
Parts of the gentoo tutorial taken from "X-QlusioN".
Updated lflash.c code taken from "tuxuser" and "Bydox"
lflash.c written by tmbinc
Auf jeden Fall weiß ich jetzt gerade nicht wie ich weiter vorgehen soll, denn wenn ich jetzt einfach mal Xell drauf kopiere und dann damit Linux starte ist mein Nand ja schon nicht mehr original, hatte irgendwo zwar gelesen das man Block 0 bis 50 auslesen soll dann Xell drauf Linux starten auslesen und dann die 0 bis 50 ausgelesenen Blocks ( die man vorher bevor man Xell drauf geschmissen hat, ausgelesen hat ) wieder ind mit Linux ausgelesene Nand rein kopieren soll. Eine meiner Frage ist jetzt, Linux bekommt dann doch bestimmt beim Auslesen auch die 5 Bad Blocks und wie geht es dann da weiter ???
Ich will doch einfach nur Xbr zum Laufen bringen !
Gruß
Wexx


