Re: [Etherboot-developers] All pci drivers in 1 rom image.
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: Michael B. <mb...@fe...> - 2002-08-16 22:27:42
|
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... > 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. Michael Brown http://www.fensystems.co.uk -- Fen Systems: Linux made easy for schools |