ts-7000
[Top] [All Lists]

Re: [ts-7000] ECC / Bad Block handling on TS-7250 NAND flash

To:
Subject: Re: [ts-7000] ECC / Bad Block handling on TS-7250 NAND flash
From: Curtis Monroe <>
Date: Sat, 3 Feb 2007 17:47:35 -0500
from post:
http://tech.groups.yahoo.com/group/ts-7000/message/3620

---------------

As of TS11, the boot sequence is as follows:
1. TS-PREBOOT loads TS-BOOTROM from first block of flash (partition 1). As
you mentioned correctly, this does not need ECC due to guarantees on the
first block.
2. TS-BOOTROM then loads RedBoot from the third partition on the flash.
This is now done with ECC checking, although earlier versions did not ECC
check. So a corrupt load of RedBoot should never occur, at least not due to
ECC failure or bad blocks (although it could occur if RedBoot got corrupted
without incurring an ECC failure, e.g. overwriting part of it with bad
data.)
3. RedBoot loads the kernel which is a file store in the FIS in the RedBoot
partition, and as you correctly indicated, it does ECC check as well. Files
created by RedBoot will also correctly work around bad blocks which may
develop; iirc you will see pseudo-files named "(bad block)" when this
occurs.
4. The kernel then boots and uses the second partition to find its root
filesystem, which is YAFFS or YAFF2 depending on which flash hardware you
have.

So the statement I was disagreeing with was (not yours) "TS loads the 256KB
RedBoot partition into memory with no ECC correction" which is no longer
true as of TS11.

Regards,

Michael

----------

-Curtis.


On February 2, 2007 04:41 pm, Scott Wagner wrote:
> Hello,
> 
> The TS-7250 uses a Samsung K9F5608U0B NAND flash partitioned for the
> TS boot loader, RedBoot, RedBoot config, Linux kernel, and YAFFS file
> system.  During the boot process, the first four of these partitions
> are involved.  How do these boot loaders (the TS boot loader and,
> especially, RedBoot) handle ECC and bad blocks?  Is there code in
> RedBoot that does bad block handling / ECC for the K9F5608U0B?  Can
> someone give me a pointer or two as to where to start looking?
> 
> Thanks
> Scott Wagner
> 
> 


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU