Welcome! Log In Create A New Profile

Advanced

Problem with firmware backup /MTD0-3 hashes (in)correct ?

Posted by Thomas 
Hello,

I just bought a new Seagate Dockstar device. I want to install Debian on it. But first I want to backup the original firmware.

I have saved the mtd0-mtd3 partition to an usb stick with the following commands:

nanddump -nof mtd0.dump /dev/mtd0
nanddump -nof mtd1.dump /dev/mtd1
nanddump -nof mtd2.dump /dev/mtd2
nanddump -nof mtd3.dump /dev/mtd3

(should be used for a full backup)

I have also found the following on the net to make a backup.

./nanddump -nf mtd0.backup.oob
./nanddump -nf mtd1.backup.oob
./nanddump -nf mtd2.backup.oob
./nanddump -nf mtd3.backup.oob

But it is mentioned that the images created with -nf option are discarded by nandwrite because of wrong size.

Only my uboot-original created with "./nanddump -nof uboot-original -s 0 -l 0x80000 /dev/mtd0" has the identical md5 hash as shown here: http://jeff.doozan.com/debian/uboot/valid-uboot.md5

I can't find anything on the net if the other hashes are correct.

I don't want to go any further and install Debian before I didn't know if my original firmware images are backup-ed correctly.

My hashes are:

sha1 hashes
===========
0ebc4edb6dcc67d3938142d215bc566757c4c63b mtd0.dump.oob
9d82cf6294ca624731142cb102ea4b0750f8d57a mtd0.dump
753d847630a9c532439c5b712df624e797be01d1 mtd1.dump.oob
e349d05c0d031b471cc52b200699d59d99f9db77 mtd1.dump
bf1a2d761fdaf250b80827e10b04db7415a0730a mtd2.dump.oob
9547b46c8c8ad5199f59ab33b0c57bbfa0749324 mtd2.dump
cc48a2c32170855c5713742bdd056f35e527a211 mtd3.dump.oob
db7f45cb50f59e08c027e4ec854f5bcc6abf776c mtd3.dump
1f19768d34330dc62bfc9d97d76f0ab91e3ff155 uboot-original

md5 hashes
==========
a4e02a38b8d872256a9348fa4f4e63a5 mtd0.dump
89f8aec50be7aa1d4ac65cabc6cd99fb mtd0.dump.oob
f63596ab20c24164b078e7938d18a78a mtd1.dump
353e8fbd5d21dfb189fc07d44331eb39 mtd1.dump.oob
45a44987480860f9e8f8ea9d64d4316a mtd2.dump
81b91ef8973556c71462af66f543668e mtd2.dump.oob
3131b1ed0797fafe9b4a9d6d8e644c1e mtd3.dump
34cf2bc1fe3ee96a22ad90ded39ef4aa mtd3.dump.oob
b2d9681ef044e9ab6b058ef442b30b6e uboot-original


Could someone give me a hint?

Thank you.

regards
Thomas
Do you have serial access?

The most critical element is the u-boot bootloader on mtd0. Anyway Jeff's Debian installer modifies mtd0 to install his version of u-boot which supports usb booting and doesn't touch mtd1-3.

You will need JTAG access to restore the u-boot so IMHO the backups are kind of pointless since you cannot do a restore via nandwrite. http://jeff.doozan.com/debian/uboot/files/uboot/ has the original mtd0 anyway.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: