Hi Daniel,

I've made changes to dvflasher_1_14_080121 and added
support for factory marked bad blocks. Below are the
salient features

- Skip Factory marked Bad block during -enand
operation. Also skip such blocks during writing
ubl/u-boot. This is achieved by creating a BBT and
using this as a reference for all program/erase
operations
- Changed NAND_Copy to ensure it skips bad blocks
during copying of image to RAM. Note that, no BBT is
created here as we want read to be as fast as
possible; BBT is only created for program/erase
operations
- Split NAND_writeHeaderAndData in NAND_writeUbl and
NAND_writeCore. This is for better readability and
maintanibility. Also, if possible for large block
sizes write UBL to all 1-5 blocks

I'm not able to attach patch as inline as I loose all
^M characters. So sending as attachment. Please review

The patch is tested on EVM (512byte page NAND) and
also on a custom board with 2K page NAND

Thanks



      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

Attachment: dvflasher-badblock.tar.gz
Description: 3474370746-dvflasher-badblock.tar.gz

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

Reply via email to