
Hi Dirk,
Thanks for the response.
Here are the details
nand dua ...this commad is simple and executes nand erase,nand write and nand read APIs. Write data and read data are like 1,2,3,4,5....131072.
For comparing byte by byte data, using two buffers write_buffer, read_buffer both are of size 131072.
U-boot version: U-Boot uses a 3 level version number containing a version, a sub-version, and a patchlevel: "U-Boot-2.34.5" means version "2", sub-version "34", and patchlevel "4".
I got the U-boot from the URL: https://omapzoom.org/gf/project/bootloader/frs/
Please let me know for any other information.
Thanks, krishna.
--- On Tue, 12/23/08, Dirk Behme dirk.behme@googlemail.com wrote:
From: Dirk Behme dirk.behme@googlemail.com Subject: Re: [U-Boot] Error in buffer data for NAND flash write, read on OMAP3430SDP. To: hi_krishna01@yahoo.com Cc: u-boot@lists.denx.de Date: Tuesday, December 23, 2008, 10:26 PM Krishna,
Radha Krishna wrote:
Hi All, I am using NAND Flash write, read APIs for writing
and
reading of my data to/from the same block. [SNIP] OMAP34XX SDP # nand dua//I created this command
Can you give details what this custom command is doing? See below, too.
The manufacturer id = 2c device Id = a1 Erasing at 0x01440000 -- 100% complete. Cleanmarker
written
at 0x01440000 . ERASE OK Writing data at 0x01440000 -- 100% complete. WRITE OK Reading data from 0x01440000 -- 100% complete. READ OK OMAP34XX SDP # But when I compare write buffer and read buffer,some
of the
data is not matching(read data is different from
write
data). Could some one tell me the solution for this.
Can you give complete log and more details of what you are doing, i.e. complete output from board boot on? What would be helpful:
- U-Boot version, where do you got it from
- printenv output (showing the native commands for your
"nand dua" above).
- Which data you are writing. Can you try it with some
dummy data you can share here making other people able to test this. Maybe you can create some easy test data with mw.w and mm.l commands (e.g. writing all zero's or some other dummy data)
- How do you compare the data
- Other useful info
Many thanks
Dirk