public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Error in buffer data for NAND flash write, read on OMAP3430SDP.
@ 2008-10-30 19:09 Radha Krishna
  0 siblings, 0 replies; 6+ messages in thread
From: Radha Krishna @ 2008-10-30 19:09 UTC (permalink / raw)
  To: u-boot

Hi,

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
 The manufacturer id = 2c
  device Id = a1
Erasing at 0x180000 -- 101% complete. Cleanmarker written at 0x180000.
 ERASE OK
Writing data at 0x19f000 -- 100% complete.
 WRITE OK
Reading data from 0x19f000 -- 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.

Regards,
Krishna.


      

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

* [U-Boot] Error in buffer data for NAND flash write, read on OMAP3430SDP.
@ 2008-12-24  3:08 Radha Krishna
  2008-12-24  6:26 ` Dirk Behme
  0 siblings, 1 reply; 6+ messages in thread
From: Radha Krishna @ 2008-12-24  3:08 UTC (permalink / raw)
  To: u-boot

 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
  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.
 
 Regards,
 Krishna.


      

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

* [U-Boot] Error in buffer data for NAND flash write, read on OMAP3430SDP.
  2008-12-24  3:08 [U-Boot] Error in buffer data for NAND flash write, read on OMAP3430SDP Radha Krishna
@ 2008-12-24  6:26 ` Dirk Behme
  2008-12-24  7:37   ` Radha Krishna
  0 siblings, 1 reply; 6+ messages in thread
From: Dirk Behme @ 2008-12-24  6:26 UTC (permalink / raw)
  To: u-boot

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

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

* [U-Boot] Error in buffer data for NAND flash write, read on OMAP3430SDP.
  2008-12-24  6:26 ` Dirk Behme
@ 2008-12-24  7:37   ` Radha Krishna
  2008-12-24 13:41     ` Nishanth Menon
  0 siblings, 1 reply; 6+ messages in thread
From: Radha Krishna @ 2008-12-24  7:37 UTC (permalink / raw)
  To: u-boot

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 at yahoo.com
> Cc: u-boot at 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


      

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

* [U-Boot] Error in buffer data for NAND flash write, read on OMAP3430SDP.
  2008-12-24  7:37   ` Radha Krishna
@ 2008-12-24 13:41     ` Nishanth Menon
  2008-12-24 13:47       ` Nishanth Menon
  0 siblings, 1 reply; 6+ messages in thread
From: Nishanth Menon @ 2008-12-24 13:41 UTC (permalink / raw)
  To: u-boot

Radha Krishna said the following on 12/24/2008 01:37 AM:
> 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/
>
>   
I think you are with a really old U-Boot if the above is the place you
picked it from! if you look up the boot message it probably should be
1.1.5 or something of that revision. You can find the old revision in
[1]. We are attempting to merge in patches to the very latest 1.5
release which still does not have SDP3430 support (but can be done with
a little effort). You can see this new community initiative for a
mainstream OMAP3 U-Boot in [2] - but note, it is still a work in
progress and yet to be accepted in the mainline tree (But I guess we are
getting pretty close to it now)..

Regards,
Nishanth Menon
Ref:
[1] http://git.omapzoom.org/?p=u-boot.git;a=summary
[2]
http://git.sakoman.net/cgi-bin/gitweb.cgi?p=u-boot-omap3.git;a=shortlog;h=refs/heads/omap3-dev

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

* [U-Boot] Error in buffer data for NAND flash write, read on OMAP3430SDP.
  2008-12-24 13:41     ` Nishanth Menon
@ 2008-12-24 13:47       ` Nishanth Menon
  0 siblings, 0 replies; 6+ messages in thread
From: Nishanth Menon @ 2008-12-24 13:47 UTC (permalink / raw)
  To: u-boot

Nishanth Menon said the following on 12/24/2008 07:41 AM:
> Radha Krishna said the following on 12/24/2008 01:37 AM:
>   
>> I got the U-boot from the URL:
>> https://omapzoom.org/gf/project/bootloader/frs/
>>
>>   
>>     
> I think you are with a really old U-Boot if the above is the place you
> picked it from! if you look up the boot message it probably should be
> 1.1.5 or something of that revision. You can find the old revision in
> [1].
>   
<snip>
> [1] http://git.omapzoom.org/?p=u-boot.git;a=summary
>   
One more minor item of interest - for the u-boot
pulled from omapzoom.org, you may be interested in contacting either [1]
or [2].

Regards,
Nishanth Menon

Ref:
[1] http://vger.kernel.org/vger-lists.html#linux-omap
[2] https://omapzoom.org/mailman/listinfo/omapandroid-discussion

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

end of thread, other threads:[~2008-12-24 13:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-24  3:08 [U-Boot] Error in buffer data for NAND flash write, read on OMAP3430SDP Radha Krishna
2008-12-24  6:26 ` Dirk Behme
2008-12-24  7:37   ` Radha Krishna
2008-12-24 13:41     ` Nishanth Menon
2008-12-24 13:47       ` Nishanth Menon
  -- strict thread matches above, loose matches on Subject: below --
2008-10-30 19:09 Radha Krishna

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