From: Max Stirling <vicky.irobot@gmail.com>
To: linux-mtd@lists.infradead.org
Subject: mtd block readonly low level nand driver cramfs
Date: Thu, 24 Jan 2008 04:42:32 -0500 [thread overview]
Message-ID: <47985D88.1060005@gmail.com> (raw)
Hi,
This might sound quite basic question. This is the first time I am
looking into the MTD code so have some really basic questions.
I am trying to mount a read only fs (cramfs) on the flash. Please let me
know if the following steps are right:
1. Enabled the following in the Kconfig files
CONFIG_MTD_PARITIONS
CONFIG_MTD
CONFIG_MTD_BLOCK_RO
CONFIG_MTD_NAND
CONFIG_MTD_NAND_IDS
After booting the compiled kernel I am able to see the mtdblock under
/proc/devices using 31 Major number.
Now for me to mount the cramfs image that is on the flash I need to
provide the low level nand driver code. This I need to write but before
starting that can any one point me to a reference nand driver code that
is used for read only mount? Which functionality would the MTD require
to be implemented for mounting a cramfs image which is on the flash.
Would appreciate any pointers to how to get started off with this.
thanks in advance for the reply.
M.S
next reply other threads:[~2008-01-24 9:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-24 9:42 Max Stirling [this message]
2008-01-27 8:54 ` mtd block readonly low level nand driver cramfs Max Stirling
2008-01-28 7:40 ` Max Stirling
2008-01-30 6:37 ` Max Stirling
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47985D88.1060005@gmail.com \
--to=vicky.irobot@gmail.com \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.