[OLPC-devel] Software action items and status

Ray.Tseng at quantatw.com Ray.Tseng at quantatw.com
Mon Jun 12 21:06:58 EDT 2006


Ron,
	2)Attachment is the EC binary now. Please reserve 64K.
	yes, The SPI ROM is 1MB
	2-a) OLPC board use shareROM architecture. i.e. two binaries is in one ROM. The sequence is dependent on the EC we choose. 
		
Ray Tseng 6/13/06
	

-----Original Message-----
From: Ronald G Minnich [mailto:rminnich at lanl.gov] 
Sent: Tuesday, June 13, 2006 4:15 AM
To: Ray Tseng (曾文瑞)
Cc: jg at laptop.org; walter at laptop.org; mark at laptop.org; devel at laptop.org; david at woodhou.se; blizzard at redhat.com; marcelo at kvack.org; davidz at redhat.com; jordan.crouse at amd.com
Subject: Re: [OLPC-devel] Software action items and status

Ray.Tseng at quantatw.com wrote:
> Jim,
> 
>>4) Find out how to program serial flash part. (ray/ron)
> 
> 
> 1) We did not implement the user intervention (pressing space bar five secs) now, the SPI write enable is always active.  

no problem.

> 2) The EC and BIOS share the same SPI ROM, please take steps to flash the binary.

no problem. Can you resend your latest EC binary. Also I assume that the SPI at this point is 1 MBYTE?
> a) Before flash Utility try to update any data to flash part, flash utility must issue 0xD8 command to LPC I/O port 0x66(write), and wait I/O port 0x66(read) IBF(bit 1) cleared.
This support will be integrated into our program. Is this an OLPC board issue or is this how the chipset works? Is there a data sheet for the part that I can have?

> b)Then flash utility set the bit 0 of EC internal register [0xFF14] 
> through Index I/O accessing... (0x381 is high address register, 0x382 
> is the low address register, 0x383 is the data register...)

ok

> c) Flash utility ERASE and PROGRAM SPI ROM
> d) After flash utility completes the flash action, flash utility just need to clear the Bit 0 of EC internal register [0xFF14] through Index I/O accessing...

thanks, this is very very useful info.

>  
> void Before(void)
> {
> BYTE temp
> 	outportb(0x66, 0xD8);		// issue PreReset command to EC 
> 	while (inportb(0x66) & 0x02);
> 
> // force KBC into Reset Mode
> 	outportb(0x381, 0xFF);
> 	outportb(0x382, 0x14);
> 	Temp = inport(0x383) | 0x01;
> 	outportb(0x383, Temp);
> }
> 
> void After(void)
> {
> // KBC back to normal run mode.
> 	outportb(0x381, 0xFF);
> 	outportb(0x382, 0x14);
> 	Temp = inport(0x383) & ~(0x01);
> 	outportb(0x383, Temp);
> }
> 
> Ray Tseng 6/12/06


ron
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ec015.bin
Type: application/octet-stream
Size: 18430 bytes
Desc: ec015.bin
URL: <http://lists.laptop.org/pipermail/devel/attachments/20060613/a5e412ea/attachment.bin>


More information about the Devel mailing list