[OLPC-devel] read side of olpcflash works

Ray.Tseng at quantatw.com Ray.Tseng at quantatw.com
Sun Aug 13 20:38:13 EDT 2006


 Jim,
	the SPI write is always enabled by EC at this moment.

Ray Tseng 8/14/06 

-----Original Message-----
From: Jim Gettys [mailto:jg at laptop.org] 
Sent: Friday, August 11, 2006 10:45 PM
To: Ronald G Minnich; Ray Tseng (曾文瑞)
Cc: olpc
Subject: Re: [OLPC-devel] read side of olpcflash works

The EC has control on one of its GPIO pins of the SPI write enable line, IIRC.

Ray, how do we do this until the EC code has the human intervention code in place?
                                     - Jim


On Fri, 2006-08-11 at 08:28 -0600, Ronald G Minnich wrote:
> The attached file, when compiled and run, can read the olpc SPI flash.
> 
> to run:
> 
> ./olpcflash -i 0x381 -r somefile
> 
> and you can see the bios in somefile.
> 
> You can verify too:
> ./olpcflash -i 0x381 -v somefile
> 
> why it's 381 and not the default I don't know.
> 
> What's amazing: the read code worked on the first rev.
> 
> Write does not work, I think something is still write protected.
> 
> ron
> _______________________________________________
> Devel mailing list
> Devel at laptop.org
> http://mailman.laptop.org/mailman/listinfo/devel
--
Jim Gettys
One Laptop Per Child




More information about the Devel mailing list