标题: compile FILO as pci rom, USB is near... [打印本页] 作者: uleak 时间: 2008-4-6 18:56 标题: compile FILO as pci rom, USB is near...
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