{"id":601,"date":"2024-02-01T08:00:00","date_gmt":"2024-02-01T00:00:00","guid":{"rendered":"https:\/\/www.zhoubin.asia\/?p=601"},"modified":"2024-01-31T22:43:10","modified_gmt":"2024-01-31T14:43:10","slug":"yocto","status":"publish","type":"post","link":"https:\/\/www.zhoubin.asia\/index.php\/2024\/02\/01\/yocto\/","title":{"rendered":"Yocto\u5b9e\u73b0Hailort bring up\u6307\u5357"},"content":{"rendered":"<h2>Yocto\u5b9e\u73b0Hailort bring up\u6307\u5357<\/h2>\n<p>Meta-Hailo\u7684\u6e90\u4ee3\u7801\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u4eceGitHub\u514b\u9686\uff1a<\/p>\n<pre>git clone https:\/\/github.com\/hailoai\/meta-hailo.git<\/pre>\n<p>\u5728\u514b\u9686meta_hailo\u540e\uff0c\u5207\u6362\u5230\u6307\u5b9a\u7684\u5206\u652f\uff0c\u4f8b\u5982\uff08\u5bf9\u4e8eKirkstone\uff09\uff1a<\/p>\n<pre><em>cd meta-hailo\r\ngit checkout kirkstone<\/em><\/pre>\n<p>\u6240\u6709\u652f\u6301\u7684Yocto\u7248\u672c\u7684Yocto\u76ee\u5f55\u90fd\u5305\u62ec\u4e86meta-hailo\u5c42\u3002\u6253\u5f00\u6240\u9700Yocto\u7248\u672c\u7684\u76ee\u5f55\uff0c\u5c06meta-hailo\u5c42\u76ee\u5f55\u590d\u5236\u5230\u4f60\u7684\u6e90\u4ee3\u7801\u76ee\u5f55\u4e2d\uff08\u4e0epoky\u3001meta-openembedded\u7b49\u5728\u540c\u4e00\u76ee\u5f55\uff09\u3002\u7136\u540e\u5728conf\/bblayers.conf\u4e2d\u6dfb\u52a0\u5b83\uff1a<\/p>\n<pre><em>BBLAYERS += \" \\\r\n  \/home\/alex\/Work\/poky\/meta-hailo\/meta-hailo-accelerator \\\r\n  \/home\/alex\/Work\/poky\/meta-hailo\/meta-hailo-libhailort \\\r\n\"<\/em><\/pre>\n<p>\u5728conf\/local.conf\u4e2d\u5c06recipes\u6dfb\u52a0\u5230\u4f60\u7684\u955c\u50cf\uff1a<\/p>\n<pre>IMAGE_INSTALL:append = \" libhailort hailortcli hailo-pci hailo-firmware\"<\/pre>\n<p>\u4ee5\u4e0a\u5185\u5bb9\u57fa\u672c\u4e0e\u6211\u4eec\u7684Hailort\u6587\u6863\u76f8\u540c\uff0c\u8bf7\u6ce8\u610f\u5982\u4f55\u5e2e\u52a9\u4e2d\u56fd\u5927\u9646\u5ba2\u6237\u5728Yocto\u4e2d\u6dfb\u52a0Hailort\uff08\u56e0\u4e3a\u5728\u4e2d\u56fd\u5927\u9646Yocto\u548cGitHub\u7684\u901f\u5ea6\u8f83\u6162\uff09\u3002<\/p>\n<p>\u7531\u4e8eHailort\u5305\u542b\u8bb8\u591a\u5916\u90e8GitHub\uff0c\u5176\u4e2d\u4e00\u4e9b\u6765\u81ea\u8c37\u6b4c\u3002\u5982\u679c\u6211\u4eec\u76f4\u63a5\u6309\u7167\u6587\u6863\u6784\u5efaYocto\uff0c\u901a\u5e38\u4f1a\u51fa\u73b0\u7c7b\u4f3c\u4ee5\u4e0b\u7684\u9519\u8bef\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-602\" src=\"https:\/\/www.zhoubin.asia\/wp-content\/uploads\/2024\/01\/1.png\" alt=\"\" width=\"478\" height=\"205\" \/><\/p>\n<p>\u4e3a\u4e86\u89e3\u51b3\u6b64\u95ee\u9898\uff0c\u6211\u4eec\u9996\u5148\u51c6\u5907\u4e86\u4e00\u4e2a\u5e72\u51c0\u7684Hailort GitHub\uff0c\u5176\u4e2d\u5df2\u7ecf\u4e0b\u8f7d\u4e86\u6240\u6709\u5916\u90e8GitHub\uff0c\u5e76\u5c06\u201chailort\/CMakeLists.txt\u201d\u53c2\u6570\u201cHAILO_OFFLINE_COMPILATION\u201d\u8bbe\u7f6e\u4e3a\u201cON\u201d\u3002<\/p>\n<p>\u8bf7\u67e5\u770bGitHub: <a href=\"https:\/\/github.com\/alex2014git\/hailort.git\">https:\/\/github.com\/alex2014git\/hailort.git<\/a>\uff08\u53ef\u80fd\u53ea\u4fdd\u7559\u6700\u65b0\u7248\u672c\uff09\u3002<\/p>\n<p>\u5728\u524d\u8ff0\u7b2c2\u6b65\u540e\uff0c\u8bf7\u6309\u7167\u5982\u4e0b\u65b9\u5f0f\u66f4\u65b0meta-hailo\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-603\" src=\"https:\/\/www.zhoubin.asia\/wp-content\/uploads\/2024\/01\/2.png\" alt=\"\" width=\"635\" height=\"324\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yocto\u5b9e\u73b0Hailort bring up\u6307\u5357 Meta-Hailo\u7684\u6e90\u4ee3\u7801\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u4eceGitHub [&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":[5,1],"tags":[],"class_list":["post-601","post","type-post","status-publish","format-standard","hentry","category-hailort","category-tech"],"_links":{"self":[{"href":"https:\/\/www.zhoubin.asia\/index.php\/wp-json\/wp\/v2\/posts\/601","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=601"}],"version-history":[{"count":3,"href":"https:\/\/www.zhoubin.asia\/index.php\/wp-json\/wp\/v2\/posts\/601\/revisions"}],"predecessor-version":[{"id":606,"href":"https:\/\/www.zhoubin.asia\/index.php\/wp-json\/wp\/v2\/posts\/601\/revisions\/606"}],"wp:attachment":[{"href":"https:\/\/www.zhoubin.asia\/index.php\/wp-json\/wp\/v2\/media?parent=601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhoubin.asia\/index.php\/wp-json\/wp\/v2\/categories?post=601"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhoubin.asia\/index.php\/wp-json\/wp\/v2\/tags?post=601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}