petalinux2017.3安装注意事项(Ubuntu16)

参考:http://blog.csdn.net/u013457167/article/details/77887705

petalinux 2015.4&& 2016.2安装指南

参考:http://blog.csdn.net/u013457167/article/details/77914069

petalinux 2017.2安装指南


1.需要Ubuntu16 的64版本

2.

PetaLinux工具安装不能用Root账号!

3.确保当前Shell是bash

选择NO

sudo dpkg-reconfigure dash

4.安装库http://blog.csdn.net/u013457167/article/details/77914069 全部;

http://blog.csdn.net/u013457167/article/details/77887705:

sudo apt-get install lib32z1 lib32ncurses5 libbz2-1.0:i386 lib32stdc++6

(一段话命令:
(sudo apt-get install tofrodos  iproute2 gawk gcc git make xvfb net-tools  libncurses5-dev  tftpd zlib1g-dev zlib1g-dev:i386 libssl-dev  flex bison libselinux1 gnupg wget diffstat chrpath socat xterm autoconf libtool tar unzip texinfo zlib1g-dev gcc-multilib build-essential libsdl1.2-dev libglib2.0-dev screen pax gzip tar lib32z1 lib32ncurses5 libbz2-1.0:i386 lib32stdc++6)


#安装petalinux时出现警告,提示No tftp server found - please refer to "PetaLinux SDK Installation Guide" for its impact and solution,需要安装下面3个库,记得root权限
apt-get install tftpd tftp openbsd-inetd
gedit /etc/inetd.conf
#在文件中增加以下内容
tftp        dgram    udp    wait    nobody    /usr/sbin/tcpd    /usr/sbin/in.tftpd /tftproot
#保存并退出
mkdir /tftproot
chmod 777 /tftproot
/etc/init.d/openbsd-inetd restart
netstat -an | more | grep udp
#看到有如下输出,即表示tftp安装成功
#udp        0      0 0.0.0.0:69              0.0.0.0:*
5.

opt是系统文件夹  权限被保护起来了
打开终端 输入如下命令

sudo chmod 777 /opt 然后回车 输入自己的密码 再回车 
这样opt就可以创建文件了 
6.普通用户执行

mkdir -p /opt/pkg/petalinux

./petalinux-v2017.3-final-installer.run /opt/pkg/petalinux
碰到lience按q
三次y
7.完成

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值