L-1017e.A3 i.MX 8M Plus BSP Manual
•
•
•
•
•
•
•
•
# /etc/
default
/tftpd-hpa
TFTP_USERNAME=
"tftp"
TFTP_DIRECTORY=
"/tftpboot"
TFTP_ADDRESS=
":69"
TFTP_OPTIONS=
"-s -c"
Set TFTP_DIRECTORY to your TFTP server root directory
Set TFTP_ADDRESS to the host address the server is listening to (set to 0.0.0.0:69 to listen to all local IPs)
Set TFTP_OPTIONS, the following command shows the available options:
host$ man tftpd
Restart the services to pick up the configuration changes:
host$ sudo service tftpd-hpa restart
Now connect the ethernet port of the board to your host system, configure the board to network boot, and
start it.
Usually, TFTP servers fetch files from the
/tftpboot
directory. If you built your own images, please copy them from
the BSP’s build directory to the
/tftpboot
directory.
We also need a network connection between the embedded
board and the TFTP server. The server should be set to IP 192.168.3.10 and netmask 255.255.255.0.
NFS Server Setup
After the installation of the TFTP server, an NFS server needs to be installed, too.
host$ sudo apt-get install nfs-kernel-server
The NFS server is not restricted to a certain file system location, so all we have to do on most distributions is
modify the file
/etc/exports
and export our root file system to the embedded network. In this example file,
the whole directory is exported and the "lab network" address of the development host is 192.168.3.10. The
IP address has to be adapted to the local needs:
/home/<user>/<rootfspath>
192.168
.
3.11
/
255.255
.
255.0
(rw,no_root_squash,sync,no_subtre
e_check)
<user>
must be replaced with your home directory name.
<rootfspath>
can be set to a folder that contains a
rootfs tar.gz
image extracted with
sudo
.
Now the NFS-Server has to read the
/etc/exportfs
file again:
host$ sudo exportfs -ra
Содержание L-1017e.A3 i.MX 8M Plus
Страница 1: ...A Product of PHYTEC Technology Holding Company L 1017e A3 i MX 8M Plus BSP Manual...
Страница 30: ...L 1017e A3 i MX 8M Plus BSP Manual Drag the slider as far as you like or enter the size manually...
Страница 33: ...L 1017e A3 i MX 8M Plus BSP Manual Confirm your changes by pressing the green tick...