[OLPC-devel] Re: olpcflash 0.1.0 Alpha
Jordan Crouse
jordan.crouse at amd.com
Wed Aug 16 11:24:01 EDT 2006
On 16/08/06 09:07 -0600, Ronald G Minnich wrote:
> Jordan Crouse wrote:
> >On 15/08/06 23:58 -0500, Richard Smith wrote:
> >
> >>void put_kbc_in_reset(void){
> >> unsigned char val;
> >> unsigned long timeout = 500000;
> >>
> >> outb(0xd8,0x66);
> >> while((inb(0x66) & 0x02) & timeout>0) {
> >> timeout--;
> >> }
> >
> >
> >That while statement looks a bit suspect. Looks like you missed a &.
> >
> >Jordan
> good catch.
>
> I just confirmed that with 2376, one can flash the SPI and boot!
I juste booted 2378, and I read the ROM with olpcflash.
Haven't yet tried to flash it. I'll do that before checking in my changes.
> I'm done with PLCC!
I dunno - 11 minutes is a bit long. I'll remain lazy and stick with the
easy flash.. :)
Jordan
> thanks
>
> ron
>
>
--
Jordan Crouse
Senior Linux Engineer
Advanced Micro Devices, Inc.
<www.amd.com/embeddedprocessors>
More information about the Devel
mailing list