{"id":4249,"date":"2023-05-28T22:41:30","date_gmt":"2023-05-28T14:41:30","guid":{"rendered":"http:\/\/www.hellofpga.com\/?p=4249"},"modified":"2023-06-11T20:49:15","modified_gmt":"2023-06-11T12:49:15","slug":"petalinux_lcd","status":"publish","type":"post","link":"http:\/\/www.hellofpga.com\/index.php\/2023\/05\/28\/petalinux_lcd\/","title":{"rendered":"ZYNQ linux\u5f00\u53d1 \u7ae0\u8282\u5341 Petalinux \u677f\u8f7dLCD \u663e\u793alinux\u547d\u4ee4\u884c\u5b9e\u9a8c\uff08Smart ZYNQ SP\u7248\uff09"},"content":{"rendered":"\n<p>\u672c\u6587\u5c06\u5b9e\u73b0\u5728Petalinux \u4e0b\u8c03\u7528\u6211\u4eec\u7684\u677f\u8f7d1.47\u5bf8320&#215;240 LCD \u5e76\u663e\u793alinux \u7ec8\u7aef\u547d\u4ee4\u884c\u7684\u529f\u80fd\u3002<\/p>\n\n\n\n<p><strong>\uff08\u5907\u6ce8 \u6b64\u7ae0\u8282\u5185\u5bb9\u9002\u7528\u4e8e Smart ZYNQ SP\uff0c\u5982\u679c\u662fSmart ZYNQ \u6807\u51c6\u7248\u8bf7\u770b\u5bf9\u5e94\u677f\u5b50\u76ee\u5f55\uff09<\/strong><\/p>\n\n\n\n<p><strong>\u672c\u5b9e\u9a8c\u662f\u57fa\u4e8evivado 2018.3\u8fdb\u884c\u7684\uff0c\u5982\u679c\u662f\u5176\u4ed6\u7248\u672c\u7684vivado \u8bf7\u81ea\u884c\u5c1d\u8bd5<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">1.\u786c\u4ef6\u4ecb\u7ecd<\/h2>\n\n\n\n<p>LCD \u63a5\u53e3\u5982\u4e0b\u56fe\u6240\u793a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"552\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-87.png\" alt=\"\" class=\"wp-image-2607\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-87.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-87-300x162.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-87-768x414.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>LCD_BLK\uff1aLCD\u80cc\u5149\uff08\u9ed8\u8ba4\u5e38\u4eae\uff09<\/p>\n\n\n\n<p>SPI \u4fe1\u53f7\uff1a CS \u7247\u9009\u4fe1\u53f7 SCL \u65f6\u949f SDA \u6570\u636e<\/p>\n\n\n\n<p>DC \uff1a\u6570\u636e\/\u547d\u4ee4 \u4fe1\u53f7<\/p>\n\n\n\n<p>RES \uff1a \u5c4f\u5e55\u590d\u4f4d \u4fe1\u53f7<\/p>\n\n\n\n<p>\u7ba1\u811a\u5b9a\u4e49\uff1aCS P15 ,D\/C R15 ,SCL N15 ,SDA M15 ,RES L16 ,BLK T16(BLK\u9ed8\u8ba4\u4e0d\u53bb\u63a7\u5236 \u80cc\u5149\u4e5f\u4f1a\u9ed8\u8ba4\u5e38\u4eae\u8f93\u51fa)<\/p>\n\n\n\n<p><strong>\u5f69\u8272\u6db2\u6676\u5c4f\u8d44\u6599\uff08\u5382\u5bb6\u63d0\u4f9b\u7684\u8d44\u6599\uff09 \u5e97\u94fa \u4e2d\u666f\u56ed\u7535\u5b50<\/strong><\/p>\n\n\n\n<p>\u94fe\u63a5\uff1ahttps:\/\/pan.baidu.com\/s\/110uz88iQMA7wl9vdqG9R9A&nbsp; &nbsp; \u63d0\u53d6\u7801\uff1a8888&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5de5\u7a0b\u521b\u5efa<\/h2>\n\n\n\n<p>1\uff09\u6253\u5f00Vivado \u65b0\u5efa\u4e00\u4e2a\u9879\u76ee\uff0c \u65b0\u5efa\u4e00\u4e2aVIVADO \u5de5\u7a0b\uff0c\u6253\u5f00\u8f6f\u4ef6 \u9009\u4e2dCreate Project, \u5982\u4e0b\u56fe\u6240\u793a<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"230\" height=\"136\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/Create-Project.png\" alt=\"\" class=\"wp-image-35\"\/><\/figure>\n\n\n\n<p>2\uff09\u70b9\u51fbNEXT \uff0c\u5728\u51fa\u73b0\u7684\u7b2c\u4e8c\u4e2a\u5bf9\u8bdd\u6846\u201cProject name\u201d\u4e2d\u8f93\u5165\u5de5\u7a0b\u540d\uff1b\u5728\u201cProject location\u201d\u4e2d\u9009\u62e9\u4fdd\u5b58\u8def\u5f84\uff1b\u52fe\u9009\u201cCreate project subdirectory\u201d\uff08\u9ed8\u8ba4\uff09\uff0c\u6700\u540e\u70b9\u51fb\u201cNext\u201d&nbsp;<strong>\u5907\u6ce8\uff0c\u6240\u6709\u7684\u8def\u5f84\u5747\u4e0d\u80fd\u51fa\u73b0\u4e2d\u6587\u540d\u79f0<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"242\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-11-1024x242.png\" alt=\"\" class=\"wp-image-4258\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-11-1024x242.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-11-300x71.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-11-768x181.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-11.png 1140w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>3)\u70b9\u51fb RTL PROJECT \u9009\u9879\uff0c\u70b9\u51fbNEXT<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"681\" height=\"466\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image.png\" alt=\"\" class=\"wp-image-40\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image.png 681w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/07\/image-300x205.png 300w\" sizes=\"auto, (max-width: 681px) 100vw, 681px\" \/><\/figure>\n\n\n\n<p>4\uff09 \u7b2c\u56db\u6b65Add Sources \u9009\u9879\u76f4\u63a5\u7559\u7a7a\uff0cNEXT<\/p>\n\n\n\n<p>5\uff09\u7b2c\u4e94\u6b65Add Constraints \u9009\u9879\u76f4\u63a5\u7559\u7a7a\uff0cNEXT<\/p>\n\n\n\n<p>6\uff09\u9009\u62e9\u82af\u7247\u578b\u53f7&nbsp;<\/p>\n\n\n\n<p>\u677f\u5b50\u7684\u82af\u7247\u578b\u53f7\u4e3a XC7Z020 \u5c01\u88c5\u662fCLG484 \u6240\u4ee5\u578b\u53f7\u6211\u4eec\u9009\u62e9 xc7z020clg484-1<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"846\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/04\/image-3-1024x846.png\" alt=\"\" class=\"wp-image-3800\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/04\/image-3-1024x846.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/04\/image-3-300x248.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/04\/image-3-768x635.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/04\/image-3.png 1165w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>7\uff09\u786e\u8ba4\u6240\u9009\u4fe1\u606f \u70b9\u51fb\u201cFinish\u201d\uff0c\u5b8c\u6210vivado\u7684\u5de5\u7a0b\u521b\u5efa<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"867\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-12-1024x867.png\" alt=\"\" class=\"wp-image-4259\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-12-1024x867.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-12-300x254.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-12-768x650.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-12.png 1153w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u4e4b\u540e \u5de5\u7a0b\u5c31\u65b0\u5efa\u597d\u4e86\uff0c vivado \u8fdb\u5165\u5230\u5f00\u53d1\u754c\u9762<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"738\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-172-1024x738.png\" alt=\"\" class=\"wp-image-1829\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-172-1024x738.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-172-300x216.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-172-768x553.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-172.png 1285w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>8) \u521b\u5efa\u4e00\u4e2aBLOCK\u8bbe\u8ba1<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"865\" height=\"401\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-13.png\" alt=\"\" class=\"wp-image-4260\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-13.png 865w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-13-300x139.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-13-768x356.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u6dfb\u52a0ZYNQ7 PROCESSING SYSTEM\u6a21\u5757\uff0c\u8f6f\u4ef6\u81ea\u52a8\u751f\u6210\u4e86\u4e00\u4e2a zynq\u7684block \u5982\u4e0b\u56fe\u6240\u793a\uff0c\u63a5\u4e0b\u6765\u8981\u505a\u4e00\u4e9b\u76f8\u5e94\u7684\u8bbe\u7f6e\uff0c\u53cc\u51fb\u4e0b\u56fe\u4e2d\u7684ZYNQ\u6838<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-14.png\" alt=\"\" class=\"wp-image-4261\" width=\"471\" height=\"234\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-14.png 661w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-14-300x149.png 300w\" sizes=\"auto, (max-width: 471px) 100vw, 471px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-3.png\" alt=\"\" width=\"445\" height=\"234\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>9\uff09\u53cc\u51fbZYNQ \u6a21\u5757\uff0c\u5e76\u5728zynq\u4e2d\u8bbe\u7f6eDDR\u529f\u80fd\uff1a<\/p>\n\n\n\n<p>\u4f9d\u6b21\u5728\u5f39\u7a97\u91cc\u627e\u5230DDR Configuration\u2192DDR Controller Configuration\u2192DDR3\uff0c\u5728Memory Part\u4e0b\u62c9\u83dc\u5355\u4e2d\u6839\u636e\u81ea\u5df1\u677f\u5b50\u4e0a\u7684DDR\u6765\u9009\u62e9\u76f8\u5e94\u7684DDR3\uff0c\u672c\u5b9e\u9a8c\u6240\u7528\u5230\u578b\u53f7\uff1aMT41K256M16RE-125\uff0c\u6570\u636e\u4f4d\u5bbd\u9009\u62e916bit \u6700\u540e\u70b9\u51fb\u201cOK\u201d,\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"788\" height=\"453\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-70.png\" alt=\"\" class=\"wp-image-2527\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-70.png 788w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-70-300x172.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/01\/image-70-768x442.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>10) linux \u9700\u8981\u901a\u8fc7\u4e32\u53e3\u6765\u8fdb\u884c\u547d\u4ee4\u884c\u7684\u8f93\u5165\u8f93\u51fa\uff0c\u6240\u4ee5\u8fd9\u91cc\u989d\u5916\u5728ZYNQ\u6838\u5fc3\u4e2d\u589e\u52a0\u4e32\u53e3\u529f\u80fd<strong>\uff08\u9009\u62e9EMIO\u65b9\u5f0f\uff09<\/strong><\/p>\n\n\n\n<p>\u7531\u539f\u7406\u56fe\u53ef\u77e5\uff0c \u4e3b\u677f\u7684UART\u529f\u80fd\u63a5\u5728 ZYNQ PL\u7aef\u7684 L17\u811a\u548cM17\u811a\u4e86\uff0c\u5373 ZYNQ\u7684TX\u662f \u8fde\u63a5L17\uff0cZYNQ\u7684RX\u662f\u8fde\u63a5M17&nbsp;<strong>(\u5907\u6ce8 V1.0\u677f\u5b50\u4e0a\u7684\u4e1d\u5370 TX \u548c RX\u6807\u53cd\u4e86\uff0c\u4ee5\u539f\u7406\u56fe\u4e3a\u51c6)<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"181\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/04\/image-44-1024x181.png\" alt=\"\" class=\"wp-image-4052\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/04\/image-44-1024x181.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/04\/image-44-300x53.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/04\/image-44-768x135.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/04\/image-44.png 1298w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u4f7f\u80fdUART 0 \u5e76\u5728IO\u9009\u9879\u91cc\u9009\u62e9EMIO\u65b9\u5f0f<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"664\" height=\"210\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-118.png\" alt=\"\" class=\"wp-image-1339\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-118.png 664w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-118-300x95.png 300w\" sizes=\"auto, (max-width: 664px) 100vw, 664px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>11) \u56e0\u4e3a\u672c\u5de5\u7a0b\u8981\u7528\u5230TF\u6765\u8fdb\u884c\u542f\u52a8\uff0c\u6240\u4ee5\u8fd9\u91cc\u4f7f\u80fdSD\u529f\u80fd<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"711\" height=\"283\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-15.png\" alt=\"\" class=\"wp-image-4264\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-15.png 711w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-15-300x119.png 300w\" sizes=\"auto, (max-width: 711px) 100vw, 711px\" \/><\/figure>\n\n\n\n<p>12)\u56e0\u4e3a\u6211\u4eec\u7684\u5c4f\u5e55\u662fSPI\u7684\u5c4f\uff0c\u6240\u4ee5\u5728ZYNQ\u4e2d\u914d\u7f6eSPI\u529f\u80fd<\/p>\n\n\n\n<p>\u56e0\u4e3a\u5c4f\u5e55\u7684\u63a5\u53e3\u662f\u8fde\u63a5\u5230ZYNQ\u7684PL\u53e3\u4e0a\uff0c\u6240\u4ee5\u8fd9\u91cc\u6211\u4eec\u8c03\u7528EMIO\u7684SPI\u529f\u80fd\uff08\u5373\u4f7f\u7528PS\u7684SPI\u529f\u80fd\uff0c\u4f46\u662f\u5185\u90e8\u8fde\u63a5\u6620\u5c04\u5230PL\u7684GPIO\u53e3\u4e0a\uff09<\/p>\n\n\n\n<p>&nbsp;MIO Configuration\u2192SPI 0\u52fe\u4e0a \u5e76\u9009\u62e9EMIO<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"787\" height=\"564\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-60.png\" alt=\"\" class=\"wp-image-313\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-60.png 787w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-60-300x215.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-60-768x550.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>13\uff09\u7531\u4e8e\u5c4f\u5e55\u7684\u9a71\u52a8\u9664\u4e86SPI\u5916\uff0c\u8fd8\u9700\u89813\u4e2a\u989d\u5916\u7684GPIO\u53e3\u6765\u5206\u522b\u63a7\u5236\u590d\u4f4dRES\uff0cD\/C\u4fe1\u53f7\uff0c\u548cBLK\u4fe1\u53f7\uff0c\u6240\u4ee5\u8fd9\u91cc\u589e\u52a0\u4e09\u4e2aGPIO\u53e3\uff0c\u8fd9\u91ccGPIO\u8d44\u6e90\u9009\u62e9EMIO GPIO \u4f4d\u5bbdWidth\u9009\u62e93\uff08\u56e0\u4e3a\u662f3\u4e2aIO\u53e3\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"506\" height=\"157\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/04\/image-27.png\" alt=\"\" class=\"wp-image-3883\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/04\/image-27.png 506w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/04\/image-27-300x93.png 300w\" sizes=\"auto, (max-width: 506px) 100vw, 506px\" \/><\/figure>\n\n\n\n<p>14\uff09\u56e0\u4e3a\u5de5\u7a0b\u6682\u65f6\u7528\u4e0d\u5230 AXI\u529f\u80fd\uff0c\u6240\u4ee5\u53ef\u4ee5\u5148\u7981\u7528AXI\u529f\u80fd<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"696\" height=\"282\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-131.png\" alt=\"\" class=\"wp-image-1377\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-131.png 696w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/10\/image-131-300x122.png 300w\" sizes=\"auto, (max-width: 696px) 100vw, 696px\" \/><\/figure>\n\n\n\n<p>15\uff09\u5b8c\u6210\u4e0a\u8ff0\u64cd\u4f5c\u540e\uff0c \u70b9\u51fb\u201cRun Block Automation\u201d\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"559\" height=\"263\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-65.png\" alt=\"\" class=\"wp-image-3488\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-65.png 559w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-65-300x141.png 300w\" sizes=\"auto, (max-width: 559px) 100vw, 559px\" \/><\/figure>\n\n\n\n<p>\u5728\u4e0a\u56fe\u4e2d\u5206\u522b\u70b9\u51fbIO\u53e3\u8fdb\u884c\u4ee5\u4e0b\u64cd\u4f5c\uff1a<\/p>\n\n\n\n<p>\u53f3\u952eGPIO_0\u9009\u62e9Make External<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"597\" height=\"368\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-67.png\" alt=\"\" class=\"wp-image-3490\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-67.png 597w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-67-300x185.png 300w\" sizes=\"auto, (max-width: 597px) 100vw, 597px\" \/><\/figure>\n\n\n\n<p>\u53f3\u952eSPI_0 \u9009\u62e9Make External<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"714\" height=\"413\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-66.png\" alt=\"\" class=\"wp-image-3489\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-66.png 714w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-66-300x174.png 300w\" sizes=\"auto, (max-width: 714px) 100vw, 714px\" \/><\/figure>\n\n\n\n<p>\u53f3\u952eUART_0 \u9009\u62e9Make External<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"724\" height=\"227\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-17.png\" alt=\"\" class=\"wp-image-4266\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-17.png 724w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-17-300x94.png 300w\" sizes=\"auto, (max-width: 724px) 100vw, 724px\" \/><\/figure>\n\n\n\n<p>\u5f97\u5230\u4e0b\u56fe\u6240\u793a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"870\" height=\"464\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-18.png\" alt=\"\" class=\"wp-image-4267\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-18.png 870w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-18-300x160.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-18-768x410.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>16\uff09\u521b\u5efa\u786c\u4ef6\u63cf\u8ff0\uff0csource\u2192Design Source \uff0c\u53f3\u952e\u6211\u4eec\u521b\u5efa\u7684BLOCK\u5de5\u7a0b\uff0c\u70b9\u51fbcreate HDL wrapper\u5982\u4e0b\u56fe\u6240\u793a\uff08\u8fd9\u4e00\u6b65\u7684\u4f5c\u7528\u76f8\u5f53\u4e8e\u5c06\u56fe\u7eb8\u8f6c\u6362\u6210\u5bf9\u5e94\u7684\u786c\u4ef6\u63cf\u8ff0\u8bed\u8a00\u7684\u529f\u80fd\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"404\" height=\"186\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-69.png\" alt=\"\" class=\"wp-image-3493\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-69.png 404w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-69-300x138.png 300w\" sizes=\"auto, (max-width: 404px) 100vw, 404px\" \/><\/figure>\n\n\n\n<p>\u8fd9\u65f6\u5019\u6211\u4eec\u53ef\u4ee5\u770b\u5230\u8f6f\u4ef6\u7684TOP\u5c42 \u7684verilog\u6587\u4ef6,\u6253\u5f00\u540e\u89c2\u5bdf\u7ba1\u811a\u4fe1\u53f7,\u5982\u4e0b\u56fe<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"323\" height=\"166\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-70.png\" alt=\"\" class=\"wp-image-3494\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-70.png 323w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-70-300x154.png 300w\" sizes=\"auto, (max-width: 323px) 100vw, 323px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"257\" height=\"244\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-66.png\" alt=\"\" class=\"wp-image-320\"\/><figcaption class=\"wp-element-caption\">]<\/figcaption><\/figure>\n\n\n\n<p>\u5708\u5185\u7684\u51e0\u4e2a\u7ba1\u811a\u662f\u6211\u4eec\u4e4b\u524d\u5b9a\u4e49\u7684SPI \u7ba1\u811a,\u548cGPIO\u7ba1\u811a, \u5176\u4e2d<\/p>\n\n\n\n<p>\u5176\u4e2dspi_0_io0\u4e3a SPI\u7684MISO\u4fe1\u53f7, spi_0_io1_io \u4e3aMOSI\u4fe1\u53f7 ,SCK \u4e3aSPI\u65f6\u949f\u4fe1\u53f7, SS,SS1,SS2\u5206\u522b\u4e3a\u4e09\u7ec4SPI \u7684CS\u4fe1\u53f7<\/p>\n\n\n\n<p>GPIO_0_0\u4e3a\u521a\u624d\u5b9a\u4e49\u7684\u4e09\u4e2aGPIO ( \u590d\u4f4d \u548cD\/C\uff0c\u548cBLK)<\/p>\n\n\n\n<p>17) \u56e0\u4e3a\u6211\u4eec\u7684\u5c4f\u5e55\u53ea\u7528\u5230\u4e86\u4e00\u7ec4CS \uff0c\u6240\u4ee5\u6211\u4eec\u5220\u9664\u591a\u4f59\u7684CS<\/p>\n\n\n\n<p>\u5c4f\u5e55\u5b9e\u9645\u53ea\u7528\u5230\u4e86 SPI\u7684\u6570\u636eSDA\u548c\u65f6\u949fSCL\u548cCS\u4e09\u4e2a\u4fe1\u53f7, \u6240\u4ee5SPI \u6211\u4eec\u53ea\u9700\u8981\u5f15\u51fa MOSI (SDA) \u548c SCK(SCL)\uff0c\u548cCS(SS)\u5373\u53ef<\/p>\n\n\n\n<p>\u5220\u9664\u5982\u4e0b\u6846\u56fe\u4e2d\u7684\u4fe1\u53f7\u7684\u4f4d\u7f6e<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"339\" height=\"177\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/04\/image-2.png\" alt=\"\" class=\"wp-image-629\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/04\/image-2.png 339w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/04\/image-2-300x157.png 300w\" sizes=\"auto, (max-width: 339px) 100vw, 339px\" \/><\/figure>\n\n\n\n<p>\u540c\u6837\u4e5f\u9700\u8981\u5220\u9664\u5185\u90e8 buf(\u5426\u5219 \u5916\u90e8\u7ba1\u811a\u4e0d\u8c03\u7528\u4f1a\u62a5\u9519)<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"323\" height=\"347\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/04\/image-4.png\" alt=\"\" class=\"wp-image-631\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/04\/image-4.png 323w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/04\/image-4-279x300.png 279w\" sizes=\"auto, (max-width: 323px) 100vw, 323px\" \/><\/figure>\n\n\n\n<p>18) \u70b9\u51fb\u7eff\u8272\u7bad\u5934RUN \u5bf9\u4ee3\u7801\u8fdb\u884c\u7f16\u8bd1<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"276\" height=\"91\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-71.png\" alt=\"\" class=\"wp-image-3495\"\/><\/figure>\n\n\n\n<p>19) \u70b9\u51fbRTL \u4e2d\u7684SCHEMATIC , \u5e76\u9009\u62e9\u53f3\u8fb9\u51fa\u73b0\u7684 IO Ports \u6765\u589e\u52a0SPI\u7684\u7ba1\u811a\u5b9a\u4e49(\u8fd9\u4e00\u6b65\u4e5f\u53ef\u4ee5\u5728\u7ea6\u675f\u6587\u4ef6\u4e2d\u5b9a\u4e49, \u53ef\u770b\u4e4b\u524d\u7684\u4f8b\u5b50)<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"411\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-69-1024x411.png\" alt=\"\" class=\"wp-image-324\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-69-1024x411.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-69-300x120.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-69-768x308.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-69.png 1436w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u4fee\u6539GPIO \u7ba1\u811a\u5b9a\u4e49 \u548cSPI\u7ba1\u811a\u5b9a\u4e49,\u5982\u4e0b\u56fe\u6240\u793a ,\u4fee\u6539\u540e\u4fdd\u5b58(\u5982\u5f39\u51fa \u7a97\u53e3\u9700\u8981,\u5219\u5728\u7a97\u53e3\u4e2d\u8f93\u5165\u7ea6\u675f\u6587\u4ef6\u540d,\u7136\u540e\u4fdd\u5b58)<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"294\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-19-1024x294.png\" alt=\"\" class=\"wp-image-4271\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-19-1024x294.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-19-300x86.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-19-768x220.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-19.png 1339w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>CS P15 ,D\/C R15 ,SCL N15 ,SDA M15 ,RES L16 ,BLK T16, RXD M17,TXD L17<\/p>\n\n\n\n<p>20) \u751f\u6210bit\u6587\u4ef6 :\u6309\u4e0bGenerate Bitstream \u5b8c\u6210\u7efc\u5408\u4ee5\u53ca\u751f\u6210bit\u6587\u4ef6<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"303\" height=\"203\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-18.png\" alt=\"\" class=\"wp-image-204\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-18.png 303w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-18-300x201.png 300w\" sizes=\"auto, (max-width: 303px) 100vw, 303px\" \/><\/figure>\n\n\n\n<p>21\uff09File\u2192Export\u2192Export hardware\u2026\u5728\u5f39\u51fa\u7684\u5bf9\u8bdd\u6846\u4e2d\u52fe\u9009\u201cinclude bitstream\u201d\uff0c\u70b9\u51fb\u201cOK\u201d\u786e\u8ba4\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"462\" height=\"541\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-20.png\" alt=\"\" class=\"wp-image-207\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-20.png 462w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-20-256x300.png 256w\" sizes=\"auto, (max-width: 462px) 100vw, 462px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"332\" height=\"252\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-24.png\" alt=\"\" class=\"wp-image-211\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-24.png 332w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-24-300x228.png 300w\" sizes=\"auto, (max-width: 332px) 100vw, 332px\" \/><\/figure>\n\n\n\n<p>13\uff09File\u2192Lauch SDK\uff0c\u5728\u5f39\u51fa\u7684\u5bf9\u8bdd\u6846\u4e2d\uff0c\u4fdd\u5b58\u9ed8\u8ba4\uff0c\u70b9\u51fb\u201cOK\u201d\uff0c\u5982\u4e0b\u56fe\u6240\u793a\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"361\" height=\"285\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-21.png\" alt=\"\" class=\"wp-image-212\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-21.png 361w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2021\/08\/image-21-300x237.png 300w\" sizes=\"auto, (max-width: 361px) 100vw, 361px\" \/><\/figure>\n\n\n\n<p>\u7cfb\u7edf\u5c06\u81ea\u52a8\u6253\u5f00SDK\u5f00\u53d1\u73af\u5883<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"975\" height=\"688\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-73.png\" alt=\"\" class=\"wp-image-3497\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-73.png 975w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-73-300x212.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-73-768x542.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u5176\u4e2dSDK\u5de5\u7a0b\u4e0b\u7684 \u4e0b\u56fehdf\u6587\u4ef6\u5c31\u662f\u6211\u4eec\u9700\u8981\u7684\u7cfb\u7edf\u786c\u4ef6\u63cf\u8ff0\u6587\u4ef6\uff0c\u8fd9\u4e2a\u9700\u8981\u4ea4\u7ed9petalinux \u8fdb\u884c\u4ea4\u53c9\u7f16\u8bd1\u7528\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"286\" height=\"381\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-181.png\" alt=\"\" class=\"wp-image-1845\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-181.png 286w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-181-225x300.png 225w\" sizes=\"auto, (max-width: 286px) 100vw, 286px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">PetaLinux \u5de5\u7a0b\u521b\u5efa<\/h2>\n\n\n\n<p>1\uff09\u6253\u5f00\u865a\u62df\u673a\u4e0b\u7684 Ubuntu\u7cfb\u7edf\uff0c\u6253\u5f00\u547d\u4ee4\u884c<\/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\"><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>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\u524d\u4e24\u4e2a\u7ae0\u8282\u5df2\u7ecf\u521b\u5efa\u4e86\uff09\uff0c\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>3\uff09 \u521b\u5efaPetalinux \u5de5\u7a0b<\/p>\n\n\n\n<p>\u5728\u5de5\u7a0b\u6587\u4ef6\u5939\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><strong>(\u5907\u6ce8 \u5982\u679c\u7528\u6b64\u65b9\u6cd5\uff0c\u5fc5\u987b\u91cd\u65b0\u5728\u8fd9\u4e2a\u65b0\u6253\u5f00\u7684\u547d\u4ee4\u884c\u4e2d\u5bf9petalinux \u5f00\u53d1\u73af\u5883\u8fdb\u884c\u9884\u52a0\u8f7d\uff0c\u5426\u5219\u540e\u9762\u4f1a\u5931\u8d25\uff0c\u6bcf\u6b21\u6253\u5f00\u65b0\u7684\u547d\u4ee4\u884c\u90fd\u9700\u8981\u6267\u884c\u8fd9\u4e2a\u547d\u4ee4)<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">source \/opt\/pkg\/petalinux\/2018.3\/settings.sh<\/pre>\n\n\n\n<p>\u5728\u547d\u4ee4\u884c\u8f93\u5165\uff0c\u6765\u521b\u5efa\u4e00\u4e2aPetalinux_Net_TEST\u7684\u5de5\u7a0b<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">petalinux-create --type project --template zynq --name Petalinux_LCD_Terminal<\/pre>\n\n\n\n<p>\u6309\u4e0b\u56de\u8f66\u540e \u540d\u4e3aPetalinux_LCD_Terminal\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 size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"326\" height=\"179\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-74.png\" alt=\"\" class=\"wp-image-3499\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-74.png 326w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-74-300x165.png 300w\" sizes=\"auto, (max-width: 326px) 100vw, 326px\" \/><\/figure>\n\n\n\n<p>\u4e3a\u4e86\u65b9\u4fbf\u4ee5\u540e\u7684\u5de5\u7a0b\u7ba1\u7406\uff0c\u6211\u4eec\u5c06\u521a\u624d\u751f\u6210\u7684system.hdf \u4e5f\u62d6\u5230Petalinux_USB_HOST_TEST\u6587\u4ef6\u5939\u4e2d<\/p>\n\n\n\n<p>4\uff09 \u590d\u5236hdf\u6587\u4ef6\u5230\u521a\u624d\u521b\u5efa\u7684\u5de5\u7a0b\u6587\u4ef6\u5939\u4e2d<\/p>\n\n\n\n<p>\u5728\u56fe\u5f62\u754c\u9762\u4e0b\u53cc\u51fb\u6253\u5f00\u8fd9\u4e2aPetalinux \u6587\u4ef6\u5939<\/p>\n\n\n\n<p>\u6253\u5f00\u521a\u624dSDK\u7684\u8f6f\u4ef6\u754c\u9762\uff0c \u53f3\u952ehdf\u6587\u4ef6\uff0c\u9009\u62e9copy \u590d\u5236<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"383\" height=\"476\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-184.png\" alt=\"\" class=\"wp-image-1851\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-184.png 383w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-184-241x300.png 241w\" sizes=\"auto, (max-width: 383px) 100vw, 383px\" \/><\/figure>\n\n\n\n<p>\u7136\u540e\u5728\u56fe\u5f62\u754c\u9762\u6253\u5f00 Ubuntu \u7684Petalinux \u6587\u4ef6\u5939\u4e0b\u7684Petalinux_Net_TEST\u6587\u4ef6\u5939\u5185\uff0c \u53f3\u952e\u7a7a\u767d\u5904 \u70b9\u9009Paste (\u7c98\u8d34)<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"623\" height=\"194\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-75.png\" alt=\"\" class=\"wp-image-3500\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-75.png 623w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-75-300x93.png 300w\" sizes=\"auto, (max-width: 623px) 100vw, 623px\" \/><\/figure>\n\n\n\n<p>5\uff09\u8bbe\u7f6e\u8def\u5f84\u5e76\u542f\u52a8Petalinux \u914d\u7f6e\u9875<\/p>\n\n\n\n<p>\u5728\u521a\u624d\u7684\u754c\u9762\u4e0b\u5148CD\u8fdb\u5165 \u5de5\u7a0b\u6587\u4ef6\u5939\uff08Petalinux_LCD_Terminal\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\">cd Petalinux_LCD_Terminal<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"573\" height=\"107\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-76.png\" alt=\"\" class=\"wp-image-3503\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-76.png 573w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-76-300x56.png 300w\" sizes=\"auto, (max-width: 573px) 100vw, 573px\" \/><\/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=\"724\" height=\"94\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/12\/image-85.png\" alt=\"\" class=\"wp-image-2209\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/12\/image-85.png 724w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/12\/image-85-300x39.png 300w\" sizes=\"auto, (max-width: 724px) 100vw, 724px\" \/><\/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=\"739\" height=\"126\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-196.png\" alt=\"\" class=\"wp-image-1867\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-196.png 739w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-196-300x51.png 300w\" sizes=\"auto, (max-width: 739px) 100vw, 739px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"710\" height=\"424\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-197.png\" alt=\"\" class=\"wp-image-1868\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-197.png 710w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-197-300x179.png 300w\" sizes=\"auto, (max-width: 710px) 100vw, 710px\" \/><\/figure>\n\n\n\n<p>6\uff09 \u5bf9Petalinux \u8fdb\u884c\u914d\u7f6e \uff08<strong>\u5927\u90e8\u5206\u5185\u5bb9\u548c\u4e4b\u524d\u8bbe\u7f6e\u76f8\u540c\uff0c\u5176\u5b9e\u5982\u679cvivado\u6309\u7167\u6211\u7684\u8bbe\u7f6e\u7684\u8bdd\uff0c\u8fd9\u91cc\u5f88\u591a\u9009\u9879\u90fd\u662f\u9ed8\u8ba4\u4e0d\u7528\u4fee\u6539\u7684\uff09<\/strong><\/p>\n\n\n\n<p>a) \u4fee\u6539\u542f\u52a8\u9879<\/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=\"715\" height=\"405\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-198.png\" alt=\"\" class=\"wp-image-1870\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-198.png 715w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-198-300x170.png 300w\" sizes=\"auto, (max-width: 715px) 100vw, 715px\" \/><\/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=\"703\" height=\"415\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-199.png\" alt=\"\" class=\"wp-image-1871\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-199.png 703w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-199-300x177.png 300w\" sizes=\"auto, (max-width: 703px) 100vw, 703px\" \/><\/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=\"730\" height=\"438\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-200.png\" alt=\"\" class=\"wp-image-1873\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-200.png 730w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-200-300x180.png 300w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p>\u9009\u62e9 image storage media \u56de\u8f66<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"688\" height=\"408\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/12\/image-87.png\" alt=\"\" class=\"wp-image-2211\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/12\/image-87.png 688w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/12\/image-87-300x178.png 300w\" sizes=\"auto, (max-width: 688px) 100vw, 688px\" \/><\/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=\"649\" height=\"314\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/12\/image-88.png\" alt=\"\" class=\"wp-image-2212\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/12\/image-88.png 649w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/12\/image-88-300x145.png 300w\" sizes=\"auto, (max-width: 649px) 100vw, 649px\" \/><\/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<\/p>\n\n\n\n<p>b \uff09\u540c\u7406 \u5bf9kernel image settings \u4e5f\u8fdb\u884c\u8bbe\u7f6e ,Subsystem AUTO Hardware Settings \u6309\u4e0b\u56de\u8f66<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"715\" height=\"405\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-198.png\" alt=\"\" class=\"wp-image-1870\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-198.png 715w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-198-300x170.png 300w\" sizes=\"auto, (max-width: 715px) 100vw, 715px\" \/><\/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=\"703\" height=\"415\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-199.png\" alt=\"\" class=\"wp-image-1871\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-199.png 703w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-199-300x177.png 300w\" sizes=\"auto, (max-width: 703px) 100vw, 703px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"639\" height=\"409\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/12\/image-89.png\" alt=\"\" class=\"wp-image-2213\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/12\/image-89.png 639w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/12\/image-89-300x192.png 300w\" sizes=\"auto, (max-width: 639px) 100vw, 639px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"671\" height=\"348\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/12\/image-90.png\" alt=\"\" class=\"wp-image-2214\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/12\/image-90.png 671w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/12\/image-90-300x156.png 300w\" sizes=\"auto, (max-width: 671px) 100vw, 671px\" \/><\/figure>\n\n\n\n<p>\u4e4b\u540e\u7528\u591a\u6b21\u53cc\u51fbESC\u7684\u65b9\u5f0f\u56de\u5230\u521d\u59cb\u83dc\u5355<\/p>\n\n\n\n<p>c\uff09 root \u6587\u4ef6\u7cfb\u7edf \u7c7b\u578b\u9009\u62e9<\/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=\"727\" height=\"434\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-206.png\" alt=\"\" class=\"wp-image-1882\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-206.png 727w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-206-300x179.png 300w\" sizes=\"auto, (max-width: 727px) 100vw, 727px\" \/><\/figure>\n\n\n\n<p>\u9009\u62e9 Root filesystem type<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"736\" height=\"431\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-207.png\" alt=\"\" class=\"wp-image-1883\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-207.png 736w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-207-300x176.png 300w\" sizes=\"auto, (max-width: 736px) 100vw, 736px\" \/><\/figure>\n\n\n\n<p>\u9009\u62e9 INITRAMFS\uff08\u8fd9\u91cc\u4e0d\u8981\u56e0\u4e3a\u662fTF\u542f\u52a8\u5c31\u9009\u62e9SD CARD\uff0c\u5426\u5219\u9700\u8981\u6784\u5efa\u6839\u6587\u4ef6\u7cfb\u7edf\uff0c\u8fd9\u4e2a\u6709\u65f6\u95f4\u540e\u9762\u7ae0\u8282\u518d\u5199\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"722\" height=\"435\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-208.png\" alt=\"\" class=\"wp-image-1884\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-208.png 722w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-208-300x181.png 300w\" sizes=\"auto, (max-width: 722px) 100vw, 722px\" \/><\/figure>\n\n\n\n<p>\u4e4b\u540e\u6309\u591a\u6b21ESC\u56de\u5230\u6839\u83dc\u5355<\/p>\n\n\n\n<p>d\uff09\u56e0\u4e3a\u677f\u5b50\u4e0a\u7684DDR\u662f512MB \u7684\uff0c\u6240\u4ee5\u8fd9\u91ccnet boot offset\u52a0\u8f7d\u4f4d\u7f6e\u4fdd\u7559\u9ed8\u8ba4\u5c31\u597d<\/p>\n\n\n\n<p>f)\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=\"702\" height=\"418\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-209.png\" alt=\"\" class=\"wp-image-1886\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-209.png 702w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-209-300x179.png 300w\" sizes=\"auto, (max-width: 702px) 100vw, 702px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"723\" height=\"423\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-79.png\" alt=\"\" class=\"wp-image-3510\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-79.png 723w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-79-300x176.png 300w\" sizes=\"auto, (max-width: 723px) 100vw, 723px\" \/><\/figure>\n\n\n\n<p>\u9000\u51fa \u8bbe\u7f6e\u754c\u9762<\/p>\n\n\n\n<p>\u4e3b\u83dc\u5355\u9009\u62e9EXIT \u9000\u51fa<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"735\" height=\"456\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-211.png\" alt=\"\" class=\"wp-image-1890\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-211.png 735w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/11\/image-211-300x186.png 300w\" sizes=\"auto, (max-width: 735px) 100vw, 735px\" \/><\/figure>\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<h2 class=\"wp-block-heading\"><strong>\u914d\u7f6eKernel \u589e\u52a0 <\/strong>LCD \u9a71\u52a8\u90e8\u5206<\/h2>\n\n\n\n<p><strong>\u8f93\u5165\u4ee5\u4e0b\u547d\u4ee4 \u5bf9\u5185\u6838\u8fdb\u884c\u914d\u7f6e<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">petalinux-config -c kernel<\/pre>\n\n\n\n<p>\u9009\u62e9 Device Drivers<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"456\" height=\"314\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-80.png\" alt=\"\" class=\"wp-image-3511\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-80.png 456w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-80-300x207.png 300w\" sizes=\"auto, (max-width: 456px) 100vw, 456px\" \/><\/figure>\n\n\n\n<p>\u9009\u4e2d Staging drivers\u5e76\u4e14\u6309\u4e0b \u952e\u76d8\u4e0a\u7684Y\u952e\uff0c\u5bf9Staging drivers\u8fdb\u884c\u4f7f\u80fd\uff0c\u5e76\u6309\u4e0b\u56de\u8f66\u952e\u8fdb\u5165<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"606\" height=\"343\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-82.png\" alt=\"\" class=\"wp-image-3514\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-82.png 606w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-82-300x170.png 300w\" sizes=\"auto, (max-width: 606px) 100vw, 606px\" \/><\/figure>\n\n\n\n<p>\u9009\u4e2d Support for small TFT LCD display modules \u7136\u540e\u6309\u4e0b\u952e\u76d8\u4e0a\u7684Y \u8fdb\u884c\u4f7f\u80fd\uff0c\u5e76\u6309\u56de\u8f66\u952e\u8fdb\u5165<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"699\" height=\"409\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-83.png\" alt=\"\" class=\"wp-image-3516\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-83.png 699w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-83-300x176.png 300w\" sizes=\"auto, (max-width: 699px) 100vw, 699px\" \/><\/figure>\n\n\n\n<p>\u9009\u4e2dFB driver for the ST7789V LCD Controller\uff0c\u5e76\u6309\u4e0b\u952e\u76d8\u4e0a\u7684Y\u952e\u8fdb\u884c\u4f7f\u80fd<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"694\" height=\"410\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-84.png\" alt=\"\" class=\"wp-image-3517\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-84.png 694w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-84-300x177.png 300w\" sizes=\"auto, (max-width: 694px) 100vw, 694px\" \/><\/figure>\n\n\n\n<p>\u7528\u9f20\u6807\u53f3\u952e\u79fb\u52a8\u5230save\u4e0a\uff0c\u5bf9\u8bbe\u7f6e\u8fdb\u884c\u4fdd\u5b58<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"686\" height=\"393\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-85.png\" alt=\"\" class=\"wp-image-3519\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-85.png 686w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-85-300x172.png 300w\" sizes=\"auto, (max-width: 686px) 100vw, 686px\" \/><\/figure>\n\n\n\n<p>\u5f39\u51fa\u6765\u7684\u83dc\u5355 \u76f4\u63a5\u9009ok\uff0c \u4e4b\u540e\u6309\u591a\u6b21exit \u9000\u56de\u5230\u4e3b\u76ee\u5f55<\/p>\n\n\n\n<p><strong>\u5982\u679c\u9700\u8981\u663e\u793a\u5f00\u673a\u7684linux \u4f01\u9e45logo  \u53ef\u4ee5\u5728 Device Driveers<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"681\" height=\"407\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-28.png\" alt=\"\" class=\"wp-image-4284\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-28.png 681w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-28-300x179.png 300w\" sizes=\"auto, (max-width: 681px) 100vw, 681px\" \/><\/figure>\n\n\n\n<p>\u9009\u62e9Graphics support<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"764\" height=\"414\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-29.png\" alt=\"\" class=\"wp-image-4285\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-29.png 764w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-29-300x163.png 300w\" sizes=\"auto, (max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px\" \/><\/figure>\n\n\n\n<p>\u5728 Bootup logo \u7684\u5730\u65b9\u6309\u4e0b\u952e\u76d8\u4e0a\u7684Y\u952e \u8fdb\u884c\u4f7f\u80fd<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"712\" height=\"463\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-30.png\" alt=\"\" class=\"wp-image-4286\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-30.png 712w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-30-300x195.png 300w\" sizes=\"auto, (max-width: 712px) 100vw, 712px\" \/><\/figure>\n\n\n\n<p>\u4e4b\u540e\u4e00\u591a\u6b21\u6309ESC\u952e\u8fd4\u56de\u4e3b\u83dc\u5355\uff0c\u7136\u540e\u6309EXIT \u9000\u51fakernel \u8bbe\u7f6e\uff08\u63a5\u7740\u7ee7\u7eed\u6f2b\u957f\u7684\u7b49\u5f85\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"610\" height=\"324\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/02\/image-59.png\" alt=\"\" class=\"wp-image-3026\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/02\/image-59.png 610w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/02\/image-59-300x159.png 300w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u8bbe\u5907\u6811\u7684\u4fee\u6539<\/h2>\n\n\n\n<p>\u4e3a\u4e86\u8ba9LCD\u529f\u80fd\u6b63\u5e38\u4f7f\u7528\uff0c\u6211\u4eec\u9700\u8981\u5728\u8bbe\u5907\u6811\u4e0a\u589e\u52a0LCD\u7684\u76f8\u5173\u5185\u5bb9<\/p>\n\n\n\n<p>\u8def\u5f84\u5728 \u6211\u4eec\u521b\u5efa\u7684\u5de5\u7a0b\u4e0b\u7684 \/project-spec\/meta-user\/recipes-bsp\/device-tree\/files \u5185\u7684 system-user.dtsi\u6587\u4ef6<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"819\" height=\"152\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-86.png\" alt=\"\" class=\"wp-image-3521\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-86.png 819w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-86-300x56.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-86-768x143.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u53cc\u51fb\u6253\u5f00\u8fd9\u4e2a\u6587\u4ef6\uff0c\u5e76\u6309\u4e0b\u56fe\u6240\u793a\uff0c\u5728<strong>\u539f\u5148\u7684\u4ee3\u7801\u540e\u9762\u589e\u52a0<\/strong>\u5982\u4e0b\u5185\u5bb9\uff0c\u5e76\u4e14\u5728<strong>\u4fdd\u5b58\u4e0e\u9000\u51fa<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"611\" height=\"486\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-87.png\" alt=\"\" class=\"wp-image-3522\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-87.png 611w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-87-300x239.png 300w\" sizes=\"auto, (max-width: 611px) 100vw, 611px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-preformatted\">\/include\/ \"system-conf.dtsi\"\n\/ {\n};\n\n#define GPIO_ACTIVE_HIGH 0\n#define GPIO_ACTIVE_LOW  1\n\n&amp;spi0 {\n    st7789v@0 {\n        status = \"okay\";\n        compatible = \"sitronix,st7789v\";\n       \treg = &lt;0&gt;;\n       \tspi-max-frequency =&lt;32000000&gt;;      \n       \trotate =&lt;270&gt;;\n       \tspi-cpol;\n       \tspi-cpha;\n       \trgb;                           \n       \tfps =&lt;30&gt;;                      \n       \tbuswidth =&lt;8&gt;;                  \n        reset-gpios=&lt;&amp;gpio0 55 GPIO_ACTIVE_HIGH&gt;;   \n       \tdc-gpios   =&lt;&amp;gpio0 54 GPIO_ACTIVE_LOW&gt;;   \n\twidth  \t   = &lt;172&gt;;\n        height     = &lt;320&gt;;\n       \tdebug \t   =&lt;0&gt;;              \n        };\n};<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u63a5\u4e0b\u6765 \u7f16\u8bd1\u6574\u4e2a\u5de5\u7a0b<\/h2>\n\n\n\n<p>\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 size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"697\" height=\"148\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-88.png\" alt=\"\" class=\"wp-image-3524\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-88.png 697w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-88-300x64.png 300w\" sizes=\"auto, (max-width: 697px) 100vw, 697px\" \/><\/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<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4fee\u6539\u9a71\u52a8\uff08\u867d\u7136\u7f16\u8bd1\u5b8c\u6210\u4e86\uff0c\u4f46\u662f\u6211\u4eec\u8981\u505a\u7684\u5de5\u4f5c\u5e76\u6ca1\u6709\u7ed3\u675f\uff09<\/h2>\n\n\n\n<p><strong>\u540e\u9762\u8fd8\u9700\u8981\u5bf9\u5c4f\u5e55\u7684\u9a71\u52a8\u8fdb\u884c\u4fee\u6539\uff0c\u5426\u5219\u663e\u793a\u7684\u5185\u5bb9\u4f1a\u6709\u95ee\u9898\uff0c\u4f1a\u51fa\u73b0\u56fe\u50cf\u504f\u79fb\u7684\u73b0\u8c61\uff08\u8fd9\u91cc\u5907\u6ce8\u4e00\u4e2a\u95ee\u9898\uff0cpetalinux\u6bcf\u6b21\u7f16\u8bd1\u90fd\u4f1a\u4ece\u7f51\u4e0a\u4e0b\u8f7d\u9700\u8981\u7684\u9a71\u52a8\uff0c\u4e0a\u9762\u4e0d\u76f4\u63a5\u4fee\u6539\u9a71\u52a8\u662f\u56e0\u4e3a\uff0c\u6ca1\u7f16\u8bd1\u4e4b\u524d\uff0c\u8fd9\u4e9b\u9a71\u52a8\u5728\u672c\u5730\u662f\u6ca1\u6709\u7684\uff0c\u6240\u4ee5\u6211\u4eec\u9700\u8981\u7b49\u9a71\u52a8\u4e0b\u8f7d\u597d\u540e\uff0c\u518d\u5bf9\u9a71\u52a8\u8fdb\u884c\u4fee\u6539\uff09<\/strong><\/p>\n\n\n\n<p>\u5728\u5de5\u7a0b\u76ee\u5f55\u91cc\u641c\u7d22 fbtft   \u53ef\u4ee5\u7528ctrl+F \u6765\u8fdb\u884c\u641c\u7d22     <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"237\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-20-1024x237.png\" alt=\"\" class=\"wp-image-4273\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-20-1024x237.png 1024w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-20-300x70.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-20-768x178.png 768w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-20.png 1466w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u53cc\u51fb\u5e76\u6253\u5f00fbtft-core.c    \u7136\u540e\u627e\u5230 fbtft_set_addr_win \u8fd9\u4e2a\u51fd\u6570\u5bf9\u5176\u4fee\u6539\uff0c\u6309\u4e0b\u56fe\u6240\u793a\u589e\u52a0 Y\u8f74\u7684\u504f\u79fb\u91cf<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"924\" height=\"386\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-21.png\" alt=\"\" class=\"wp-image-4274\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-21.png 924w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-21-300x125.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-21-768x321.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u4e4b\u540e \u5bf9\u6587\u4ef6\u8fdb\u884c\u4fdd\u5b58\uff0c\u7136\u540e\u5173\u95ed<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"905\" height=\"428\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-22.png\" alt=\"\" class=\"wp-image-4276\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-22.png 905w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-22-300x142.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-22-768x363.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>\u4e4b\u540e\u5728\u5de5\u7a0b\u4e2d\u641c\u7d22\uff0cst7789\uff0c\u7136\u540e\u5982\u4e0b\u56fe\u6240\u793a\uff0c\u6253\u5f00fb_st7789v.c<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"554\" height=\"315\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-23.png\" alt=\"\" class=\"wp-image-4277\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-23.png 554w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-23-300x171.png 300w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/figure>\n\n\n\n<p>\u5728\u5c4f\u5e55\u521d\u59cb\u5316\u4ee3\u7801\u4e2d\u6309\u4e0b\u56fe\u589e\u52a0 write_reg(par, 0x21, 0x00);<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"882\" height=\"899\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-24.png\" alt=\"\" class=\"wp-image-4278\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-24.png 882w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-24-294x300.png 294w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-24-768x783.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u4e4b\u540e \u4ecd\u7136\u70b9 save \uff0c\u548c\u9000\u51fa<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u5b8c\u6210\u4e0a\u8ff0\u64cd\u4f5c\u540e\uff0c\u4e0d\u80fd\u76f4\u63a5\u91cd\u65b0\u7f16\u8bd1\uff0c\u5426\u5219 \u4fee\u6539\u7684\u5185\u5bb9\u4f1a\u76f4\u63a5\u88ab\u5ffd\u7565<\/p>\n\n\n\n<p>\u4fdd\u5b58\u4fee\u6539\u540e\uff0c\u6211\u4eec\u9700\u8981\u5148\u6e05\u7a7apetalinux \u5de5\u7a0b\u7f16\u8bd1\u7f13\u5b58<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">petalinux-build -x distclean<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"730\" height=\"258\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-25.png\" alt=\"\" class=\"wp-image-4280\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-25.png 730w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-25-300x106.png 300w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/figure>\n\n\n\n<p>\u91cd\u65b0\u7f16\u8bd1\u5185\u6838\uff0c\u8f93\u5165\u547d\u4ee4 <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">petalinux-build -c kernel -x compile -f<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"736\" height=\"75\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-26.png\" alt=\"\" class=\"wp-image-4281\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-26.png 736w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-26-300x31.png 300w\" sizes=\"auto, (max-width: 736px) 100vw, 736px\" \/><\/figure>\n\n\n\n<p>\u7b49\u5b8c\u6210\u540e \u518d\u91cd\u65b0\u7f16\u8bd1 <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">petalinux-build<\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"707\" height=\"129\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-27.png\" alt=\"\" class=\"wp-image-4283\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-27.png 707w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-27-300x55.png 300w\" sizes=\"auto, (max-width: 707px) 100vw, 707px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u6253\u5305boot.bin<\/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<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">petalinux-package --boot --fsbl .\/images\/linux\/zynq_fsbl.elf --u-boot --fpga --kernel --force\n<\/pre>\n\n\n\n<p>\u5982\u4e0b\u56fe\u6240\u793a\uff0c\u4ee3\u8868\u6253\u5305\u5b8c\u6210\uff08\u6709\u8b66\u544a\uff0c\u76f4\u63a5\u5ffd\u7565\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"760\" height=\"450\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-89.png\" alt=\"\" class=\"wp-image-3527\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-89.png 760w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-89-300x178.png 300w\" sizes=\"auto, (max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">TF\u542f\u52a8\u6d4b\u8bd5<\/h2>\n\n\n\n<p>\u5728Ubuntu \u7cfb\u7edf\u5185 \u6253\u5f00 \u5de5\u7a0b\u6587\u4ef6\u5939\u5185 \u7f16\u8bd1\u751f\u6210\u7684image\u6587\u4ef6\u5939<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"534\" height=\"145\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-90.png\" alt=\"\" class=\"wp-image-3528\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-90.png 534w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-90-300x81.png 300w\" sizes=\"auto, (max-width: 534px) 100vw, 534px\" \/><\/figure>\n\n\n\n<p>\u518d\u6253\u5f00linux \u6587\u4ef6\u5939<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"270\" height=\"108\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/02\/image-66.png\" alt=\"\" class=\"wp-image-3038\"\/><\/figure>\n\n\n\n<p>\u590d\u5236\u8fd92\u4e2a\u6587\u4ef6 BOOT.bin\u3001image.ub<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"470\" height=\"174\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-91.png\" alt=\"\" class=\"wp-image-3529\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-91.png 470w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/03\/image-91-300x111.png 300w\" sizes=\"auto, (max-width: 470px) 100vw, 470px\" \/><\/figure>\n\n\n\n<p>\u7136\u540e\u56de\u5230windows \u4e0b\uff0c\u7c98\u8d34\u5230\u683c\u5f0f\u4e3aFAT32\u7684 TF\u5361\u7684\u6839\u76ee\u5f55<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"404\" height=\"288\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/12\/image-96.png\" alt=\"\" class=\"wp-image-2237\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/12\/image-96.png 404w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/12\/image-96-300x214.png 300w\" sizes=\"auto, (max-width: 404px) 100vw, 404px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"569\" height=\"187\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/12\/image-95.png\" alt=\"\" class=\"wp-image-2236\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/12\/image-95.png 569w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/12\/image-95-300x99.png 300w\" sizes=\"auto, (max-width: 569px) 100vw, 569px\" \/><\/figure>\n\n\n\n<p>\u4e4b\u540e\u6b63\u5e38\u9000\u51faTF\u5361\uff0c \u5e76\u5c06\u5361\u63d2\u5165\u5230 \u6211\u4eec\u7684\u4e3b\u677f\u4e0a<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4e0a\u7535\u6d4b\u8bd5<\/h2>\n\n\n\n<p><strong>\u5c06\u8df3\u7ebf\u4f4d\u7f6e\u6362\u56de\u5230SD\u4e0a<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"298\" height=\"300\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/02\/image-38.png\" alt=\"\" class=\"wp-image-2941\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/02\/image-38.png 298w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/02\/image-38-150x150.png 150w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/02\/image-38-100x100.png 100w\" sizes=\"auto, (max-width: 298px) 100vw, 298px\" \/><\/figure>\n\n\n\n<p><strong>\u5907\u6ce8 \u5b9e\u9645\u6d4b\u8bd5\u8fc7\u7a0b\u4e2d\u4f1a\u53d1\u73b0 \u865a\u62df\u673a \u548cwindows \u4e89\u62a2\u4e32\u53e3\u7684\u8d44\u6e90\u7684\u60c5\u51b5\uff0c\u5bfc\u81f4windows \u4e0b \u65e0\u6cd5\u8bbf\u95ee\u4e32\u53e3\uff0c\u6240\u4ee5\u8fd9\u91cc\u6d4b\u8bd5\u7684\u65f6\u5019\uff08\u628a\u4e32\u53e3\u9ed8\u8ba4\u8bbe\u7f6e\u8fde\u63a5\u5230windows \uff09 \u6216\u8005\u4e34\u65f6\u6302\u8d77\u865a\u62df\u673a<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"529\" height=\"462\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/12\/image-98.png\" alt=\"\" class=\"wp-image-2240\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/12\/image-98.png 529w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2022\/12\/image-98-300x262.png 300w\" sizes=\"auto, (max-width: 529px) 100vw, 529px\" \/><\/figure>\n\n\n\n<p><strong>\u56e0\u4e3a\u672c\u5de5\u7a0b\u9700\u8981\u7528\u5230ctrl+c\u6765\u4e2d\u65ad\u5e94\u7528\uff0c\u6240\u4ee5\u8fd9\u91cc\u7528putty\u8fd9\u6837\u7684\u4e13\u4e1a\u5de5\u5177\u66ff\u4ee3\u4e32\u53e3\u52a9\u624b\uff08\u8fd9\u6837\u8bf8\u5982CTRL+C\u8fd9\u6837\u7684\u6307\u4ee4\u5c31\u53ef\u4ee5\u7528\u952e\u76d8\u7684\u5f62\u5f0f\u76f4\u63a5\u53d1\u9001\u4e86\uff0cputty\u5b98\u7f51\u53ef\u4ee5\u514d\u8d39\u4e0b\u8f7d\u5230\uff09<\/strong><\/p>\n\n\n\n<p>\u6253\u5f00\u540e\u914d\u7f6e\u754c\u9762\u5982\u4e0b \u6a21\u5f0f\u9009\u62e9serial \uff0c\u5e76\u8bbe\u7f6e\u597d\u4e32\u53e3\u53f7(<strong>\u67e5\u770b\u8bbe\u5907\u7ba1\u7406\u5668\u5f97\u5230)<\/strong>&nbsp;\u548c\u6ce2\u7279\u7387115200\u5c31\u884c<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"964\" height=\"508\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/02\/1UN88AEMMOLWOXKZM0.png\" alt=\"\" class=\"wp-image-2900\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/02\/1UN88AEMMOLWOXKZM0.png 964w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/02\/1UN88AEMMOLWOXKZM0-300x158.png 300w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/02\/1UN88AEMMOLWOXKZM0-768x405.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/figure>\n\n\n\n<p>\u8bbe\u7f6e\u6210SD\u542f\u52a8\u540e<strong>\u91cd\u65b0\u4e0a\u7535<\/strong>\uff0c\u6211\u4eec\u5c31\u80fd\u5728putty\u4e0a\u770b\u5230linux \u53d1\u51fa\u6765\u7684\u547d\u4ee4\u884c\u4e86<strong>(\u5f53\u7136\u672c\u4f8b\u7a0b \u547d\u4ee4\u884c\u4e0d\u662f\u6700\u91cd\u8981\u7684\uff0c\u6211\u4eec\u5173\u6ce8\u7684\u70b9\u5728\u5c4f\u5e55\u4e0a)<\/strong><\/p>\n\n\n\n<p>\u7ecf\u8fc7\u5927\u6982 20\u79d2\u949f\u7684\u542f\u52a8\u4e4b\u540e\uff0c  \u5c4f\u5e55\u4f1a\u663e\u793a linux \u7684\u542f\u52a8logo \u4f01\u9e45\uff0c \u4ee5\u53ca \u7ec8\u7aef\u547d\u4ee4\u884c<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"670\" height=\"769\" src=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-31.png\" alt=\"\" class=\"wp-image-4289\" srcset=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-31.png 670w, http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/image-31-261x300.png 261w\" sizes=\"auto, (max-width: 670px) 100vw, 670px\" \/><\/figure>\n\n\n\n<p><strong>\u5907\u6ce8 \uff0c\u8fd9\u91cc\u7684\u547d\u4ee4\u884c  \u548c\u4e32\u53e3\u7684\u547d\u4ee4\u884c\u663e\u793a\u7684\u5185\u5bb9\u5e76\u4e0d\u76f8\u901a\uff0c \u6240\u4ee5\u901a\u8fc7\u7535\u8111\u7aef\u4e32\u53e3\u5728\u547d\u4ee4\u884c\u4e2d\u8f93\u5165\u7684\u6307\u4ee4\u8fd9\u8fb9\u5e76\u4e0d\u4f1a\u663e\u793a<\/strong>\uff08\u53ef\u4ee5\u901a\u8fc7 USB HOST \u63d2\u5165\u952e\u76d8\u6765\u8fdb\u884c \u6307\u4ee4\u7684\u8f93\u5165\u548c\u663e\u793a\uff0c\u4f46\u662f\u672c\u7ae0\u8282\u5e76\u6ca1\u6709\u505a\u8fd9\u90e8\u5206\u5185\u5bb9\uff0c\u5927\u5bb6\u53ef\u4ee5\u81ea\u884c\u5c1d\u8bd5\uff09<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u4ee5\u4e0b\u662f VIVADO \u7684\u5de5\u7a0b \uff08\u91cc\u9762\u7684image\u6587\u4ef6\u5939 \u91cc\u9762\u662f Ubuntu \u4e0b\u7f16\u8bd1\u7684\u955c\u50cf\u6587\u4ef6\uff0c\u5c06image \u6587\u4ef6\u5939\u91cc\u7684\u955c\u50cf\u590d\u5236\u5230fat32\u7684TF\u5361\u4e5f\u80fd\u770b\u6548\u679c\uff09<\/p>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-56d50adf-e724-48e8-a000-468460bb5f95\" href=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/10_Petalinux_LCD_Terminal_XC7Z020.zip\">10_Petalinux_LCD_Terminal_XC7Z020<\/a><a href=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/10_Petalinux_LCD_Terminal_XC7Z020.zip\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-56d50adf-e724-48e8-a000-468460bb5f95\">\u4e0b\u8f7d<\/a><\/div>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u53e6\u5916  \u4e3a\u4e86\u65b9\u4fbf\u64cd\u4f5c\uff0c\u8fd9\u8fb9\u653e\u4e0a\u4e86\u4e00\u4e2a\u652f\u6301USB \u548c\u652f\u6301 NET \u7684\u56fa\u4ef6\uff0c\u8fd9\u6837\u5c31\u53ef\u4ee5\u5916\u63a5\u952e\u76d8\u6765\u64cd\u4f5c\u5c0f\u5c4f\u7ec8\u7aef\u4e86<\/p>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-dd8fd099-5483-4ea5-b615-09bb863cd9b3\" href=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/LCD_NET_USB_PETALINUX.zip\">LCD_NET_USB_PETALINUX<\/a><a href=\"http:\/\/www.hellofpga.com\/wp-content\/uploads\/2023\/05\/LCD_NET_USB_PETALINUX.zip\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-dd8fd099-5483-4ea5-b615-09bb863cd9b3\">\u4e0b\u8f7d<\/a><\/div>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>\u53e6\u5916   \u547d\u4ee4\u884c\u663e\u793a \u8fc7\u6697\u7684\u60c5\u51b5\uff0c\u8ddf\u539f\u5382\u6c9f\u901a\uff0c\u4ee5\u53ca\u670b\u53cb\u4eec\u7684\u6d4b\u8bd5\u5f97\u77e5\uff0c\u539f\u5148petalinux \u81ea\u5e26\u7684\u9a71\u52a8\u6bd4\u8f83\u8001\u5bfc\u81f4\u8272\u5f69\u548c\u4eae\u5ea6\u8fd8\u539f\u4e0d\u591f\u51c6\u786e\uff0c\u901a\u8fc7\u4fee\u6539gamma\u7684\u503c \u53ef\u4ee5\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u6211\u8fd8\u6ca1\u5c1d\u8bd5\u8fc7\uff0c\u5927\u5bb6\u53ef\u4ee5\u81ea\u884c\u8bd5\u8bd5\uff08gamma\u7684\u503c \u53ef\u4ee5\u53c2\u8003\u4e2d\u666f\u56ed lcd \u8d44\u6599\u5305\u4e2d\u7684\u53c2\u8003\u503c\uff09<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u5c06\u5b9e\u73b0\u5728Petalinux \u4e0b\u8c03\u7528\u6211\u4eec\u7684\u677f\u8f7d1.47\u5bf8320&#215;240 LCD \u5e76\u663e\u793alinux \u7ec8\u7aef\u547d\u4ee4\u884c\u7684\u529f\u80fd<\/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-4249","post","type-post","status-publish","format-standard","hentry","category-smart-zynq-spsl"],"views":2059,"_links":{"self":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/4249","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=4249"}],"version-history":[{"count":22,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/4249\/revisions"}],"predecessor-version":[{"id":4303,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/posts\/4249\/revisions\/4303"}],"wp:attachment":[{"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/media?parent=4249"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/categories?post=4249"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.hellofpga.com\/index.php\/wp-json\/wp\/v2\/tags?post=4249"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}