Dear all,
I can now compile FILO as a pci rom. the pci rom can also works under qemu. cheers!
detail:
FILO is a boot loader
FILO can boot linux from USB since filo have uhci /ohci stacks.
filo is compiled as elf binary usually.
since etherboot have an excellent structure for real<->protect mode code, so
filo can boot now. usb can be used now.
you are welcome to test it by the attachment.
changes made:
change Config to remove the # by the line INCLUDE_FILO=y
change MAX_ADDR to 000fff00ul in osdep.h
change main.c main() to call filo()
thats it.
how to compile:
make bin/eepro.rom
test bin file:
http://upload.cn-dos.net/img/233.zip