PetaLinux在Ubuntu14.04中的安装

参照UG1144

IMPORTANT: PetaLinux tools require your host system default shell "$PETALINUX/bin/sh" is bash. If you are using Ubuntu distribution and your system default shell is dash, you can consult your system administrator to change your default with sudo dpkg-reconfigure dash command.

1. PetaLinux工具安装先决条件

  sudo apt-get install tofrodos
    sudo apt-get install iprote
    sudo apt-get install iproute
    sudo apt-get install gawk
    sudo apt-get install gcc
    sudo apt-get install git-core
    sudo apt-get install make
    sudo apt-get install net-tools
    sudo apt-get install libncurses5-dev
     sudo apt-get install tftpd
     sudo apt-get install zlib1g-dev
     sudo apt-get install libssl-dev
     sudo apt-get install flex
     sudo apt-get install bison
     sudo apt-get install libselinux1
     sudo apt-get install lib32z1
     sudo apt-get install lib32ncurses5
     sudo apt-get install lib32bz2-1.0
     sudo apt-get install lib32stdc++6

2. 安装tftpd服务器


    sudo apt-get install tftpd tftp openbsd-inetd
    sudo  vi /etc/inetd.conf

#修改文件内容 如下
tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /tftproot

    sudo mkdir /tftproot

   sudo chmod 777 /tftproot

   sudo /etc/init.d/openbsd-inetd restart

   查看69端口是否有打开 :netstat -an | more | grep udp

 

3. 安装PetaLinux

$ mkdir /opt/pkg

$ ./petalinux-v2015.2.1-final-installer.run /opt/pkg

安装过程中选择三个Yes

 

4. 安装后检查一下变量

$echo $PETALINUX,如果成功安装会回应正确的路径

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值