Adam Agnew <[EMAIL PROTECTED]> writes:

> There exists config options
> option STD_FLASH
> and
> option USE_GENERIC_ROM
> 
> They sound logically the same. STD_FLASH however seems to be used
> prevelantly in the ipl assembly files, while USE_GENERIC_ROM is used in
> src/rom/rom_fill_inbuf.c .
> 
> Considering when you compile with STD_FLASH set but not USE_GENERIC_ROM
> you recieve errors for missing inbuf functions, I assume something is wrong.
> Could anyone with more intimate knowledge tell me if having both was just
> a mistake, or is there ever a reason to set one but not the other?

Well they are different options.  But the setup is odd.
STD_FLASH tells ipl.S not to bootstrap from the DOC millenium.  This I
think is a little odd that we are still even using ipl.S in this case
but it isn't a big problem.

USE_GENERIC_ROM is used to specify which of the fill_inbuf routines
you get.  Normally you will want to read your kernel or whatever out
of flash, and that flash is probably pretty straight forward when you
don't have a DOC millenium, but it can be replaced by something that
reads a kernel from disk or reads, or over the network
(i.e. etherboot).

So while I agree that we have a confusing setup in config options, I
don't think we have any real bugs in there.

Eric

Reply via email to