[U-Boot] [PATCH 2/2] am335x_evm: Update, document Falcon Mode support

Romain Izard romain.izard.pro at gmail.com
Thu Jul 4 09:39:48 CEST 2013


Tom> +A further word of warning about using eMMC and partition tables.  When
Tom> +working with SD cards we can get away with erasing small areas at a time,
Tom> +however on eMMC we must keep erases aligned to eraseblocks and thus the
Tom> +first erase we issue will erase the partition table.

Peter> Really? I thought eMMC behaved just like SD cards?

Tom> Yes, really.  We know what the erase block size is, and round our
Tom> commands, probably because we really have to.  SD cards take care of
Tom> things for us, for better or worse.

But why do we bother with erasing the eMMC in the first place? The erase
commands are wholly optional, and only make sense as a TRIM mechanism,
which is not our case as we will fill the memory as soon as it has been
erased.

There is no problem in writing directly in the memory, even if it has
not been erased previously. Or is it a measure to detect interrupted
writes ?

Best regards,
-- 
Romain Izard



More information about the U-Boot mailing list