This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM64X: How to boot kernel through NFS in Windows

Part Number: PROCESSOR-SDK-AM64X

Hi

How can I boot kernel through NFS in a windows host PC. 

  • Hi,

    Standard kernel command line changes to mount an NFS filesystem should be all that is needed as long at the Windows NFS server is compliant. I cannot make any recommendations about NFS on Windows.

  • Ok. What environment variables to be set in u-boot to use nfs?

  • Here is a uEnv.txt example of what needs to be set to boot with NFS. It uses our standard SDK U-Boot environment and you will need to configure it for your setup.

    svrip=IP of server
    ipaddr=IP of target
    
    ### it is really Image instead
    image=zImage
    
    rootpath=Path to NFS share on host
    fdtfile=k3-am642-evm.dtb
    
    
    ### eth0 ###
    netargs=setenv bootargs console=${console} ${optargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},nolock,v3 rw ip=${ipaddr}:::::eth0
    
    netboot=tftp ${loadaddr} ${bootfile}; tftp ${fdtaddr} ${imgdir}${fdtfile}; run loadoverlay; run netargs; booti ${loadaddr} - ${fdtaddr}
    
    uenvcmd=setenv serverip ${svrip}; setenv ipaddr ${ipaddr}; setenv bootfile ${imgdir}${image}; run netboot