I use NFS all the time and this is what I have in uEnv.txt on my SDCard.

##Rename as: uEnv.txt to boot via nfs

uname_r=4.1.12-ti-r25

##https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt

##SERVER: sudo apt-get install tftpd-hpa
##SERVER: TFTP_DIRECTORY defined in /etc/default/tftpd-hpa
##SERVER: zImage/*.dtb need to be located here:
##SERVER: TFTP_DIRECTORY/zImage
##SERVER: TFTP_DIRECTORY/dtbs/*.dtb

#cmdline=init=/lib/systemd/systemd 
#cmdline=quiet init=/lib/systemd/systemd 
#cmdline=ftrace=function_graph trace_buffer_size=100000 FTRACE
#cmdline=init=/lib/sysvinit/init

##client_ip needs to be set for u-boot to try booting via nfs

client_ip=10.100.116.105

#u-boot defaults: uncomment and override where needed

server_ip=10.100.116.100
gw_ip=10.100.116.1
netmask=255.255.255.0
#hostname=
#device=eth0
#autoconf=off
root_dir=/home/john/targetNFS
#nfs_options=,vers=3
#nfsrootfstype=ext4 rootwait fixrtc

dtb=am335x-boneblack.dtb

Follow these instructions to setup your SDCard:

https://www.eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-SetupmicroSDcard
 
<https://www.eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-SetupmicroSDcard>

On this same page you will find info on how to setup the kernel and rootfs. 
Start with something that works before trying to build your own u-boot and 
kernel. 

Regards,
John




> On Jan 28, 2016, at 1:48 AM, [email protected] wrote:
> 
> Now, I have followed these other steps 
> <http://elinux.org/Building_BBB_Kernel>.
> I have built the kernel, uImage, and with the help of tftp uploaded it to BBB.
> 
> Then, with 'bootm 0x80200000' instruction, I forced the boot of the BBB with 
> new kernel.
> 
> But the results is: 
> "spl_load_image_fat_os: error reading image args, err - -1"
>  
> I have followed all tutorials, step by step, and currently, I don't know if 
> the kernel is wrong, the file corrupted or what is going on.
> 
> Could anyone help me, please?
> 
> 
> 
> 
> -- 
> For more options, visit http://beagleboard.org/discuss 
> <http://beagleboard.org/discuss>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to