
VVDN_T4240MFCS_User_Manual
Rev. A0-02
11
CONFIDENTIAL
Environment size: 2458/8188 bytes
NOTE:
Once the MAC address has been set, it cannot be changed without destroying the entire U-Boot
environment.
Setting up TFTP
2.3
1.
Edit the xinetd.conf file
o
On Ubuntu
, edit /etc/xinetd.conf and add the following lines just above the line that
reads includedir /etc/xinetd.d.
service tftp
{
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
disable = no
}
2.
Create the /tftpboot folder if it does not exist:
mkdir /tftpboot
3.
Copy the kernel image to the /tftpboot directory:
cp /path/to/kernel/image/uImage-t4240mfcs.bin /tftpboot
cp /path/to/kernel/image/uImage-t4240mfcs.dtb /tftpboot
cp /path/to/kernel/image/fsl-image-core-t4240mfcs.ext2.gz.u-boot
/tftpboot
4.
Restart the xinetd server with the following command:
/etc/init.d/xinetd restart
5.
Test the TFTP server by setting the environment variables and run the following commands.
baudrate=115200
bootargs=root=/dev/ram rw console=ttyS0,115200 rio-scan.scan=0
fsl_fm_max_frm=9600
bootcmd=setenv bootargs root=/dev/mmcblk0p1 rw rootdelay=5 rio-
scan.scan=1 rapidio.hdid=-1
console=$consoledev,$baudrate;mmcinfo;ext2load mmc 0:1 $loadaddr
/boot/$bootf