public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* how to access nand flash from user space
@ 2008-02-02 13:49 vishalk
  2008-02-02 18:01 ` Max Stirling
  0 siblings, 1 reply; 3+ messages in thread
From: vishalk @ 2008-02-02 13:49 UTC (permalink / raw)
  To: linux-mtd

Hi,

I have been trying to access nand flash from user space.
I am using the functions 'mtd_write' and 'mtd_read' in mtdchar.c .
when I include the mtd.h file, I get compilation errors pertaining to the
mtd.h file. can someone please tell me how to access these functions 
from user space.

Thanks,
VK  

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.

Contact your Administrator for further information.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to access nand flash from user space
  2008-02-02 13:49 how to access nand flash from user space vishalk
@ 2008-02-02 18:01 ` Max Stirling
  2008-02-02 18:05   ` Max Stirling
  0 siblings, 1 reply; 3+ messages in thread
From: Max Stirling @ 2008-02-02 18:01 UTC (permalink / raw)
  To: vishalk; +Cc: linux-mtd

[-- Attachment #1: Type: text/plain, Size: 1071 bytes --]

vishalk wrote:
> Hi,
>
> I have been trying to access nand flash from user space.
> I am using the functions 'mtd_write' and 'mtd_read' in mtdchar.c .
> when I include the mtd.h file, I get compilation errors pertaining to the
> mtd.h file. can someone please tell me how to access these functions 
> from user space.
>   
Hmm...could you paste the error log please. That might be of some help 
to help you.

> Thanks,
> VK  
>
> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.
>
> Contact your Administrator for further information.
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>   


[-- Attachment #2: vicky_irobot.vcf --]
[-- Type: text/x-vcard, Size: 125 bytes --]

begin:vcard
fn:Max Stirling
n:Stirling;Max
email;internet:vicky.irobot@gmail.com
x-mozilla-html:FALSE
version:2.1
end:vcard


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to access nand flash from user space
  2008-02-02 18:01 ` Max Stirling
@ 2008-02-02 18:05   ` Max Stirling
  0 siblings, 0 replies; 3+ messages in thread
From: Max Stirling @ 2008-02-02 18:05 UTC (permalink / raw)
  To: vishalk; +Cc: linux-mtd

[-- Attachment #1: Type: text/plain, Size: 1317 bytes --]

Max Stirling wrote:
> vishalk wrote:
>> Hi,
>>
>> I have been trying to access nand flash from user space.
>> I am using the functions 'mtd_write' and 'mtd_read' in mtdchar.c .
How do you use mtd_read and mtd_write functions when they are static? 
Are you meaning to say from your user application you open the 
/dev/mtdchar and do a read and write?
>> when I include the mtd.h file, I get compilation errors pertaining to 
>> the
>> mtd.h file. can someone please tell me how to access these functions 
>> from user space.
>>   
> Hmm...could you paste the error log please. That might be of some help 
> to help you.
>
>> Thanks,
>> VK 
>> The information contained in this electronic message and any 
>> attachments to this message are intended for the exclusive use of the 
>> addressee(s) and may contain proprietary, confidential or privileged 
>> information. If you are not the intended recipient, you should not 
>> disseminate, distribute or copy this e-mail. Please notify the sender 
>> immediately and destroy all copies of this message and any 
>> attachments contained in it.
>>
>> Contact your Administrator for further information.
>>
>>
>> ______________________________________________________
>> Linux MTD discussion mailing list
>> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>>   
>


[-- Attachment #2: vicky_irobot.vcf --]
[-- Type: text/x-vcard, Size: 125 bytes --]

begin:vcard
fn:Max Stirling
n:Stirling;Max
email;internet:vicky.irobot@gmail.com
x-mozilla-html:FALSE
version:2.1
end:vcard


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-02-02 18:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-02 13:49 how to access nand flash from user space vishalk
2008-02-02 18:01 ` Max Stirling
2008-02-02 18:05   ` Max Stirling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox