Before trashing mtdblock4 (previous post), I tried restoring mtdblock6 using loadum, dnw and nandw. It didn't solve anything, but I thought I'd mention it.
First I determined how much memory I had to work with:
Code:
eBR-1A # mw.b 31000000 0 4000000 # reboots
eBR-1A # mw.b 31000000 0 3000000 # reboots
eBR-1A # mw.b 31000000 0 2000000 # ok 32M
Then, on Linux, I broke up the file image I got from Nick into 32M chunks:
Code:
tony@tony-Vostro-2520:~/mtdblock6$ split -b 32M -d N416mtdblock6.img b6img-split
tony@tony-Vostro-2520:~/mtdblock6$ ls -ltr
total 1712132
-rw-r--r-- 1 tony tony 876609536 Mar 17 12:09 N416mtdblock6.img
-rw-rw-r-- 1 tony tony 33554432 Mar 17 12:09 b6img-split00
-rw-rw-r-- 1 tony tony 33554432 Mar 17 12:09 b6img-split01
-rw-rw-r-- 1 tony tony 33554432 Mar 17 12:09 b6img-split02
-rw-rw-r-- 1 tony tony 33554432 Mar 17 12:09 b6img-split03
-rw-rw-r-- 1 tony tony 33554432 Mar 17 12:09 b6img-split04
-rw-rw-r-- 1 tony tony 33554432 Mar 17 12:09 b6img-split05
-rw-rw-r-- 1 tony tony 33554432 Mar 17 12:09 b6img-split06
-rw-rw-r-- 1 tony tony 33554432 Mar 17 12:09 b6img-split07
-rw-rw-r-- 1 tony tony 33554432 Mar 17 12:09 b6img-split08
-rw-rw-r-- 1 tony tony 33554432 Mar 17 12:09 b6img-split09
-rw-rw-r-- 1 tony tony 33554432 Mar 17 12:09 b6img-split10
-rw-rw-r-- 1 tony tony 33554432 Mar 17 12:09 b6img-split11
-rw-rw-r-- 1 tony tony 33554432 Mar 17 12:09 b6img-split12
-rw-rw-r-- 1 tony tony 33554432 Mar 17 12:09 b6img-split13
-rw-rw-r-- 1 tony tony 33554432 Mar 17 12:09 b6img-split14
-rw-rw-r-- 1 tony tony 33554432 Mar 17 12:09 b6img-split15
-rw-rw-r-- 1 tony tony 33554432 Mar 17 12:09 b6img-split16
-rw-rw-r-- 1 tony tony 33554432 Mar 17 12:09 b6img-split17
-rw-rw-r-- 1 tony tony 33554432 Mar 17 12:09 b6img-split18
-rw-rw-r-- 1 tony tony 33554432 Mar 17 12:09 b6img-split19
-rw-rw-r-- 1 tony tony 33554432 Mar 17 12:09 b6img-split20
-rw-rw-r-- 1 tony tony 33554432 Mar 17 12:09 b6img-split21
-rw-rw-r-- 1 tony tony 33554432 Mar 17 12:09 b6img-split22
-rw-rw-r-- 1 tony tony 33554432 Mar 17 12:09 b6img-split23
-rw-rw-r-- 1 tony tony 33554432 Mar 17 12:09 b6img-split24
-rw-rw-r-- 1 tony tony 33554432 Mar 17 12:10 b6img-split25
-rw-rw-r-- 1 tony tony 4194304 Mar 17 12:10 b6img-split26
Then for each chunk, I did the following steps:
Code:
eBR-1A # loadum 31000000
tony@vostro-2520:~/dnw-linux-master/src/dnw$ ./dnw -a 0x31000000 ~/mtdblock6/b6img-split00
eBR-1A # nandw a4c0000 2000000 31000000
loadum 31000000
dnw -a 0x31000000 ~/mtdblock6/b6img-split01
nandw C4C0000 2000000 31000000
<snip>
loadum 31000000
dnw -a 0x31000000 ~/mtdblock6/b6img-split25
nandw 3C4C0000 2000000 31000000
mw.b 31000000 ff 2000000
loadum 31000000
dnw -a 0x31000000 ~/mtdblock6/b6img-split26
nandw 3E4C0000 500000 31000000 # last one slightly different
I was hopeful, but this didn't have any impact on the errors trying to access /dev/mtdblock6.