{"id":9946,"date":"2025-05-13T08:51:06","date_gmt":"2025-05-13T00:51:06","guid":{"rendered":"http:\/\/www.hellofpga.com\/?p=9946"},"modified":"2025-05-13T08:51:06","modified_gmt":"2025-05-13T00:51:06","slug":"4205_images","status":"publish","type":"post","link":"http:\/\/www.hellofpga.com\/index.php\/2025\/05\/13\/4205_images\/","title":{"rendered":"\u57fa\u4e8eEBAZ4205 \u7684Petalinux\u5f00\u53d1 \u7ae0\u8282\u4e8c \u5728 Ubuntu \u4e0a\u5b8c\u6210 Petalinux \u7684\u5de5\u7a0b\u521b\u5efa\u53ca\u7f16\u8bd1\u5168\u8fc7\u7a0b(TF\u5361\u542f\u52a8)"},"content":{"rendered":"\n<p>\u672c\u6587\u5c06\u5728\u4e0a\u4e00\u7ae0hdf\u6587\u4ef6\u7684\u57fa\u7840\u4e0a\u5b8c\u6210\u5b8c\u6574\u7684Petalinux \u5de5\u7a0b\u7684\u521b\u5efa\u53ca\u7f16\u8bd1\u6d41\u7a0b\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5b9e\u9a8c\u5185\u5bb9\u9002\u7528\u4e8e\u5e02\u9762\u4e0a\u529f\u80fd\u6b63\u5e38\u7684EBAZ4205\u7684\u677f\u5b50<\/strong><\/li>\n\n\n\n<li><strong>\u672c\u6b21\u5b9e\u9a8c\u9700\u8981\u8fde\u63a5\u672c\u7ad9\u70b9\u7684EBAZ4205\u8f6c\u63a5\u677f<\/strong><\/li>\n\n\n\n<li><strong>\u672c\u6b21\u5b9e\u9a8c\u9700\u8981EBAZ4205\u4e3b\u677f\u4e0a\u710a\u63a5TF\u5361\u69fd<\/strong><\/li>\n\n\n\n<li>\u672c\u6b21\u5b9e\u9a8c\u6ca1\u6709\u7528\u5230PL\u7aef\u6676\u632f<\/li>\n\n\n\n<li><strong>\u672c\u6587\u5728 vivado2018.3\u7248\u672c\u4e0a\u6f14\u793a<\/strong><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u542f\u52a8\u65b9\u5f0f\uff1a<\/strong><\/h2>\n\n\n\n<p>\u6211\u4eec\u7684EBAZ4205\uff0c\u6709\u4e24\u79cd\u53ef\u7528\u7684\u542f\u52a8\u4ecb\u8d28\uff1aNAND FLASH \u548c TF \u5361\u3002\u867d\u7136\u4e24\u8005\u90fd\u53ef\u4ee5\u7528\u6765\u542f\u52a8 Petalinux\uff0c\u4f46\u9700\u8981\u8003\u8651\u4ee5\u4e0b\u56e0\u7d20\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>NAND<\/strong> <strong>FLASH<\/strong>\uff1a\u5bb9\u91cf\u8f83\u5c0f\uff0c\u901a\u5e38\u53ea\u9002\u7528\u4e8e\u7b80\u5355\u7684Petalinux\u7cfb\u7edf\u3002<\/li>\n\n\n\n<li><strong>TF \u5361<\/strong>\uff1a \u5bb9\u91cf\u53ef\u81ea\u7531\u6269\u5c55\uff0c\u80fd\u591f\u5bb9\u7eb3\u66f4\u5927\u7684\u5e94\u7528\u548c\u6587\u4ef6\u7cfb\u7edf\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u9274\u4e8eTF\u5361\u8dd1\u7cfb\u7edf\u540e\u671f\u62d3\u5c55\u6027\u66f4\u5f3a\u4e00\u4e9b\uff0c\u672c\u6559\u7a0b\u5c06\u4e3b\u8981\u6f14\u793a\u5982\u4f55\u5236\u4f5c TF \u5361\u955c\u50cf\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u786c\u4ef6\u8d44\u6e90\uff1a<\/strong><\/h2>\n\n\n\n<p>\u4e3a\u4e86\u4f7f\u672c\u8bd5\u9a8c\u5de5\u7a0b\u7684 Petalinux \u66f4\u52a0\u9002\u5408\u4eca\u540e\u7684\u4e8c\u6b21\u5f00\u53d1\uff0c\u800c\u4e0d\u4ec5\u4ec5\u5c40\u9650\u4e8e\u5b9e\u9a8c\u76ee\u7684\uff0c\u672c\u5de5\u7a0b\u5c06\u96c6\u6210 Petalinux \u53ef\u80fd\u7528\u5230\u7684\u57fa\u7840\u529f\u80fd\u3002\u8fd9\u4e9b\u529f\u80fd\u5305\u62ec UART\u3001\u5343\u5146\u7f51\u7edc\u3001SD\u3001FLASH\u3001LED \u548c\u6309\u952e\u7b49\uff0c\u4ee5\u786e\u4fdd\u7cfb\u7edf\u5728\u540e\u7eed\u5f00\u53d1\u4e2d\u5177\u5907\u5168\u9762\u7684\u529f\u80fd\u652f\u6301\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u6839\u6587\u4ef6\u7cfb\u7edf\uff1a<\/strong><\/h2>\n\n\n\n<p>\u4e3a\u4e86\u4f7f\u672c\u5de5\u7a0b\u7684 Petalinux \u66f4\u52a0\u9002\u5408\u4eca\u540e\u7684\u4e8c\u6b21\u5f00\u53d1\u548c\u4f7f\u7528\uff0c\u672c\u5de5\u7a0b\u5c06\u4e0d\u518d\u91c7\u7528 INITRAMFS \u8fd9\u79cd\u4e34\u65f6\u6839\u6587\u4ef6\u7cfb\u7edf\uff08\u4e0d\u4fdd\u5b58\u6570\u636e\uff09\uff0c\u800c\u662f\u6539\u7528 SD \u6587\u4ef6\u7cfb\u7edf\u3002\u8fd9\u6837\uff0c\u6bcf\u6b21\u5728 Petalinux \u4e2d\u7684\u64cd\u4f5c\u90fd\u5c06\u88ab\u7cfb\u7edf\u6301\u4e45\u4fdd\u5b58\uff0c\u4ece\u800c\u65b9\u4fbf\u540e\u7eed\u7684\u5f00\u53d1\u548c\u7ef4\u62a4\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4ee5\u4e0b\u662f\u5b8c\u6574\u7684\u521b\u5efa\u548c\u7f16\u8bd1\u64cd\u4f5c\uff1a<\/strong><\/h2>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e00\u3001PetaLinux \u5de5\u7a0b\u521b\u5efa<\/strong><\/h2>\n\n\n\n<p>1\uff09\u6253\u5f00\u865a\u62df\u673a\u4e0b\u7684 Ubuntu\u7cfb\u7edf<\/p>\n\n\n\n<p>2\uff09\u5728Ubuntu\u4e0b\u521b\u5efa\u5de5\u7a0b\u76ee\u5f55\uff08\u8fd9\u91cc\u7528\u56fe\u5f62\u754c\u9762\u7684\u65b9\u5f0f\uff0c\u5f53\u7136\u4e5f\u53ef\u4ee5\u7528mkdir\u7684\u65b9\u5f0f\uff09<\/p>\n\n\n\n<p>\u5728home\u6587\u4ef6\u5939\u4e0b \u521b\u5efa\u4e00\u4e2aPetalinux\u6587\u4ef6\u5939\uff08\u5982\u679c\u4e4b\u524d\u5df2\u7ecf\u521b\u5efa\u53ef\u4ee5\u5ffd\u7565\uff09\uff0c\u4e5f\u53ef\u4ee5\u56fe\u5f62\u754c\u9762\u6253\u5f00Home \u6587\u4ef6\u5939\u7136\u540e\u76f4\u63a5\u53f3\u952e\u65b0\u5efa\u4e00\u4e2aPetalinux<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"956\" height=\"584\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-183.png\" alt=\"\" class=\"wp-image-1848\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-183.png 956w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-183-300x183.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-183-768x469.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p><strong>3\uff09 \u521b\u5efaPetalinux \u5de5\u7a0b<\/strong><\/p>\n\n\n\n<p>a) \u5728\u5de5\u7a0b\u6587\u4ef6\u5939\uff08Petalinux\uff09\u7684\u7a7a\u767d\u5904\u53f3\u952e\uff0c\u7136\u540e\u70b9\u9009Open in Terminal \u6253\u5f00\u7ec8\u7aef\u547d\u4ee4\u884c\uff08\u8fd9\u79cd\u65b9\u5f0f\u6253\u5f00\u547d\u4ee4\u884c\u4f1a\u81ea\u52a8\u5b9a\u4f4d\u5230\u5f53\u524d\u6587\u4ef6\u5939\uff09\uff0c\u5f53\u7136\u4e5f\u53ef\u4ee5\u666e\u901a\u65b9\u5f0f\u6253\u5f00\u7ec8\u7aef \uff0c\u518d\u7528CD\u7684\u65b9\u5f0f\u5b9a\u4f4d\u5230\u6b64\u6587\u4ef6\u5939<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"668\" height=\"417\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-188.png\" alt=\"\" class=\"wp-image-1855\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-188.png 668w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-188-300x187.png 300w\" sizes=\"auto, (max-width: 668px) 100vw, 668px\" \/><\/figure>\n\n\n\n<p>b) \u5728\u547d\u4ee4\u884c\u7ec8\u7aef\u4e2d\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\"><img loading=\"lazy\" decoding=\"async\" width=\"585\" height=\"177\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-189.png\" alt=\"\" class=\"wp-image-1857\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-189.png 585w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-189-300x91.png 300w\" sizes=\"auto, (max-width: 585px) 100vw, 585px\" \/><\/figure>\n\n\n\n<p>c \uff09\u5728\u547d\u4ee4\u884c\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4\uff0c\u6765\u521b\u5efa\u4e00\u4e2aPetalinuxSystem\u7684\u5de5\u7a0b \uff08\u5927\u5bb6\u4e5f\u53ef\u4ee5\u6839\u636e\u9700\u6c42\u81ea\u5df1\u6539\u540d\uff09<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">petalinux-create --type project --template zynq --name PetalinuxSystem<\/pre>\n\n\n\n<p>\u6309\u4e0b\u56de\u8f66\u540e \u540d\u4e3aPetalinux_Net_TEST\u7684\u5de5\u7a0b\u4f1a\u88ab\u521b\u5efa\uff0c\u5e76\u4e14\u521a\u624d\u7684\u6587\u4ef6\u5939\u4e0b\u591a\u4e86\u4e00\u4e2a\u5bf9\u5e94\u7684\u5de5\u7a0b\u6587\u4ef6\u5939<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"558\" height=\"352\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-118.png\" alt=\"\" class=\"wp-image-8454\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-118.png 558w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-118-300x189.png 300w\" sizes=\"auto, (max-width: 558px) 100vw, 558px\" \/><\/figure>\n\n\n\n<p>4\uff09 \u590d\u5236hdf\u6587\u4ef6\u5e76\u7c98\u8d34\u5230\u521a\u624d\u521b\u5efa\u7684\u5de5\u7a0b\u6587\u4ef6\u5939\u4e2d \uff08\u672c\u8282\u5de5\u7a0b\u5efa\u7acb\u5728\u4e0a\u4e00\u8282\u7684hdf\u57fa\u7840\u4e0a\uff0c\u53ef\u4ee5\u76f4\u63a5\u4ece\u4e0a\u4e00\u7ae0\u8282\u7684\u5de5\u7a0b\u4e2d\u590d\u5236\uff0c\u4e5f\u53ef\u4ee5\u5728\u672c\u6587\u6700\u540e\u4e0b\u8f7d\u5f97\u5230\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"786\" height=\"234\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-119.png\" alt=\"\" class=\"wp-image-8455\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-119.png 786w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-119-300x89.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-119-768x229.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e8c\u3001\u542f\u52a8Petalinux \u914d\u7f6e\u9875<\/strong><\/h2>\n\n\n\n<p>1\uff09\u5728\u521a\u624d\u7684\u5728\u547d\u4ee4\u884c\u7ec8\u7aef\u4e2d\u8f93\u5165cd \u8fdb\u5165 \u5de5\u7a0b\u6587\u4ef6\u5939\uff08PetalinuxSystem\uff09<strong>&nbsp;\u5907\u6ce8\uff08cd \u7684\u65f6\u5019 \u53ef\u4ee5\u8f93\u5165\u6587\u4ef6\u5939\u7684\u7b2c\u4e00\u4e2a\u5b57\u6bcd\u7136\u540e\u6309tab\u952e\uff0c\u8fd9\u6837\u76f8\u540c\u540d\u79f0\u7684\u6587\u4ef6\u5939\u5c31\u4f1a\u8df3\u51fa\u6765\uff09<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>cd PetalinuxSystem<\/strong><\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"496\" height=\"70\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-120.png\" alt=\"\" class=\"wp-image-8456\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-120.png 496w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-120-300x42.png 300w\" sizes=\"auto, (max-width: 496px) 100vw, 496px\" \/><\/figure>\n\n\n\n<p>\u8fdb\u5165\u6587\u4ef6\u5939\u540e\uff0c\u6309\u4e0b\u4e0b\u5217\u4ee3\u7801\uff0c \u6307\u5b9a\u5bfc\u5165hdf\u7684\u8def\u5f84\uff08\u56e0\u4e3a\u662f\u5f53\u524d\u547d\u4ee4\u884c\u7684\u8def\u5f84\u6240\u4ee5\u8fd9\u91cc \u5e26\u4e00\u4e2a\u201d.\u201d\u5c31\u53ef\u4ee5\u4e86\uff0c\u4e0d\u7136=\u53f7\u540e\u8ddf\u5177\u4f53\u8def\u5f84\uff09 \u5e76\u6309\u4e0b\u56de\u8f66<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">petalinux-config --get-hw-description=.<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"763\" height=\"121\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-121.png\" alt=\"\" class=\"wp-image-8457\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-121.png 763w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-121-300x48.png 300w\" sizes=\"auto, (max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px\" \/><\/figure>\n\n\n\n<p>\u4e4b\u540e\u7cfb\u7edf\u5c06\u542f\u52a8\u914d\u7f6e\u9875<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"733\" height=\"114\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-122.png\" alt=\"\" class=\"wp-image-8458\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-122.png 733w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-122-300x47.png 300w\" sizes=\"auto, (max-width: 733px) 100vw, 733px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"749\" height=\"441\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-123.png\" alt=\"\" class=\"wp-image-8459\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-123.png 749w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-123-300x177.png 300w\" sizes=\"auto, (max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px\" \/><\/figure>\n\n\n\n<p><strong>2\uff09 \u5bf9Petalinux \u8fdb\u884c\u914d\u7f6e<\/strong><\/p>\n\n\n\n<p><strong>a) boot&nbsp;image&nbsp;settings<\/strong><\/p>\n\n\n\n<p>\u7528\u952e\u76d8\u4e0a\u7684\u4e0a\u4e0b\u5de6\u53f3\u952e\u79fb\u52a8\u5149\u6807\uff0c\u9009\u62e9Subsystem AUTO Hardware Settings \u6309\u4e0b\u56de\u8f66\uff08\u6309\u4e24\u4e0bESC\u53ef\u4ee5\u9000\u56de\u4e0a\u4e00\u5c42\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"681\" height=\"340\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-124.png\" alt=\"\" class=\"wp-image-8462\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-124.png 681w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-124-300x150.png 300w\" sizes=\"auto, (max-width: 681px) 100vw, 681px\" \/><\/figure>\n\n\n\n<p>\u9009\u62e9Advanced bootable images storage Settings \uff0c\u6309\u4e0b\u56de\u8f66<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"690\" height=\"352\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-125.png\" alt=\"\" class=\"wp-image-8463\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-125.png 690w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-125-300x153.png 300w\" sizes=\"auto, (max-width: 690px) 100vw, 690px\" \/><\/figure>\n\n\n\n<p>\u9009\u62e9 boot image settings\u9009\u9879 \u56de\u8f66<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"699\" height=\"357\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-126.png\" alt=\"\" class=\"wp-image-8464\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-126.png 699w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-126-300x153.png 300w\" sizes=\"auto, (max-width: 699px) 100vw, 699px\" \/><\/figure>\n\n\n\n<p>\uff08\u8fd9\u4e2a\u754c\u9762\u4e0b\u65b9\u53ef\u4ee5\u9009image\u7684\u540d\u5b57\uff0c\u4fdd\u6301\u9ed8\u8ba4\u5373\u53ef\uff09\u63a5\u7740\u6211\u4eec\u9009\u62e9 image storage media \u56de\u8f66<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"691\" height=\"357\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-127.png\" alt=\"\" class=\"wp-image-8465\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-127.png 691w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-127-300x155.png 300w\" sizes=\"auto, (max-width: 691px) 100vw, 691px\" \/><\/figure>\n\n\n\n<p>\u9009\u62e9 primary sd\u5e76\u6309\u56de\u8f66(\u5982\u679c\u4f60\u5728vivado \u91cc\u8bbe\u7f6e\u4e86nand flash \u7b49\uff0c\u8fd9\u91cc\u5c31\u6709\u591a\u4e2a\u9009\u9879\u53ef\u9009\u4e86)<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"697\" height=\"345\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-128.png\" alt=\"\" class=\"wp-image-8466\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-128.png 697w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-128-300x148.png 300w\" sizes=\"auto, (max-width: 697px) 100vw, 697px\" \/><\/figure>\n\n\n\n<p>\u4e4b\u540e\u8fde\u6309\u4e24\u6b21ESC \u53ef\u4ee5\u8fd4\u56de\u4e0a\u4e00\u7ea7\uff0c \u4e00\u76f4\u8fd4\u56de\uff0c\u76f4\u5230\u56de\u5230\u6700\u521d\u7684\u521d\u59cb\u754c\u9762\u3002<\/p>\n\n\n\n<p><strong>b \uff09kernel image settings<\/strong><\/p>\n\n\n\n<p>\u9009\u62e9Subsystem AUTO Hardware Settings \u6309\u4e0b\u56de\u8f66<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"681\" height=\"340\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-124.png\" alt=\"\" class=\"wp-image-8462\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-124.png 681w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-124-300x150.png 300w\" sizes=\"auto, (max-width: 681px) 100vw, 681px\" \/><\/figure>\n\n\n\n<p>\u9009\u62e9Advanced bootable images storage Settings \uff0c\u6309\u4e0b\u56de\u8f66<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"696\" height=\"337\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/04\/image-75.png\" alt=\"\" class=\"wp-image-9561\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/04\/image-75.png 696w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/04\/image-75-300x145.png 300w\" sizes=\"auto, (max-width: 696px) 100vw, 696px\" \/><\/figure>\n\n\n\n<p>\u9009\u62e9kernel image settings<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"694\" height=\"357\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-129.png\" alt=\"\" class=\"wp-image-8467\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-129.png 694w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-129-300x154.png 300w\" sizes=\"auto, (max-width: 694px) 100vw, 694px\" \/><\/figure>\n\n\n\n<p>\u5982\u679c\u4e0a\u8ff0\u754c\u9762\u4e0d\u662f\u9ed8\u8ba4primary sd\uff0c\u5219\u70b9\u8fdb\u53bb\u4fee\u6539\u6210primary sd\uff0c\u4e4b\u540e\u7528\u591a\u6b21\u53cc\u51fbESC\u7684\u65b9\u5f0f\u56de\u5230\u521d\u59cb\u83dc\u5355\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"692\" height=\"353\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-130.png\" alt=\"\" class=\"wp-image-8468\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-130.png 692w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-130-300x153.png 300w\" sizes=\"auto, (max-width: 692px) 100vw, 692px\" \/><\/figure>\n\n\n\n<p><strong>c ) Root filesystem type \u9009\u62e9\uff08\u6839\u6587\u4ef6\u7cfb\u7edf\uff09<\/strong><\/p>\n\n\n\n<p>\u9009\u62e9Image Packaging Configuration<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"359\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-131.png\" alt=\"\" class=\"wp-image-8469\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-131.png 700w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-131-300x154.png 300w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure>\n\n\n\n<p>\u9009\u62e9 Root filesystem type\uff08\u8fd9\u91cc\u7cfb\u7edf\u53ef\u80fd\u9ed8\u8ba4\u4f1a\u9009\u62e9INITRAMFS\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"694\" height=\"360\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-136.png\" alt=\"\" class=\"wp-image-8474\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-136.png 694w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-136-300x156.png 300w\" sizes=\"auto, (max-width: 694px) 100vw, 694px\" \/><\/figure>\n\n\n\n<p>\u5c06\u7cfb\u7edf\u9ed8\u8ba4\u9009\u62e9\u7684INITRAMFS \u4fee\u6539\u6210 \u6211\u4eec\u9700\u8981\u7684SD card&nbsp;<strong>\uff08\u56e0\u4e3aINITRAMFS\u6587\u4ef6\u7cfb\u7edf\u7684\u6570\u636e\u90fd\u662f\u4e34\u65f6\u7684\uff0c\u65ad\u7535\u4f1a\u6062\u590d\u539f\u6837\uff0c \u4f18\u70b9\u662f\u4e0d\u5bb9\u6613\u88ab\u4fee\u6539\u5e76\u4e14\u64cd\u4f5c\u7b80\u5355\uff0c\u4f46\u662f\u4f7f\u7528\u573a\u666f\u4f1a\u56e0\u6b64\u53d7\u9650\uff0c\u6240\u4ee5\u8fd9\u91cc\u6211\u4eec\u66f4\u6362\u6839\u6587\u4ef6\u7cfb\u7edf\u7c7b\u578b\u4e3aSD card\u7c7b\u578b\uff09<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"723\" height=\"434\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-133.png\" alt=\"\" class=\"wp-image-8471\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-133.png 723w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-133-300x180.png 300w\" sizes=\"auto, (max-width: 723px) 100vw, 723px\" \/><\/figure>\n\n\n\n<p>\u4e4b\u540e\u6309\u591a\u6b21ESC\u56de\u5230\u6839\u83dc\u5355<\/p>\n\n\n\n<p>d\uff09\u8bbe\u7f6e\u7f51\u7edc\u542f\u52a8\u504f\u79fb\u91cf\uff0c\u56e0\u4e3a\u677f\u5b50\u4e0a\u7684DDR\u662f256MB \u7684\uff0c\u800c\u9ed8\u8ba4\u7684\u52a0\u8f7d\u4f4d\u7f6e\u9ed8\u8ba4\u76840x10000000\u5df2\u7ecf\u8d85\u8fc7256M\u7684\u8fb9\u754c\u4e86\uff0c\u6240\u4ee5\u8fd9\u91cc\u9700\u8981\u8c03\u6574\u52a0\u8f7d\u4f4d\u7f6e<\/p>\n\n\n\n<p>\u9009\u62e9u-boot Configuration<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"682\" height=\"397\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-231.png\" alt=\"\" class=\"wp-image-1921\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-231.png 682w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-231-300x175.png 300w\" sizes=\"auto, (max-width: 682px) 100vw, 682px\" \/><\/figure>\n\n\n\n<p>\u9009\u62e9 netboot offset \u9009\u9879 \u6309\u56de\u8f66<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"696\" height=\"413\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-233.png\" alt=\"\" class=\"wp-image-1923\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-233.png 696w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-233-300x178.png 300w\" sizes=\"auto, (max-width: 696px) 100vw, 696px\" \/><\/figure>\n\n\n\n<p>\u4fee\u6539\u4e3a 0x08000000 \u6309OK \u786e\u8ba4 \uff080x08000000\u53ef\u4ee5\u4fee\u6539\u4e3a\u5176\u4ed6\u503c\uff0c\u5b83\u5f71\u54cduboot\u4e2dkernel\u7684\u52a0\u8f7d\u4f4d\u7f6e\uff0c\u4ee5\u4e0d\u4f1a\u8d85\u533a\u540c\u65f6\u4e0d\u4f1a\u8986\u76d6\u5176\u4ed6\u6587\u4ef6\u6570\u636e\u4e3a\u51c6\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"577\" height=\"230\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-234.png\" alt=\"\" class=\"wp-image-1924\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-234.png 577w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-234-300x120.png 300w\" sizes=\"auto, (max-width: 577px) 100vw, 577px\" \/><\/figure>\n\n\n\n<p>\u4e4b\u540e\u6309\u591a\u6b21ESC\u56de\u5230\u6839\u83dc\u5355<\/p>\n\n\n\n<p><strong>d) \u4fdd\u5b58\u914d\u7f6e\u5e76\u9000\u51fa<\/strong><\/p>\n\n\n\n<p>\u4fdd\u5b58\u8bbe\u7f6e \u9009\u62e9save \u5e76\u70b9\u9009ok \u5bf9\u8bbe\u7f6e\u8fdb\u884c\u4fdd\u5b58<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"697\" height=\"363\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-134.png\" alt=\"\" class=\"wp-image-8480\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-134.png 697w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-134-300x156.png 300w\" sizes=\"auto, (max-width: 697px) 100vw, 697px\" \/><\/figure>\n\n\n\n<p>f \uff09\u9000\u51fa \u8bbe\u7f6e\u754c\u9762<\/p>\n\n\n\n<p>\u4e3b\u83dc\u5355\u9009\u62e9EXIT \u9000\u51fa<\/p>\n\n\n\n<p>\u4e4b\u540e \u7cfb\u7edf\u8fdb\u884c\u914d\u7f6e \uff0c\u6b64\u65f6\u7b49\u5f85\u914d\u7f6e\u7ed3\u675f<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"723\" height=\"173\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-212.png\" alt=\"\" class=\"wp-image-1891\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-212.png 723w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-212-300x72.png 300w\" sizes=\"auto, (max-width: 723px) 100vw, 723px\" \/><\/figure>\n\n\n\n<p>\u5907\u6ce8:\u5f53\u7136\u4e0a\u8ff0\u7684\u8bbe\u7f6e\u754c\u9762\u8fd8\u53ef\u4ee5\u6839\u636e\u9700\u6c42\u8bbe\u7f6e\u66f4\u591a\u7684\u5185\u5bb9\uff0c\u5305\u62ecdtb\u7684\u5b58\u653e\u4f4d\u7f6e\uff0cenv\u7684\u5b58\u653e\u4f4d\u7f6e\u7b49\u3002\u5982\u679c\u6709\u591a\u4e32\u53e3 \uff0c\u591a\u7f51\u53e3\u7684\u60c5\u51b5\u4e0b\u8fd8\u53ef\u4ee5\u8bbe\u7f6e\u4e32\u53e3\u53f7\u548c\u7f51\u53e3\u53f7,\u7f51\u7edcMAC\u5730\u5740\u7b49\u5185\u5bb9\u3002\uff08\u8fd9\u91cc\u9ed8\u8ba4env \u662f\u5b58\u653e\u5728flash\u4e0a\uff0c dtb\u662f\u5b58\u653e\u5728boot image \u4e2d\uff09\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e09\u3001\u5bf9kernel \u8fdb\u884c\u914d\u7f6e(\u672c\u4f8b\u53ef\u4ee5\u5ffd\u7565\u6b64\u64cd\u4f5c)<\/strong>  \u4e3b\u8981\u5bf9\u7f51\u7edc\u548cUSB\u7b49\u8fdb\u884c\u914d\u7f6e\uff0c\u8fd9\u91cc\u4e0d\u9700\u8981\u4fee\u6539\uff09<\/h2>\n\n\n\n<p>\u8f93\u5165\u4e0b\u5217\u547d\u4ee4\u8fdb\u5165kernel\u914d\u7f6e\u9875\u9762\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">petalinux-config -c kernel<\/pre>\n\n\n\n<p>\u56e0\u4e3a\u8fd9\u91cc\u6211\u4eecEBAZ4205\u5e76\u6ca1\u6709USB \u529f\u80fd\uff0c\u5e76\u4e14 \u7f51\u7edc\u90e8\u5206\u4e5f\u5e76\u4e0d\u9700\u8981\u4fee\u6539\uff0c\u6240\u4ee5\u8fdb\u5165\u540e\u4fdd\u6301\u9ed8\u8ba4\u8bbe\u7f6e\uff0c\u76f4\u63a5\u6309ESC\u952e\u9000\u51fa\u5373\u53ef<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u56db\u3001\u5bf9U-BOOT\u8fdb\u884c\u914d\u7f6e(\u672c\u4f8b\u53ef\u4ee5\u5ffd\u7565\u6b64\u64cd\u4f5c)<\/strong><\/h2>\n\n\n\n<p>\u8f93\u5165\u4e0b\u5217\u547d\u4ee4\u8fdb\u5165u-boot\u914d\u7f6e\u9875\u9762\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">petalinux-config -c u-boot<\/pre>\n\n\n\n<p>\u56e0\u4e3a\u6211\u4eec\u540c\u6837\u6ca1\u505a\u4efb\u4f55\u4fee\u6539\uff0c\u5982\u679c\u5df2\u7ecf\u8fdb\u5165\u4e86\u76f4\u63a5\u9000\u51fa\u5373\u53ef\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e94\u3001\u6dfb\u52a0\u8bbe\u5907\u6811\u90e8\u5206(\u672c\u4f8b\u53ef\u4ee5\u5ffd\u7565\u6b64\u64cd\u4f5c)<\/strong><\/h2>\n\n\n\n<p>\u5982\u679c\u9700\u8981\u6dfb\u52a0\u8bbe\u5907\u6811\uff0c\u8def\u5f84\u5728 \u6211\u4eec\u521b\u5efa\u7684\u5de5\u7a0b<strong>PetalinuxSystem<\/strong>\u8def\u5f84\u4e0b\u7684 \/project-spec\/meta-user\/recipes-bsp\/device-tree\/files \u5185\u7684 syswentem-user.dtsi\u6587\u4ef6\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"946\" height=\"239\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-135.png\" alt=\"\" class=\"wp-image-8483\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-135.png 946w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-135-300x76.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-135-768x194.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u7f51\u4e0a\u90e8\u5206\u6559\u7a0b\u5728\u8fd9\u91cc\u90fd\u9700\u8981\u6dfb\u52a0\u7f51\u7edc\u90e8\u5206\u7684\u8bbe\u5907\u6811\uff0c\u4f46\u662f\u7ecf\u8fc7\u5b9e\u9645\u8c03\u8bd5\uff0c2018.3\u7684petalinux\u4e0d\u9700\u8981\u81ea\u5df1\u624b\u52a8\u521b\u5efa\u7f51\u7edc\u7684\u8bbe\u5907\u6811\uff0c<strong>\u7cfb\u7edf\u4f1a\u81ea\u52a8\u5e2e\u6211\u4eec\u5728\u8bbe\u5907\u6811\u91cc\u6dfb\u52a0\u7f51\u7edc\uff0c\u800c\u4e0d\u9700\u8981\u624b\u52a8\u6dfb\u52a0<\/strong>\uff08\u5728\u6ca1\u6709\u7f16\u8bd1\u524d\u770b\u4e0d\u5230\u8bbe\u5907\u6811\uff0c\u6574\u4e2a\u5de5\u7a0b\u7f16\u8bd1\u540e\u7cfb\u7edf\u4f1a\u81ea\u52a8\u5728&nbsp;\/components\/plnx_workspace\/device-tree\/device-tree\u4e0b\u7684pcw.dtsi\u6587\u4ef6\u548c\u548czynq-7000.dtsi\u6587\u4ef6\u4e2d\u81ea\u52a8\u6dfb\u52a0\u4e0a\u7f51\u7edc\u90e8\u5206\u7684\u4e2d\u4e3a\u6211\u4eec\u6dfb\u52a0\u7f51\u7edc\u90e8\u5206\u7684\u8bbe\u5907\u6811\u5185\u5bb9\uff09<\/p>\n\n\n\n<p>\u5982\u679c\u6709\u5176\u4ed6\u7684\u5916\u8bbe\u9700\u8981\u6dfb\u52a0\u8fdb\u8bbe\u5907\u6811\uff0c\u5728\u4e0a\u8ff0\u7684syswentem-user.dtsi\u6587\u4ef6\u4e2d\u8fdb\u884c\u589e\u52a0\u5373\u53ef\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u516d\u3001\u7f16\u8bd1\u6574\u4e2a\u5de5\u7a0b<\/strong><\/h2>\n\n\n\n<p>1\uff09 \u56de\u5230\u547d\u4ee4\u884c\u7ec8\u7aef\uff0c\u8f93\u5165\u4ee5\u4e0b\u4ee3\u7801 \u5bf9Petalinux\u8fdb\u884c\u7f16\u8bd1<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">petalinux-build<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"674\" height=\"105\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-9.png\" alt=\"\" class=\"wp-image-3365\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-9.png 674w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-9-300x47.png 300w\" sizes=\"auto, (max-width: 674px) 100vw, 674px\" \/><\/figure>\n\n\n\n<p>\u4e4b\u540e\u53c8\u662f\u6f2b\u957f\u7684\u7b49\u5f85<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"772\" height=\"195\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-15.png\" alt=\"\" class=\"wp-image-2314\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-15.png 772w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-15-300x76.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-15-768x194.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u76f4\u63a5\u5230\u51fa\u73b0\u63d0\u793a successfully built project \u4ee3\u8868\u7f16\u8bd1\u5b8c\u6210\u4e86<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"742\" height=\"430\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-215.png\" alt=\"\" class=\"wp-image-1896\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-215.png 742w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-215-300x174.png 300w\" sizes=\"auto, (max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e03\u3001\u6253\u5305Petalinux\u7cfb\u7edf<\/strong><\/h2>\n\n\n\n<p>\u7f16\u8bd1\u5b8c\u6210\u540e\uff0c\u9879\u76ee\u5de5\u7a0b\u6587\u4ef6\u5939\u4e0b\u4f1a\u6709image\u6587\u4ef6\u5939\uff0c\u6267\u884cpetalinux -package \u547d\u4ee4 \u5c06zynq_fsbl.elf, system_wrapper.bit\uff0cu-boot.elf, image.ub \u56db\u4e2a\u6587\u4ef6\u6253\u5305\u751f\u6210<br>boot.bin \u6587\u4ef6\uff0c\u8fd9\u6761\u547d\u4ee4\u7528\u4e8e\u5728 Petalinux \u73af\u5883\u4e2d\u521b\u5efa\u4e00\u4e2a\u5b8c\u6574\u7684\u5f15\u5bfc\u6620\u50cf\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">petalinux-package --boot --fsbl .\/images\/linux\/zynq_fsbl.elf --u-boot --fpga --kernel --force<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u516b\u3001\u627e\u5230\u6211\u4eec\u7f16\u8bd1\u751f\u6210\u7684\u955c\u50cf\u6587\u4ef6<\/strong><\/h2>\n\n\n\n<p>1\uff09\u6253\u5f00\u5de5\u7a0b\u6587\u4ef6\u5939\u5185\u7f16\u8bd1\u751f\u6210\u7684images\u6587\u4ef6\u5939\u4e0b\u7684linux \u6587\u4ef6\u5939<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"231\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-138-1024x231.png\" alt=\"\" class=\"wp-image-8492\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-138-1024x231.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-138-300x68.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-138-768x173.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-138.png 1033w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>2\uff09\u590d\u5236\u6587\u4ef6 BOOT.bin\u3001image.ub\u3001rootfs.tar.gz \u8fd93\u4e2a\u6587\u4ef6<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"699\" height=\"302\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-139.png\" alt=\"\" class=\"wp-image-8493\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-139.png 699w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2024\/10\/image-139-300x130.png 300w\" sizes=\"auto, (max-width: 699px) 100vw, 699px\" \/><\/figure>\n\n\n\n<p>\u8fd9\u4e09\u4e2a\u6587\u4ef6\u7684\u5177\u4f53\u5185\u5bb9\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><code>boot.bin<\/code><\/strong>\uff1a\u5f15\u5bfc\u52a0\u8f7d\u7a0b\u5e8f\uff0c\u5305\u62ec FSBL\u3001U-Boot \u548c\u53ef\u9009\u7684 FPGA \u914d\u7f6e\u3002<\/li>\n\n\n\n<li><strong><code>image.ub<\/code><\/strong>\uff1a\u5185\u6838\u548c\u8bbe\u5907\u6811\u7684\u6620\u50cf\u6587\u4ef6\u3002<\/li>\n\n\n\n<li><strong><code>rootfs.tar.gz<\/code><\/strong>\uff1a\u538b\u7f29\u7684\u6839\u6587\u4ef6\u7cfb\u7edf\u6620\u50cf\uff0c\u5305\u542b\u7528\u6237\u7a7a\u95f4\u6240\u9700\u7684\u6240\u6709\u6587\u4ef6\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u4e0b\u4e00\u8282\u6211\u4eec\u5c06\u4ecb\u7ecdSD\u5361\u7684\u5206\u533a\u4ee5\u53ca\u6587\u4ef6\u7cfb\u7edf\u7684\u70e7\u5f55\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u672c\u8282\u7684\u4e09\u4e2a\u6587\u4ef6\u4ee5\u53ca\u4e0a\u4e00\u8282\u7684hdf\u6587\u4ef6\u4e0b\u8f7d\uff1a<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u672c\u6587\u7684\u955c\u50cf\u6587\u4ef6\u53cahdf\u6587\u4ef6\u4e0b\u8f7d\uff1a  <a href=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2025\/05\/02_PetaLinuxSystem_images.zip\">02_PetaLinuxSystem_images<\/a><\/strong><\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u5c06\u5728\u4e0a\u4e00\u7ae0hdf\u6587\u4ef6\u7684\u57fa\u7840\u4e0a\u5b8c\u6210\u5b8c\u6574\u7684Petalinux \u5de5\u7a0b\u7684\u521b\u5efa\u53ca\u7f16\u8bd1\u6d41\u7a0b\u3002<\/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-9946","post","type-post","status-publish","format-standard","hentry","category-smart-zynq-spsl"],"views":1206,"_links":{"self":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/9946","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=9946"}],"version-history":[{"count":10,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/9946\/revisions"}],"predecessor-version":[{"id":9959,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/9946\/revisions\/9959"}],"wp:attachment":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/media?parent=9946"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/categories?post=9946"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/tags?post=9946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}