安装文件 ezsdk_dm816x-evm_5_05_02_00_setuplinux

DM8168-EZSDK文件结构如图所示。

              (图片来自:http://processors.wiki.ti.com/index.php/EZSDK_Directory_Structure
运行ezsdk/setup.sh,继续安装配置:
安装配置工具软件包(tftp服务器,nfs服务器,minicom串口工具,uboot和内核编译工具)
可参考:http://www.61ic.com/Article/DaVinci/TMS320DM81x/201112/39896.html
编译SDK,安装编译后组件在$HOME/tarfetfs目录下。
默认安装情况下:
1.在主机用tftp来引导linux内核,linux内核默认在/tftpboot目录下提取;
2.在主机用nfs来引导linux文件系统,文件系统默认安装在$HOME/targetfs目录下;
3.Minicom设置成和USB-UART(J6)通信。
以下是中终端显示的过程:
eagle@eagle-desktop:~$ sudo '/usr/local/ezsdk/setup.sh'
[sudo] password for eagle: --------------------------------------------------------------------------------
TISDK setup script This script will set up your development host for sdkdevelopment.
Parts of this script require administrator priviliges (sudoaccess).
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
Verifying Linux host distribution
Ubuntu 10.04 LTS found successfully, continuing..
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
This step will make sure you have the proper host supportpackages installed
using the following command: sudoapt-get install xinetd tftpd nfs-kernel-serverminicom build-essential libncurses5-devuboot-mkimage autoconf automake Note! This command requires you to have administratorpriviliges (sudo access)
on your host.
Press return to continue 正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
xinetd 已经是最新的版本了。
tftpd 已经是最新的版本了。
nfs-kernel-server 已经是最新的版本了。
minicom 已经是最新的版本了。
build-essential 已经是最新的版本了。
libncurses5-dev 已经是最新的版本了。
uboot-mkimage 已经是最新的版本了。
autoconf 已经是最新的版本了。
automake 已经是最新的版本了。
automake 被设置为手动安装。
升级了 个软件包,新安装了 个软件包,要卸载 个软件包,有 个软件包未被升级。 Package verification and installation successfullycompleted
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
In which directory do you want to install the targetfilesystem?(if this directory does not exist it will becreated)
Ensure that complete path is provided, otherwise NFS path inbootargs might be incomplete
[ /home/eagle/targetfs ]
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
This step will extract the target filesystem to/home/eagle/targetfs
#根文件系统的路径:/home/eagle/targetfs
Note! This command requires you to have administratorpriviliges (sudo access)
on your host.
Press return to continue
/home/eagle/targetfs already exists
(r) rename existing filesystem (o) overwrite existingfilesystem (s) skip filesystem extraction
[r] o
Old /home/eagle/targetfs removed Successfully extracted ezsdk-dm816x-evm-rootfs.tar.gz to/home/eagle/targetfs
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
This step will update the EXEC_DIR variables in the Rules.make file
This will facilitate the SDK to install (with make install)rebuilt binaries in
/home/eagle/targetfs/home/root/dm816x-evm The files will be available from /home/root/dm816x-evm on thetarget. This setting can be changed later by editing Rules.make andchanging the
EXEC_DIR variable. Press return to continueRules.make edited successfully..
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
This step will export your target filesystem for NFSaccess. Note! This command requires you to have administratorpriviliges (sudo access)
on your host.
Press return to continue * Stopping NFS kernel daemon [ OK ]
* Unexporting directories for NFS kerneldaemon... [ OK ]
* Exporting directories for NFS kerneldaemon... [ OK]
* Starting NFS kernel daemon [ OK ]
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Which directory do you want to be your tftp root directory?(if this directory does notexist it will be created for you)
[ /tftpboot]
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
This step will set up the tftp server in the /tftpbootdirectory. Note! This command requires you to have administratorpriviliges (sudo access)
on your host.
Press return to continue Successfully copied uImage-dm816x-evm.bin to tftp root directory/tftpboot
#编译好的内核镜像文件路径:/tftpboot /etc/xinetd.d/tftp successfullycreated Restarting tftp server
* Stopping internet superserver xinetd [ OK ]
* Starting internet superserver xinetd [ OK ]
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
This step will set up minicom (serial communicationapplication) for
SDK development For boards that contain a USB-to-Serial converter on the board(BeagleBone),
the port used for minicom will be automatically detected. Bydefault Ubuntu
will not recognize this device. Setup will add will add a udevrule to
/etc/udev/ so that from now on it will be recognized as soonas the board is
plugged in. For other boards, the serial will defualt to /dev/ttyS0.Please update based
on your setup.
-------------------------------------------------------------------------------- NOTE: For boards with a built-in USB to Serial adapter pleasepress
ENTERat the prompt below. The correct port will bedetermined
automatically at a later step. For all otherboards select
theserial port that the board is connected to
Which serial port do you want to use with minicom?
[ /dev/ttyS0] Configuration saved to /home/eagle/.minirc.dfl. You can changeit further from inside
minicom, see the Software Development Guide for moreinformation.
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
This step will set up the u-boot variables for booting theEVM.
Autodetected the following ip address of your host, correct itif necessary
[ ] Select Linux kernel location:
: TFTP
: SD card [ ] Select root file system location:
: NFS
: SD card [ ] Available kernel images in /tftproot:
uImage-dm816x-evm.bin Which kernel image do you want to boot from TFTP?
[ uImage-dm816x-evm.bin] Resulting u-boot variable settings: setenv bootdelay
setenv baudrate
setenv bootargs console=ttyO2,115200n8 rootwait rwmem=364M@0x80000000 mem=320M@0x9FC00000 vmalloc=500Mnotifyk.vpssm3_sva=0xBF900000 root=/dev/nfsnfsroot=:/home/eagle/targetfs ip=dhcp
setenv bootcmd 'dhcp;setenv serverip ;tftpboot;bootm'
setenv autoload no
setenv serverip
setenv bootfile uImage-dm816x-evm.bin --------------------------------------------------------------------------------
Would you like to create a minicom script with the aboveparameters (y/n)?
[ y ] Successfully wrote setup_uimage-tftp_fs-nfs.minicom Would you like to run the setup script now (y/n)? Thisrequires you to connect
the RS- cable between your host and EVM as well as yourethernet cable as
described in the Quick Start Guide. Please ensure that SW4switch for NAND is
in ON position. Once answering 'y' on the prompt below you will have 300seconds to connect
the board and power cycle it before the setup times out After successfully executing this script, your EVM will be setup. You will be
able to connect to it by executing 'minicom -w' or if youprefer a windows host
you can set up Tera Term as explained in the SoftwareDeveloper's Guide.
If you connect minicom or Tera Term and power cycle the boardLinux will boot. [ y ]
/usr/local/ezsdk ~ Welcome to minicom 2.4 OPTIONS: I18n
Compiled on Jan , ::.
Port /dev/ttyS0 Press CTRL-A Z for help on special keys CTRL-A Z for help | 8N1 | NOR |Minicom 2.4 | VT102 | Online00:
You can manually run minicom in the future with this setupscript using: minicom -S setup_uimage-tftp_fs-nfs.minicom
-------------------------------------------------------------------------------- TISDK setup completed!
Please continue reading the Software Developer's Guide formore information on
how to develop software on the EVM

【DM8168学习笔记4】ezsdk安装过程记录的更多相关文章

  1. PHP学习笔记----IIS7下安装配置php环境

    原文:PHP学习笔记----IIS7下安装配置php环境 Php如何安装 Php版本的选择 Php在windows下的(php5.4.7)有两种版本: VC9 x86 Non Thread Safe ...

  2. openresty 学习笔记一:环境安装

    openresty 学习笔记一:环境安装 openresty 是一个基于 Nginx 与 Lua 的高性能 Web 平台,其内部集成了大量精良的 Lua 库.第三方模块以及大多数的依赖项.用于方便地搭 ...

  3. Ubuntu14.04 Tomcat 安装过程记录

    Ubuntu14.04 Tomcat 安装过程记录 检查java的版本 zhousp@ubuntu:~$ sudo java -version [sudo] password for zhousp: ...

  4. openstack学习笔记一 虚拟机启动过程代码跟踪

    openstack学习笔记一 虚拟机启动过程代码跟踪 本文主要通过对虚拟机创建过程的代码跟踪.观察虚拟机启动任务状态的变化,来透彻理解openstack各组件之间的作用过程. 当从horizon界面发 ...

  5. openvswitch 2.7 安装过程记录 总结

    envswitch 2.7 安装过程记录 总结 安装思路是参考文档: http://docs.openvswitch.org/en/latest/intro/install/general/#obta ...

  6. Nutch学习笔记二——抓取过程简析

    在上篇学习笔记中http://www.cnblogs.com/huligong1234/p/3464371.html 主要记录Nutch安装及简单运行的过程. 笔记中 通过配置抓取地址http://b ...

  7. VMware vSphere HyperVisor安装过程记录

      作者:sdjnzqr 出处:http://www.cnblogs.com/sdjnzqr/ 版权:本文版权归作者和博客园共有 转载:欢迎转载,但未经作者同意,必须保留此段声明:必须在文章中给出原文 ...

  8. 树莓派学习笔记——apt方式安装opencv

    0.前言     本文介绍怎样在树莓派中通过apt方式安装opencv.并通过一个简单的样例说明怎样使用opencv. 相比于源码方式安装opencv,通过apt方式安装过程步骤简单些,消耗的时间也少 ...

  9. MongoDB学习笔记—windows下安装

    1.登录官网下载安装包 官网下载地址:https://www.mongodb.com/download-center?jmp=nav#community 根据你的系统下载 32 位或 64 位的 .m ...

随机推荐

  1. redis服务后台运行

    文章目录 进入redis的安装目录 查看目录结构 进入src目录,普通启动效果 编辑redis服务目录下的redis.conf 进入src目录,执行后台运行的命令 检查服务是否开启 进入redis的安 ...

  2. tomcat部署war和war exploded区别和intellij idea部署项目的位置

    tomcat部署war和war exploded区别和intellij idea部署项目的位置 来自https://blog.csdn.net/u013041642/article/details/7 ...

  3. Java之RabbitMQ(一)与SpringBoot整合

    应用场景:异步处理.应用解耦.流量削峰 参照:https://blog.csdn.net/weixin_38364973/article/details/82834348 开端 RabbitAutoC ...

  4. mount: you must specify the filesystem type

    最近工作中遇到一个问题,在linux mount /dev/vdb 到 /home 分区时报错:   1 2 # mount /dev/vdb /home mount: you must specif ...

  5. 3_基本框架_VMXON

    原理参考 3卷 23.7节等 本节实施流程参考Intel手册: 3卷 31.5节 1 vt整体框架; 首先 开锁: 1 开启 Cr4.[VMXE]: 上一节,检测了 VMX 需要的环境:最后一个 CR ...

  6. uoj33 树上GCD

    题意:给你一棵树,根节点为1,每条边长度为1.定义f(u,v)=gcd(u-lca(u,v),lca(u,v)-v),求有多少个无序点对f(u,v)=i.对每个i输出答案. n<=20W. 标程 ...

  7. MaxCompute安全管理指南-案例篇

    通过<MaxCompute安全管理-基础篇>了解到MaxCompute和DataWorks的相关安全模型.两个产品安全方面的关联,以及各种安全操作后,本篇主要给出一些安全管理案例,给安全管 ...

  8. 洛谷P1129 【ZJOI2007】矩阵游戏

    原题传送门 题目描述 小QQ是一个非常聪明的孩子,除了国际象棋,他还很喜欢玩一个电脑益智游戏――矩阵游戏.矩阵游戏在一个N \times NN×N黑白方阵进行(如同国际象棋一般,只是颜色是随意的).每 ...

  9. 杂项-VOD:VOD(视频点播)

    ylbtech-杂项-VOD:VOD(视频点播) 视频点播是二十世纪90年代在国外发展起来的,英文称为“Video on Demand”,所以也称为“VOD”.顾名思义,就是根据观众的要求播放节目的视 ...

  10. DataGridView绑定DataTable的正确姿势

    1. 将DataTable 绑定到BindingSource 2. 将BindingSource绑定到DataGridView 3. DataGridView修改完要从Datatable取值时,同步过 ...