Re: [Etherboot-developers] All pci drivers in 1 rom image.
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: Eric W B. <ebi...@ln...> - 2002-08-17 01:01:24
|
Michael Brown <mb...@fe...> writes: > On 15 Aug 2002, Eric W Biederman wrote: > > O.k. playing with drivers I have just built an etherboot romimage, with > > all of the pci drivers compiled in. As you can see below the text > > comes to 81K for a total image size of 188K. The compressed romimage > > probably comes to 40K but lzhuf is haning on such a large file so I don't > > have good numbers. This does mean there are a few nics with ROMs that > > could have an everything, test. > > Excellent - I can provide clients with a "will boot anything" disk so they > can check to see if Etherboot supports their NICs. Now, if only the PCI > spec could change so that the same ROM image can work when placed in any > NIC... Right that should be possible. At least for pci nics. We could probably do this with pnpisa nics as well, (because the probe routines are reliable enough). But I don't have the cards, or the slots to test the code. My current test machine only has 64bit PCI-X 133Mhz slots, It can do 32bit 33Mhz PCI in there. > > With a few more tweaks it finally looks like I have a good base for adding > > all kinds of drivers. I have moved all of table entries from config.c > > into the drivers themselves, and added CONFIG_ISA and CONFIG_PCI > > options, to specify what kind of drivers can be supported. > > Using the filename to specify which drivers to compile is beginning to > > look like a problem. In particular we are half way to ext2 filename > > size limit already. So I will probably add a target for all pci > > drivers, to avoid this problem. > > size > bin32/3c595--3c90x--eepro100--e1000--lance--tulip--davicom--rtl8139--via-rhine--w89c840--sis900--natsemi--fa311--prism2_plx--prism2_pci--ns8390--epic100.tmp > > > text data bss dec hex filename > > 83156 2856 106076 192088 2ee58 > bin32/3c595--3c90x--eepro100--e1000--lance--tulip--davicom--rtl8139--via-rhine--w89c840--sis900--natsemi--fa311--prism2_plx--prism2_pci--ns8390--epic100.tmp > > > I assume you'll be keeping the current scheme as well - the most usual > number of drivers in a ROM will probably be 1, 2 or all of them. Right. I still haven't written the all of them case. But I have extended the current scheme to be fully recursive as above, so you can include all of the drivers you want. Eric |