Suba,

I have not looked at the newer u-boot code, but it should be noted that
the hardware ECC on the DM644x can generate ECCs on data reads and
writes UP TO 512 bytes.  In fact the device supports 256-byte page
devices (which I don't think are manufactured anymore) and only
generates and uses 22 bits for ECCs.  That being said the boot rom of
the DM644x expects the UBL data to be stored using 512-byte ECCs (if
your not using the obsolete 256-byte page device).  SO you might have a
different format for ECCs in pages where the rom is looking for stuff
and where u-boot is looking for stuff.  Your UBL can do either one (or
not check ECCs at all if you like to live on the edge).  So the U-boot
mtd stuff should be adaptable to use the DM644x hardware ECCs without
too much issue.

Regards,
Daniel

Daniel J. Allred
Software Applications
Catalog DSP / Emerging End Equipment

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Subashini Balaraman
Sent: Wednesday, May 16, 2007 7:00 AM
To: Linux DaVinci
Cc: ketan deshpande
Subject: uboot 1.1.6 with Nand support on custom board



  This is just a continuation of the other thread.
http://www.mail-archive.com/[EMAIL PROTECTED]
om/msg02446.html
  
  Thanks Ivan and Daniel for all your help with UBL
and u-boot.

  We are now trying the uboot 1.1.6 and trying the
Nand support. We are using a large Page Nand device ST
Micro (2048 byte pages).

  The mtd in uboot1.1.6 seems to store the ECC values
for every 256 byte data. But the davinci HW ECC gives
us 24 bits for every read which is 512 bytes of data.

  Does that mean that the Davinci's HW ECC is not
compatible with the way we need to store and
manipulate the correct_data() function in the mtd?


Regards
Suba.



--- Ivan Tonchev <[EMAIL PROTECTED]> wrote:

> 
> >   My u-boot compilation seems to go well. But
> during
> > ld, there are errors like this:
> >
> >  _udivSi3.oS: warning: duplicate section
> > .note.gnu.arm.ident has different contents.
> >
> >  And the map file is created, but no .bin or
> .srec.
> > Any ideas?
> >   
> 
> Which version of u-boot are you compiling and with
> what toolchain?
> 




       
________________________________________________________________________
____________
Moody friends. Drama queens. Your life? Nope! - their life, your story.
Play Sims Stories at Yahoo! Games.
http://sims.yahoo.com/  
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to