{"id":10029,"date":"2025-05-21T10:17:17","date_gmt":"2025-05-21T02:17:17","guid":{"rendered":"http:\/\/www.hellofpga.com\/?p=10029"},"modified":"2025-06-28T19:48:28","modified_gmt":"2025-06-28T11:48:28","slug":"petalinux2022-1_install","status":"publish","type":"post","link":"http:\/\/www.hellofpga.com\/index.php\/2025\/05\/21\/petalinux2022-1_install\/","title":{"rendered":"ZYNQ Petalinux \u5f00\u53d1\u51c6\u5907\u5de5\u4f5c \u7ae0\u8282\u4e09 \u4e4b Ubuntu20.04 \u4e0b\u7684 Petalinux 2022.1\u5f00\u53d1\u73af\u5883\u7684\u5b89\u88c5"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u672c\u7ae0\u4ecb\u7ecd Ubuntu \u4e0b Petalinux 2022.1 \u5f00\u53d1\u73af\u5883\u7684\u5b89\u88c5\uff08\u624b\u628a\u624b\u56fe\u6587\u6559\u7a0b\uff09<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e4b\u524d\u5df2\u7ecf\u6709\u5199\u8fc7Petalinux 2018.3\u7248\u7684\u73af\u5883\u5b89\u88c5\uff0c \u8003\u8651\u5230 PYNQ 3.01\u7248\u7684\u5f00\u53d1\u73af\u5883\u5bf9\u5e94\u7684Vivado\u548cPetalinux\u662f2022.1 \uff0c\u6240\u4ee5\u8fd9\u91cc\u8fd9\u91cc\u7279\u522b\u91cd\u65b0\u6574\u7406\u4e0bPetalinux 2022.1\u7684\u90e8\u5206\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u672c\u6587\u4e2d\u7684Ubuntu \u7248\u672c 20.04 (PYNQ\u7684\u5f00\u53d1\u73af\u5883\u9700\u898118.04\u6216\u800520.04\u7248\u672c\u7684UBUNTU\u624d\u53ef\u4ee5)<\/li>\n\n\n\n<li>Petalinux \u7248\u672c 2022.1<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><em>PetalLinux<\/em>\u662fXilinx\u516c\u53f8\u63a8\u51fa\u7684\u5d4c\u5165\u5f0fLinux\u5f00\u53d1\u5de5\u5177\uff0c\u5bf9\u4e8e\u4e0d\u540c\u7248\u672c\u7684Vivado\uff0cPetalinux\u4e5f\u6709\u5bf9\u5e94\u7684\u7248\u672c\uff0c\u5b89\u88c5\u65f6\u9700\u6ce8\u610f\u9009\u62e9\u548c\u533a\u5206(\u4e00\u822c\u7528\u4ec0\u4e48\u7248\u672c\u7684Vivado\uff0cPetalinux\u4e5f\u8981\u7528\u5bf9\u5e94\u7248\u672c)\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\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<p class=\"wp-block-paragraph\"><a href=\"https:\/\/docs.amd.com\/r\/en-US\/ug1144-petalinux-tools-reference-guide\/Installing-the-PetaLinux-Tool\">https:\/\/docs.amd.com\/r\/en-US\/ug1144-petalinux-tools-reference-guide\/Installing-the-PetaLinux-Tool<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u51c6\u5907\u5de5\u4f5c<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>1.\u5e26Ubuntu\u7684\u865a\u62df\u673a\uff0c\u53ef\u4ee5\u53c2\u8003 <a href=\"http:\/\/www.hellofpga.com\/index.php\/2025\/05\/21\/petalinux2022-1_install\/\">ZYNQ\u5f00\u53d1\u51c6\u5907\u5de5\u4f5c\u4e4b Ubuntu \u4e0b\u7684 Petalinux 2022.1\u5f00\u53d1\u73af\u5883\u7684\u5b89\u88c5<\/a> \u8fdb\u884c\u5b89\u88c5\u548c\u914d\u7f6e<\/li>\n\n\n\n<li>2.\u5b98\u65b9\u7684Petalinux \u5de5\u5177\u5f00\u53d1\u5305 \uff08\u4e0b\u8f7d\u5730\u5740\u4e0b\u6587\u4e2d\u6709\u63d0\u5230\uff09<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u8be6\u7ec6\u6d41\u7a0b<\/strong><\/h2>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e00\u3001\u5b89\u88c5\u4f9d\u8d56\u5e93 <\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">1.\u66f4\u65b0\u4e0b sudo apt-get update<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"694\" height=\"199\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-117.png\" alt=\"\" class=\"wp-image-10347\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-117.png 694w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-117-300x86.png 300w\" sizes=\"auto, (max-width: 694px) 100vw, 694px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\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<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo dpkg --add-architecture i386 &amp;&amp; sudo apt update &amp;&amp; sudo apt install -y gawk wget git diffstat unzip texinfo gcc-multilib build-essential chrpath socat cpio python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping libsdl1.2-dev tofrodos net-tools zlib1g:i386 zlib1g-dev libncurses5-dev libssl-dev libtool locales libglib2.0-dev libarchive-dev autoconf flex bison libselinux1 xterm<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b89\u88c5\u8fc7\u7a0b\u4e2d\u5927\u7ea6\u89813\u5206\u949f<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"727\" height=\"220\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-118.png\" alt=\"\" class=\"wp-image-10348\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-118.png 727w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-118-300x91.png 300w\" sizes=\"auto, (max-width: 727px) 100vw, 727px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e8c\u3001\u5b89\u88c5tftp Server<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\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 class=\"wp-block-paragraph\">\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\">sudo apt-get install tftpd-hpa<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"847\" height=\"501\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-92.png\" alt=\"\" class=\"wp-image-10273\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-92.png 847w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-92-300x177.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-92-768x454.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b89\u88c5\u5b8c\u6210\u540e \u6309\u4e0bservice tftpd-hpa restart \u4ee5\u542f\u52a8\u670d\u52a1 (\u4f1a\u63d0\u793a\u8f93\u5165\u5bc6\u7801)<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">service tftpd-hpa restart<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e09\u3001\u5b89\u88c5Petalinux<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5148\u5728windows\u4e0b\u4e0b\u8f7d\u5b98\u65b9\u7684Petalinux\u5de5\u5177\u5f00\u53d1\u5305\uff08\u56e0\u4e3a\u6211\u7528\u7684\u662fVIVADO2022.1\u7248\u672c\uff0c\u6240\u4ee5\u6211\u4e0b\u8f7d\u7684 Petalinux\u5b89\u88c5\u5305\u4e5f\u662f2022.1\u7248\u7684\uff09petalinux-v2022.1-04191534-installer.run \uff08\u5b98\u7f51\u6216\u8005\u767e\u5ea6\u90fd\u80fd\u4e0b\u8f7d\u5230\uff0c\u6bd4\u8f83\u5927\u67092G\u5de6\u53f3\uff09<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b98\u7f51\u7684\u4e0b\u8f7d\u5730\u5740\uff1a\uff08\u4e0b\u62c9\u627e\u52302022.1\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\"><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 class=\"wp-block-paragraph\">\u4e0b\u62c9 \u627e\u52302022.1\u7684\u5b89\u88c5\u5305\u8fdb\u884c\u4e0b\u8f7d<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"904\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-17-1024x904.png\" alt=\"\" class=\"wp-image-10038\" style=\"width:494px;height:auto\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-17-1024x904.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-17-300x265.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-17-768x678.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-17.png 1123w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u63a5\u7740\u5728Ubuntu\u4e0b\u521b\u5efa\u4e00\u4e2a\u6587\u4ef6\u5939\u7528Petalinux\u7684\u5b89\u88c5\uff0c \u6211\u4eec\u8fd9\u91cc\u8bbe\u5b9a\u521b\u5efa\u7684\u76ee\u5f55\u8def\u5f84\u4e3a~\/petalinux\/2022.1<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u7528mkdir\u521b\u5efa \u6587\u4ef6\u5939<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mkdir -p ~\/petalinux\/2022.1<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"576\" height=\"102\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-93.png\" alt=\"\" class=\"wp-image-10275\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-93.png 576w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-93-300x53.png 300w\" sizes=\"auto, (max-width: 576px) 100vw, 576px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u8fd9\u4e2a\u8def\u5f84\u5b9e\u9645\u5728  home\u76ee\u5f55\u4e0b<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"516\" height=\"124\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-94.png\" alt=\"\" class=\"wp-image-10276\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-94.png 516w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-94-300x72.png 300w\" sizes=\"auto, (max-width: 516px) 100vw, 516px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u7136\u540e\u590d\u5236\u6211\u4eec\u7684Petalinux\u5230Ubuntu<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u5b9e\u9645\u6d4b\u8bd5 vmware-tools\u65e0\u6cd5\u76f4\u63a5\u590d\u5236\u7c98\u8d34petalinux\u5b89\u88c5\u5305\uff0c\u6240\u4ee5\u8fd9\u91cc\u7528\u4e0a\u4e00\u7ae0\u8282vmware \u5171\u4eab\u76ee\u5f55\u7684\u65b9\u5f0f \u6765\u8fdb\u884c\u6587\u4ef6\u7684\u4f20\u8f93\uff08\u8fd9\u91cc\u9700\u8981\u63d0\u524d\u5728ubuntu \u4e0b\u6302\u8f7d share \u6587\u4ef6\u5939\uff0c\u547d\u4ee4\u8bf7\u53c2\u8003\u4e0a\u4e00\u8282\u5185\u5bb9\uff09<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1.\u5728WIN\u4e0b\u5c06\u6211\u4eec\u521a\u521a\u4e0b\u8f7d\u597d\u7684petalinux 2022.1\u7684\u5b89\u88c5\u5305\u590d\u5236\u5230share\u5171\u4eab\u6587\u4ef6\u5939\u4e2d<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"820\" height=\"255\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-95.png\" alt=\"\" class=\"wp-image-10277\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-95.png 820w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-95-300x93.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-95-768x239.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">2. \u56de\u5230\u6211\u4eec\u7684ubuntu\u684c\u9762\uff0c\u7136\u540e\u5728\u7a7a\u767d\u5904\u5355\u51fb\u9f20\u6807\u53f3\u952e\uff0c\u5e76\u521b\u5efa\u4e00\u4e2a\u6587\u4ef6\u5939 New Folder\uff0c\u547d\u540d\u4e3aPetalinux 2022<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"535\" height=\"169\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-119.png\" alt=\"\" class=\"wp-image-10349\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-119.png 535w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-119-300x95.png 300w\" sizes=\"auto, (max-width: 535px) 100vw, 535px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"427\" height=\"154\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-80.png\" alt=\"\" class=\"wp-image-10155\" style=\"width:380px;height:auto\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-80.png 427w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-80-300x108.png 300w\" sizes=\"auto, (max-width: 427px) 100vw, 427px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">3.\u7136\u540e\u56de\u5230ubuntu \u4e0b\uff0c\u627e\u5230\/mnt\/hgfs \u6587\u4ef6\u5939\uff08\u63d0\u5148\u524d\u5728ubuntu \u4e0b\u6302\u8f7d share \u6587\u4ef6\u5939\uff09\uff0c\u590d\u5236\u6211\u4eec\u7684petalinux 2022.1\u7684\u5b89\u88c5\u5305\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"810\" height=\"511\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-121.png\" alt=\"\" class=\"wp-image-10355\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-121.png 810w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-121-300x189.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-121-768x485.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\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 is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"637\" height=\"379\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-120.png\" alt=\"\" class=\"wp-image-10350\" style=\"width:484px;height:auto\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-120.png 637w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-120-300x178.png 300w\" sizes=\"auto, (max-width: 637px) 100vw, 637px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\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=\"874\" height=\"373\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-122.png\" alt=\"\" class=\"wp-image-10356\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-122.png 874w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-122-300x128.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-122-768x328.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\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=\"666\" height=\"178\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-99.png\" alt=\"\" class=\"wp-image-10281\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-99.png 666w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-99-300x80.png 300w\" sizes=\"auto, (max-width: 666px) 100vw, 666px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\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-v2022.1-04191534-installer.run --dir ~\/petalinux\/2022.1<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"649\" height=\"48\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-23.png\" alt=\"\" class=\"wp-image-10051\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-23.png 649w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-23-300x22.png 300w\" sizes=\"auto, (max-width: 649px) 100vw, 649px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\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=\"651\" height=\"481\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-24.png\" alt=\"\" class=\"wp-image-10052\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-24.png 651w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-24-300x222.png 300w\" sizes=\"auto, (max-width: 651px) 100vw, 651px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\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\"><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 class=\"wp-block-paragraph\">\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\"><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 class=\"wp-block-paragraph\">\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 class=\"wp-block-paragraph\">\u4e4b\u540e\u7cfb\u7edf\u5c31\u5f00\u59cb\u5b89\u88c5Petalinux\u4e86<\/p>\n\n\n\n<figure class=\"wp-block-image\"><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 class=\"wp-block-paragraph\">\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=\"660\" height=\"232\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-25.png\" alt=\"\" class=\"wp-image-10053\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-25.png 660w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-25-300x105.png 300w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u9a8c\u8bc1Petalinux\u7684\u5b89\u88c5<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8f93\u5165 source \/opt\/pkg\/petalinux\/2022.1\/settings.sh \u5bf9Petalinux \u7684\u73af\u5883\u8fdb\u884c\u52a0\u8f7d<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">source ~\/petalinux\/2022.1\/settings.sh<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u770b\u5230\u8fd9\u4e9b\u5185\u5bb9\u8bc1\u660eVivado2022.1\u5df2\u7ecf\u5b89\u88c5\u597d\uff0c\u7cfb\u7edf\u63d0\u793a\u8fd9\u662f\u4e0d\u652f\u6301\u7684OS \u8fd9\u91cc\u65e0\u89c6\u5c31\u597d<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"805\" height=\"226\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-103.png\" alt=\"\" class=\"wp-image-10288\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-103.png 805w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-103-300x84.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-103-768x216.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u518d\u6309\u4e0b echo $PETALINUX<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"616\" height=\"96\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-104.png\" alt=\"\" class=\"wp-image-10290\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-104.png 616w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/image-104-300x47.png 300w\" sizes=\"auto, (max-width: 616px) 100vw, 616px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\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","protected":false},"excerpt":{"rendered":"<p>\u672c\u7ae0\u4ecb\u7ecd Ubuntu \u4e0b Petalinux 2022.1 \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],"tags":[],"class_list":["post-10029","post","type-post","status-publish","format-standard","hentry","category-smart-zynq-spsl"],"views":4968,"_links":{"self":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/10029","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=10029"}],"version-history":[{"count":33,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/10029\/revisions"}],"predecessor-version":[{"id":10357,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/10029\/revisions\/10357"}],"wp:attachment":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/media?parent=10029"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/categories?post=10029"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/tags?post=10029"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}