U-Boot Configuration

For loading the kernel and rootfile system over the network, the U-Boot Configurations needs to be correctly set to match that of the TFTP and NFS servers. Refer to Host Setup for more details on setting up the Host System.


serverip

This should be the IP Addres of the Host which is running TFTP and NFS servers.

   setenv serverip 192.168.1.2

kernel

This should point to the kernel image stored within the TFTP server directory. Since our kernel image is being stored in /tftpboot/boot/uImage, we nedd to provide the full path excluding the toplevel TFTP directory as shown below:

   setenv kernel boot/uImage

nfsroot

This should point to the root filesystem directory as configured in Host Setup.

   setenv nfsroot /opt/poky/1.3/sysroots/cpu_3xx-poky-linux-gnueabi

Saving the Environment setting

The environment settings need to be saved otherwise they will be lost if the device is rebooted. Use the following command to save the environment settings.

   saveenv





There are two methods to load the kernel and root filesystem based on how the IP Address of the target is assigned and they are described below.