User`s manual

Getting Started With Linux on the LPC3250 OEM Board Page 16
Copyright 2009 © Embedded Artists AB Rev A
Please note that we don’t display the output and progress of an installation of a package in the
instructions below. You will, for example, be asked if it is ok to download a package. Answer ‘y’ on
these questions.
1. Install a CVS client in order to checkout LTIB files.
$ sudo yum install cvs
2. LTIB is using Perl and need some Perl related modules.
$ sudo yum install perl-libwww-perl
$ sudo yum install perl-ExtUtils-MakeMaker
3. A few other packages are also needed by LTIB.
$ sudo yum install tcl
$ sudo yum install zlib-devel
$ sudo yum install rpm-build
$ sudo yum install ncurses-devel
$ sudo yum install bison
$ sudo yum install gettext
3.2.4 Setup a TFTP Server
This section describes how you setup a TFTP server in Fedora and makes it accessible from other
computers on your network. The TFTP server can be used to transfer files to the target board, for
example, download the kernel image by the u-boot.
1. Install a TFTP server.
$ sudo yum install tftp-server
2. Open the TFTP server configuration file.
$ sudo gedit /etc/xinetd.d/tftp &
3. The file will be opened in a text editor. Locate the
server_args
variable which contains
the directory that will be used as a root directory by the TFTP server.
s
s
e
e
r
r
v
v
e
e
r
r
_
_
a
a
r
r
g
g
s
s
=
=
-
-
s
s
/
/
v
v
a
a
r
r
/
/
l
l
i
i
b
b
/
/
t
t
f
f
t
t
p
p
b
b
o
o
o
o
t
t
4. Change it to use the user’s home directory as root directory.
s
s
e
e
r
r
v
v
e
e
r
r
_
_
a
a
r
r
g
g
s
s
=
=
-
-
s
s
/
/
h
h
o
o
m
m
e
e
/
/
u
u
s
s
e
e
r
r
5. Now it is time to enable the TFTP server. Run the commands below to do this.
$ sudo /sbin/chkconfig tftp on
$ sudo /sbin/service xinetd start
6. By default Fedora has setup strict firewall rules that may prohibit access to the TFTP server
over the network. We take a pretty drastic approach in these instructions and completely
disable iptables.