27 Jul, 2018

3 commits


14 Jun, 2018

1 commit


10 Sep, 2016

1 commit


23 Aug, 2016

10 commits


06 Jul, 2016

1 commit


22 Jun, 2016

1 commit


19 Apr, 2015

7 commits


25 Jun, 2013

1 commit

  • This patch tackles the time out problem which leads to break the
    boot process, when loading file over nfs. The patch does two things.

    First of all, we just ignore messages that arrive with a rpc_id smaller
    then the client id. We just interpret this messages as answers to
    formaly timed out messages.

    Second, when a time out occurs we double the time to wait, so that we
    do not stress the server resending the last message.

    Signed-off-by: Matthias Brugger
    Tested-by: Enric Balletbo i Serra

    Matthias Brugger
     

13 Jul, 2012

1 commit


24 May, 2012

3 commits


16 May, 2012

1 commit


07 Dec, 2011

1 commit

  • When building u-boot as 64 bit application (e.g. sandbox) ulong might be
    64 bits in size. This breaks network code as IPaddr_t is 64 bytes in
    size then and an IPv4 address is 32 bits in size. This patch makes sure
    that IPaddr_t is always 32 bits in size. Also some warnings introduced
    by this patch are fixed.

    Signed-off-by: Matthias Weisser
    Acked-by: Mike Frysinger

    Matthias Weisser
     

06 Oct, 2011

1 commit

  • This is long over due. All but two net drivers have been converted, but
    those have now been dropped.

    The only thing left to do is actually delete all references to NET_MULTI
    and code that is compiled when that is not defined. So here we scrub the
    core code.

    Signed-off-by: Mike Frysinger

    Mike Frysinger
     

13 May, 2011

1 commit


14 Dec, 2009

1 commit


08 Dec, 2009

2 commits

  • - NfsTimeout() does not correctly update the NFS timeout value which
    results in NfsTimeout() only being called once in certain situations.
    This can result in the 'nfs' command hanging indefinetly. For
    example, the command:

    nfs 192.168.0.1:/home/user/file

    will not exit until ctrl-c is pressed if 192.168.0.1 does not have an
    NFS server running.

    This issue is resolved by reinitializting the NFS timeout value inside
    NfsTimeout() when a timeout occurs.

    - Make the 'nfs' command print the 'T' character when a timeout occurs.
    Previously there was no indication that timeouts were occuring.

    - Mimic the 'tftpboot' command and when a download fails print "Retry
    count exceeded; starting again", and restart the download taking the
    'netretry' environment variable into account.

    Signed-off-by: Evan Samanas
    Signed-off-by: Peter Tyser

    Tested on TQM8xxL.

    Tested by: Wolfgang Denk

    Tested on MPC8527DS.

    Tested by: Ed Swarthout

    Evan Samanas
     
  • An off by one error may cause nfs readlink lookup fail if
    nfs_path_buff has non-zero data from a previous use.

    Loading: *** ERROR: File lookup fail

    Signed-off-by: Ed Swarthout

    Ed Swarthout
     

08 Aug, 2009

1 commit

  • Minor ./net cleanups - no functional changes
    - change #ifdef DEBUG printf(); #endif to just debug()
    - changed __FUNCTION__ to __func__
    - got rid of extra whitespace between function and opening brace
    - removed unnecessary braces on if statements

    gcc dead code elimination should make this functionally/size equivalent
    when DEBUG is not defined. (confirmed on Blackfin, with gcc 4.3.3).

    Signed-off-by: Robin Getz

    Signed-off-by: Ben Warren

    Robin Getz
     

21 Mar, 2009

1 commit


19 Oct, 2008

2 commits