{"id":1785,"date":"2022-11-28T00:59:28","date_gmt":"2022-11-27T16:59:28","guid":{"rendered":"http:\/\/www.hellofpga.com\/?p=1785"},"modified":"2025-05-12T12:51:38","modified_gmt":"2025-05-12T04:51:38","slug":"petalinux","status":"publish","type":"post","link":"http:\/\/www.hellofpga.com\/index.php\/2022\/11\/28\/petalinux\/","title":{"rendered":"ZYNQ Petalinux\u5f00\u53d1\u51c6\u5907\u5de5\u4f5c \u7ae0\u8282\u4e09  Petalinux\u5f00\u53d1\u73af\u5883\u7684\u5b89\u88c5"},"content":{"rendered":"\n<p>\u672c\u7ae0\u4ecb\u7ecd Ubuntu \u4e0b Petalinux \u5f00\u53d1\u73af\u5883\u7684\u5b89\u88c5\uff08\u624b\u628a\u624b\u56fe\u6587\u6559\u7a0b\uff09<\/p>\n\n\n\n<p><em>PetalLinux<\/em>\u662fXilinx\u516c\u53f8\u63a8\u51fa\u7684\u5d4c\u5165\u5f0fLinux\u5f00\u53d1\u5de5\u5177\uff0c\u5bf9\u4e8e\u4e0d\u540c\u7248\u672c\u7684<a rel=\"noreferrer noopener\" href=\"https:\/\/so.csdn.net\/so\/search?q=Vivado&amp;spm=1001.2101.3001.7020\" target=\"_blank\">Vivado<\/a>\uff0cPetalinux\u4e5f\u6709\u5bf9\u5e94\u7684\u7248\u672c\uff0c\u5b89\u88c5\u65f6\u9700\u6ce8\u610f\u9009\u62e9\u548c\u533a\u5206\u3002<\/p>\n\n\n\n<p>\u8fd9\u91cc\u4e5f\u6709\u4efd\u5b98\u65b9\u7684\u6307\u5bfc\u624b\u518c\uff0c\u6709\u5174\u8da3\u7684\u53ef\u4ee5\u4e0b\u4e0b\u6765\u7814\u7a76\u4ee5\u4e0b<\/p>\n\n\n\n<div data-wp-interactive=\"core\/file\" class=\"wp-block-file\"><object data-wp-bind--hidden=\"!state.hasPdfPreview\" hidden class=\"wp-block-file__embed\" data=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/c_ug1144-petalinux-tools-reference-guide.pdf\" type=\"application\/pdf\" style=\"width:100%;height:600px\" aria-label=\"\u5d4c\u5165 c_ug1144-petalinux-tools-reference-guide\"><\/object><a id=\"wp-block-file--media-fb702cd7-0c9a-4da3-ac41-47404094cb6e\" href=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/c_ug1144-petalinux-tools-reference-guide.pdf\">c_ug1144-petalinux-tools-reference-guide<\/a><a href=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/c_ug1144-petalinux-tools-reference-guide.pdf\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-fb702cd7-0c9a-4da3-ac41-47404094cb6e\">\u4e0b\u8f7d<\/a><\/div>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u51c6\u5907\u5de5\u4f5c   <\/h2>\n\n\n\n<p>1.\u5e26Ubuntu\u7684\u865a\u62df\u673a\uff0c\u53ef\u4ee5\u53c2\u8003\u7ae0\u8282\u4e00\u8fdb\u884c\u5b89\u88c5\u548c\u914d\u7f6e<\/p>\n\n\n\n<p>2.\u5b98\u65b9\u7684Petalinux \u5de5\u5177\u5f00\u53d1\u5305<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5177\u4f53\u6d41\u7a0b<\/h2>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e00 \u5b89\u88c5\u4f9d\u8d56\u5e93<\/h2>\n\n\n\n<p>\u8f93\u5165\u547d\u4ee4su \uff0c\u7cfb\u7edf\u547d\u4ee4\u884c\u63d0\u793a\u8f93\u5165password\uff0c\u8fd9\u91cc\u8f93\u5165ROOT\u8d26\u6237\u7684\u7684\u5bc6\u7801\uff0c\u5e76\u6309\u4e0b\u56de\u8f66\uff08\u4e4b\u524d\u5df2\u7ecf\u8bbe\u7f6eroot\u7684\u5bc6\u7801\u5e76\u4e14\u542f\u7528root\u7684\u8d26\u53f7\u4e86\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"331\" height=\"171\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-111.png\" alt=\"\" class=\"wp-image-1726\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-111.png 331w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-111-300x155.png 300w\" sizes=\"auto, (max-width: 331px) 100vw, 331px\" \/><\/figure>\n\n\n\n<p>\u66f4\u65b0\u4e0b apt-get <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"657\" height=\"207\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-147.png\" alt=\"\" class=\"wp-image-1788\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-147.png 657w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-147-300x95.png 300w\" sizes=\"auto, (max-width: 657px) 100vw, 657px\" \/><\/figure>\n\n\n\n<p>\u5728\u5b89\u88c5Petalinux\u4e4b\u524d\u6211\u4eec\u9700\u8981\u4e3aUbuntu\u7cfb\u7edf\u5b89\u88c5\u4e00\u4e9b\u5fc5\u8981\u7684\u8fd0\u884c\u8f6f\u4ef6\u4ee5\u53ca\u4f9d\u8d56\u5e93\uff0c\u6240\u4ee5\u5927\u5bb6\u9700\u8981\u786e\u4fddUbuntu\u80fd\u591f\u6b63\u5e38\u4e0a\u7f51\uff0c\u7136\u540e\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165 \u5982\u4e0b\u6307\u4ee4\uff0c<strong>\u5fc5\u987b\u4e00\u6761\u4e00\u6761\u7684\u8f93\u5165\uff0c\u8f93\u5165\u4e00\u6761\u56de\u8f66\u540e\u8df3\u5230\u96f6\u4e00\u884c\u518d\u590d\u5236\u8f93\u5165\u53e6\u4e00\u6761<\/strong>\uff0c \u5982\u4e0b\u56fe\u622a\u56fe\u6240\u793a\uff0c \u6700\u540e\u518d\u6309\u56de\u8f66\u8fdb\u884c\u5b89\u88c5 <strong>\uff08\u8fd9\u91cc\u662f\u6574\u4f53\u7684\u4e00\u5927\u6bb5\u547d\u4ee4\uff0c\u5305\u542b\u6240\u6709\u9700\u8981\u5b89\u88c5\u7684\u63a7\u4ef6\uff0c\u5f53\u7136\u4f60\u4e5f\u53ef\u4ee5\u6bcf\u4e00\u884c \u90fd sudo apt-get install \u8fd9\u6837\u4e0d\u5bb9\u6613\u51fa\u95ee\u9898\u4e9b\uff09<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo apt-get install tofrodos iproute2 gawk gcc g++ git make net-tools libncurses5-dev \\   \n\ntftpd zlib1g:i386 libssl-dev flex bison libselinux1 gnupg wget diffstat chrpath socat \\\n\nxterm autoconf libtool tar unzip texinfo zlib1g-dev gcc-multilib build-essential \\\n\nlibsdl1.2-dev libglib2.0-dev screen pax gzip automake<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"148\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-148-1024x148.png\" alt=\"\" class=\"wp-image-1789\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-148-1024x148.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-148-300x43.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-148-768x111.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-148.png 1106w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u5927\u7ea6\u89811-2\u5206\u949f\uff0c\u4e2d\u95f4\u51fa\u6765\u7684\u9009\u62e9\u76f4\u63a5\u6309\u56de\u8f66\u5c31\u597d<\/p>\n\n\n\n<p>\u5f53\u7ed3\u675f\u540e \u6ca1\u6709\u51fa\u73b0\u62a5\u9519\uff0c\u5c31\u4ee3\u8868\u4f9d\u8d56\u5e93\u5df2\u7ecf\u5b89\u88c5\u5b8c\u5168\u4e86<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"609\" height=\"261\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-149.png\" alt=\"\" class=\"wp-image-1790\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-149.png 609w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-149-300x129.png 300w\" sizes=\"auto, (max-width: 609px) 100vw, 609px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e8c  \u5b89\u88c5tftp Server<\/h2>\n\n\n\n<p>\u5b8c\u6210\u4f9d\u8d56\u5e93\u5b89\u88c5\u540e\uff0c\u6211\u4eec\u8fd8\u9700\u8981\u5b89\u88c5tftp\u529f\u80fd\uff0c\u8fd9\u4e2a\u4e5f\u662fPetalinux \u5b89\u88c5\u8fc7\u7a0b\u5fc5\u987b\u7684\u670d\u52a1\u7ec4\u4ef6<\/p>\n\n\n\n<p>\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff0c\u5e76\u6309\u4e0b\u56de\u8f66\u4ee5\u5b89\u88c5\u7ec4\u4ef6\uff0c \u5b89\u88c5\u7684\u8fc7\u7a0b\u4e2d\u63d0\u793aY\/N\u7684\u65f6\u5019 \u8f93\u5165Y\u5e76\u6309\u4e0b\u56de\u8f66<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">apt-get install tftpd-hpa<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"720\" height=\"428\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-165.png\" alt=\"\" class=\"wp-image-1809\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-165.png 720w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-165-300x178.png 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/figure>\n\n\n\n<p>\u5b89\u88c5\u5b8c\u6210\u540e \u6309\u4e0bservice tftpd-hpa restart \u4ee5\u542f\u52a8\u670d\u52a1<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">service tftpd-hpa restart<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"568\" height=\"92\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-166.png\" alt=\"\" class=\"wp-image-1810\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-166.png 568w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-166-300x49.png 300w\" sizes=\"auto, (max-width: 568px) 100vw, 568px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e09  \u4fee\u6539bash \u53d8dash<\/h2>\n\n\n\n<p>\u56e0\u4e3apetalinux \u4f7f\u7528\u7684\u547d\u4ee4\u662fdash \uff0c\u800cubutnu\u9ed8\u8ba4\u662fbash\u7684\uff0c\u6240\u4ee5\u8fd9\u91cc\u9700\u8981\u8fdb\u884c\u4fee\u6539<\/p>\n\n\n\n<p>\u5728\u547d\u4ee4\u884c\u8f93\u5165 sudo dpkg-reconfigure dash\u547d\u4ee4 \u5e76\u6309\u4e0b\u56de\u8f66<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo dpkg-reconfigure dash<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"530\" height=\"120\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-167.png\" alt=\"\" class=\"wp-image-1811\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-167.png 530w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-167-300x68.png 300w\" sizes=\"auto, (max-width: 530px) 100vw, 530px\" \/><\/figure>\n\n\n\n<p>\u5728\u7a97\u53e3\u4e2d\u7528\u952e\u76d8\u53f3\u952e\u9009\u62e9 NO \u5e76\u6309\u4e0b\u56de\u8f66\u5373\u53ef<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"692\" height=\"381\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-168.png\" alt=\"\" class=\"wp-image-1812\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-168.png 692w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-168-300x165.png 300w\" sizes=\"auto, (max-width: 692px) 100vw, 692px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u56db  \u5b89\u88c5Petalinux<\/h2>\n\n\n\n<p>\u5148\u5728windows\u4e0b\u4e0b\u8f7d\u5b98\u65b9\u7684Petalinux\u5de5\u5177\u5f00\u53d1\u5305\uff08\u56e0\u4e3a\u6211\u7528\u7684\u662fVIVADO2018.3\u7248\u672c\uff0c\u6240\u4ee5\u6211\u4e0b\u8f7d\u7684 Petalinux\u5b89\u88c5\u5305\u4e5f\u662f2018.3\u7248\u7684\uff09petalinux-v2018.3-final-installer.run \uff08\u5b98\u7f51\u6216\u8005\u767e\u5ea6\u90fd\u80fd\u4e0b\u8f7d\u5230\uff0c\u6bd4\u8f83\u5927\u67098G\u5de6\u53f3\uff09<\/p>\n\n\n\n<p>\u5b98\u7f51\u7684\u4e0b\u8f7d\u5730\u5740\uff1a\uff08\u4e0b\u62c9\u627e\u52302018.3\u7248\u672c\uff09<a href=\"https:\/\/www.xilinx.com\/support\/download\/index.html\/content\/xilinx\/en\/downloadNav\/embedded-design-tools\/archive.html\">https:\/\/www.xilinx.com\/support\/download\/index.html\/content\/xilinx\/en\/downloadNav\/embedded-design-tools\/archive.html<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"667\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-241-1024x667.png\" alt=\"\" class=\"wp-image-9866\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-241-1024x667.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-241-300x195.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-241-768x500.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-241-1536x1000.png 1536w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-241.png 1573w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u4e0b\u62c9 \u627e\u52302018.3\u7684\u5b89\u88c5\u5305\u8fdb\u884c\u4e0b\u8f7d<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"934\" height=\"297\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-242.png\" alt=\"\" class=\"wp-image-9871\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-242.png 934w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-242-300x95.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-242-768x244.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u63a5\u7740\u5728Ubuntu\u4e0b\u521b\u5efa\u4e00\u4e2a\u6587\u4ef6\u5939\u7528Petalinux\u7684\u5b89\u88c5\uff0c \u6211\u4eec\u5c06\u5176\u653e\u5728\/opt\u76ee\u5f55\u4e0b<\/p>\n\n\n\n<p>\u7528mkdir\u521b\u5efa \u6587\u4ef6\u5939  <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mkdir -p \/opt\/pkg\/petalinux\/2018.3<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"593\" height=\"66\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-151.png\" alt=\"\" class=\"wp-image-1793\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-151.png 593w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-151-300x33.png 300w\" sizes=\"auto, (max-width: 593px) 100vw, 593px\" \/><\/figure>\n\n\n\n<p>\u53c8\u56e0\u4e3a Petalinux \u4e0d\u80fd\u5728root\u8d26\u6237\u4e0b\u5b89\u88c5\uff0c\u53ea\u80fd\u5728\u666e\u901a\u7528\u6237\u4e0b\u5b89\u88c5  \uff0c\u800c\/opt\u76ee\u5f55\u4e0b\u53c8\u53ea\u80fd\u5728root\u8d26\u6237\u4e0b\u521b\u5efa \u6587\u4ef6\u5939\uff0c\u6240\u4ee5\u8fd9\u91cc\u9700\u8981\u989d\u5916\u52a0\u4e00\u884c\u4ee3\u7801<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo chown -R user:user \/opt\n\u8fd9\u91cc\u7684 user:user\u66f4\u6362\u6210 ubuntu\u7684\u666e\u901a\u8d26\u6237\u540d\uff0c\u6211\u8fd9\u91cc\u662fuser<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"529\" height=\"84\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-150.png\" alt=\"\" class=\"wp-image-1791\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-150.png 529w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-150-300x48.png 300w\" sizes=\"auto, (max-width: 529px) 100vw, 529px\" \/><\/figure>\n\n\n\n<p>chown\u76f8\u5f53\u4e8e \u5c06\/opt\u76ee\u5f55\u7684\u6240\u6709\u6743\u66f4\u6539\u4e3a\u6307\u5b9a\u7528\u6237\u540d<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u590d\u5236\u6211\u4eec\u7684Petalinux\u5230Ubuntu<\/h2>\n\n\n\n<p>\u5728Ubuntu\u684c\u9762\u7a7a\u767d\u5904\u53f3\u952e\u7a7a\u767d\u5904NewFolder  \u521b\u5efa\u4e00\u4e2a\u6587\u4ef6\u5939 \u547d\u540d\u4e3aPetalinux2018\uff0c\u7528\u6765\u5b58\u653e\u5b89\u88c5\u5305<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"260\" height=\"285\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-153.png\" alt=\"\" class=\"wp-image-1795\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"219\" height=\"174\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-154.png\" alt=\"\" class=\"wp-image-1796\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"816\" height=\"567\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-152.png\" alt=\"\" class=\"wp-image-1794\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-152.png 816w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-152-300x208.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-152-768x534.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u7136\u540e\u5728\u521a\u624d\u521b\u5efa\u7684\u6587\u4ef6\u5939\u91cc \u53f3\u952e\u70b9Paste\uff0c\u7c98\u8d34 <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"563\" height=\"392\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-155.png\" alt=\"\" class=\"wp-image-1797\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-155.png 563w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-155-300x209.png 300w\" sizes=\"auto, (max-width: 563px) 100vw, 563px\" \/><\/figure>\n\n\n\n<p>\u7b49\u5f85\u590d\u5236\u5b8c\u6210<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"731\" height=\"291\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-156.png\" alt=\"\" class=\"wp-image-1798\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-156.png 731w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-156-300x119.png 300w\" sizes=\"auto, (max-width: 731px) 100vw, 731px\" \/><\/figure>\n\n\n\n<p>\u590d\u5236\u5b8c\u6210\u540e\u5728\u5b89\u88c5\u5305\u6240\u5728\u7684\u6587\u4ef6\u5939\u4e0b  \u53f3\u952eOpen in Terminal \uff0c\u6253\u5f00\u547d\u4ee4\u884c<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"677\" height=\"412\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-157.png\" alt=\"\" class=\"wp-image-1799\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-157.png 677w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-157-300x183.png 300w\" sizes=\"auto, (max-width: 677px) 100vw, 677px\" \/><\/figure>\n\n\n\n<p>\u6b64\u65f6 \u7cfb\u7edf\u4f1a\u81ea\u52a8\u4ee5\u666e\u901a\u7528\u6237\u7684\u6a21\u5f0f \u6253\u5f00\u7ec8\u7aef\uff0c\u5e76\u4e14\u5728\u7ec8\u7aef\u547d\u4ee4\u884c\u4e2d\u9ed8\u8ba4\u5b9a\u4f4d\u5230\u8be5\u5b89\u88c5\u5305\u6240\u5728\u7684\u5730\u5740<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"506\" height=\"109\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-158.png\" alt=\"\" class=\"wp-image-1800\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-158.png 506w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-158-300x65.png 300w\" sizes=\"auto, (max-width: 506px) 100vw, 506px\" \/><\/figure>\n\n\n\n<p>\u7528.\/ \u6307\u4ee4\u8fd0\u884c \u5b89\u88c5\u6587\u4ef6\uff0c\u5e76\u5b89\u88c5\u5230\u521a\u624d\u6211\u4eec\u521b\u5efa\u7684\u6587\u4ef6\u5939\u4e0b\uff0c\u5e76\u6309\u4e0b\u56de\u8f66\uff08\u5207\u8bb0\u5fc5\u987b\u8981\u666e\u901a\u7528\u6237\u4e0b\u5b89\u88c5\uff0c\u4e0d\u80fd\u5728root\u7528\u6237\u4e0b\uff09<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">.\/petalinux-v2018.3-final-installer.run \/opt\/pkg\/petalinux\/2018.3<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"762\" height=\"121\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-159.png\" alt=\"\" class=\"wp-image-1801\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-159.png 762w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-159-300x48.png 300w\" sizes=\"auto, (max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px\" \/><\/figure>\n\n\n\n<p>\u4e4b\u540e\u7cfb\u7edf\u5c31\u5f00\u59cb\u5b89\u88c5petalinux\u4e86\uff0c\u76f4\u5230\u51fa\u73b0 \u201cPress Enter to display the license agreements \u5b57\u6837\uff0c\u6309\u4e0b\u56de\u8f66\u7ee7\u7eed<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"769\" height=\"440\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-160.png\" alt=\"\" class=\"wp-image-1802\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-160.png 769w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-160-300x172.png 300w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u6309\u4e0b\u540e \u7cfb\u7edf\u4f1a\u8ba9\u6211\u4eec\u770b\u8bb8\u53ef\u534f\u8bae\uff0c\u76f4\u63a5\u6309\u4e0bQ\u9000\u51fa\u5c31\u597d<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"729\" height=\"442\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-162.png\" alt=\"\" class=\"wp-image-1804\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-162.png 729w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-162-300x182.png 300w\" sizes=\"auto, (max-width: 729px) 100vw, 729px\" \/><\/figure>\n\n\n\n<p>\u4e4b\u540e \u7cfb\u7edf\u4f1a\u95ee\u6211\u4eec\u662f\u5426\u63a5\u53d7\u534f\u8bae\uff0c\u6309\u4e0bY \u56de\u8f66<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"436\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-161.png\" alt=\"\" class=\"wp-image-1803\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-161.png 750w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-161-300x174.png 300w\" sizes=\"auto, (max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px\" \/><\/figure>\n\n\n\n<p>\u4e4b\u540e\u4f1a\u540c\u6837\u51fa\u73b0\u4e24\u4e2a \u8bb8\u53ef\u534f\u8bae\uff0c\u4e5f\u662f\u6309\u524d\u4e24\u6b65\u64cd\u4f5c Q \u9000\u51fa\u540e \u6309\u4e0bY \u6309\u56de\u8f66\u7ee7\u7eed<\/p>\n\n\n\n<p>\u4e4b\u540e\u7cfb\u7edf\u5c31\u5f00\u59cb\u5b89\u88c5Petalinux\u4e86<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"701\" height=\"253\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-163.png\" alt=\"\" class=\"wp-image-1805\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-163.png 701w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-163-300x108.png 300w\" sizes=\"auto, (max-width: 701px) 100vw, 701px\" \/><\/figure>\n\n\n\n<p>\u7b49\u5f85\u51e0\u5206\u949f \u540e\uff0c\u51fa\u73b0\u4e0b\u56fe\u754c\u9762\uff0c\u4ee3\u8868\u5b89\u88c5\u5df2\u7ecf\u6210\u529f\u4e86<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"704\" height=\"237\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-164.png\" alt=\"\" class=\"wp-image-1806\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-164.png 704w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-164-300x101.png 300w\" sizes=\"auto, (max-width: 704px) 100vw, 704px\" \/><\/figure>\n\n\n\n<p>\u9a8c\u8bc1Petalinux\u7684\u5b89\u88c5<\/p>\n\n\n\n<p>\u8f93\u5165 source \/opt\/pkg\/petalinux\/2018.3\/settings.sh  \u5bf9Petalinux \u7684\u73af\u5883\u8fdb\u884c\u52a0\u8f7d<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">source \/opt\/pkg\/petalinux\/2018.3\/settings.sh<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"712\" height=\"203\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-169.png\" alt=\"\" class=\"wp-image-1814\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-169.png 712w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-169-300x86.png 300w\" sizes=\"auto, (max-width: 712px) 100vw, 712px\" \/><\/figure>\n\n\n\n<p>\u518d\u6309\u4e0b echo $PETALINUX  <\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"698\" height=\"255\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-170.png\" alt=\"\" class=\"wp-image-1815\" style=\"width:675px;height:246px\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-170.png 698w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-170-300x110.png 300w\" sizes=\"auto, (max-width: 698px) 100vw, 698px\" \/><\/figure>\n\n\n\n<p>\u5982\u4e0a\u56fe\u8fd9\u6837\u663e\u793aPetalinux\u7684\u5b89\u88c5\u76ee\u5f55\uff0c\u8868\u660e\u5de5\u4f5c\u73af\u5883\u5df2\u8bbe\u7f6e \u5e76\u4e14\u53ef\u4ee5\u6b63\u5e38\u8fd0\u884c\u4e86<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u7ae0\u4ecb\u7ecd Ubuntu \u4e0b Petalinux \u5f00\u53d1\u73af\u5883\u7684\u5b89\u88c5\uff08\u624b\u628a\u624b\u56fe\u6587\u6559\u7a0b\uff09<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,10,7,13],"tags":[],"class_list":["post-1785","post","type-post","status-publish","format-standard","hentry","category-smart-zynq-spsl","category-smart-zynq-board","category-tiny-zynq","category-tiny-zynq-2"],"views":4218,"_links":{"self":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/1785","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/comments?post=1785"}],"version-history":[{"count":19,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/1785\/revisions"}],"predecessor-version":[{"id":9875,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/1785\/revisions\/9875"}],"wp:attachment":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/media?parent=1785"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/categories?post=1785"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/tags?post=1785"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}