* How to access Freesale UPM NAND device
@ 2008-08-27 18:16 Laxmikant Rashinkar
2008-08-28 18:57 ` Scott Wood
0 siblings, 1 reply; 2+ messages in thread
From: Laxmikant Rashinkar @ 2008-08-27 18:16 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 537 bytes --]
Hi,
quick question:
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.
I'm wondering how to access the NAND device. Do I need mDOC? TrueFFS?
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.
any help appreciated.
thanks
LK
[-- Attachment #2: Type: text/html, Size: 798 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to access Freesale UPM NAND device
2008-08-27 18:16 How to access Freesale UPM NAND device Laxmikant Rashinkar
@ 2008-08-28 18:57 ` Scott Wood
0 siblings, 0 replies; 2+ messages in thread
From: Scott Wood @ 2008-08-28 18:57 UTC (permalink / raw)
To: Laxmikant Rashinkar; +Cc: linuxppc-embedded
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-08-28 19:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-27 18:16 How to access Freesale UPM NAND device Laxmikant Rashinkar
2008-08-28 18:57 ` Scott Wood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).