Author Topic: Mounting An Sl-c3100 Nand  (Read 2457 times)

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Mounting An Sl-c3100 Nand
« on: July 29, 2005, 01:04:00 pm »
I'm trying to mount the SL-C3100 NAND, but somehow can't do it.

I'm doing this from Knoppix. This is what I've tried:

modprobe mtdram total_size=109000

This is the biggest problem probably, because the size should be bigger, no? However when I specify any number that's bigger, I get:
Code: [Select]
FATAL: Error inserting mtdram...
Cannot allocate memory

And then I've tried:
modprobe mtdblock
modprobe jffs2
mkdir /dev/mtdblock
cd /dev/mtdblock
mknod 0 b 31 0
mknod 1 b 31 1
mknod 2 b 31 2
dd if=/tmp/SYSTC310.DBK of=/dev/mtdblock/0


And here I get:
Code: [Select]
dd: writing to '/dev/mtdblock/0': No space left on device
Which is probably due to the memory allocated being too little...

How can I make this work?
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
Mounting An Sl-c3100 Nand
« Reply #1 on: July 29, 2005, 08:59:30 pm »
Well as the SYSTC310.DBK file is around 130Mb then you will need to make the total_size of the mtdram at least 130MB.

You might still have trouble getting stuff of the mtdblock cause the NAND isn't just as JFFS2 image, it contains extra data - that's why it's bigger than the 128MB flash ram.

There are scripts available on this forum for extracting the jffs2 image from a NAND, they were a while ago but if you search by my username you'll find them. Some other people cleaned up my original script and added some more functinos to it.

Stu
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card