Hi Prabhaharan ,
There is no 'physical' mapping of the NAND chip. It has no address lines. Only a NOR chip looks (a little bit) like that. A NAND chip has just a few registers that you can use to give a command, write the address bytes, then write or read the data bytes. You can however access it as a character device (e.g. /dev/mtd0) which you can open. close, lseek, read and write. The MTD layer will then translate these access to the file into the proper NAND accesses. Start your studies here: http://www.linux-mtd.infradead.org/faq/general.html <http://www.linux-mtd.infradead.org/faq/general.html> http://www.linux-mtd.infradead.org/faq/nand.html Kind regards, Arie de Muijnck ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Prabhaharan R-TLS,Chennai Sent: Monday, January 12, 2009 13:30 To: davinci-linux-open-source Cc: Madhavan Vivekanandan Subject: Davinci DM355 - NAND write issue Importance: High Hello All, I am facing an issue, when writing the data to the physical NAND memory. For example, let's say the NAND memory address range is 0x02000000 to 0x3000000. In this case, I am trying to write the data in to the base address 0x02000000 from the Linux OS using davinci_writeb(val,0x02000000). But, this gives an error message as "Unable to handle kernel paging request at virtual address e1400010". Did anyone face the similar issue? Is there any other way to write the data in to the specific location in the NAND. Please reply. Thanks a lot in advance. Regards, Prabhaharan.R DISCLAIMER: ------------------------------------------------------------------------ ----------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. ------------------------------------------------------------------------ ----------------------------------------------- -------------------------------------------------------- CONFIDENTIALITY NOTICE - This e-mail transmission, and any documents, files or previous e-mail messages attached to it may contain information that is confidential or legally privileged. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that you must not read this transmission and that any disclosure, copying, printing, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. If you have received this transmission in error, please immediately notify Arie de Muijnck by telephone or [email protected] and delete the original transmission and its attachments without reading or saving in any manner.
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
