Re: [Etherboot-developers] bootrom for Dlink DE530CT+
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: Marty C. <md...@th...> - 2001-09-01 16:22:18
|
On 9/1/2001 7:24 AM Christian Schoebel e99...@st... wrote:
>what I've also realised is that the dc21041 boot rom
>(dc21041.lzrom) only needs about 500 bytes more than a
>16 KB boot rom.
>my question:
>what are the possibilities I have for reducing the dc21041.lzrom
>size in order to be able to put it into an 16 KB rom?
>reducing the tulip driver? does anyone have experience with that?
>or saving space in any other part?
>please give me some ideas!
Note that:
/* Size of transmit and receive buffers */
#define BUFLEN 1536
and there are 4 of them currently:
#define RX_RING_SIZE 4
If you set RX_RING_SIZE to 3 you might save 1.5K.
There are also a lot of debugging printfs that could be taken out. And
there is code that is only run for particular kinds of cards which could
be #ifdef'ed.
Let us know if that helps.
Marty
P.S. There is a media-selection bug that could probably be fixed by
putting this call:
init_media(nic);
just before
/* enable transmit and receive */
outl(tp->csr6 | 0x00002002, ioaddr + CSR6);
at the end of the "tulip_reset" function.
The media selection bug seems mostly to affect old Cisco 5000 series
switches, which are problematic with a number of NICs. If someone could
test this, I'd be grateful...
---
Try: http://rom-o-matic.net/ to make Etherboot images instantly.
Name: Marty Connor
US Mail: Entity Cyber, Inc.; P.O. Box 391827; Cambridge, MA 02139; USA
Voice: (617) 491-6935, Fax: (617) 491-7046
Email: md...@th...
Web: http://www.thinguin.org/
|