You are correct.  That got left over when I modified the file for
supporting big block devices.  The customer tested it on a big block
device so it worked fine.

 

Thanks.  It'll be fixed soon.

 

Regards,

Daniel

 

Daniel J. Allred

Software Applications

Catalog DSP / Emerging End Equipment

________________________________

From: Ivan Tonchev [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 14, 2007 2:22 PM
To: Allred, Daniel
Cc: Monk, Roger; Linux DaVinci
Subject: dvflasher_1_11.tar NAND patch

 

Hi Daniel,

I tested dvflasher_1_11.tar. There is a bug:  UBL does not program NAND
flash correctly.

Here's the patch:

--- ubl/src/nand.c.broken       2007-03-14 21:15:35.000000000 +0200
+++ ubl/src/nand.c      2007-03-14 21:15:35.000000000 +0200
@@ -480,7 +480,6 @@
         }
         else
         {
-               src += gNandInfo.bytesPerPage;
                flash_write_bytes((PNAND_INFO)&gNandInfo, (void*) src,
gNandInfo.bytesPerPage);
            }
 

Regargs,
Ivan

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to