Re: [Etherboot-developers] Porting report
Brought to you by:
marty_connor,
stefanhajnoczi
|
From: <ebi...@ln...> - 2003-02-26 19:51:48
|
Yannis Mitsos <gm...@te...> writes:
> Hi all,
>
> The "porting" of the etherboot is proceeding smoothly, I have managed to
> overcome some problems. I have also studied the COFF file format and based on
> the aout_loader I am able to download the minimum needed sections, namely, the
> .text and .data.
>
> One question that I have is the following (always refering to version 5.0.8):
> Inside the tftp function I had to add in two different places some small
> delays. namely:
> Quoted from the main.c:
> ----------------------------
>
> udelay(10000); <------------1st
> 664: for (;;)
> {
> long timeout;
> #ifdef CONGESTED
> timeout = rfc2131_sleep_interval(block?TFTP_REXMT: TIMEOUT, retry);
> #else
> timeout = rfc2131_sleep_interval(TIMEOUT, retry);
> #endif
> udelay(2000); <------------2st
> if (!await_reply(AWAIT_TFTP, iport, NULL, timeout))
> {
> ----------------------------
>
> If I omit the udelays, from the tcpdump I can see that the processor sends a lot
>
> of tftp requests before it gets an aknowledge from the server.
>
> Any ideas on this ?
currticks() appears not to be working.
Eric
|