• 首页
  • 中国
  • U-Boot移植(15)TFTP installation and setting(tftp-hpa and tftpd-hpa)

U-Boot移植(15)TFTP installation and setting(tftp-hpa and tftpd-hpa)

2023-11-01 68浏览
百检网是一家专业的第三方检测平台,汇聚众多拥有权威资质的第三方检测机构为你提供一站式的检测服务,做检测就上百检网。百检网让检测从此检测,一份报告全国通用,专业值得信赖。

Today i installed and set the tftp,because i may use this tool to download your kernel and filesystem image to my target board.

process:

sudo -i

1、Install tftpd and related packages.

# apt-get installxinetd tftpd-hpa tftp-hpa

2、modify etc/default/tftpd-hpa

#Defaults for tftpd-hpa

RUN_DAEMON="yes" //before is no。

OPTIONS="-l -s/var/lib/tftpboot" //this dir is default

3、Start tftpd through xinetd

# /etc/init.d/xinetd restart

4、Start tftpd-hpa

#/etc/init.d/tftpd-hpa start

5、Testing

#vi /var/lib/tftpboot

#touch test

#chmod 777 test

#cd /tmp

#tftp127.0.0.1 //ifconfig ->we know :Local loopback address

tftp> get test

tftp>quit

#ls

gedit.huanghuang.2620001893 plugtmptest

keyring-WrqFBb pulse-sxRcajPKvfQ2 virtual-huanghuang.wxpaQO

orbit-huanghuang ssh-xgUUTO1602


百检网秉承“客户至上,服务为先,精诚合作,以人为本”的经营理念,始终站在用户的角度解决问题,为客户提供“一站购物式”的新奇检测体验,打开网站,像挑选商品一样简单,方便。打破行业信息壁垒,建构消费和检测机构之间高效的沟通平台