All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] NFSv2 => NFSv3
@ 2016-06-02 13:39 Guillaume Gardet
  2016-06-02 14:26 ` Joe Hershberger
  0 siblings, 1 reply; 4+ messages in thread
From: Guillaume Gardet @ 2016-06-02 13:39 UTC (permalink / raw)
  To: u-boot

Hi,

I am facing a problem with U-Boot.
Our NFS server supports NFS v3 and v4 but it seems that U-Boot is NFS v2 only.

Is there any plan to update to v3? Otherwise, I could help, but I would need some pointers to NFS protocol handling.


Guillaume

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] NFSv2 => NFSv3
  2016-06-02 13:39 [U-Boot] NFSv2 => NFSv3 Guillaume Gardet
@ 2016-06-02 14:26 ` Joe Hershberger
  2016-06-09 16:20   ` Joe Hershberger
  0 siblings, 1 reply; 4+ messages in thread
From: Joe Hershberger @ 2016-06-02 14:26 UTC (permalink / raw)
  To: u-boot

On Thu, Jun 2, 2016 at 8:39 AM, Guillaume Gardet
<guillaume.gardet@free.fr> wrote:
> Hi,
>
> I am facing a problem with U-Boot.
> Our NFS server supports NFS v3 and v4 but it seems that U-Boot is NFS v2
> only.
>
> Is there any plan to update to v3? Otherwise, I could help, but I would need
> some pointers to NFS protocol handling.

I'm not aware of anyone working on that. Maybe someone more familiar
with NFS could help, or look at the differences in the Linux
implementations.

Thanks,
-Joe

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] NFSv2 => NFSv3
  2016-06-02 14:26 ` Joe Hershberger
@ 2016-06-09 16:20   ` Joe Hershberger
  2016-06-10  7:36     ` Guillaume Gardet
  0 siblings, 1 reply; 4+ messages in thread
From: Joe Hershberger @ 2016-06-09 16:20 UTC (permalink / raw)
  To: u-boot

Hi Guillaume,

On Thu, Jun 2, 2016 at 9:26 AM, Joe Hershberger
<joe.hershberger@gmail.com> wrote:
> On Thu, Jun 2, 2016 at 8:39 AM, Guillaume Gardet
> <guillaume.gardet@free.fr> wrote:
>> Hi,
>>
>> I am facing a problem with U-Boot.
>> Our NFS server supports NFS v3 and v4 but it seems that U-Boot is NFS v2
>> only.
>>
>> Is there any plan to update to v3? Otherwise, I could help, but I would need
>> some pointers to NFS protocol handling.
>
> I'm not aware of anyone working on that. Maybe someone more familiar
> with NFS could help, or look at the differences in the Linux
> implementations.

I received a note from bodhi bodhi <mibodhi@gmail.com> that he is
successfully using NFS v3 with modern U-Boot (since 2014).

Here are the details of the environment that he included...

bootcmd_nfs=setenv nfs_server "192.168.0.224"; setenv nfs_path
"/srv/nfs/hosts/tldDebian2"; setenv nfs_bootcmd "run nfs_set_bootargs;
run nfs_boot"; setenv nfs_ipconfig
"192.168.0.229:192.168.0.224:192.168.0.1:255.255.0.0:tldDebian2::off";
setenv nfs_set_bootargs "setenv bootargs console=ttyS0,115200
root=/dev/nfs nfsroot=$nfs_server:$nfs_path,v3 rootfstype=nfs rootwait
 ip=$nfs_ipconfig $mtdparts"; setenv nfs_load_uimage "nfs 0x800000
$nfs_server:$nfs_path/boot/uImage"; setenv nfs_load_uinitrd "nfs
0x1100000 $nfs_server:$nfs_path/boot/uInitrd"; setenv nfs_load_dtb
"nfs 0x1c00000 $nfs_server:$nfs_path/boot/dts/kirkwood-pogo_e02.dtb";
setenv nfs_bootm "bootm 0x800000 0x1100000 0x1c00000"; setenv nfs_boot
"run nfs_load_uimage; run nfs_load_uinitrd; run nfs_load_dtb; run
nfs_bootm"; echo "Booting NFS root?"; run nfs_bootcmd

Thanks, Bodhi.

Cheers,
-Joe

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] NFSv2 => NFSv3
  2016-06-09 16:20   ` Joe Hershberger
@ 2016-06-10  7:36     ` Guillaume Gardet
  0 siblings, 0 replies; 4+ messages in thread
From: Guillaume Gardet @ 2016-06-10  7:36 UTC (permalink / raw)
  To: u-boot

Hi,


Le 09/06/2016 18:20, Joe Hershberger a ?crit :
> Hi Guillaume,
>
> On Thu, Jun 2, 2016 at 9:26 AM, Joe Hershberger
> <joe.hershberger@gmail.com> wrote:
>> On Thu, Jun 2, 2016 at 8:39 AM, Guillaume Gardet
>> <guillaume.gardet@free.fr> wrote:
>>> Hi,
>>>
>>> I am facing a problem with U-Boot.
>>> Our NFS server supports NFS v3 and v4 but it seems that U-Boot is NFS v2
>>> only.
>>>
>>> Is there any plan to update to v3? Otherwise, I could help, but I would need
>>> some pointers to NFS protocol handling.
>> I'm not aware of anyone working on that. Maybe someone more familiar
>> with NFS could help, or look at the differences in the Linux
>> implementations.
> I received a note from bodhi bodhi <mibodhi@gmail.com> that he is
> successfully using NFS v3 with modern U-Boot (since 2014).
>
> Here are the details of the environment that he included...

I think he uses NFSv3 for the root filesystem but the NFS server is also NFSv2 compatible for u-boot nfs loads (uImage and DTB).


Guillaume

>
> bootcmd_nfs=setenv nfs_server "192.168.0.224"; setenv nfs_path
> "/srv/nfs/hosts/tldDebian2"; setenv nfs_bootcmd "run nfs_set_bootargs;
> run nfs_boot"; setenv nfs_ipconfig
> "192.168.0.229:192.168.0.224:192.168.0.1:255.255.0.0:tldDebian2::off";
> setenv nfs_set_bootargs "setenv bootargs console=ttyS0,115200
> root=/dev/nfs nfsroot=$nfs_server:$nfs_path,v3 rootfstype=nfs rootwait
>   ip=$nfs_ipconfig $mtdparts"; setenv nfs_load_uimage "nfs 0x800000
> $nfs_server:$nfs_path/boot/uImage"; setenv nfs_load_uinitrd "nfs
> 0x1100000 $nfs_server:$nfs_path/boot/uInitrd"; setenv nfs_load_dtb
> "nfs 0x1c00000 $nfs_server:$nfs_path/boot/dts/kirkwood-pogo_e02.dtb";
> setenv nfs_bootm "bootm 0x800000 0x1100000 0x1c00000"; setenv nfs_boot
> "run nfs_load_uimage; run nfs_load_uinitrd; run nfs_load_dtb; run
> nfs_bootm"; echo "Booting NFS root?"; run nfs_bootcmd
>
> Thanks, Bodhi.
>
> Cheers,
> -Joe
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-06-10  7:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-02 13:39 [U-Boot] NFSv2 => NFSv3 Guillaume Gardet
2016-06-02 14:26 ` Joe Hershberger
2016-06-09 16:20   ` Joe Hershberger
2016-06-10  7:36     ` Guillaume Gardet

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.