
14
TWR-MPC 5125
TWR-MPC5125 User Manual
Made by
www.
.com
semiconductor
6.0 U-boot, Linux setup
(Target Deployment
)
6.1 Host Computer Setup
Host computer setup is critical for your BSP to function. The host must be
running tftp and nfs servers in order for deployment to work. The following
instructions are generic. Your system may be different and the commands
should be adjusted accordingly.
1). Turn off firewall for tftp to work
$ sudo iptables –F
2). Install tftp-server on the host computer
3). Install nfs-server on the host computer
4). Create the tftpboot directory if it does not already exist
$ sudo mkdir -p /tftpboot
$ sudo chmod 777 /tftpboot
5). Copy over kernel, bootloader and devicetree for your deployment to the
/tftpboot directory
6). Tar the base filesystem to <ROOTFS_PATH> directory
$ sudo tar xpf <ROOTFS_PACKAGE>.tar –C /<ROOTFS_PATH>
7). Edit /etc/exports and add the following line
/<
ROOTFS_PATH>/ *(rw,anonuid=0,anongid=0,no_subtree_check)
8). Edit /etc/xinetd.d/tftp to enable tftp like this:
{
disable = no
socket_type = dgram
The following instructions are for a Linux host computer.
Summary of Contents for TWR-MPC5125
Page 1: ...TWR MPC5125 User Manual semiconductor...
Page 31: ...Made by www com...