Here is a little perl scipt that I converted from a C700 to C760/C860 nand ripper.
I\'ve had mixed results getting it to work, but I think by desktop mtdram is borked as I have problems accessing other ROMs too.
! /usr/bin/perl
# i have a 64mbyte flash (Toshiba TH58512FT
# Manufacture ID: 0x98, Chip ID: 0x76)
# filesize of nand_dump is then:
# 528*4096 +(64*1024*1024) + 16
# ^^^ why 16? then the last page-data must be
# special? only 512 long?
# c760/c860 have bigger NAND images
$filesize=138543120/16;
# i use 16 byte big block.. make the dd faster than with 1 byte blocks
# and the script is still easy
# extract plain flash image
$skip=2;
$seek=0;
for ($i=0;$i<$filesize;$i=$skip) {
$exec= "dd bs=16 obs=16 ibs=16 if=SYSTC760.DBK ".
"of=SYSTC760.raw count=1024 skip=$skip seek=$seek n";
print $exec;
system($exec);
$skip= $skip+1024+33;
$seek = $seek + 1024;
}
I\'ve been unable to find the orignal owner of this script so I can\'t credit him with its creation (if you own it- then thanks a million )
The c760 and c860 share the same flash chip and the sizes of the partitions are the same
cat /proc/mtd gives
dev: size erasesize name
mtd0 006d0000 00020000 "filesystem"
mtd1 00700000 00004000 "smf"
mtd2 03500000 00004000 "root"
mtd3 04400000 00004000 "home"
dmesg gives this message
Sharp SL series flash device: 1000000 at 0
Using static partision definition
Creating 1 MTD partitions on "sharpsl-flash":
0x00120000-0x007f0000 : "Filesystem"
NAND device: Manufacture ID: 0xec, Chip ID: 0x79 (Samsung K9D1G08V0M)
Creating 3 MTD partitions on "Samsung K9D1G08V0M":
0x00000000-0x00700000 : "smf"
0x00700000-0x03c00000 : "root"
0x03c00000-0x08000000 : "home"
df shows root as 54272 blocks and home as 69632 blocks
hope this helps, but the fastest and easiest way would be to flash the NAND copy off what you need then reflash back to normal NAND
Stu