Author Topic: Accessing The Nand Flash Area  (Read 2255 times)

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Accessing The Nand Flash Area
« 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!
« Last Edit: October 04, 2007, 06:54:31 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Accessing The Nand Flash Area
« Reply #1 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
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K