一、安装petalinux
参考:
https://blog.csdn.net/lulugay/article/details/99715402
https://blog.csdn.net/m0_37340681/article/details/103685220
https://blog.csdn.net/u013793399/article/details/53054734
1.安装依赖
见UG1144第二章。
sudo dpkg --add-architecture i386
sudo apt update -y
sudo apt install --no-install-recommends -y gawk gcc make net-tools libncurses5-dev tftpd zlib1g-dev libssl-dev wget gcc-4.8 zlib1g:i386 python vim tofrodos iproute2 xvfb build-essential checkinstall libreadline-gplv2-dev libncursesw5-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev git make net-tools flex bison libselinux1 gnupg diffstat chrpath socat xterm autoconf libtool tar unzip texinfo gcc-multilib libsdl1.2-dev libglib2.0-dev screen pax gzip language-pack-en libtool-bin cpio lib32z1 lsb-release