public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Ben Warren <biggerbadderben@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] UBoot NFS timeout
Date: Wed, 22 Apr 2009 22:56:38 -0700	[thread overview]
Message-ID: <49F00316.8040902@gmail.com> (raw)
In-Reply-To: <f17c5f540904221130t579161d6h37adcd0902d94bc1@mail.gmail.com>

Hi Christopher,

Please don't top-post.

Christopher McNamara wrote:
> It is a microblaze on a Xilinx Virtex 5. Not sure what the MAC is
> unless it is built into the VITESSE vsc8211 PHY...
>
>   
I've never used this configuration, but assume it's using some kind of 
Xilinx-provided soft MAC.  It probably doesn't matter much anyway.
> The only code on the machine at this time is the UBoot 1.2 image, no
> linux kernel.
>
> I was led to believe by the documentation that I could boot the whole
> image via nfs, I am faced with a situation where tftp is not allowed
> so I was thinking this could be the alternative. (I have a working
> linux image, I am just looking for an alternative route to get it to
> the board.)
>
> My command is
> nfs 0x80000000 xxx.xxx.50.21:/root/Desktop/susenfs/bootme4linux.bin
>
> For what you are saying with the rsize= parameter I wouldn't use this
> command but rather change the bootargs parameter like this...
>
> setenv bootargs root=?? rw
> nfsroot=177.174.50.21:/root/Desktop/susenfs/bootme4linux.bin,rsize=512,wsize=512,nolock
> ip=177.174.50.151
>
> and then do a
>
> loadb
>
> Without the kernel there what would my root= parameter be?
>
>   
No, I don't think this is what you want to do.  You want to use the 
'nfs' command.  I confess I've never used it so can only help by code 
inspection.  It appears that U-boot sets the read size to 1024, which is 
much smaller than the 4k or 8k block size that you'd run into using a 
regular NFS mount.

Anyway, something else to try is to throttle your network speed by 
forcing your PHY to 10/half.  You should be able to do that with the 
miiphy commands.  Your MAC will surely be able to keep up with it and 
this will tell you if the problem is really due to throughput.  The 
downside is that things will seem reeaaallllyy slllloooowwww.

regards,
Ben

      reply	other threads:[~2009-04-23  5:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-22 14:08 [U-Boot] UBoot NFS timeout christopher.mcnamara
2009-04-22 18:05 ` Ben Warren
2009-04-22 18:30   ` Christopher McNamara
2009-04-23  5:56     ` Ben Warren [this message]

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=49F00316.8040902@gmail.com \
    --to=biggerbadderben@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
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