• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
一蓑烟雨
C/C++,Linux,语音技术
博客园    首页    新随笔    联系   管理    订阅  订阅
U-Boot移植(15)TFTP installation and setting(tftp-hpa and tftpd-hpa)

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 install xinetd 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

#tftp 127.0.0.1   //ifconfig ->we know :Local loopback  address

tftp> get test

tftp>quit

#ls

gedit.huanghuang.2620001893  plugtmp             test

keyring-WrqFBb               pulse-sxRcajPKvfQ2  virtual-huanghuang.wxpaQO

orbit-huanghuang             ssh-xgUUTO1602

 

This is proved that installation is success

posted on 2011-07-14 15:58  lovemu  阅读(560)  评论(0)    收藏  举报
刷新页面返回顶部
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3