User`s manual

Getting Started With Linux on the LPC3250 OEM Board Page 21
Copyright 2009 © Embedded Artists AB Rev A
5. The TFTP server is now ready to be used.
3.3.5 Setup an NFS Server
An NFS (network file system) mounted root file system is quite convenient to use during development
of a Linux system. The actual root file system will then be located on the development computer and
not on the target board, but the target board gets access to the file system using the NFS protocol.
1. Install the NFS server.
$ sudo apt-get install portmap nfs-kernel-server
2. Add the following line to the
/etc/exports
file (note that it is only one line). Also note that
if you are not using the 192.168.x.x network (IP addresses in this address range) you need to
change this part of the line.
$ sudo gedit /etc/exports
/
/
h
h
o
o
m
m
e
e
/
/
u
u
s
s
e
e
r
r
/
/
l
l
t
t
i
i
b
b
/
/
r
r
o
o
o
o
t
t
f
f
s
s
1
1
9
9
2
2
.
.
1
1
6
6
8
8
.
.
0
0
.
.
0
0
/
/
2
2
5
5
5
5
.
.
2
2
5
5
5
5
.
.
0
0
.
.
0
0
(
(
r
r
w
w
,
,
n
n
o
o
_
_
r
r
o
o
o
o
t
t
_
_
s
s
q
q
u
u
a
a
s
s
h
h
,
,
n
n
o
o
_
_
s
s
u
u
b
b
t
t
r
r
e
e
e
e
_
_
c
c
h
h
e
e
c
c
k
k
,
,
s
s
y
y
n
n
c
c
)
)
3. After setting up the
/etc/exports
, export the shares.
$ sudo exportfs -ra
3.4 Install LTIB and Build the Images
This section describes how you install LTIB, selects the configuration applicable for the Embedded
Artists LPC3250 OEM Board and starts the build process where the u-boot, Linux kernel and root file
system will be built.
1. Open a web browser and go to http://ltib.org.
2. Click on the Download link in the left menu (below the Resources title).
3. In the “Quick install” section you will find a link to the netinstall.txt file. Right-click on this file
and save it in your home directory (
/home/user
).
4. Open up a terminal application and run the netinstall script.
$ cd /home/user
$ perl netinstall.txt
5. Select ‘Y’ to continue the installation.
6. Click Enter to use the default installation directory.
7. When LTIB files have been downloaded change directory.
$ cd ltib
8. Now start the LTIB configuration. The first time you run the configuration it will take quite a
long time since a lot of packages must be downloaded.
$ ./ltib
9. After a while a configuration menu will appear, see Figure 8. Hit Enter to select Platform.