* [U-Boot] flash post test
@ 2012-01-31 9:27 vk
2012-02-03 21:32 ` Albert ARIBAUD
0 siblings, 1 reply; 8+ messages in thread
From: vk @ 2012-01-31 9:27 UTC (permalink / raw)
To: u-boot
Hi all,
Currently I am testing the Flash memory by using "Write and Read the
same pattern" method (Protecting the UBoot Flash Sectors).
Is it safer to test flash memory during bootup?what if power gets off during
process?
I want to know whether there is any alternative method to test the
complete FLASH MEMORY.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] flash post test
2012-01-31 9:27 [U-Boot] flash post test vk
@ 2012-02-03 21:32 ` Albert ARIBAUD
2012-02-06 4:57 ` vaibhav kothari
0 siblings, 1 reply; 8+ messages in thread
From: Albert ARIBAUD @ 2012-02-03 21:32 UTC (permalink / raw)
To: u-boot
Hi vk,
Le 31/01/2012 10:27, vk a ?crit :
> Hi all,
>
>
> Currently I am testing the Flash memory by using "Write and Read the
> same pattern" method (Protecting the UBoot Flash Sectors).
>
> Is it safer to test flash memory during bootup?what if power gets off during
> process?
>
> I want to know whether there is any alternative method to test the
> complete FLASH MEMORY.
Do you mean that you want to test the flash by writing to it on every
power-up? What is the point?
Amicalement,
--
Albert.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] flash post test
2012-02-03 21:32 ` Albert ARIBAUD
@ 2012-02-06 4:57 ` vaibhav kothari
2012-02-06 22:23 ` Albert ARIBAUD
0 siblings, 1 reply; 8+ messages in thread
From: vaibhav kothari @ 2012-02-06 4:57 UTC (permalink / raw)
To: u-boot
hi albert
Yes,actually there is already support of flash test in POST of latest
uboot.They are testing flash on every power on so am I for my board.But i
don't want to disturb sectors in which uboot code relies. Can you help me
here?
On Sat, Feb 4, 2012 at 3:02 AM, Albert ARIBAUD <albert.u.boot@aribaud.net>wrote:
> Hi vk,
>
> Le 31/01/2012 10:27, vk a ?crit :
>
> Hi all,
>>
>>
>> Currently I am testing the Flash memory by using "Write and Read the
>> same pattern" method (Protecting the UBoot Flash Sectors).
>>
>> Is it safer to test flash memory during bootup?what if power gets off
>> during
>> process?
>>
>> I want to know whether there is any alternative method to test the
>> complete FLASH MEMORY.
>>
>
> Do you mean that you want to test the flash by writing to it on every
> power-up? What is the point?
>
> Amicalement,
> --
> Albert.
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] flash post test
2012-02-06 4:57 ` vaibhav kothari
@ 2012-02-06 22:23 ` Albert ARIBAUD
2012-02-06 22:55 ` Scott Wood
0 siblings, 1 reply; 8+ messages in thread
From: Albert ARIBAUD @ 2012-02-06 22:23 UTC (permalink / raw)
To: u-boot
Hi Vaibhav,
Le 06/02/2012 05:57, vaibhav kothari a ?crit :
> hi albert
>
> Yes,actually there is already support of flash test in POST of latest
> uboot.They are testing flash on every power on so am I for my board.But i
> don't want to disturb sectors in which uboot code relies. Can you help me
> here?
I am no NAND specialist, but I do hope NAND POST tests are pure read
tests and thus are not affected by poweroffs (and can actually test any
part of NAND).
Amicalement,
--
Albert.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] flash post test
2012-02-06 22:23 ` Albert ARIBAUD
@ 2012-02-06 22:55 ` Scott Wood
2012-02-06 22:59 ` Albert ARIBAUD
0 siblings, 1 reply; 8+ messages in thread
From: Scott Wood @ 2012-02-06 22:55 UTC (permalink / raw)
To: u-boot
On 02/06/2012 04:23 PM, Albert ARIBAUD wrote:
> Hi Vaibhav,
>
> Le 06/02/2012 05:57, vaibhav kothari a ?crit :
>> hi albert
>>
>> Yes,actually there is already support of flash test in POST of latest
>> uboot.They are testing flash on every power on so am I for my board.But i
>> don't want to disturb sectors in which uboot code relies. Can you help me
>> here?
>
> I am no NAND specialist, but I do hope NAND POST tests are pure read
> tests and thus are not affected by poweroffs (and can actually test any
> part of NAND).
NAND has a property called "read disturb", where excessively reading a
sector without writing to it can eventually cause data loss. U-Boot is
already read once per boot, but reading it a second time could halve the
expected lifetime. Data managed by something like ubi is be scrubbed in
a way that avoids this, but U-Boot itself is not usually managed in this
way (boot hardware/rom does not understand ubi).
-Scott
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] flash post test
2012-02-06 22:55 ` Scott Wood
@ 2012-02-06 22:59 ` Albert ARIBAUD
2012-02-06 23:02 ` Scott Wood
0 siblings, 1 reply; 8+ messages in thread
From: Albert ARIBAUD @ 2012-02-06 22:59 UTC (permalink / raw)
To: u-boot
Hi Scott,
Le 06/02/2012 23:55, Scott Wood a ?crit :
> On 02/06/2012 04:23 PM, Albert ARIBAUD wrote:
>> Hi Vaibhav,
>>
>> Le 06/02/2012 05:57, vaibhav kothari a ?crit :
>>> hi albert
>>>
>>> Yes,actually there is already support of flash test in POST of latest
>>> uboot.They are testing flash on every power on so am I for my board.But i
>>> don't want to disturb sectors in which uboot code relies. Can you help me
>>> here?
>>
>> I am no NAND specialist, but I do hope NAND POST tests are pure read
>> tests and thus are not affected by poweroffs (and can actually test any
>> part of NAND).
>
> NAND has a property called "read disturb", where excessively reading a
> sector without writing to it can eventually cause data loss. U-Boot is
> already read once per boot, but reading it a second time could halve the
> expected lifetime. Data managed by something like ubi is be scrubbed in
> a way that avoids this, but U-Boot itself is not usually managed in this
> way (boot hardware/rom does not understand ubi).
I *did* say I am not a NAND expert. :)
Thanks Scott. But then, isn't NAND testing a kind of catch-22, where by
actually tesing if NAND works it one ends up weakening it either through
read disturb, or simply through writes?
> -Scott
Amicalement,
--
Albert.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] flash post test
2012-02-06 22:59 ` Albert ARIBAUD
@ 2012-02-06 23:02 ` Scott Wood
2012-02-07 4:32 ` vaibhav kothari
0 siblings, 1 reply; 8+ messages in thread
From: Scott Wood @ 2012-02-06 23:02 UTC (permalink / raw)
To: u-boot
On 02/06/2012 04:59 PM, Albert ARIBAUD wrote:
> Hi Scott,
>
> Le 06/02/2012 23:55, Scott Wood a ?crit :
>> On 02/06/2012 04:23 PM, Albert ARIBAUD wrote:
>>> Hi Vaibhav,
>>>
>>> Le 06/02/2012 05:57, vaibhav kothari a ?crit :
>>>> hi albert
>>>>
>>>> Yes,actually there is already support of flash test in POST of latest
>>>> uboot.They are testing flash on every power on so am I for my
>>>> board.But i
>>>> don't want to disturb sectors in which uboot code relies. Can you
>>>> help me
>>>> here?
>>>
>>> I am no NAND specialist, but I do hope NAND POST tests are pure read
>>> tests and thus are not affected by poweroffs (and can actually test any
>>> part of NAND).
>>
>> NAND has a property called "read disturb", where excessively reading a
>> sector without writing to it can eventually cause data loss. U-Boot is
>> already read once per boot, but reading it a second time could halve the
>> expected lifetime. Data managed by something like ubi is be scrubbed in
>> a way that avoids this, but U-Boot itself is not usually managed in this
>> way (boot hardware/rom does not understand ubi).
>
> I *did* say I am not a NAND expert. :)
>
> Thanks Scott. But then, isn't NAND testing a kind of catch-22, where by
> actually tesing if NAND works it one ends up weakening it either through
> read disturb, or simply through writes?
It's fine for occasional manual testing, or routine testing of an area
that gets properly scrubbed.
-Scott
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot] flash post test
2012-02-06 23:02 ` Scott Wood
@ 2012-02-07 4:32 ` vaibhav kothari
0 siblings, 0 replies; 8+ messages in thread
From: vaibhav kothari @ 2012-02-07 4:32 UTC (permalink / raw)
To: u-boot
hi albert,Scott
Thnks for your reply.Other than uib ,is there any data pattern/algorithm
for flash testing which effects less on lifespan of flash??
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-02-07 4:32 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-31 9:27 [U-Boot] flash post test vk
2012-02-03 21:32 ` Albert ARIBAUD
2012-02-06 4:57 ` vaibhav kothari
2012-02-06 22:23 ` Albert ARIBAUD
2012-02-06 22:55 ` Scott Wood
2012-02-06 22:59 ` Albert ARIBAUD
2012-02-06 23:02 ` Scott Wood
2012-02-07 4:32 ` vaibhav kothari
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox