Re: [Etherboot-developers] Universal auto-probing driver
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: <ebi...@ln...> - 2003-02-21 04:57:53
|
ke...@us... (Ken Yap) writes: > >it build a big etherboot.o file (140kb), but the etherboot.zdsk is 36 > >kb.... it semms too short! > > > >Booting, it write some number and then "err"....then it halts.... > > Ah, you've found a bug. The Makefile rule for .z?dsk pads the output to > a full track on floppy, but assumes that no driver is > 36kB. Obviously > we weren't looking far ahead enough. Ditto for the .z?lilo rule. > makerom.pl also has to be updated. > > Fixed in the CVS. We have progress. But it appears there is still a bug in the dsk loader with respect to large images. I have just tested the silly case of make etherboot.elf etherboot can successfully load the generated binary. There was a strange bug in genrules.pl that did not add all of the pci drivers to the list of drivers in etherboot.o and that is now fixed. In addition I have now added a rule for etherboot-pci.o which is just the pci drivers. It does not add a lot but it does mean you don't get caught in the 3c509 drivers 4000 attempts to probe the card, nor any other bad pci probe. When built on my machine: etherboot.o is 231245 bytes etherboot-pci.o is 171370 bytes etherboot.img is 183444 bytes etherboot.zimg is 84581 bytes etherboot-pci.img is 140628 bytes etherboot-pci.zimg is 75420 bytes I have just updated the CHECKSIZE rule to make certain etherboot loaded at RELOCADDR will be below 640K, including the bss segment. Possibly this is a little too liberal but... We are so close that etherboot.zelf does not load because it would uncompress and exceed the 640K limit. So yay the code works. Boo except loading etherboot from etherboot it is useless at the moment. So I guess the next step is to look at the floppy loader and see what can be done about this so mere mortals can load super etherboot images. Anyway it is time for me to stop programming for the night, this was a fun diversion but... Eric |