[U-Boot] SPI flash writing

Mike Frysinger vapier at gentoo.org
Thu Mar 15 01:51:07 CET 2012


On Wednesday 14 March 2012 20:02:27 Tom Rini wrote:
> On Tue, Mar 13, 2012 at 10:31:02PM +0100, Falauto, Gerlando wrote:
> > Can't the same command also be used for burning something *other than*
> > u-boot (e.g. a kernel, config section, or something like that)? So the
> > size of the flash *does matter*, doesn't it?
> 
> How about using mtdparts which I think will tell you when you're going
> to write something larger than the defined partition?  If it doesn't,
> that would be a handy thing to add (and be a general feature too).

i was about to suggest this :).  unfortunately, in order to make that work, i 
think the spi flash code needs to be migrated to the mtd layers ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120314/7ad34d44/attachment.pgp>


More information about the U-Boot mailing list