{"id":255379,"date":"2015-04-16T16:31:02","date_gmt":"2015-04-16T12:31:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=255379"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=255379","title":{"rendered":"\u0421\u0431\u043e\u0440\u043a\u0430 Embedded Linux \u043e\u0442 Yocto \u0434\u043b\u044f QEMU x86 \u0438 \u043f\u0435\u0440\u0432\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043a \u043d\u0435\u043c\u0443"},"content":{"rendered":"<p> \t\t\t\u042d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u2014 \u0431\u044b\u0441\u0442\u0440\u044b\u0439 \u0441\u0442\u0430\u0440\u0442 \u0441 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430\u043c\u0438 \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u043e\u043c\u0443 \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c Embedded Linux \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Yocto.<br \/>  \u0415\u0441\u043b\u0438 \u0432\u044b \u0441\u043e\u0431\u0440\u0430\u043b\u0438\u0441\u044c \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c Embedded Linux \u0434\u043b\u044f \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u044b\u0445 \u0430\u043f\u043f\u0430\u0440\u0430\u0442\u043d\u044b\u0445 \u0441\u0440\u0435\u0434\u0441\u0442\u0432, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f SoC \u043d\u0430 FPGA, \u0442\u043e, \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435, \u043a\u0430\u043a \u0438 \u044f \u0441\u0442\u043e\u043b\u043a\u043d\u0451\u0442\u0435\u0441\u044c \u0441 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c Yocto.<\/p>\n<p>  Yocto \u2014 \u043f\u0440\u043e\u0435\u043a\u0442, \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u044e\u0449\u0438\u0439  <\/p>\n<ul>\n<li>\u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430;<\/li>\n<li>\u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0441\u0431\u043e\u0440\u043a\u0438;<\/li>\n<li>\u043d\u0430\u0431\u043e\u0440 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0445 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432;<\/li>\n<li>\u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044e \u043c\u0435\u0442\u0430-\u043f\u0430\u043a\u0435\u0442\u043e\u0432, \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u044e\u0449\u0438\u0445 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b;<\/li>\n<li>\u043f\u043b\u0430\u0433\u0438\u043d\u044b \u0434\u043b\u044f Eclipse \u0438 Anjuta.<\/li>\n<\/ul>\n<p>  \u042f \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u043b\u0441\u044f \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u0432\u0430\u043c \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043c\u0435\u043d\u044c\u0448\u0435 \u0442\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u043e\u0439 \u0438 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u043e\u0439 \u0438 \u043f\u043e\u0441\u043a\u043e\u0440\u0435\u0435 \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u0442\u044c \u043a \u0442\u0432\u043e\u0440\u0447\u0435\u0441\u0442\u0432\u0443.<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<h3>\u0421\u0431\u043e\u0440\u043a\u0430 \u043e\u0431\u0440\u0430\u0437\u0430 Linux<\/h3>\n<p>  \u041e\u0441\u043d\u043e\u0432\u0430 \u0434\u043b\u044f \u0441\u0431\u043e\u0440\u043a\u0438 \u2014 \u0441\u0442\u0430\u0442\u044c\u044f<br \/>  <a href=\"http:\/\/www.yoctoproject.org\/docs\/1.7.1\/yocto-project-qs\/yocto-project-qs.html\">\u00abYocto Project Quick Start\u00bb<\/a>.<br \/>  \u0421\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u0431\u0443\u0434\u0443 \u0432 \u043f\u0430\u043f\u043a\u0435  <\/p>\n<pre><code class=\"bash\">~\/My_Designs\/Poky<\/code><\/pre>\n<p>  \u041d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u043e\u0442\u0441\u0442\u0443\u043f\u043b\u0435\u043d\u0438\u0435:<br \/>  \u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b, \u0432\u0441\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0439\u0442\u0435 \u0432 \u043d\u0451\u043c, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0432 \u0445\u043e\u0434\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043e\u0437\u0434\u0430\u044e\u0442\u0441\u044f \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0441\u0440\u0435\u0434\u044b. \u0415\u0441\u043b\u0438 \u0437\u0430\u043a\u0440\u044b\u043b\u0438 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b \u0438 \u043e\u0442\u043a\u0440\u044b\u043b\u0438 \u043d\u043e\u0432\u044b\u0439, \u0442\u043e \u0437\u0430\u0445\u043e\u0434\u0438\u0442\u0435 \u0432   <\/p>\n<pre><code class=\"bash\">~...\/poky<\/code><\/pre>\n<p>  \u0438 \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440,  <\/p>\n<pre><code class=\"bash\">source oe-init-build-env<\/code><\/pre>\n<p>  \u0441\u043e\u0437\u0434\u0430\u044e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 git  <\/p>\n<pre><code class=\"bash\">$ git clone git:\/\/git.yoctoproject.org\/poky $ cd poky $ git checkout -b dizzy origin\/dizzy<\/code><\/pre>\n<p>  \u0442\u0435\u043f\u0435\u0440\u044c \u0442\u0435\u043a\u0443\u0449\u0430\u044f \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f  <\/p>\n<pre><code class=\"bash\">~\/My_Designs\/Poky\/poky<\/code><\/pre>\n<p>  \u0442\u0435\u043f\u0435\u0440\u044c, \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043c Yocto, \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c<br \/>  Source Directory \u2014 \u00abpoky\u00bb<br \/>  local working area (local branch) \u2014 dizzy<br \/>  \u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f  <\/p>\n<pre><code class=\"bash\">$ source oe-init-build-env<\/code><\/pre>\n<p>  \u042d\u0442\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435 \u043e\u0431\u043e\u043b\u043e\u0447\u043a\u0438, \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u043c\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 \u0444\u0430\u0439\u043b\u043e\u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0438 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0441 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u0435\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u044b BitBake \u043f\u0443\u0442\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u0430 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0433\u043e Poky \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f \u043b\u0438 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f. \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0438\u043b\u0438 \u0441\u043e\u043e\u0431\u0449\u0438\u0442 \u0438\u043b\u0438 \u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u0445, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u044e\u0449\u0438\u0445 \u043f\u0430\u043a\u0435\u0442\u0430\u0445, \u0438\u043b\u0438 \u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0444\u0430\u0439\u043b\u0430 conf\/local.conf.<\/p>\n<p>  \u041e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c conf\/local.conf:  <\/p>\n<pre><code class=\"bash\">$ nano conf\/local.conf<\/code><\/pre>\n<p>  <\/p>\n<pre><code>BB_NUMBER_THREADS ?= &quot;3&quot; PARALLEL_MAKE ?= &quot;-j 3&quot; EXTRA_IMAGE_FEATURES = &quot;debug-tweaks eclipse-debug tools-debug debug-tweaks&quot;<\/code><\/pre>\n<p>  \u0417\u0434\u0435\u0441\u044c \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0447\u0438\u0441\u043b\u043e \u043d\u0438\u0442\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e \u0441\u0431\u043e\u0440\u043a\u0438 bitbake. \u0427\u0442\u043e\u0431\u044b \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u044b\u0447\u0438\u0441\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u0447\u0438\u0441\u043b\u043e \u043d\u0438\u0442\u0435\u0439 \u0434\u043e\u043b\u0436\u043d\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0447\u0438\u0441\u043b\u0443 \u044f\u0434\u0435\u0440 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430. \u042f \u0443\u043a\u0430\u0437\u0430\u043b \u043d\u0430 1 \u043c\u0435\u043d\u044c\u0448\u0435, \u0447\u0442\u043e\u0431\u044b \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u043e\u043c \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0441\u0431\u043e\u0440\u043a\u0438 \u0443\u0434\u043e\u0431\u043d\u0435\u0435 \u0431\u044b\u043b\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f.<br \/>  \u0422\u0430\u043a \u0436\u0435 \u044f \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438.<br \/>  \u0422\u0430\u043a \u043a\u0430\u043a \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u0434\u043b\u044f \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0439 QEMU x86, \u0442\u043e \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u043c\u043e\u0436\u043d\u043e \u043d\u0435 \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c.<\/p>\n<p>  \u0414\u0430\u043b\u0435\u0435 \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u201c\u0440\u0435\u0446\u0435\u043f\u0442\u201d \u2014 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0441\u0431\u043e\u0440\u043a\u0438 \u0441\u043e \u0441\u0432\u043e\u0438\u043c \u043d\u0430\u0431\u043e\u0440\u043e\u043c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a, \u0443\u0442\u0438\u043b\u0438\u0442, \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432, \u043e\u0431\u0440\u0430\u0437\u043e\u0432 \u0438 \u0442.\u043f.<br \/>  \u0421\u043f\u0438\u0441\u043e\u043a \u0440\u0435\u0446\u0435\u043f\u0442\u043e\u0432 \u0441 \u0438\u0445 \u043a\u0440\u0430\u0442\u043a\u0438\u043c\u0438 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f\u043c\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0437\u0434\u0435\u0441\u044c:<\/p>\n<p>  \u043f\u0440\u043e\u043b\u0438\u0441\u0442\u0430\u0439\u0442\u0435 \u0434\u043e \u0440\u0435\u0446\u0435\u043f\u0442\u043e\u0432, \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445\u0441\u044f \u0441 core-\u2026<br \/>  \u041d\u0435 \u0441\u043e\u0432\u0435\u0442\u0443\u044e \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c core-image-minimal \u0434\u043b\u044f \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u043b\u0435\u043d\u0438\u044f. \u0422\u0430\u043c \u043d\u0435\u0442 ssh \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u0443\u0434\u043e\u0431\u043d\u044b\u0445 \u0434\u043b\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u0432.<br \/>  \u042f \u0432\u044b\u0431\u0440\u0430\u043b core-image-sato. \u042d\u0442\u043e \u0441\u0431\u043e\u0440\u043a\u0430 \u0441 GUI SATO<\/p>\n<p>  \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0441\u0431\u043e\u0440\u043a\u0430:  <\/p>\n<pre><code class=\"bash\">$ bitbake core-image-sato<\/code><\/pre>\n<p>  \u0411\u0443\u0434\u044c\u0442\u0435 \u0433\u043e\u0442\u043e\u0432\u044b, \u0447\u0442\u043e \u0436\u0434\u0430\u0442\u044c \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u044f \u0441\u0431\u043e\u0440\u043a\u0438 \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043e\u0442 3 \u0447\u0430\u0441\u043e\u0432 \u0434\u043e 3 \u0438 \u0431\u043e\u043b\u0435\u0435 \u0434\u043d\u0435\u0439. \u0412 \u0441\u0447\u0430\u0441\u0442\u044c\u044e, \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0438 \u0432\u043e\u0437\u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c.<br \/>  \u0427\u0442\u043e\u0431\u044b \u043f\u0440\u0438\u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c, \u043d\u0430\u0436\u043c\u0438\u0442\u0435 + \u043e\u0434\u0438\u043d (!) \u0440\u0430\u0437 \u0438 \u043f\u043e\u0434\u043e\u0436\u0434\u0438\u0442\u0435, \u043a\u043e\u0433\u0434\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0430\u0442\u0441\u044f \u0432\u0441\u0435 \u043d\u0430\u0447\u0430\u0442\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438. \u0418\u043d\u0430\u0447\u0435, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043f\u043e\u044f\u0432\u044f\u0442\u0441\u044f \u043e\u0448\u0438\u0431\u043e\u0447\u043a\u0438 \u0438 \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u044b\u0432\u0430\u0442\u044c. \u0427\u0442\u043e\u0431\u044b \u0432\u043e\u0437\u043e\u0431\u043d\u043e\u0432\u0438\u0442\u044c, \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435  <\/p>\n<pre><code class=\"bash\">$ bitbake core-image-sato <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u0437\u0430\u043a\u0440\u044b\u043b\u0438 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b, \u0442\u043e \u0432 \u043d\u043e\u0432\u043e\u043c \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435 \u043f\u0435\u0440\u0435\u0434 \u0441\u0431\u043e\u0440\u043a\u043e\u0439 \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0441\u0440\u0435\u0434\u044b:  <\/p>\n<pre><code class=\"bash\">$ source oe-init-build-env<\/code><\/pre>\n<p>  \u041f\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0438 \u0441\u0431\u043e\u0440\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c, \u0447\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c, \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0432 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440 QEMU  <\/p>\n<pre><code class=\"bash\">$ runqemu qemux86<\/code><\/pre>\n<p>  \u041f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u043e\u043a\u043d\u043e \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430 xterm, \u0442\u0430\u043c \u043d\u0430\u0434\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u0432\u0435\u0441\u0442\u0438 \u043f\u0430\u0440\u043e\u043b\u044c root \u0445\u043e\u0441\u0442\u0430 \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430 tap. \u0422\u0430\u043c \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0443\u0432\u0438\u0434\u0435\u0442\u044c IP host-\u043c\u0430\u0448\u0438\u043d\u044b \u043d\u0430 tap \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 \u0438 IP \u044d\u043c\u0443\u043b\u0438\u0440\u0443\u0435\u043c\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b. \u0423 \u043c\u0435\u043d\u044f 192.168.7.1 \u0438 192.168.7.2 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e.<br \/>  \u0417\u0430\u0442\u0435\u043c, \u0435\u0441\u043b\u0438 \u0441\u043e\u0431\u0440\u0430\u043d SATO \u0434\u043e\u043b\u0436\u043d\u043e \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u043e\u043a\u043d\u043e \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430:<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/abb\/545\/300\/abb5453007ce456baf57efd03b85968a\" alt=\"GUI SATO \u0432 QEMU\"\/><\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u043d\u044b\u0439 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440 \u043c\u0435\u0448\u0430\u0435\u0442, \u043f\u043e\u043a\u0430 \u0435\u0433\u043e \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043a\u0440\u044b\u0442\u044c. \u041f\u043e\u043b\u0438\u0441\u0442\u0430\u0439\u0442\u0435 \u0441\u0442\u0440\u0435\u043b\u043e\u0447\u043a\u0430\u043c\u0438 \u0432 \u0432\u0435\u0440\u0445\u043d\u0435\u0439 \u0447\u0430\u0441\u0442\u0438 GUI \u0434\u043e \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u0438\u043a\u043e\u043d\u043a\u0438 \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u0438\u043b\u0438 \u0432\u0432\u0435\u0434\u0438\u0442\u0435 poweroff \u0447\u0435\u0440\u0435\u0437 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b SATO \u0438\u043b\u0438 \u043f\u043e ssh. \u041f\u0440\u043e ssh \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0437\u0436\u0435.<br \/>  \u041d\u0435 \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0439\u0442\u0435 QEMU \u043a\u0440\u0435\u0441\u0442\u0438\u043a\u043e\u043c \u043d\u0430 \u0433\u043b\u0430\u0432\u043d\u043e\u043c \u043e\u043a\u043e\u0448\u043a\u0435 \u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430. \u0417\u0430\u043a\u0440\u044b\u0432\u0430\u0439\u0442\u0435 \u0448\u0442\u0430\u0442\u043d\u044b\u043c\u0438 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 \u044d\u043c\u0443\u043b\u0438\u0440\u0443\u0435\u043c\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b. \u0418\u043d\u0430\u0447\u0435 \u0443 \u0432\u0430\u0441 \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u043e\u0442 QEMU \u043e\u0441\u0442\u0430\u043d\u0443\u0442\u0441\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b ethX, tapX, virbrX, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u0431\u0443\u0434\u0435\u0442 ifconfig\u2026 ifdown, \u0438\u043b\u0438 \u043a\u0430\u043a \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0432\u0430\u0448\u0435\u0439 \u041e\u0421. \u0418\u043b\u0438 \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 QEMU \u0431\u0443\u0434\u0443\u0442 \u043d\u043e\u0432\u044b\u0435 IP \u0445\u043e\u0441\u0442\u0430 \u0438 QEMU, \u0447\u0442\u043e \u043d\u0435\u0443\u0434\u043e\u0431\u043d\u043e.<\/p>\n<h3>\u0421\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438<\/h3>\n<p>  \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f Eclipse IDE for C\/C++ Developers, \u0432\u0435\u0440\u0441\u0438\u044f Luna. \u0412 \u044d\u0442\u043e\u0439 \u0441\u0431\u043e\u0440\u043a\u0435 \u0438\u043c\u0435\u044e\u0442\u0441\u044f \u043f\u043b\u0430\u0433\u0438\u043d\u044b CDT, GNU ARM \u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0434\u043b\u044f \u043a\u0440\u043e\u0441\u0441-\u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0446\u0438\u0438 \u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0433\u043e \u041f\u041e \u043f\u043b\u0430\u0433\u0438\u043d\u044b.<br \/>  \u041c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u043e\u0442\u0441\u044e\u0434\u0430:<br \/>  <a href=\"https:\/\/www.eclipse.org\/downloads\/packages\/eclipse-ide-cc-developers\/lunasr2\">Eclipse Luna SR2<\/a>.<\/p>\n<p>  \u0411\u0443\u0434\u0435\u043c \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f Hello, world!<\/p>\n<h4>Eclipse, Cross GCC<\/h4>\n<p>  \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u0443\u0442\u044c, \u0441\u043e\u0431\u0435\u0440\u0451\u043c \u043e\u0431\u044b\u0447\u043d\u044b\u043c\u0438 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 Eclipse: CDT + GNU ARM<br \/>  \u0415\u0441\u043b\u0438 \u044d\u0442\u0438\u0445 \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432 \u0432 \u0432\u0430\u0448\u0435\u043c Eclipse \u0435\u0449\u0451 \u043d\u0435\u0442, \u0442\u043e \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u043f\u043b\u0430\u0433\u0438\u043d CDT \u0438\u0437 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f Eclipse \u0438 \u043e\u0442\u0441\u044e\u0434\u0430 <a href=\"http:\/\/gnuarmeclipse.sourceforge.net\/updates\">GNU ARM Plugin for Eclipse<\/a> GNU ARM C\/C++ Cross Compiler \u0438 \u0447\u0442\u043e \u0435\u0449\u0451 \u0437\u0430\u0445\u043e\u0447\u0435\u0442\u0441\u044f.<\/p>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u043d\u043e\u0432\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 C++:<br \/>  \u041c\u0435\u043d\u044e Eclipse File-&gt;New-&gt;Project\u2026-&gt;C\/C++-&gt;C++ Project<br \/>  \u041d\u0443\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c <br \/>  Project type: Executable-&gt;Hello World C++ Project<br \/>  Toolchains: Cross GCC<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/f1f\/830\/385\/f1f830385f4e4d6abd0a8b0e47b58ea9.png\" alt=\"New C++ Cross GCC Project\"\/><br \/>  \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u043f\u043e\u043b\u0435 Author<br \/>  \u0422\u0435\u043f\u0435\u0440\u044c \u0441\u0430\u043c\u043e\u0435 \u0432\u0430\u0436\u043d\u043e\u0435, \u0447\u0442\u043e \u043a\u0430\u0441\u0430\u0435\u0442\u0441\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0441\u0431\u043e\u0440\u043a\u0438:<br \/>  Cross compiller prefix: i586-poky-linux-<br \/>  Cross compiler path: \/home\/ibragimove\/My_Designs\/Poky\/poky\/build\/tmp\/sysroots\/x86_64-linux\/usr\/bin\/i586-poky-linux<br \/>  \u041a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442<br \/>  Project-&gt;Build Project<br \/>  \u0414\u043e\u043b\u0436\u0435\u043d \u043f\u043e\u044f\u0432\u0438\u0442\u044c\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0439 \u0444\u0430\u0439\u043b<br \/>  \u0422\u0430\u043a \u043a\u0430\u043a \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0434\u043b\u044f QEMU x86 Linux, \u0442\u043e \u0434\u043e\u043b\u0436\u0435\u043d \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c\u0441\u044f \u0438 \u043d\u0430 \u0432\u0430\u0448\u0435\u0439 host \u043c\u0430\u0448\u0438\u043d\u0435, \u0435\u0441\u043b\u0438, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0432\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442\u0435 \u043d\u0430 x86 Linux \u0438\u043b\u0438 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0439 \u0441 \u043d\u0435\u0439. \u0423 \u043c\u0435\u043d\u044f \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043b\u043e\u0441\u044c \u043d\u0430 IA64 Ubuntu.<br \/>  \u0422\u0435\u043f\u0435\u0440\u044c, \u0435\u0441\u043b\u0438 \u0443\u0441\u043f\u0435\u043b\u0438 \u0437\u0430\u043a\u0440\u044b\u0442\u044c QEMU, \u0442\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 \u043e\u043f\u044f\u0442\u044c  <\/p>\n<pre><code class=\"bash\">$ runqemu qemux86<\/code><\/pre>\n<p>  \u041f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u043e\u043a\u043d\u043e \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430 xterm, \u043d\u0430\u0434\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u0432\u0435\u0441\u0442\u0438 \u043f\u0430\u0440\u043e\u043b\u044c root \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f tap \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/b55\/ef2\/bc1\/b55ef2bc16dd4a49b958a97eb7ef83a3.png\" alt=\"QEMU bash\"\/><\/p>\n<p>  \u041a\u0430\u043a \u0432\u0438\u0434\u043d\u043e, \u0443 \u043c\u0435\u043d\u044f IP host-\u043c\u0430\u0448\u0438\u043d\u044b 192.168.7.1, IP qemu 192.168.7.2<br \/>  \u0417\u0430\u0442\u0435\u043c \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u043e\u043a\u043d\u043e QEMU \u0441 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u043c<br \/>  \u041c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u0441\u043e\u0435\u0434\u0438\u043d\u0438\u0442\u044c\u0441\u044f \u043a QEMU \u0447\u0435\u0440\u0435\u0437 ssh \u0438 sftp. \u041f\u0435\u0440\u0432\u044b\u0439 \u043f\u043e\u043b\u0435\u0437\u0435\u043d \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b, \u0432\u0442\u043e\u0440\u043e\u0439 \u2014 \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u044d\u0442\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u043d\u0430 \u044d\u043c\u0443\u043b\u0438\u0440\u0443\u0435\u043c\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u0443.<br \/>  \u0424\u0430\u0439\u043b \u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u043b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0433\u043e \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430 Krusader. \u0412 Windows \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c FileZilla \u0438\u043b\u0438 \u0434\u0440\u0443\u0433\u0438\u043c\u0438.<br \/>  \u0412 Krusader \u044f \u0432\u044b\u0431\u0440\u0430\u043b Tools-&gt;New Net Connection\u2026, \u0432 \u0434\u0438\u0430\u043b\u043e\u0433\u043e\u0432\u043e\u043c \u043e\u043a\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c sftp:\/\/, \u0432\u0432\u0435\u0441\u0442\u0438 IP \u0438 Username: root<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/0ee\/b60\/88b\/0eeb6088bfb440408d11527e5b3a821b.png\" alt=\"Krusader New Network Connection\"\/><\/p>\n<p>  \u0412 \u0434\u043e\u043c\u0430\u0448\u043d\u044e\u044e \u043f\u0430\u043f\u043a\u0443 \u043d\u0430 QEMU \u044f \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043b \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0439 \u0444\u0430\u0439\u043b hello_cross_gcc_02 \u0438\u0437 \u043f\u0430\u043f\u043a\u0438 Debug \u043f\u0440\u043e\u0435\u043a\u0442\u0430<br \/>  \u0414\u0430\u043b\u0435\u0435 \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b \u0432 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 QEMU \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443 \u043d\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043e\u0442\u0442\u0443\u0434\u0430. \u041c\u043d\u0435 \u0431\u043e\u043b\u0435\u0435 \u0443\u0434\u043e\u0431\u043d\u044b\u043c \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0441\u043e\u0435\u0434\u0438\u043d\u0438\u0442\u044c\u0441\u044f \u0447\u0435\u0440\u0435\u0437 ssh. \u0412 \u043e\u043a\u043d\u0435 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430 host-\u043c\u0430\u0448\u0438\u043d\u044b \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c ssh  <\/p>\n<pre><code class=\"bash\">$ ssh root@192.168.7.2<\/code><\/pre>\n<p>  \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0439 \u0444\u0430\u0439\u043b:  <\/p>\n<pre><code class=\"bash\">$ .\/hello_cross_gcc_02<\/code><\/pre>\n<p>  \u0414\u043e\u043b\u0436\u043d\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c\u0441\u044f<br \/>  Hello World!<\/p>\n<h4>\u0421\u0431\u043e\u0440\u043a\u0430 \u0432 ADT<\/h4>\n<p>  Yocto \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 Application Development Toolkit (ADT), \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442:  <\/p>\n<ul>\n<li>\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043d\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0443\u044e \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u0443 \u0438 sysroot cross-toolchain, \u0441\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439 OpenEmbedded, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 Poky<\/li>\n<li>\u043f\u043b\u0430\u0433\u0438\u043d Yocto \u043a Eclipse IDE<\/li>\n<li>QEMU \u0434\u043b\u044f \u044d\u043c\u0443\u043b\u044f\u0446\u0438\u0438 \u0446\u0435\u043b\u0435\u0432\u043e\u0433\u043e \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u044f<\/li>\n<li>\u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0435 \u0432 user-space<\/li>\n<\/ul>\n<p>  <\/p>\n<h5>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 Eclipse<\/h5>\n<p>  \u0414\u0435\u043b\u0430\u043b\u043e\u0441\u044c \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u044d\u0442\u043e\u0433\u043e: <a href=\"http:\/\/www.yoctoproject.org\/docs\/1.3\/dev-manual\/dev-manual.html#setting-up-the-eclipse-ide\">Yocto \u2014 \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Eclipse<\/a><br \/>  \u0412 Eclipse \u043d\u0443\u0436\u043d\u044b \u043f\u043b\u0430\u0433\u0438\u043d\u044b \u0438\u0437 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0439 \u043a\u043e\u043c\u043f\u043b\u0435\u043a\u0442\u0430\u0446\u0438\u0438:<br \/>  Linux Tools  <\/p>\n<ul>\n<li>LTTng \u2014 Linux Tracing Toolkit<\/li>\n<\/ul>\n<p>  Mobile and Device Development  <\/p>\n<ul>\n<li>C\/C++ Remote Launch<\/li>\n<li>Remote System Explorer End-user Runtime<\/li>\n<li>Remote System Explorer User Actions<\/li>\n<li>Target Management Terminal<\/li>\n<li>TCF Remote System Explorer add-in<\/li>\n<li>TCF Target Explorer<\/li>\n<\/ul>\n<p>  Programming Languages  <\/p>\n<ul>\n<li>Autotools Support for CDT<\/li>\n<li>C\/C++ Development Tools<\/li>\n<\/ul>\n<p>  \u0418 \u043d\u0443\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d \u043e\u0442 Yocto. \u0421\u043a\u0430\u0447\u0430\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u0441\u044e\u0434\u0430: <a href=\"https:\/\/www.yoctoproject.org\/downloads\/tools\/dizzy17\/eclipse-juno-plugin-dizzy-17\">Yocto Plugin for Eclipse<\/a><\/p>\n<h4>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u0441\u0431\u043e\u0440\u043a\u0438<\/h4>\n<p>  \u0414\u043b\u044f \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0430\u0446\u0438\u0438 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 IDE \u0438 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438, \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u044b \u0441\u043a\u0440\u0438\u043f\u0442\u044b:  <\/p>\n<pre><code class=\"bash\">$ bitbake adt-installer $ bitbake meta-ide-support<\/code><\/pre>\n<p>  \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 QEMU \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u043c Yocto \u043d\u0443\u0436\u0435\u043d rpcbind  <\/p>\n<pre><code class=\"bash\">$ sudo apt-get install rpcbind<\/code><\/pre>\n<p>  \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b \/etc\/default\/rpcbind  <\/p>\n<pre><code class=\"bash\">$ sudo nano \/etc\/default\/rpcbind &gt; OPTIONS=&quot;-i -w&quot;<\/code><\/pre>\n<p>  \u043d\u0443\u0436\u043d\u043e \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u0430\u0442\u044c root filesystem \u0432 \u0442\u0443 \u043f\u0430\u043f\u043a\u0443 \u0432 sysroots, \u0433\u0434\u0435 \u043b\u0435\u0436\u0438\u0442 \u0444\u0430\u0439\u043b\u043e\u0432\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u044d\u043c\u0443\u043b\u0438\u0440\u0443\u0435\u043c\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b. \u0412 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 qemux86:  <\/p>\n<pre><code class=\"bash\">$ runqemu-extract-sdk .\/tmp\/deploy\/images\/qemux86\/core-image-sato-qemux86.tar.bz2 .\/tmp\/sysroots\/qemux86<\/code><\/pre>\n<h4>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 Yocto ADT \u0432 Eclipse<\/h4>\n<p>  \u0412 Eclipse \u043c\u0435\u043d\u044e Windows-&gt;Preferences, Yocto Project ADT<br \/>  Cross Compiler Options<br \/>  Build system derived toolchain<br \/>  Toolchain Root Location:<br \/>  \/home\/&#8230;\/Poky\/poky\/build\/<br \/>  Sysroot Location:<br \/>  \/home\/&#8230;\/Poky\/poky\/build\/tmp\/sysroots\/qemux86<br \/>  Target Architecture: i586-poky-linux<br \/>  Target Options:<br \/>  QEMU<br \/>  Kernel: \/home\/&#8230;\/Poky\/poky\/build\/tmp\/deploy\/images\/qemux86\/bzImage-qemux86.bin<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/a53\/5e6\/139\/a535e6139d5a45eb9816e7f725e947f5.png\" alt=\"Yocto Project ADT Preferences\"\/><\/p>\n<h4>\u041f\u0440\u043e\u0435\u043a\u0442 Hello, World! \u0432 Eclipse c Yocto ADT<\/h4>\n<p>  \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u043d\u043e\u0432\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442<br \/>  New Project-&gt;C++ Project<br \/>  Project name: hello_qemu_cmake_04<br \/>  Project type: Yocto Project ADT CMake Project-&gt;Hello World C++ CMake Project<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/34d\/b7e\/9b4\/34db7e9b43764fe2ac804d5e95f47217.png\" alt=\"New Yocto ADT CMake Project\"\/><\/p>\n<p>  Next, Next, Finish<br \/>  Build project<br \/>  \u0412 \u043f\u0430\u043f\u043a\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 -&gt; Debug \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c\u0441\u044f hello_qemu_cmake_04<br \/>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0442\u0430\u043a \u0436\u0435 \u043a\u0430\u043a \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u0441 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c, \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u043c \u0447\u0435\u0440\u0435\u0437 Cross GCC \u0437\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u0442\u043e\u0433\u043e, \u0447\u0442\u043e QEMU \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u0442\u0435\u043f\u0435\u0440\u044c \u0432 Eclipse \u0447\u0435\u0440\u0435\u0437 \u043c\u0435\u043d\u044e<br \/>  Run-&gt;External Tools-&gt;qemu_i586-poky-linux<\/p>\n<h4>\u0417\u0430\u043f\u0443\u0441\u043a \u0438 \u043e\u0442\u043b\u0430\u0434\u043a\u0430 \u0438\u0437 IDE Eclipse<\/h4>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043c Eclipse \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0438 \u043e\u0442\u043b\u0430\u0436\u0438\u0432\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043f\u0440\u044f\u043c\u043e \u0438\u0437 IDE.<br \/>  \u0418\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u0432\u0437\u044f\u0442\u0430 \u043e\u0442\u0441\u044e\u0434\u0430:<br \/>  <a href=\"http:\/\/www.yoctoproject.org\/docs\/1.3\/dev-manual\/dev-manual.html#deploying-and-debugging-the-application\">\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0438 \u043e\u0442\u043b\u0430\u0434\u043a\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 ADT \u0432 Eclipse<\/a><br \/>  \u0414\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u043f\u0435\u0440\u0435\u0434 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u043e\u0439 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u0430\u044f \u043c\u0430\u0448\u0438\u043d\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0437\u0430\u043f\u0443\u0449\u0435\u043d\u0430 (Run-&gt;External Tools-&gt;qemu_i586-poky-linux, \u043a\u0430\u043a \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c \u0440\u0430\u0437\u0434\u0435\u043b\u0435). <br \/>  \u0414\u043b\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0432 \u043c\u0435\u043d\u044e Eclipse<br \/>  Run -&gt; Debug Configurations\u2026<br \/>  \u0412 \u0441\u043f\u0438\u0441\u043a\u0435 \u0441\u043b\u0435\u0432\u0430 \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u044b\u0441\u043a\u0430\u0442\u044c \u201cC\/C++ Remote Application\u201d, \u0442\u0430\u043c \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043f\u0443\u043d\u043a\u0442 \u0441 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c \u043d\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0438 \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b. \u0423 \u043c\u0435\u043d\u044f \u044d\u0442\u043e \u201chello_qemu_cmake_04_gdb_i586-poky-linux\u201d. \u041d\u0430\u0434\u043e \u0435\u0433\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c.<br \/>  \u0412 \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u0435 \u043e\u0442 Yocto \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0443\u043a\u0430\u0437\u0430\u0442\u044c Remote Absolute File Path for C\/C++Application. \u041d\u043e \u0441\u0435\u0439\u0447\u0430\u0441 \u043d\u0435 \u0441\u0430\u043c\u043e\u0435 \u043b\u0443\u0447\u0448\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e. \u0423\u0434\u043e\u0431\u043d\u0435\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u0432\u044f\u0437\u044c \u0441 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u043e\u0439.<br \/>  \u0410 \u043f\u043e\u043a\u0430 \u0432 \u043f\u0440\u0430\u0432\u043e\u0439 \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0432\u043a\u043b\u0430\u0434\u043a\u0443 Debugger, \u0437\u0434\u0435\u0441\u0442 \u043d\u0430\u0434\u043e \u0432 \u0432\u044b\u043f\u0430\u0434\u0430\u044e\u0449\u0435\u043c \u0441\u043f\u0438\u0441\u043a\u0435 Debugger \u0432\u044b\u0431\u0440\u0430\u0442\u044c remote gdb\/mi. \u0423 \u043c\u0435\u043d\u044f \u044d\u0442\u043e \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0441\u043f\u0438\u0441\u043a\u0430, \u043d\u043e \u0435\u0433\u043e \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0442\u044c\u0441\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0434\u0440\u0443\u0433\u0438\u0435 \u043f\u043e\u043b\u044f \u0444\u043e\u0440\u043c\u044b.<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/578\/799\/303\/5787993038a54954bb16b360004daac3.png\" alt=\"Eclipse-&gt;Debug Configurations - Debugger\"\/><br \/>  \u0412\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u0441\u044f \u043d\u0430 \u0432\u043a\u043b\u0430\u0434\u043a\u0443 Main \u0438 \u0441\u043e\u0437\u0434\u0430\u0451\u043c \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435.<br \/>  \u0412 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 Connection \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c New\u2026. \u0412 \u043e\u043a\u043d\u0435 New Connection \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c TCF. \u0423 \u043c\u0435\u043d\u044f \u0438\u0445 \u0434\u0432\u0430. \u042f \u043d\u0435 \u0437\u043d\u0430\u044e, \u0437\u0430\u0447\u0435\u043c \u0432\u0442\u043e\u0440\u043e\u0439, \u043d\u043e \u0432\u044b\u0431\u043e\u0440 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0442\u043e\u0447\u043d\u043e \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043a \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u043c\u0443 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0443.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/28f\/05c\/dea\/28f05cdeade343ae876ee4beaede83be.png\" alt=\"Eclipse-&gt;Debug Configurations - Main-&gt;New Connection\"\/><\/p>\n<p>  \u0412 \u043f\u043e\u043b\u0435 Host name \u0432\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c IP \u043c\u0430\u0448\u0438\u043d\u044b \u0432 QEMU. \u041f\u043e\u043b\u0435 Connection name \u043c\u043e\u0436\u043d\u043e \u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u043d\u044b\u043c IP. , \u2026 \u0427\u0442\u043e\u0431\u044b \u043c\u0435\u043d\u044c\u0448\u0435 \u0431\u044b\u043b\u043e \u0432\u043e\u0437\u043d\u0438 \u043f\u043e\u0437\u0436\u0435, \u0437\u0434\u0435\u0441\u044c \u0436\u0435 \u043c\u043e\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c login \u043f\u0440\u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0438. \u0412 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 Connection \u043d\u0430\u0436\u043c\u0438\u0442\u0435 Edit\u2026 \u0438 \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 Default User ID. \u041b\u043e\u0433\u0438\u043d root.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/334\/24c\/4e6\/33424c4e612d48fc95439282cf009346.png\" alt=\"Eclipse-&gt;Debug Configurations   - Main-&gt;Edit - Properties\"\/><br \/>  \u041d\u0430 \u0432\u043a\u043b\u0430\u0434\u043a\u0435 Main \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435.<br \/>  \u0422\u0435\u043f\u0435\u0440\u044c \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043f\u0443\u0442\u044c \u043a \u0444\u0430\u0439\u043b\u0443 \u0438 \u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c Eclipse \u0431\u0443\u0434\u0435\u0442 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u043e\u0442\u043b\u0430\u0436\u0438\u0432\u0430\u0435\u043c\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u0443\u044e \u043c\u0430\u0448\u0438\u043d\u0443.<br \/>  \u0415\u0441\u043b\u0438 QEMU \u0437\u0430\u043f\u0443\u0449\u0435\u043d, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0436\u0430\u0442\u044c Browse\u2026 \u0438, \u0435\u0441\u043b\u0438 \u0441 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435\u043c \u0432\u0441\u0451 \u0432 \u043f\u043e\u0440\u044f\u0434\u043a\u0435, \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0444\u0430\u0439\u043b\u043e\u0432\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b \u0438 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043c\u0435\u0441\u0442\u043e, \u043a\u0443\u0434\u0430 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435. \u0423 \u0432\u0430\u0441 \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0442\u0430\u043a\u0430\u044f \u0436\u0435 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430, \u043a\u0430\u043a \u043d\u0430 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u0435 \u0441\u043d\u0438\u0437\u0443. \u041d\u043e \u0432\u043e\u0442 \u0447\u0442\u043e \u0432\u0430\u0436\u043d\u043e: \u043d\u0443\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0444\u0430\u0439\u043b. \u0415\u0441\u043b\u0438 \u0432\u044b \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0435\u0441\u044c \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u0430\u043f\u043a\u0443, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043d\u0435\u0442 \u0444\u0430\u0439\u043b\u0430 \u0441 \u0442\u0435\u043c \u0438\u043c\u0435\u043d\u0435\u043c, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0445\u043e\u0442\u0438\u0442\u0435 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0439 \u0444\u0430\u0439\u043b, \u0442\u043e \u0432 \u044d\u0442\u0438\u043c \u043e\u043a\u043d\u043e\u043c \u0432\u044b \u043d\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0438\u0442\u0435\u0441\u044c. \u041d\u0430\u0436\u043c\u0438\u0442\u0435  \u0438 \u0434\u043e\u043f\u0438\u0448\u0438\u0442\u0435 \u0438\u043c\u044f \u0444\u0430\u0439\u043b\u0430 \u0432 \u043e\u043a\u043d\u0435 Debug Configurations.<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/ffc\/9c1\/3cd\/ffc9c13cd54a4f2aaa4a64c05469848e.png\" alt=\"Eclipse-&gt;Debug Configurations - Main-&gt;Select remote application file\"\/><\/p>\n<p>  \u0418\u0442\u043e\u0433 \u0434\u043e\u043b\u0436\u0435\u043d \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a\u043e\u0439:<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/files\/5bb\/ee6\/a91\/5bbee6a91d3849d7b2e250735bcd4bec.png\" alt=\"Eclipse-&gt;Debug Configurations - Main\"\/><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0436\u0430\u0442\u044c .<\/p>\n<p>  \u0423 \u043c\u0435\u043d\u044f \u0432 \u043e\u043a\u043d\u0435 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 Eclipse \u201cRemote Shell\u201d \u0431\u044b\u043b\u043e \u0442\u0430\u043a:<\/p>\n<pre><code>root@qemux86:\/#  e c h o   $ P WD'&gt;' \/&gt; \u2026 <\/code><\/pre>\n<p>  \u0417\u0430\u0442\u0435\u043c \u043f\u0440\u0438\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u0442\u044c\u0441\u044f \u0432 \u043f\u0435\u0440\u0441\u043f\u0435\u043a\u0442\u0438\u0432\u0443 Debug. \u0415\u0441\u0442\u044c \u0441\u043c\u044b\u0441\u043b \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0442\u044c\u0441\u044f.<br \/>  \u041e\u0442\u043b\u0430\u0434\u0447\u0438\u043a \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u043d\u0430 \u0441\u0442\u0440\u043e\u043a\u0435  <\/p>\n<pre><code>printf(&quot;Hello World!\\n&quot;);<\/code><\/pre>\n<p>  \u0416\u043c\u0451\u043c Step Over (F6)<br \/>  \u0412 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435   <\/p>\n<pre><code>... Remote debugging from host 192.168.7.1 Hello World! <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443. \u041f\u043e\u043a\u0430 \u0434\u043b\u044f QEMU x86. \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/255917\/\"> http:\/\/habrahabr.ru\/post\/255917\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p> \t\t\t\u042d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u2014 \u0431\u044b\u0441\u0442\u0440\u044b\u0439 \u0441\u0442\u0430\u0440\u0442 \u0441 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430\u043c\u0438 \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u043e\u043c\u0443 \u043d\u0443\u0436\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c Embedded Linux \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e Yocto.<br \/>  \u0415\u0441\u043b\u0438 \u0432\u044b \u0441\u043e\u0431\u0440\u0430\u043b\u0438\u0441\u044c \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c Embedded Linux \u0434\u043b\u044f \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u0447\u043d\u044b\u0445 \u0430\u043f\u043f\u0430\u0440\u0430\u0442\u043d\u044b\u0445 \u0441\u0440\u0435\u0434\u0441\u0442\u0432, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f SoC \u043d\u0430 FPGA, \u0442\u043e, \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435, \u043a\u0430\u043a \u0438 \u044f \u0441\u0442\u043e\u043b\u043a\u043d\u0451\u0442\u0435\u0441\u044c \u0441 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c Yocto.<\/p>\n<p>  Yocto \u2014 \u043f\u0440\u043e\u0435\u043a\u0442, \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u044e\u0449\u0438\u0439  <\/p>\n<ul>\n<li>\u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430;<\/li>\n<li>\u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u0441\u0431\u043e\u0440\u043a\u0438;<\/li>\n<li>\u043d\u0430\u0431\u043e\u0440 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u044b\u0445 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u0432;<\/li>\n<li>\u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044e \u043c\u0435\u0442\u0430-\u043f\u0430\u043a\u0435\u0442\u043e\u0432, \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u044e\u0449\u0438\u0445 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u044b;<\/li>\n<li>\u043f\u043b\u0430\u0433\u0438\u043d\u044b \u0434\u043b\u044f Eclipse \u0438 Anjuta.<\/li>\n<\/ul>\n<p>  \u042f \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u043b\u0441\u044f \u043e\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u0432\u0430\u043c \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043c\u0435\u043d\u044c\u0448\u0435 \u0442\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043d\u0430 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u043e\u0439 \u0438 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u043e\u0439 \u0438 \u043f\u043e\u0441\u043a\u043e\u0440\u0435\u0435 \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u0442\u044c \u043a \u0442\u0432\u043e\u0440\u0447\u0435\u0441\u0442\u0432\u0443.  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-255379","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/255379","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=255379"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/255379\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=255379"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=255379"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=255379"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}