Revision tags: v00.04.15, v00.04.14, v00.04.13, v00.04.12, v00.04.11, v00.04.10, v00.04.09, v00.04.08, v00.04.07, v00.04.06, v00.04.05, v00.04.04, v00.04.03, v00.04.02, v00.04.01, v00.04.00, v2021.04, v00.03.03, v2021.01, v2020.10, v2020.07, v00.02.13, v2020.04, v2020.01, v2019.10, v00.02.05, v00.02.04, v00.02.03, v00.02.02, v00.02.01, v2019.07, v00.02.00, v2019.04 |
|
#
a57d45db |
| 26-Jul-2018 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-net
|
Revision tags: v2018.07 |
|
#
6ab12830 |
| 03-Jul-2018 |
Joe Hershberger <joe.hershberger@ni.com> |
net: Consolidate the parsing of bootfile
The same basic parsing was implemented in tftp and nfs, so add a helper function to do the work once.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
|
#
faecf84a |
| 03-Jul-2018 |
Joe Hershberger <joe.hershberger@ni.com> |
net: Always print basic info for nfs, just like tftp
nfs was only printing basic info about the transfer in the case of a DEBUG build. Print the same level of detail as tftp always.
Signed-off-by:
net: Always print basic info for nfs, just like tftp
nfs was only printing basic info about the transfer in the case of a DEBUG build. Print the same level of detail as tftp always.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
#
347e32b0 |
| 03-Jul-2018 |
Joe Hershberger <joe.hershberger@ni.com> |
net: Check subnet against the actual ip address in use for nfs
The check for sending to the gateway was not using the correct variable for comparison, so it was reporting that packets are sent to th
net: Check subnet against the actual ip address in use for nfs
The check for sending to the gateway was not using the correct variable for comparison, so it was reporting that packets are sent to the gateway when they were not.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
#
606fddd7 |
| 14-Jun-2018 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-net
|
#
d48d40a0 |
| 14-May-2018 |
Vasily Khoruzhick <anarsoul@gmail.com> |
net: nfs: don't fail when nfs_read_reply returns -NFS_RPC_DROP
That can happen if duplicate UDP packet arrived, and that's not uncommon. Anyway, we ignore packets with rpc_id lower than last we sent
net: nfs: don't fail when nfs_read_reply returns -NFS_RPC_DROP
That can happen if duplicate UDP packet arrived, and that's not uncommon. Anyway, we ignore packets with rpc_id lower than last we sent for other requests, so it makes sense to do that for read request as well.
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
Revision tags: v2018.03, v2018.01, v2017.11 |
|
#
12f05678 |
| 09-Sep-2016 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-net
|
#
a73588fe |
| 09-Sep-2016 |
Joe Hershberger <joe.hershberger@ni.com> |
Revert "net: nfs: Use the tx buffer to construct rpc msgs"
This reverts commit 998372b4798fd7ebb666f571950df925b8d80f69.
This caused a data abort on some platform.
Signed-off-by: Joe Hershberger <
Revert "net: nfs: Use the tx buffer to construct rpc msgs"
This reverts commit 998372b4798fd7ebb666f571950df925b8d80f69.
This caused a data abort on some platform.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reported-by: Guillaume GARDET <guillaume.gardet@free.fr>
show more ...
|
#
46fe9eb0 |
| 23-Aug-2016 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-net
|
#
1ff65d44 |
| 15-Aug-2016 |
Joe Hershberger <joe.hershberger@ni.com> |
net: nfs: Simplify rpc_add_credentials()
We use an empty hostname, so remove all the "processing" of the known-to-be-empty hostname and just write 0's where needed.
Signed-off-by: Joe Hershberger <
net: nfs: Simplify rpc_add_credentials()
We use an empty hostname, so remove all the "processing" of the known-to-be-empty hostname and just write 0's where needed.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
#
998372b4 |
| 15-Aug-2016 |
Joe Hershberger <joe.hershberger@ni.com> |
net: nfs: Use the tx buffer to construct rpc msgs
Instead of always allocating a huge temporary buffer on the stack and then memcpy()ing the result into the transmit buffer, simply figure out where
net: nfs: Use the tx buffer to construct rpc msgs
Instead of always allocating a huge temporary buffer on the stack and then memcpy()ing the result into the transmit buffer, simply figure out where in the transmit buffer the bytes will belong and write them there directly as each message is built.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
#
d89ff2df |
| 15-Aug-2016 |
Joe Hershberger <joe.hershberger@ni.com> |
net: nfs: Move some prints to debug statements
Much of the information is verbose and derived directly from the environment. Only output in debug mode. This also saves about 300 bytes from the code
net: nfs: Move some prints to debug statements
Much of the information is verbose and derived directly from the environment. Only output in debug mode. This also saves about 300 bytes from the code size.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
#
0517cc45 |
| 15-Aug-2016 |
Joe Hershberger <joe.hershberger@ni.com> |
net: nfs: Use consistent names for the rpc_pkt
Use the same name throughout the nfs code and use the same member of the union to avoid casts.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
|
#
c629c45f |
| 15-Aug-2016 |
Joe Hershberger <joe.hershberger@ni.com> |
net: nfs: Correct a comment
The buffer is of 32-bit elements, not bytes.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
|
#
051ed9af |
| 15-Aug-2016 |
Joe Hershberger <joe.hershberger@ni.com> |
net: nfs: Consolidate handling of NFSv3 attributes
Instead of repeating the same large snippet for dealing with attributes it should be shared with a helper function.
Signed-off-by: Joe Hershberger
net: nfs: Consolidate handling of NFSv3 attributes
Instead of repeating the same large snippet for dealing with attributes it should be shared with a helper function.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
#
347a9015 |
| 15-Aug-2016 |
Joe Hershberger <joe.hershberger@ni.com> |
net: nfs: Fix lines that are too long
Fix complaints from checkpatch.pl.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
|
#
5280c769 |
| 15-Aug-2016 |
Joe Hershberger <joe.hershberger@ni.com> |
net: nfs: Share the file handle buffer for v2 / v3
The v3 handles can be larger than v2, but that doesn't mean we need a separate buffer. Reuse the same (larger) buffer for both.
Signed-off-by: Joe
net: nfs: Share the file handle buffer for v2 / v3
The v3 handles can be larger than v2, but that doesn't mean we need a separate buffer. Reuse the same (larger) buffer for both.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
#
b0baca98 |
| 29-Jul-2016 |
Guillaume GARDET <guillaume.gardet@free.fr> |
net: NFS: Add NFSv3 support
This patch enables NFSv3 support. If NFSv2 is available use it as usual. If NFSv2 is not available, but NFSv3 is available, use NFSv3. If NFSv2 and NFSv3 are not availabl
net: NFS: Add NFSv3 support
This patch enables NFSv3 support. If NFSv2 is available use it as usual. If NFSv2 is not available, but NFSv3 is available, use NFSv3. If NFSv2 and NFSv3 are not available, print an error message since NFSv4 is not supported.
Tested on iMX6 sabrelite with 4 Linux NFS servers: * NFSv2 + NFSv3 + NFSv4 server: use NFSv2 protocol * NFSv2 + NFSv3 server: use NFSv2 protocol * NFSv3 + NFSv4 server: use NFSv3 protocol * NFSv3 server: use NFSv3 protocol
Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr> Cc: Tom Rini <trini@konsulko.com> Cc: joe.hershberger@ni.com Acked-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
#
f8b26c7a |
| 15-Aug-2016 |
Joe Hershberger <joe.hershberger@ni.com> |
net: nfs: Remove separate buffer for default name
There is no reason to store the default filename in a separate buffer only to immediately copy it to the main name buffer. Just write it there direc
net: nfs: Remove separate buffer for default name
There is no reason to store the default filename in a separate buffer only to immediately copy it to the main name buffer. Just write it there directly and remove the other buffer.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
Revision tags: v2016.07 |
|
#
246fa478 |
| 06-Jul-2016 |
Tom Rini <trini@konsulko.com> |
Merge branch 'master' of git://git.denx.de/u-boot-net
|
#
e4ead4a2 |
| 01-Jul-2016 |
Ralf Hubert <r.hubert@technisat.de> |
net: Fix incorrect RPC packets on 64-bit systems
This patch fixes incorrect RPC packet layout caused by 'long' type size difference on 64 and 32-bit architectures.
Signed-off-by: Ralf Hubert <r.hub
net: Fix incorrect RPC packets on 64-bit systems
This patch fixes incorrect RPC packet layout caused by 'long' type size difference on 64 and 32-bit architectures.
Signed-off-by: Ralf Hubert <r.hubert@technisat.de> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
Revision tags: openbmc-20160624-1 |
|
#
69fd0d41 |
| 06-Jun-2016 |
Guillaume GARDET <guillaume.gardet@free.fr> |
NFS: Add error message when U-Boot NFS version (V2) is not supported by NFS server
Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr> Cc: joe.hershberger@ni.com Acked-by: Joe Hershberger <jo
NFS: Add error message when U-Boot NFS version (V2) is not supported by NFS server
Signed-off-by: Guillaume GARDET <guillaume.gardet@free.fr> Cc: joe.hershberger@ni.com Acked-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
Revision tags: v2016.01-rc1, v2015.10, v2015.10-rc5, v2015.10-rc4, v2015.10-rc3, v2015.10-rc2, v2015.10-rc1, v2015.07, v2015.07-rc3, v2015.07-rc2, v2015.07-rc1 |
|
#
b939689c |
| 05-May-2015 |
Albert ARIBAUD <albert.u.boot@aribaud.net> |
Merge branch 'u-boot/master' into 'u-boot-arm/master'
|
Revision tags: v2015.04 |
|
#
bc0571fc |
| 08-Apr-2015 |
Joe Hershberger <joe.hershberger@ni.com> |
net: cosmetic: Fix checkpatch.pl failures in net.c
Finish eliminating CamelCase from net.c and other failures
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chro
net: cosmetic: Fix checkpatch.pl failures in net.c
Finish eliminating CamelCase from net.c and other failures
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|
#
68c76a3a |
| 08-Apr-2015 |
Joe Hershberger <joe.hershberger@ni.com> |
net: cosmetic: Clean up NFS variables and functions
Make a thorough pass through all variables and function names contained within nfs.c and remove CamelCase and improve naming.
Signed-off-by: Joe
net: cosmetic: Clean up NFS variables and functions
Make a thorough pass through all variables and function names contained within nfs.c and remove CamelCase and improve naming.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-by: Simon Glass <sjg@chromium.org>
show more ...
|