Method 2: Running Your Code Through Tftp/Nfs - Z3 Technology Z3-DM8169-APP-L1-RPS User Manual

Custom software for z3-dm8169-app-l1
Table of Contents

Advertisement

7.2 Method 2: Running Your Code through TFTP/NFS

(1) Set up a TFTP server on your Linux PC and configure it to read from your "images" directory.
This will vary depending on the Linux setup you have. As an example, here is a set of steps that would
be run from Ubuntu 10.x or later (these are in gray to denote they can vary from system to system):
(a) Get TFTP if it is not already installed:
# sudo apt-get install xinetd tftpd tftp
(b) Create the file /etc/xinetd.d/tftp . Set "server_args" to the home directory containing "z3-netra-
rdk" (/home in this example). An example of a tftp file would be:
service tftp
{
disable
socket_type
protocol
wait
user
server
server_args
}
(c) Make a tftpboot directory
# sudo mkdir /tftpboot
# sudo chmod –R 777 /tftpboot
# sudo chown –R nobody /tftpboot
(d) Start TFTP
# sudo /etc/init.d/xinetd start
(2) Enable NFS on the Linux PC. The target DM816X will mount the root file system using NFS.
This, like TFTP, will also vary depending on the Linux setup you have. As an example, here is a set of
steps that would be run from Ubuntu 10.x or later (these are in gray to denote they can vary from
system to system):
(a) Get NFS if it is not already installed:
# sudo apt-get install nfs-kernel-server
(b) Create /export/users and set it up:
___________________________________________________________________________________________
Z3 Technology, LLC ♦ 100 N 8
CONFIDENTIAL
= no
= dgram
= udp
= yes
= nobody
= /usr/sbin/in.tftpd
= /home
th
ST, STE 250 ♦ Lincoln, NE 68508-1369 USA ♦ +1.402.323.0702
Z3-DM8169-APP-L1-RPS V2.01.10
27

Advertisement

Table of Contents
loading

Table of Contents