{"id":722,"date":"2024-06-07T08:00:05","date_gmt":"2024-06-07T00:00:05","guid":{"rendered":"https:\/\/www.zhoubin.asia\/?p=722"},"modified":"2024-06-06T16:14:50","modified_gmt":"2024-06-06T08:14:50","slug":"h15","status":"publish","type":"post","link":"https:\/\/www.zhoubin.asia\/index.php\/2024\/06\/07\/h15\/","title":{"rendered":"[H15]\u4f7f\u7528 Yocto \u7f16\u8bd1 H15 \u7248\u672c\u53ca\u4e00\u4e9b\u5c0f tips"},"content":{"rendered":"<p>H15 \u7684\u5b98\u65b9\u7248\u672c GitHub \u4e3a\uff1a<a href=\"https:\/\/github.com\/hailo-ai\/meta-hailo-soc\">https:\/\/github.com\/hailo-ai\/meta-hailo-soc<\/a><\/p>\n<p>\u5173\u4e8e\u5982\u4f55\u5237\u673a H15\uff0c\u5b98\u65b9\u7f51\u7ad9\u7684 developer-zone \u91cc\u9762\u6709\u8be6\u7ec6\u7684\u6587\u6863\uff0c\u4f8b\u5982\uff1a&#8221;hailo15_sbc_quick_start_guide.pdf&#8221;<\/p>\n<h2>\u73af\u5883\u51c6\u5907\u5de5\u4f5c<\/h2>\n<p>\u9664\u4e86\u6b63\u5e38\u7684 Yocto \u7684\u4f7f\u7528\u73af\u5883\u51c6\u5907\u5de5\u4f5c\u4ee5\u5916\uff0c\u6b64\u90e8\u5206\u53ef\u4ee5\u67e5\u8be2 Yocto \u5b98\u7f51\uff0c\u53ef\u80fd\u8fd8\u9700\u8981\u989d\u5916\u5b89\u88c5\u5982\u4e0b\u5b89\u88c5\u5305\uff1a<\/p>\n<pre><code>apt install chrpath diffstat gawk lz4\r\n<\/code><\/pre>\n<h2>\u4e0b\u8f7d\u5bf9\u5e94\u7684\u4ee3\u7801<\/h2>\n<p>git clone <a href=\"https:\/\/github.com\/hailo-ai\/meta-hailo-soc.git\">https:\/\/github.com\/hailo-ai\/meta-hailo-soc.git<\/a><\/p>\n<h2>\u4f7f\u7528 kas \u4e0b\u8f7d\u5bf9\u5e94\u7684\u5176\u4ed6\u914d\u7f6e\u73af\u5883\u5e76\u7f16\u8bd1 (H15 SBC)<\/h2>\n<p>kas build kas\/hailo15-sbc.yml<\/p>\n<p>\u5982\u679c\u7b2c\u4e00\u6b21\u5df2\u7ecf\u7f16\u8bd1\u901a\u8fc7\u4e86\uff0c\u540e\u7eed\u53ef\u4ee5\u91c7\u7528\u5982\u4e0b\u65b9\u5f0f\u7f16\u8bd1 Yocto\uff1a<\/p>\n<pre><code>source poky\/oe-init-build-env\r\nbitbake core-image-minimal\r\n<\/code><\/pre>\n<h2>\u7f16\u8bd1 tips<\/h2>\n<ol>\n<li>\u5982\u679c GitHub \u8fde\u63a5\u4e0d\u4e0a\uff0c\u8bf7\u53c2\u8003\u8fde\u63a5\uff1a<a href=\"https:\/\/www.zhoubin.asia\/index.php\/2024\/01\/29\/github\/\">\u8fd9\u91cc<\/a><\/li>\n<li>\u5982\u679c\u90e8\u5206 recipe \u56e0\u4e3a GitHub \u7f51\u7edc\u4e0d\u597d\u5bfc\u81f4\u62a5\u9519\uff0c\u8bf7\u591a\u5c1d\u8bd5\u51e0\u6b21\u3002\u4e00\u822c\u60c5\u51b5\u4e0b\u65e9\u4e0a 8 \u70b9\u524d\u7f16\u8bd1 GitHub \u901f\u5ea6\u4f1a\u6bd4\u8f83\u5feb\u3002<\/li>\n<li>\u5982\u679c\u90e8\u5206 recipe \u7f16\u8bd1\u62a5\u9519\uff0c\u53ef\u4ee5\u5c1d\u8bd5\uff1a<br \/>\nbitbake -c clean &lt;recipe-name&gt;<br \/>\nbitbake &lt;recipe-name&gt; (\u91cd\u65b0\u7f16\u8bd1)<br \/>\n\u6216\u8005 bitbake -b &lt;recipe-name&gt; \u5355\u72ec\u7f16\u8bd1\u67e5\u770b\u7f16\u8bd1\u62a5\u9519\u3002<\/li>\n<li><strong>\u8bf7\u6ce8\u610f\uff0cmeta-hailo \u662f\u5c5e\u4e8e kas \u7ef4\u62a4\u7684\uff0c\u800c\u4e0d\u662f\u5728 meta-hailo-soc \u7684\u6574\u5305\u91cc\u9762\u3002<\/strong><br \/>\n\u5f53 meta-hailo-soc \u5347\u7ea7\u7684\u65f6\u5019\uff0c\u53ef\u4ee5\u4f7f\u7528 git diff &#8211;name-only \u5c1d\u8bd5\u67e5\u770b\u5347\u7ea7\u662f\u5426\u5305\u542b\u4e86 kas\/hailo15-vpu-base.yml \u91cc\u9762 meta-hailo \u90e8\u5206\uff1a<br \/>\n\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u53ef\u80fd\u9700\u8981\u5220\u9664 meta-hailo\uff0c\u518d\u4f7f\u7528 kas \u91cd\u65b0\u4e0b\u8f7d\u6700\u65b0\u7248\u672c\uff0c\u907f\u514d meta-hailo-soc \u91cc\u9762\u7684 media-libary \u4e0e meta-hailo \u4e2d\u7684 tappas \u4e4b\u7c7b\u7684\u7a0b\u5e8f\u4e0d\u517c\u5bb9\u3002<\/li>\n<li>\u53ef\u4ee5\u4f7f\u7528\u5982\u4e0b\u547d\u4ee4\u751f\u6210 H15 \u7684\u4ea4\u53c9\u7f16\u8bd1 SDK\uff0c\u65b9\u4fbf\u540e\u7eed\u72ec\u7acb\u7f16\u8bd1\u7a0b\u5e8f\uff1a<br \/>\nbitbake core-image-minimal -c populate_sdk<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>H15 \u7684\u5b98\u65b9\u7248\u672c GitHub \u4e3a\uff1ahttps:\/\/github.com\/hailo-ai\/meta-hai [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-722","post","type-post","status-publish","format-standard","hentry","category-tech"],"_links":{"self":[{"href":"https:\/\/www.zhoubin.asia\/index.php\/wp-json\/wp\/v2\/posts\/722","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zhoubin.asia\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zhoubin.asia\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zhoubin.asia\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zhoubin.asia\/index.php\/wp-json\/wp\/v2\/comments?post=722"}],"version-history":[{"count":1,"href":"https:\/\/www.zhoubin.asia\/index.php\/wp-json\/wp\/v2\/posts\/722\/revisions"}],"predecessor-version":[{"id":723,"href":"https:\/\/www.zhoubin.asia\/index.php\/wp-json\/wp\/v2\/posts\/722\/revisions\/723"}],"wp:attachment":[{"href":"https:\/\/www.zhoubin.asia\/index.php\/wp-json\/wp\/v2\/media?parent=722"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhoubin.asia\/index.php\/wp-json\/wp\/v2\/categories?post=722"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhoubin.asia\/index.php\/wp-json\/wp\/v2\/tags?post=722"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}