mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* booting kernel from ubi volume in nand flash
@ 2015-10-01 20:25 Geoff Cleary
  2015-10-02  7:02 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Geoff Cleary @ 2015-10-01 20:25 UTC (permalink / raw)
  To: barebox

Hi,

I cannot find documentation regrading scrubbing of ubi volumes in barebox.
Is this feature implemented in barebox?

In the case where our kernel is stored in a ubi volume, should we expect
the possibility that barebox may try to "scrub" (move) a block during boot
of the kernel, if that block required ECC correction?

Regards
Geoff Cleary

--

 Geoff Cleary

 Principal Software Engineer
 http://www.sightlogix.com

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: booting kernel from ubi volume in nand flash
  2015-10-01 20:25 booting kernel from ubi volume in nand flash Geoff Cleary
@ 2015-10-02  7:02 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2015-10-02  7:02 UTC (permalink / raw)
  To: gcleary; +Cc: barebox

Hi Geoff,

On Thu, Oct 01, 2015 at 04:25:59PM -0400, Geoff Cleary wrote:
> Hi,
> 
> I cannot find documentation regrading scrubbing of ubi volumes in barebox.
> Is this feature implemented in barebox?
> 
> In the case where our kernel is stored in a ubi volume, should we expect
> the possibility that barebox may try to "scrub" (move) a block during boot
> of the kernel, if that block required ECC correction?

I think that should not happen, at least not as long as you only do
readonly accesses to UBI. In this case scrubbing work may be added
to the list of pending works, but that list is never processed. This
can change though if you create/delete volumes or if you write to
volumes. In this case produce_free_peb() or ubi_wl_flush() may be called
which both process the list of pending works.
I hope that helps. If in doubt you should familiarize with the code
yourself.

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-02  7:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-01 20:25 booting kernel from ubi volume in nand flash Geoff Cleary
2015-10-02  7:02 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox