From: Scott Wood <scottwood@freescale.com>
To: Laxmikant Rashinkar <lk.atwork@yahoo.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: How to access Freesale UPM NAND device
Date: Thu, 28 Aug 2008 13:57:10 -0500 [thread overview]
Message-ID: <48B6F506.9040103@freescale.com> (raw)
In-Reply-To: <765252.68184.qm@web46305.mail.sp1.yahoo.com>
Laxmikant Rashinkar wrote:
> I have a custom board running MPC8347 on Linux 2.6.27 with Uboot 1.1.4.
> I also have a NAND device (Micron MT29F2G08AACWP) connected to the LBC
> and controlled via UPM.
>
> fsl_elbc_nand.ko, fsl_upm.ko are loaded.
fsl_elbc_nand is for FCM; you only need the latter.
> I'm wondering how to access the NAND device. Do I need mDOC? TrueFFS?
JFFS2 is typically used.
> I have grep'd for the functions declared in fsl_upm.c and fsl_lbc.c and
> find that no other
> code path calls these functions. So it looks like the drivers are loaded
> but no one calls into
> them.
The init function of the module registers a driver, providing function
pointers that are called. You access the device through /dev/mtd*.
-Scott
prev parent reply other threads:[~2008-08-28 19:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-27 18:16 How to access Freesale UPM NAND device Laxmikant Rashinkar
2008-08-28 18:57 ` Scott Wood [this message]
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=48B6F506.9040103@freescale.com \
--to=scottwood@freescale.com \
--cc=linuxppc-embedded@ozlabs.org \
--cc=lk.atwork@yahoo.com \
/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.