Stora NFS Root? May 19, 2020 04:31PM |
Registered: 3 years ago Posts: 5 |
Re: Stora NFS Root? May 19, 2020 04:42PM |
Admin Registered: 13 years ago Posts: 18,570 |
Re: Stora NFS Root? May 20, 2020 02:58AM |
Registered: 3 years ago Posts: 5 |
Re: Stora NFS Root? May 20, 2020 03:26AM |
Admin Registered: 13 years ago Posts: 18,570 |
Quote
"Section Three" Boot from NFS share
The following link gives the steps necessary to configure your u-boot to boot from the NFS share. Please note though that although it discusses using TFTP in the process, this is not necessary and those steps can be avoided.
Boot your Dockstar/Plug by TFTP/NFS
an example uboot statement kindly provided by the master of u-boot @bodhi is included below for you to amend / modify to match your share description and nfs path
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
Re: Stora NFS Root? May 20, 2020 03:30AM |
Admin Registered: 13 years ago Posts: 18,570 |
Re: Stora NFS Root? May 20, 2020 02:13PM |
Registered: 3 years ago Posts: 5 |
Re: Stora NFS Root? May 20, 2020 03:10PM |
Registered: 3 years ago Posts: 5 |
Re: Stora NFS Root? May 20, 2020 03:51PM |
Registered: 3 years ago Posts: 5 |
Re: Stora NFS Root? May 20, 2020 06:00PM |
Admin Registered: 13 years ago Posts: 18,570 |