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

From RidgeRun Developer Wiki
< IMX8‎ | Nitrogen8M‎ | Yocto
No edit summary
No edit summary
Line 11: Line 11:
=== Host Setup ===  
=== Host Setup ===  


You will need a TFTP server and a NFS server, you can use the following instruction to setting them up if you don't have them already.
You will need a TFTP server and a NFS server, you can use the following instruction to set them up if you don't have them already.


# [[Setting_Up_A_Tftp_Service|Setup a TFTP server]]
# [[Setting_Up_A_Tftp_Service|Setup a TFTP server]]
# [[Setting_Up_A_NFS_Service |Setup a NFS server]]
# [[Setting_Up_A_NFS_Service |Setup a NFS server]]


=== TFTP and NFS Configuration ===
For the following steps you should have a complete Yocto build for the Nitrogen8M as described at [[IMX8/Nitrogen8M/Yocto/Building_Yocto| Building Yocto]]
1. Copy the kernel image and the kernel device tree blob from your Yocto build into the TFTP directory.
<syntaxhighlight lang=bash>
cd $YOCTO_BUIlD_DIR/build/tmp/deploy/images/nitrogen8m
</syntaxhighlight>




<noinclude>{{IMX8/Foot|Nitrogen8M/Yocto/Installing_an_Image|Nitrogen8M/Android}}</noinclude>
<noinclude>{{IMX8/Foot|Nitrogen8M/Yocto/Installing_an_Image|Nitrogen8M/Android}}</noinclude>

Revision as of 00:21, 19 November 2018



  Index  





Network Boot

When you are developing or debugging on your kernel or a file system application, network boot can be handy to avoid multiple flashes and to load new application versions without having to reboot the board each time.

Network boot configuration will load the kernel and device tree from n TFTP server and the root file system will be shared from host PC over NFS.

Host Setup

You will need a TFTP server and a NFS server, you can use the following instruction to set them up if you don't have them already.

  1. Setup a TFTP server
  2. Setup a NFS server

TFTP and NFS Configuration

For the following steps you should have a complete Yocto build for the Nitrogen8M as described at Building Yocto

1. Copy the kernel image and the kernel device tree blob from your Yocto build into the TFTP directory.

cd $YOCTO_BUIlD_DIR/build/tmp/deploy/images/nitrogen8m


Previous: Nitrogen8M/Yocto/Installing_an_Image Index Next: Nitrogen8M/Android