OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Debian => Topic started by: ZDevil on October 04, 2007, 06:46:33 am

Title: Accessing The Nand Flash Area
Post by: ZDevil on October 04, 2007, 06:46:33 am
Although Debian runs entirely off the internal microdrive/ compact flash, the NAND flash area is still accessible.
It has two nodes: /dev/mtdblock2 and /dev/mtdblock3

The question is to mount them we have to specify the filesystem type. What is it?

I tried -t auto and -t jffs2 but no luck.  ("mount: you must specify the filesystem type")

Now I think of one good use of the NAND flash area: to put backups of useful scripts, config files, etc in this "safe" area. It will survive reflashing of kernel and even  reinstallation of the whole system!
Title: Accessing The Nand Flash Area
Post by: Meanie on October 04, 2007, 08:58:48 am
Quote from: ZDevil
Although Debian runs entirely off the internal microdrive/ compact flash, the NAND flash area is still accessible.
It has two nodes: /dev/mtdblock2 and /dev/mtdblock3

The question is to mount them we have to specify the filesystem type. What is it?

I tried -t auto and -t jffs2 but no luck.  ("mount: you must specify the filesystem type")

Now I think of one good use of the NAND flash area: to put backups of useful scripts, config files, etc in this "safe" area. It will survive reflashing of kernel and even  reinstallation of the whole system!

nand is jffs2. you need to have jffs2 and mtd support compiled into the kernel or as a loadable module. in angstrom, this might not have been compiled into the kernel for spitz devices since they boot off the microdrive and don't use the nand, hence there is a separate kernel for akita which boots off the nand and thus needs to support it.
since titchy is based on the angstrom kernel, the most likely case would be missing support for mtd and jffs2