SD card flashing time
quozl at laptop.org
Thu Sep 16 19:53:56 EDT 2010
On Thu, Sep 16, 2010 at 07:28:39PM -0400, Martin Langhoff wrote:
> On Thu, Sep 16, 2010 at 7:01 PM, James Cameron <quozl at laptop.org> wrote:
> > No, certainly not. ?There's no justification for either mke2fs or
> > resize2fs to write to blocks that do not form part of the filesystem
> > metadata. ?Why would you want to zero-out blocks anyway?
> Thinking of a deployment trying minimize reflash times.
Make sure to mention NANDblaster.
> What if they have a signed Forth script to run on a USB stick that... ?
> - runs fs-update u:\myimage.zd -- a "small-sized" img
> - boots a signed kernel and signed initramfs from the USB stick --
> where the initramfs just executes resize2fs, prints success/failure
> and waits to be switched off
I agree, this should work. It seems about the same amount of work as
building all images small and resizing them up on first boot.
More information about the Devel