Ubuntu 16.04 安装petalinux2017.1

Ubuntu 16.04 安装petalinux2017.1
第一步:安装依赖库
$xxxx:sudo apt-get install tofrodos iproute2 gawk gcc git make net-tools libncurses5-dev tftp zlib1g-dev libssl-dev flex bison libselinux1

$xxxx:sudo apt-get install lib32z1 lib32ncurses5

$xxxx:sudo apt-get install libbz2-1.0:i386

第二步:安装petalinux
$xxxx: ./petalinux-v2017.1-final-installer.run /home/username/opt/pkg/petalinux

第三步:设置tftp服务
$xxxx: sudo apt-get install xinetd tftpd tftp

$xxxx: sudo chmod -R 777 /etc/xinetd.d/

$xxxx: sudo vi /etc/xinetd.d/tftp

service tftp
{
    protocol = udp
    port = 69
    socket_type = dgram
    wait = yes
    user = nobody
    server = /usr/sbin/in.tftpd
    server_args = /tftpboot
    disable = no
}

(输入以上内容)

原文地址
:https://groups.google.com/forum/#!msg/krtkl-snickerdoodle/7w0_pMbam8c/QUjR8o26BQAJ

你可能感兴趣的:(Ubuntu 16.04 安装petalinux2017.1)