NFSv2 => NFSv3
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
Quoted 8 lines · Guillaume Gardet
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
Hi Guillaume,
Quoted 8 lines · Joe Hershberger
Quoted 6 lines · Guillaume Gardet
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.
Quoted 6 lines
Quoted 2 lines
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 <[email protected]> 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
Hi,
Le 09/06/2016 18:20, Joe Hershberger a ?crit :
Quoted 14 lines
Hi Guillaume,
Quoted 10 lines · Joe Hershberger
Quoted 8 lines · Guillaume Gardet
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.
Quoted 7 lines
Quoted 3 lines
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 <[email protected]> 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
Quoted 20 lines
bootcmd_nfs=setenv
nfs_server"192.168.0.224"; setenvnfs_path"/srv/nfs/hosts/tldDebian2"; setenvnfs_bootcmd"runnfs_set_bootargs; runnfs_boot"; setenvnfs_ipconfig"192.168.0.229:192.168.0.224:192.168.0.1:255.255.0.0:tldDebian2::off"; setenvnfs_set_bootargs"setenv bootargs console=ttyS0,115200 root=/dev/nfs nfsroot=$nfs_server:$nfs_path,v3 rootfstype=nfs rootwait
ip=$nfs_ipconfig $mtdparts"; setenvnfs_load_uimage"nfs0x800000
$nfs_server:$nfs_path/boot/uImage"; setenvnfs_load_uinitrd"nfs0x1100000$nfs_server:$nfs_path/boot/uInitrd"; setenvnfs_load_dtb"nfs0x1c00000$nfs_server:$nfs_path/boot/dts/kirkwood-pogo_e02.dtb"; setenvnfs_bootm"bootm0x8000000x11000000x1c00000"; setenvnfs_boot"runnfs_load_uimage; runnfs_load_uinitrd; runnfs_load_dtb; runnfs_bootm"; echo "Booting NFS root?"; runnfs_bootcmdThanks, Bodhi.
Cheers,
-Joe