Hello Etherboot hackers.
Here is a small change request:
We have found a case, where we need for example eepro100.rom
on a BBS able BIOS, but we want to select the boot mode
("L"olcal or from "N"et) by the ASK_xxx option, and not
by modifying the boot order in the BIOS on an embedded machine.
On such a BBS able BIOS, this ASK_xxx is not working very
well, then the user has to press enter after an error, etc...
The only "clean" way to use this image is: make a LEGACY ROM
EXTENSION not including a PCI and PnP header. So network is
not seen as a real boot device, and the EXTENSION ROM is
executed before the normal boot sequence start.
To get such an image, I only removed the "-DPCI_PNP_HEADER"
from the build of the `pr(z)lodaer.bin' image.
The alternate usage of "NO_DELAYED_INT" instead of removing
the PCI/PNP haeder was not a good solution.
So could for example introduce a
BBS_OPTIONS = -DPCI_PNP_HEADER # is the default
in the `Config' file, and the user can comment this line,
if the user wants to have a legacy extension ROM.
It would also be nice to have this as a "rom-o-matic" option.
In the `Makefile' the lines become following:
bin/prloader.s: loader.S $(MAKEDEPS)
$(CPP) $(LCONFIG) $(BBS_OPTIONS) -o $@ $<
bin/przloader.s: loader.S $(MAKEDEPS)
$(CPP) $(LCONFIG) $(BBS_OPTIONS) -DZLOADER -o $@ $<
I hope you like the idea,
Christoph Plattner
(I can also send this as a patch, but this is trival here !).
--
+--------V--------+ Chr...@al...
| A L C A T E L | -----------------------------
+-----------------+ Phone: +43 1 27722 3706
T A S Fax: +43 1 27722 3955
|