To: Edwin Foo <efoo@crl.dec.com>
Subject: Re: Status
References: <Pine.NEB.4.21.0006191332390.316-100000@r2d2.crl.dec.com>
From: nathanw@mit.edu (Nathan J. Williams)
Date: 19 Jun 2000 13:53:00 -0400
In-Reply-To: Edwin Foo's message of "Mon, 19 Jun 2000 13:34:01 -0400 (EDT)"
Message-ID: <mtuog4xbls3.fsf@contents-vnder-pressvre.mit.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Lines: 42
Xref: contents-vnder-pressvre.mit.edu netbsd.ipaq:24

Edwin Foo <efoo@crl.dec.com> writes:

> > Still haven't worked on the bootloader seriously, since I don't know
> > how to make it program the Skiff flash.
> 
> "load bootloader" should load a new bootloader into flash. is that what
> you're asking?

No. I was puzzled for a while by the repeated use of:

   {set,clear}_egpio(EGPIO_BITSY_VPEN);

in the flash-programming code, as it's clearly sa1100-specific, and I
didn't know the sa110 analog. Further perusal of the flash-programming
code and the 21285 manuals leads me to believe that I can just cut
them out without causing any problems for the programming.

The bootloader source is rather inconsistent with respect to stuff
that is conditional on CONFIG_SKIFF or CONFIG_BITSY; I'm converting
such things to:

#ifdef CONFIG_SKIFF
....
#elseif CONFIG_BITSY
....
#else
#error 
#endif

to try and catch anything falling through. I'll submit the changes
once I've hit the whole thing (and I'll probably do some other
renames, such as boot.s to boot-sa110.s).


I'm not sure how much testing I'll get done. I'll try a new bootloader
once I get the code tweaked, but I expect to botch something
unrecoverably pretty soon.

I'm also vanishing to Usenix tomorrow, so whatever progress happens
today will be it for the week.

        - Nathan
