public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: dony <dony.he@huawei•com.cn>
To: Dan Malek <dan@netx4•com>
Cc: Embedded Linux PPC List <linuxppc-embedded@lists•linuxppc.org>
Subject: MPC860 enet driver ...
Date: Thu, 04 May 2000 14:45:42 +0800	[thread overview]
Message-ID: <39111C96.B0B3E684@huawei.com.cn> (raw)
In-Reply-To: 3910838C.986942D6@embeddededge.com


Hello,
        I want to write a bootloader which will do the following steps:
       1.  download the kernel via TFTP protocol onto RAM address 0x400000.
       2. go to 0x400000 and run the kernel.
 The receive()/send() is based on /usr/src/linux/arch/ppc/8xx_io/enet.c, using
polling mode instead of interrupt mode.
However , It can only download 96 packets(512bytes/packet,so
96*512/1024=48k)successfully. If the kernel file is larger than 48K, then it
will stop here when it downloads 48k. That is to say, it can only download
files which is smaller than 48K.
Maybe I should modify some parameters for MPC860 in enet.c?
How can I solve this?
 Thank you very much.
dony


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2000-05-04  6:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-03 15:47 allocating non-cacheable regions Steve Rossi
2000-05-03 19:52 ` Dan Malek
2000-05-04  6:45   ` dony [this message]
2000-05-31 20:53   ` Steve Rossi
2000-05-31 22:12     ` Dan Malek
2000-05-31 22:39       ` Tom Roberts
2000-06-01 13:01       ` Steve Rossi
2000-06-01 20:10         ` Steve Rossi
2000-06-02 14:24           ` Steve Rossi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=39111C96.B0B3E684@huawei.com.cn \
    --to=dony.he@huawei$(echo .)com.cn \
    --cc=dan@netx4$(echo .)com \
    --cc=linuxppc-embedded@lists$(echo .)linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox