IMX8/Nitrogen8M/Yocto/Advanced image loading: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 164: Line 164:


</pre>
</pre>
== Network File System (NFS) ==
When you are development for the file system (don't need to modify the kernel), you may want a network file system to change your applications without having to flash and reboot the board each time, just change the files on your host PC. Following the next instructions you will have a root file system shared from host PC over NFS.
=== Host Setup ===
You will need a NFS server, you can use the following instruction to set them up if you don't have if already.
# [[Setting_Up_A_NFS_Service |Setup a NFS server]]
=== Modifying Bootscript ==
Boundary U-Boot is made to look for and execute a boot script file named boot.scr. This script will load kernel, device tree, setup the bootargs and start the OS.
The boot.src doesn't contemplates an nfs filesystem and reset the bootargs variable before setting the values that seem appropriate. So U-Boot environment cannot be used to set the nfs filesystem. You will need to modify the boot.src file to have an nfs filesystem option, to do so follow the next steps:
* Download the bootscript text file '''bootscript-yocto.txt''', found inside the [[https://developer.ridgerun.com/wiki/index.php?title=IMX8/Nitrogen8M/Getting_Started/Software_Support#Source_Code|U-Boot source code]] under the bootscripts folder (board/boundary/bootscripts/)
<noinclude>{{IMX8/Foot|Nitrogen8M/Yocto/Installing_an_Image|Nitrogen8M/Android}}</noinclude>
<noinclude>{{IMX8/Foot|Nitrogen8M/Yocto/Installing_an_Image|Nitrogen8M/Android}}</noinclude>
866

edits