Re: [PATCH v2] fs: nfs: Start earlier to resend requests

2021-06-11 Thread Gavin Schenk
n contrast to an unreliable as > pictured above) increase NFS_MAX_RESEND to keep NFS_TIMEOUT * > NFS_MAX_RESEND (which defines the overall timeout before aborting the > transfer) constant. > > Signed-off-by: Uwe Kleine-König Acked-by: Gavin Schenk I have tested this on the custo

Re: [PATCH v2] nfs: check return value of various rpc calls

2020-11-09 Thread Gavin Schenk
, nfserror); snprintf(str, sizeof(str), "Unknown NFS error %d", nfserror); and Remove this: > +#define BUFLEN 32 > +#undef BUFLEN -- Regards Gavin Schenk Eckelmann AG Vorstand: Dipl.-Ing. Peter Frankenbach (Sprecher) Dipl.-Wi.-Ing. Philipp Eckelmann Dr.-Ing. Marco Münchhof Dr.-Ing.

Re: [PATCH] usb: Fix initial max packet size

2020-10-27 Thread Gavin Schenk
uring that call. > > Fixes: 6d1d95a386 ("usb: factor out a usb_setup_descriptor() function") > Signed-off-by: Sascha Hauer Tested-by: Gavin Schenk On one of our i.MX25 based platforms there are currently four revert commits to make USB work on barebox 2020.06. (Reverted commi

[PATCH] bootchooser: Fix initcall before environment is ready

2017-12-14 Thread Gavin Schenk
Some properties of bootchooser are initialized by NV variables. Initialize bootchooser as postenvironment_initcall to ensure that properties can be initialized correctly. Signed-off-by: Gavin Schenk <g.sch...@eckelmann.de> --- Hi, I want to initialize bootchooser.reset_attempts=all-zero

[PATCH] Add linux.devname property to eth device

2017-11-21 Thread Gavin Schenk
a new property linux.devname to eth devices. The value is added to bootargs per interface and can be changed in env/network/INTF Note that the device name is also used when dhcp is in use. Signed-off-by: Gavin Schenk <g.sch...@eckelmann.de> --- This is V2 of "[PATCH] Configure net

[PATCH] Configure network device for nfsboot via nv var

2017-11-08 Thread Gavin Schenk
a new global variable "global.linux.nfsroot.device" which when set is feed to the ip= kernel parameter as device name. Signed-off-by: Gavin Schenk <g.sch...@eckelmann.de> --- net/ifup.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/net/ifup.c b/