{"id":288542,"date":"2018-08-27T00:00:02","date_gmt":"2018-08-26T20:00:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=288542"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=288542","title":{"rendered":"\u041a\u0430\u043a \u044f \u0440\u0435\u0430\u043d\u0438\u043c\u0438\u0440\u043e\u0432\u0430\u043b \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e (JTAG-\u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440 BH-USB-560v2) \u0447\u0435\u0440\u0435\u0437 U-Boot"},"content":{"rendered":"\n<div data-io-article-url=\"https:\/\/habr.com\/post\/420895\/\" class=\"post__text post__text-html js-mediator-article\">\n<p>\u0423 \u043c\u0435\u043d\u044f \u0435\u0441\u0442\u044c \u0441\u043e\u043c\u043d\u0435\u043d\u0438\u044f, \u0447\u0442\u043e JTAG-\u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440 \u0434\u043b\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043e\u0432 \u0444\u0438\u0440\u043c\u044b Texas Instruments \u2014 \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0451\u043d\u043d\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u0447\u0442\u043e\u0431\u044b \u0435\u0433\u043e \u0440\u0435\u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044f \u0431\u044b\u043b\u0430 \u0431\u044b \u043a\u043e\u043c\u0443-\u0442\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430. \u041e\u0434\u043d\u0430\u043a\u043e \u0441\u0442\u0430\u0442\u044c\u044f \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u0430 \u0442\u0435\u043c, \u043a\u0442\u043e \u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u0440\u0435\u0430\u043d\u0438\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u043d\u0430 \u0431\u0430\u0437\u0435 \u043e\u0434\u043d\u043e\u043f\u043b\u0430\u0442\u043d\u0438\u043a\u0430 \u0441 Linux, \u0438\u043c\u0435\u044f \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u044b\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e. \u041c\u043e\u0436\u043d\u043e \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u044d\u0442\u043e \u043a\u0430\u043a \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0443\u043c \u0440\u0430\u0431\u043e\u0442\u044b \u0441 U-Boot.<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/_p\/ck\/gs\/_pckgs2ll-f4z2l7jonpuotwx4m.jpeg\" alt=\"Blackhawk USB560v2\"><\/p>\n<p><a name=\"habracut\"><\/a>  <\/p>\n<h1 id=\"vmesto-predisloviya\">\u0412\u043c\u0435\u0441\u0442\u043e \u043f\u0440\u0435\u0434\u0438\u0441\u043b\u043e\u0432\u0438\u044f<\/h1>\n<p>  <\/p>\n<p>\u0422\u043e\u0442, \u043a\u0442\u043e \u0437\u0430\u043d\u0438\u043c\u0430\u043b\u0441\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u043e\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u0434\u043b\u044f \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c, \u0437\u043d\u0430\u0435\u0442, \u0447\u0442\u043e \u0434\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430. \u0414\u043b\u044f \u0441\u0435\u043c\u0435\u0439\u0441\u0442\u0432\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043e\u0432 \u0444\u0438\u0440\u043c\u044b Texas Instruments \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0430\u0434\u0430\u043f\u0442\u0435\u0440\u044b, \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u044b\u0435 JTAG-\u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430\u043c\u0438.<\/p>\n<p>  <\/p>\n<p>\u0418\u0445 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e, \u0438 \u043e\u0442 \u0440\u0430\u0437\u043d\u044b\u0445 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u0435\u0439. \u0412 \u043c\u043e\u0451\u043c \u043f\u0430\u0440\u043a\u0435 \u043f\u043e\u043c\u0438\u043c\u043e \u043f\u0440\u043e\u0447\u0438\u0445 \u0437\u043d\u0430\u0447\u0438\u0442\u0441\u044f <a href=\"https:\/\/www.blackhawk-dsp.com\/products\/jtag-emulators\/usb560v2\">Blackhawk USB560v2<\/a>. \u041d\u0430\u0434\u043e \u043f\u0440\u0438\u0437\u043d\u0430\u0442\u044c\u0441\u044f, \u043d\u0435 \u0441\u0430\u043c\u0430\u044f \u0434\u0435\u0448\u0451\u0432\u0430\u044f \u0436\u0435\u043b\u0435\u0437\u043a\u0430. \u0418 \u0432\u043e\u0442 \u043e\u0434\u043d\u0430\u0436\u0434\u044b \u043e\u043d\u0430 \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0431\u0435\u0437 \u0432\u0438\u0434\u0438\u043c\u044b\u0445 \u043d\u0430 \u0442\u043e \u043f\u0440\u0438\u0447\u0438\u043d.<\/p>\n<p>  <\/p>\n<h1 id=\"simptomy\">\u0421\u0438\u043c\u043f\u0442\u043e\u043c\u044b<\/h1>\n<p>  <\/p>\n<p>\u0412\u0441\u0451 \u043f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u043e \u0432 \u043e\u0434\u0438\u043d \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u044b\u0439 \u0434\u0435\u043d\u044c, \u0434\u0435\u0432\u0430\u0439\u0441 \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c\u0441\u044f \u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c\u0441\u044f \u043f\u043e USB. \u041c\u043e\u0440\u0433\u0430\u043b \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434, \u043d\u043e \u0432 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 &#171;\u0433\u043e\u0442\u043e\u0432\u043e \u043a \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044e&#187; \u043d\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043b.<\/p>\n<p>  <\/p>\n<p>\u0423 \u044d\u0442\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0435\u0441\u0442\u044c \u0437\u0430\u043d\u044f\u0442\u043d\u044b\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c: \u043f\u043e\u0441\u043b\u0435 10-15 \u043d\u0435\u0443\u0434\u0430\u0447\u043d\u044b\u0445 \u0437\u0430\u0433\u0440\u0443\u0437\u043e\u043a \u043e\u043d\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u0432 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u0436\u0438\u043c (safe mode), \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b \u0431\u044b \u0435\u0433\u043e \u043f\u0435\u0440\u0435\u043f\u0440\u043e\u0448\u0438\u0442\u044c. \u041e\u0434\u043d\u0430\u043a\u043e \u043c\u043e\u0451 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0432 \u044d\u0442\u043e\u0442 \u0440\u0435\u0436\u0438\u043c \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442\u044c \u043e\u0442\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u043e\u0441\u044c, \u0434\u043e \u044d\u0442\u0430\u043f\u0430 USB \u043d\u0443\u043c\u0435\u0440\u0430\u0446\u0438\u0438 \u043d\u0435 \u0434\u043e\u0445\u043e\u0434\u0438\u043b\u043e, \u0438 \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u0435\u0440\u0435\u043f\u0440\u043e\u0448\u0438\u0442\u044c \u0448\u0442\u0430\u0442\u043d\u043e\u0439 \u0443\u0442\u0438\u043b\u0438\u0442\u043e\u0439 \u043d\u0435 \u0431\u044b\u043b\u043e. \u041f\u0435\u0440\u0435\u043f\u0438\u0441\u043a\u0430 \u0441\u043e \u0441\u043b\u0443\u0436\u0431\u043e\u0439 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u043d\u0438 \u043a \u0447\u0435\u043c\u0443 \u043d\u0435 \u043f\u0440\u0438\u0432\u0435\u043b\u0430: \u043f\u043e \u0442\u0435\u0445\u043d\u0438\u043a\u0435 \u043f\u043e\u043c\u043e\u0433\u0430\u0442\u044c \u043e\u043d\u0438 \u043c\u043d\u0435 \u043e\u0442\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c, \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0432 \u043b\u0438\u0448\u044c \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c (\u0437\u0430 \u0441\u0432\u043e\u0439 \u0441\u0447\u0451\u0442) \u0434\u0435\u0432\u0430\u0439\u0441 \u0438\u043c \u0432 \u0421\u0428\u0410 \u043d\u0430 \u0434\u0438\u0430\u0433\u043d\u043e\u0441\u0442\u0438\u043a\u0443 \u0438 \u0440\u0435\u043c\u043e\u043d\u0442. <\/p>\n<p>  <\/p>\n<p>\u041d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043e\u0441\u0442\u0430\u0432\u0430\u043b\u043e\u0441\u044c, \u043a\u0430\u043a \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u0442\u044c \u043a \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u043f\u043e\u0447\u0438\u043d\u043a\u0435.<\/p>\n<p>  <\/p>\n<p>\u041d\u0430 \u0445\u043e\u0441\u0442\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d Ubuntu, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0443\u0442\u0438\u043b\u0438\u0442\u044b \u0432\u0445\u043e\u0434\u044f\u0442 \u0432 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u044e\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 apt.<\/p>\n<p>  <\/p>\n<h1 id=\"vneshniy-osmotr\">\u0412\u043d\u0435\u0448\u043d\u0438\u0439 \u043e\u0441\u043c\u043e\u0442\u0440<\/h1>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/kk\/tv\/hy\/kktvhyy3zna3hqdl_stgybhfqse.jpeg\" alt=\"image\"><\/p>\n<p>  <\/p>\n<p>\u0420\u0430\u0437\u0431\u0438\u0440\u0430\u0435\u043c, \u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u043f\u043b\u0430\u0442\u0443. \u041d\u0430 \u043f\u043b\u0430\u0442\u0435 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u044b:<\/p>\n<p>  <\/p>\n<ul>\n<li>\u041c\u0438\u043a\u0440\u043e\u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440 <a href=\"http:\/\/www.ti.com\/product\/TMS320DM6441\">TI TMS320DM6441<\/a><\/li>\n<li>Flash <a href=\"https:\/\/www.micron.com\/parts\/nand-flash\/mass-storage\/mt29f1g08abbdahc-it\">Micron MT29F1G08ABBDAHC<\/a><\/li>\n<li>2x DRAM <a href=\"https:\/\/www.micron.com\/parts\/dram\/ddr2-sdram\/mt47h64m16hr-3\">Micron MT47H64M16HR-3<\/a><\/li>\n<li>\u041f\u041b\u0418\u0421 Altera MAX II (EPM570GF00C5N) \u0438 Cyclon III (EP3C25U256C8N)<\/li>\n<\/ul>\n<p>  <\/p>\n<p>\u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u043f\u043e\u0440\u0430\u0434\u043e\u0432\u0430\u043b \u0437\u0430\u0431\u043e\u0442\u043b\u0438\u0432\u043e \u043e\u0444\u043e\u043c\u043b\u0435\u043d\u043d\u044b\u0439 \u0440\u0430\u0437\u044a\u0451\u043c UART, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u0430\u043b\u043e \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0431\u044b\u043b \u0440\u0430\u0437\u0432\u0435\u0434\u0451\u043d \u043f\u043e\u0434 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0443\u044e \u0433\u0440\u0435\u0431\u0451\u043d\u043a\u0443 2.54 \u043c\u043c, \u0442\u0430\u043a \u0435\u0449\u0451 \u0438 \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u044b \u0431\u044b\u043b\u0438 \u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u044b. \u0422\u0430\u043a\u043e\u0433\u043e \u044f \u043d\u0435 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u043b \u0443\u0436\u0435 \u0434\u0430\u0432\u043d\u043e, \u043c\u0430\u043a\u0441\u0438\u043c\u0443\u043c \u043f\u044f\u0442\u0430\u0447\u043a\u0438 \u043d\u0430 \u043f\u043b\u0430\u0442\u0435, \u0434\u0430 \u0435\u0449\u0451 \u0438 \u0441 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0437\u043d\u0430\u0447\u0430\u0449\u0438\u043c\u0438 \u043c\u0430\u0440\u043a\u0438\u0440\u043e\u0432\u043a\u0430\u043c\u0438 \u0442\u0438\u043f\u0430 TP1 \u0438 \u0442.\u043f.<\/p>\n<p>  <\/p>\n<h1 id=\"pristupim\">\u041f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043c<\/h1>\n<p>  <\/p>\n<p>\u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c USB-UART (\u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u043f\u0440\u043e \u0443\u0440\u043e\u0432\u0435\u043d\u044c, \u043e\u043d \u0437\u0434\u0435\u0441\u044c 3.3 \u0412). \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c minicom, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c:<\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">TI UBL Version: 1.13, Flash type: NAND                                        Booting PSP Boot Loader                                                       PSPBootMode = NAND                                                            Starting NAND Copy...                                                         Initializing NAND flash...                                                    Manufacturer ID  = 0x0000002C            Device ID        = 0x000000A1            Pages Per Block  = 0x00000040            Number of Blocks = 0x00000400            Bytes Per Page   = 0x00000800            Valid MagicNum found at block 0x00000001, page 0x00000008 NAND Boot success.    DONE  U-Boot 2010.12 (May 09 2012 - 13:10:23)  Cores: ARM 257 MHz, DSP 513 MHz DDR:   162 MHz I2C:   ready DRAM:  256 MiB NAND:  128 MiB MMC:    Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 In:    serial Out:   serial Err:   serial Read USBID pin : DEVICE Read boot progress legacy : 0 Read boot progress : 0 Write boot progress legacy : 0 Write boot progress : 0 Hit any key to stop autoboot:  0   Loading from NAND 128MiB 1,8V 8-bit, offset 0x60000    Image Name:   Linux-2.6.10_mvl401-xds560    Image Type:   ARM Linux Kernel Image (uncompressed)    Data Size:    1236292 Bytes = 1.2 MiB    Load Address: 80008000    Entry Point:  80008000 NAND read from offset 60000 failed -74 ** Read error ## Booting kernel from Legacy Image at 80700000 ...    Image Name:   Linux-2.6.10_mvl401-xds560    Image Type:   ARM Linux Kernel Image (uncompressed)    Data Size:    1236292 Bytes = 1.2 MiB    Load Address: 80008000    Entry Point:  80008000    Verifying Checksum ... Bad Data CRC ERROR: can't get kernel image!<\/code><\/pre>\n<p>  <\/p>\n<p>\u041a\u0430\u043a \u0432\u0438\u0434\u0438\u043c, \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0432\u043f\u043e\u043b\u043d\u0435 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0430\u044f: \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0433\u0440\u0443\u0437\u0438\u0442\u0441\u044f bootloader (TI UBL), \u0437\u0430\u0442\u0435\u043c U-Boot, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432 \u0441\u0432\u043e\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0433\u0440\u0443\u0437\u0438\u0442 \u044f\u0434\u0440\u043e Linux.<\/p>\n<p>  <\/p>\n<p>\u041f\u043e \u043b\u043e\u0433\u0443 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u0447\u0442\u043e-\u0442\u043e \u0441\u043b\u0435\u0442\u0435\u043b\u043e \u0432\u043e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0439 NAND Flash, \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u044f\u0434\u0440\u0430 Linux \u043d\u0435 \u0441\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u0430\u044f \u0441\u0443\u043c\u043c\u0430. \u041e\u0434\u043d\u0430\u043a\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0435\u0440\u0432\u0430\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0443 \u0438 \u0432\u043e\u0439\u0442\u0438 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c U-Boot.<\/p>\n<p>  <\/p>\n<p>\u041e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u043c\u0441\u044f \u0441 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u043c\u0438 \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c\u0438:<\/p>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0418\u0445 \u043d\u0435\u043c\u0430\u043b\u043e<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">U-Boot &gt; help ?       - alias for 'help' askenv  - get environment variables from stdin base    - print or set address offset boot    - boot default, i.e., run 'bootcmd' bootd   - boot default, i.e., run 'bootcmd' bootm   - boot application image from memory cmp     - memory compare coninfo - print console devices and information cp      - memory copy crc32   - checksum calculation echo    - echo args to console editenv - edit environment variable eeprom  - EEPROM sub-system env     - environment handling commands exit    - exit script false   - do nothing, unsuccessfully fatinfo - print information about filesystem fatload - load binary file from a dos filesystem fatls   - list files in a directory (default \/) go      - start application at address 'addr' help    - print command description\/usage i2c     - I2C sub-system iminfo  - print header information for application image imxtract- extract a part of a multi-image itest   - return true\/false on integer compare loadb   - load binary file over serial line (kermit mode) loads   - load S-Record file over serial line loady   - load binary file over serial line (ymodem mode) loop    - infinite loop on address range md      - memory display mdc     - memory display cyclic mii     - MII utility commands mm      - memory modify (auto-incrementing address) mmc     - MMC sub system mmcinfo - display MMC info mtest   - simple RAM read\/write test mw      - memory write (fill) mwc     - memory write cyclic nand    - NAND sub-system nboot   - boot from NAND device nm      - memory modify (constant address) printenv- print environment variables reset   - Perform RESET of the CPU run     - run commands in an environment variable saveenv - save environment variables to persistent storage saves   - save S-Record file over serial line setenv  - set environment variables showvar - print local hushshell variables sleep   - delay execution for some time source  - run script from memory test    - minimal test like \/bin\/sh true    - do nothing, successfully usb     - USB sub-system usbboot - boot from USB device version - print monitor version<\/code><\/pre>\n<\/div>\n<\/div>\n<p>  <\/p>\n<p>\u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f:<\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">U-Boot &gt; printenv  autokern=0x60000 autoroot=\/dev\/mtdblock3 baudrate=115200 bootcmd=nboot 80700000 0 ${autokern}; run setbootargsnand; bootm setbootargsnand=setenv bootargs mem=64M console=ttyS0,${baudrate}n8 root=${autoroot} rw rootfstype=jffs2 ip=off stderr=serial stdin=serial stdout=serial ver=U-Boot 2010.12 (May 09 2012 - 13:10:23)  Environment size: 338\/16380 bytes<\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u044f \u043f\u043e\u043f\u044b\u0442\u0430\u043b\u0441\u044f \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043c\u0430\u043d\u0434 U-Boot.<\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">U-Boot &gt; setenv verify n U-Boot &gt; boot<\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u0440\u043e\u0434\u0432\u0438\u043d\u0443\u043b\u0441\u044f \u0447\u0443\u0442\u044c \u0434\u0430\u043b\u044c\u0448\u0435, \u043d\u043e \u043d\u0435 \u043d\u0430\u043c\u043d\u043e\u0433\u043e:<\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">## Booting kernel from Legacy Image at 80700000 ...    Image Name:   Linux-2.6.10_mvl401-xds560    Image Type:   ARM Linux Kernel Image (uncompressed)    Data Size:    1236292 Bytes = 1.2 MiB    Load Address: 80008000    Entry Point:  80008000    Loading Kernel Image ... OK OK  Starting kernel ...  Uncompressing Linux.................................................................................  crc error   te<\/code><\/pre>\n<p>  <\/p>\n<p>\u0414\u0430\u043b\u044c\u0448\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0432\u0438\u0441\u043d\u0435\u0442.<\/p>\n<p>  <\/p>\n<p>\u0418\u0437 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f \u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u043e\u0431\u0440\u0430\u0437 \u044f\u0434\u0440\u0430 \u043b\u0435\u0436\u0438\u0442 \u0432 NAND Flash \u0441\u043e \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u0435\u043c 0x60000, \u043f\u0440\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0435 \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 0x80700000 (\u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e memory map \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430 \u044d\u0442\u043e \u0430\u0434\u0440\u0435\u0441\u043d\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0432\u043d\u0435\u0448\u043d\u0435\u0439 \u043f\u0430\u043c\u044f\u0442\u0438 DRAM) \u0438 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f. \u0420\u0430\u0437\u043c\u0435\u0440 \u043e\u0431\u0440\u0430\u0437\u0430 \u044f\u0434\u0440\u0430, \u043a\u0430\u043a \u0432\u0438\u0434\u043d\u043e \u0438\u0437 \u043b\u043e\u0433\u0430, \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 1236292 \u0431\u0430\u0439\u0442. \u042f \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u043f\u0440\u043e\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u0432\u0440\u0443\u0447\u043d\u0443\u044e. \u041f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u043c, \u0447\u0442\u043e \u043e\u0431\u0440\u0430\u0437 \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435 uImage, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u043a\u0438\u0434\u044b\u0432\u0430\u0435\u043c 64 \u0431\u0430\u0439\u0442\u0430 \u043d\u0430 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a, \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c 1236356 \u0431\u0430\u0439\u0442 = 0x12DD84:<\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">U-Boot &gt; nand read 80700000 60000 12dd84 U-Boot &gt; iminfo  ## Checking Image at 80700000 ...    Legacy image found    Image Name:   Linux-2.6.10_mvl401-xds560    Image Type:   ARM Linux Kernel Image (uncompressed)    Data Size:    1236292 Bytes = 1.2 MiB    Load Address: 80008000    Entry Point:  80008000    Verifying Checksum ...    Bad Data CRC<\/code><\/pre>\n<p>  <\/p>\n<p>\u0414\u0430\u043b\u044c\u0448\u0435 \u043c\u043d\u0435 \u0437\u0430\u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0432\u044b\u043a\u0430\u0447\u0430\u0442\u044c \u0434\u0430\u043c\u043f \u043e\u0431\u0440\u0430\u0437\u0430 \u043d\u0430 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0438\u0433\u0440\u0430\u0442\u044c\u0441\u044f \u0441 \u043d\u0438\u043c. \u042f \u043d\u0435 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b \u043d\u0438\u0447\u0435\u0433\u043e \u043b\u0443\u0447\u0448\u0435, \u043a\u0430\u043a \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u043b\u043e\u0433 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0441 \u0432\u044b\u0432\u043e\u0434\u043e\u043c \u043f\u0430\u043c\u044f\u0442\u0438 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d, \u0430 \u0437\u0430\u0442\u0435\u043c \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0432 \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0439 \u0444\u0430\u0439\u043b.<\/p>\n<p>  <\/p>\n<p>\u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c minicom \u0441 \u0437\u0430\u043f\u0438\u0441\u044c\u044e \u043b\u043e\u0433\u0430:<\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">minicom -C orig-uImage.txt<\/code><\/pre>\n<p>  <\/p>\n<p>\u0412\u044b\u0432\u043e\u0434\u0438\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043f\u0430\u043c\u044f\u0442\u0438 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d:<\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">U-Boot &gt; md.b 80700000 12dd84<\/code><\/pre>\n<p>  <\/p>\n<p>\u0412\u044b\u0445\u043e\u0434\u0438\u043c \u0438\u0437 minicom, \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0435\u043c \u043b\u043e\u0433, \u0443\u0431\u0440\u0430\u0432 \u043b\u0438\u0448\u043d\u0438\u0435 \u0441\u0442\u0440\u043e\u0447\u043a\u0438, \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u0435\u043c \u0432 \u0431\u0438\u043d\u0430\u0440\u043d\u0438\u043a:<\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">xxd -r -seek -0x80700000 orig-uImage.txt orig-uImage<\/code><\/pre>\n<p>  <\/p>\n<p>\u041c\u043d\u0435 \u0437\u0430\u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043f\u0435\u0440\u0435\u043f\u0430\u043a\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u0440\u0430\u0437, \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u043d\u0435 \u0432\u044b\u0434\u0430\u0432\u0430\u043b \u043e\u0448\u0438\u0431\u043a\u0438 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u043e\u0439 \u0441\u0443\u043c\u043c\u044b. \u0423\u0434\u0430\u043b\u044f\u0435\u043c \u043f\u0435\u0440\u0432\u044b\u0435 64 \u0431\u0430\u0439\u0442\u0430, \u0430 \u0437\u0430\u0442\u0435\u043c \u0434\u0435\u043b\u0430\u0435\u043c \u043d\u043e\u0432\u044b\u0439 uImage:<\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">mkimage -A arm -T kernel -C none -a 80008000 -e 80008000 -n \"Linux-2.6.10_mvl401-xds560\" -d orig-uImage patched-uImage<\/code><\/pre>\n<p>  <\/p>\n<p>\u0417\u0430\u043b\u0438\u0432\u0430\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u043f\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 YModem:<\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">U-Boot &gt; loady   ## Ready for binary (ymodem) download to 0x80700000 at 115200 bps...                                            C## Total Size      = 0x0012dd84 = 1236356 Bytes U-Boot &gt; iminfo   ## Checking Image at 80700000 ...    Legacy image found    Image Name:   Linux-2.6.10_mvl401-xds560    Image Type:   ARM Linux Kernel Image (uncompressed)    Data Size:    1236292 Bytes = 1.2 MiB    Load Address: 80008000    Entry Point:  80008000    Verifying Checksum ... OK<\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u0440\u043e\u0431\u0443\u0435\u043c \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c\u0441\u044f, \u043d\u043e \u0442\u0430\u043a\u0436\u0435 \u0432\u0438\u0441\u043d\u0435\u043c \u043d\u0430 \u044d\u0442\u0430\u043f\u0435 \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u043a\u0438 \u044f\u0434\u0440\u0430:<\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">U-Boot &gt; bootm ## Booting kernel from Legacy Image at 80700000 ...    Image Name:   Linux-2.6.10_mvl401-xds560    Image Type:   ARM Linux Kernel Image (uncompressed)    Data Size:    1236292 Bytes = 1.2 MiB    Load Address: 80008000    Entry Point:  80008000    Verifying Checksum ... OK    Loading Kernel Image ... OK OK  Starting kernel ...  Uncompressing Linux.................................................................................  crc error   te<\/code><\/pre>\n<p>  <\/p>\n<p>\u0412\u043f\u043e\u043b\u043d\u0435 \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u043e, \u043d\u0430 \u0447\u0442\u043e \u0442\u0443\u0442 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043d\u0430\u0434\u0435\u044f\u0442\u044c\u0441\u044f. \u041d\u043e \u0445\u043e\u0442\u044f \u0431\u044b \u043f\u0440\u043e\u043a\u0430\u0447\u0430\u043b\u0438 \u0432\u043e\u0440\u043a\u0444\u043b\u043e\u0443 \u043e\u0431\u043c\u0435\u043d\u0430 \u0444\u0430\u0439\u043b\u0430\u043c\u0438, \u0443\u0436\u0435 \u043d\u0435\u043f\u043b\u043e\u0445\u043e.<\/p>\n<p>  <\/p>\n<p>\u0412\u0441\u0451, \u0447\u0442\u043e \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c, \u044d\u0442\u043e \u0444\u0430\u0439\u043b \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 <a href=\"https:\/\/www.blackhawk-dsp.com\/support\/xds560v2#usb560v2\">\u0441 \u0441\u0430\u0439\u0442\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044f<\/a>, <code>USB560v2_firmware_5.0.573.0.bin<\/code>. \u042f \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u043b, \u0447\u0442\u043e \u0432 \u044d\u0442\u043e\u043c \u0444\u0430\u0439\u043b\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u043e\u0431\u0440\u0430\u0437 \u044f\u0434\u0440\u0430, \u043d\u043e \u0440\u0430\u0437\u0443\u043c\u043d\u043e \u0431\u044b\u043b\u043e \u0431\u044b \u043e\u0436\u0438\u0434\u0430\u0442\u044c, \u0447\u0442\u043e \u0444\u0430\u0439\u043b \u0437\u0430\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d \u0445\u043e\u0442\u044f \u0431\u044b \u043f\u0440\u043e\u0441\u0442\u0435\u043d\u044c\u043a\u0438\u043c \u043a\u043b\u044e\u0447\u043e\u043c. \u041f\u043e\u044d\u0442\u043e\u043c\u0443, \u043f\u0440\u0438\u0437\u043d\u0430\u044e\u0441\u044c, \u044f \u0441\u043e\u0440\u0432\u0430\u043b\u0441\u044f \u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044e \u043f\u0440\u043e\u0441\u044c\u0431\u0443 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043c\u043d\u0435 \u043d\u0435\u0431\u0438\u0442\u044b\u0439 <code>uImage<\/code> \u0441 \u0442\u0435\u043c, \u0447\u0442\u043e\u0431\u044b \u044f \u0435\u0433\u043e \u0437\u0430\u043b\u0438\u043b \u0432 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b\u0441\u044f \u0441 \u043d\u0435\u0433\u043e, \u0430 \u043f\u043e\u0442\u043e\u043c \u0443\u0436\u0435 \u0441\u043c\u043e\u0433 \u0431\u044b \u043f\u0435\u0440\u0435\u043f\u0440\u043e\u0448\u0438\u0442\u044c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0448\u0442\u0430\u0442\u043d\u043e\u0439 \u0443\u0442\u0438\u043b\u0438\u0442\u043e\u0439 \u043f\u043e USB. \u0414\u0430\u0436\u0435 \u0441\u043e\u0441\u043b\u0430\u043b\u0441\u044f \u043d\u0430 \u0443\u0441\u043b\u043e\u0432\u0438\u044f GPL (\u043f\u043e\u0434 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u044f\u0435\u0442\u0441\u044f Linux), \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0438\u043c \u043d\u0435 \u043c\u0435\u0448\u0430\u043b\u043e \u0431\u044b \u0432 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0438 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0435 \u043a\u043e\u0434\u044b \u044f\u0434\u0440\u0430.<\/p>\n<p>  <\/p>\n<p>\u0421\u0440\u0430\u0437\u0443 \u043f\u043e\u0441\u043b\u0435 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u044f \u0440\u0435\u0448\u0438\u043b \u0432\u0441\u0451 \u0436\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438, \u043a\u0430\u043a \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0430\u0440\u0445\u0438\u0432. \u0418, \u043e \u0447\u0443\u0434\u043e, \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c!<\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">tar -xf USB560v2_firmware_5.0.573.0.bin<\/code><\/pre>\n<p>  <\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u043a\u0438 \u043f\u043e\u044f\u0432\u0438\u043b\u043e\u0441\u044c \u0434\u0432\u0430 \u0444\u0430\u0439\u043b\u0430: <code>uImage<\/code> \u0438 <code>rootfs.tar.gz<\/code>. \u0422\u043e, \u0447\u0442\u043e \u0434\u043e\u043a\u0442\u043e\u0440 \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u043b, \u043e\u0431\u0440\u0430\u0437 \u044f\u0434\u0440\u0430 \u0438 \u043a\u043e\u0440\u043d\u0435\u0432\u0430\u044f \u0444\u0430\u0439\u043b\u043e\u0432\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430.<\/p>\n<p>  <\/p>\n<p>\u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0437\u0430\u043b\u0438\u0442\u044c <code>uImage<\/code> \u0432 \u043f\u0430\u043c\u044f\u0442\u044c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u043f\u043e YModem \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u044f \u0438 \u0441\u0434\u0435\u043b\u0430\u043b. \u0423\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b\u043e\u0441\u044c \u0432 \u0442\u043e\u0442 \u0441\u0430\u043c\u044b\u0439 safe mode, \u044f \u0434\u0430\u043b \u043e\u0442\u0431\u043e\u0439 \u0442\u0435\u0445. \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044f \u0438, \u0434\u0443\u043c\u0430\u044f, \u0447\u0442\u043e \u043f\u0440\u043e\u0448\u044c\u044e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0440\u0430\u0437, \u0441\u043f\u043e\u043a\u043e\u0439\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u043b\u0441\u044f \u0441\u043f\u0430\u0442\u044c.<\/p>\n<p>  <\/p>\n<h1 id=\"vtoraya-seriya\">\u0412\u0442\u043e\u0440\u0430\u044f \u0441\u0435\u0440\u0438\u044f<\/h1>\n<p>  <\/p>\n<p>\u041e\u0434\u043d\u0430\u043a\u043e \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0434\u0435\u043d\u044c \u043c\u0435\u043d\u044f \u0436\u0434\u0430\u043b \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0439 \u0441\u044e\u0440\u043f\u0440\u0438\u0437. \u0423\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u043f\u0435\u0440\u0435\u0441\u0442\u0430\u043b\u043e \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0442\u044c\u0441\u044f. \u0427\u0442\u043e \u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0435 \u043f\u0435\u0440\u0435\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b, \u043f\u043e\u043b\u0443\u0447\u0430\u043b \u043e\u0448\u0438\u0431\u043a\u0443:<\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">INIT: PANIC: segmentation violation! sleeping for 30 seconds.<\/code><\/pre>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0414\u043b\u0438\u043d\u043d\u044b\u0439 \u043b\u043e\u0433 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u044f\u0434\u0440\u0430<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">Starting kernel ...  Uncompressing Linux................................................................................. done, booting thelLinux version 2.6.10_mvl2 CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ) CPU0: D VIVT write-back cache CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets Machine: DaVinci EVM Memory policy: ECC disabled, Data cache writeback Built 1 zonelists Kernel command line: mem=64M console=ttyS0,115200n8 root=\/dev\/mtdblock3 rw rootfstype=jffs2 ip=off PID hash table entries: 512 (order: 9, 8192 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 64MB = 64MB total Memory: 62080KB available (2118K code, 448K data, 136K init) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) CPU: Testing write buffer coherency: ok spawn_desched_task(00000000) desched cpu_callback 3\/00000000 ksoftirqd started up. desched cpu_callback 2\/00000000 desched thread 0 started up. NET: Registered protocol family 16 Registering platform device 'nor_davinci.0'. Parent at platform Registering platform device 'nand_davinci.0'. Parent at platform DaVinci I2C DEBUG: 12:46:30 Mar 29 2012 Registering platform device 'i2c'. Parent at platform musb_hdrc: version 2.2a\/db-0.4.8 [cppi-dma] [peripheral] [debug=0] Registering platform device 'musb_hdrc'. Parent at platform musb_hdrc: USB Peripheral mode controller at c4800000 using DMA, IRQ 12 JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc. yaffs Mar 29 2012 12:46:15 Installing.  Registering platform device 'davincifb.0'. Parent at platform Console: switching to colour frame buffer device 90x30 Serial: 8250\/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled Registering platform device 'serial8250'. Parent at platform ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A io scheduler noop registered io scheduler anticipatory registered RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize Registering platform device 'ti_davinci_emac'. Parent at platform TI DaVinci EMAC: MAC address is 00:00:00:04:12:64 TI DaVinci EMAC Linux version updated 4.0 TI DaVinci EMAC: Installed 1 instances. netconsole: not configured, aborting i2c \/dev entries driver elevator: using anticipatory as default io scheduler NAND device: Manufacturer ID: 0x2c, Chip ID: 0xa1 (Unknown NAND 128MiB 1,8V 8-bit) Scanning device for bad blocks Creating 8 MTD partitions on \"nand_davinci.0\": 0x00000000-0x00020000 : \"params\" 0x00020000-0x00060000 : \"bootloader\" 0x00060000-0x00260000 : \"safekernel\" 0x00260000-0x01260000 : \"saferootfs\" 0x01260000-0x01460000 : \"kernel\" 0x01460000-0x02860000 : \"rootfs\" 0x02860000-0x03860000 : \"application\" 0x03860000-0x03c60000 : \"logging\" nand_davinci: hardware revision: 2.1 mice: PS\/2 mouse device common for all mice NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 4096 bind 8192) NET: Registered protocol family 1 NET: Registered protocol family 17 jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000016c: 0xffef instead Empty flash at 0x00a237fc ends at 0x00a23800 Empty flash at 0x00c3b7d8 ends at 0x00c3b800 mtd-&gt;read(0x1f320 bytes from 0xec0ce0) returned ECC error mtd-&gt;read(0x1fb8c bytes from 0xf20474) returned ECC error VFS: Mounted root (jffs2 filesystem). Freeing init memory: 136K mtd-&gt;read(0x44 bytes from 0xf39da8) returned ECC error mtd-&gt;read(0x988 bytes from 0xf39420) returned ECC error mtd-&gt;read(0x44 bytes from 0xed8d20) returned ECC error jffs2_get_inode_nodes(): Data CRC failed on node at 0x00ed8d20: Read 0xa8462b94, calculated 0xa03c90e8 mtd-&gt;read(0xa7e bytes from 0xed82a0) returned ECC error jffs2_get_inode_nodes(): Data CRC failed on node at 0x00c3ad78: Read 0x31ac7e30, calculated 0xa52ecb11 jffs2_get_inode_nodes(): Data CRC failed on node at 0x00a22d9c: Read 0x31ac7e30, calculated 0xe9f89c4c mtd-&gt;read(0x988 bytes from 0xf39420) returned ECC error mtd-&gt;read(0xa7e bytes from 0xed82a0) returned ECC error INIT: version 2.85 booting INIT: PANIC: segmentation violation! sleeping for 30 seconds. jffs2_get_inode_nodes(): Data CRC failed on node at 0x00a2ad10: Read 0x5fa921cc, calculated 0x5282f1d9 INIT: PANIC: segmentation violation! sleeping for 30 seconds.<\/code><\/pre>\n<\/div>\n<\/div>\n<p>  <\/p>\n<p>\u042f \u0441\u0434\u0435\u043b\u0430\u043b \u0432\u044b\u0432\u043e\u0434, \u0447\u0442\u043e \u043a\u043e\u0440\u043d\u0435\u0432\u0430\u044f \u0444\u0430\u0439\u043b\u043e\u0432\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u0442\u0430\u043a \u0436\u0435 \u043f\u043e\u0432\u0440\u0435\u0434\u0438\u043b\u0430\u0441\u044c. \u0427\u0442\u043e \u0436, \u0437\u043d\u0430\u0447\u0438\u0442 \u043d\u0430\u0434\u043e \u043f\u0440\u043e\u0448\u0438\u0442\u044c \u0438 \u0435\u0451.<\/p>\n<p>  <\/p>\n<p>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0437\u0430\u043f\u0438\u0448\u0435\u043c <code>uImage<\/code> \u0432 NAND, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043a\u0430\u043a\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u0447\u0435\u0440\u0435\u0437 UART (\u043d\u0430\u0434\u043e \u043f\u0440\u0438\u0437\u043d\u0430\u0442\u044c\u0441\u044f, \u043d\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 115200 \u0444\u0430\u0439\u043b \u0434\u0430\u0436\u0435 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c \u0432 \u043e\u0434\u0438\u043d \u043c\u0435\u0433\u0430\u0431\u0430\u0439\u0442 \u0433\u0440\u0443\u0437\u0438\u0442\u0441\u044f \u043e\u0449\u0443\u0442\u0438\u043c\u043e\u0435 \u0432\u0440\u0435\u043c\u044f). \u041f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 NAND \u043d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439 \u0432\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u043c \u0440\u0430\u0437\u043c\u0435\u0440 \u043e\u0431\u0440\u0430\u0437\u0430 \u0434\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b NAND \u0432 \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0441\u0442\u043e\u0440\u043e\u043d\u0443 (\u0433\u0434\u0435-\u0442\u043e \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u043b \u0442\u0430\u043a\u0443\u044e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0430\u0446\u0438\u044e), \u0430 \u0440\u0430\u0437\u043c\u0435\u0440 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u0443 \u043d\u0430\u0441 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 1024 \u0431\u0430\u0439\u0442\u0430 = 0x800 (\u0441\u043c. \u0441\u0430\u043c\u044b\u0439 \u043f\u0435\u0440\u0432\u044b\u0439 \u043b\u043e\u0433). <\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">U-Boot &gt; loady   ... U-Boot &gt; nand erase 60000 12DC00 U-Boot &gt; nand write 80700000 60000 12DC00<\/code><\/pre>\n<p>  <\/p>\n<p>\u0418\u0437 \u043b\u043e\u0433\u0430 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u044f\u0434\u0440\u0430 \u0432\u044b\u0434\u0435\u043b\u044f\u0435\u043c \u043f\u043e\u043b\u0435\u0437\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e:<\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">Creating 8 MTD partitions on \"nand_davinci.0\": 0x00000000-0x00020000 : \"params\" 0x00020000-0x00060000 : \"bootloader\" 0x00060000-0x00260000 : \"safekernel\" 0x00260000-0x01260000 : \"saferootfs\" 0x01260000-0x01460000 : \"kernel\" 0x01460000-0x02860000 : \"rootfs\" 0x02860000-0x03860000 : \"application\" 0x03860000-0x03c60000 : \"logging\"<\/code><\/pre>\n<p>  <\/p>\n<p>\u0417\u043d\u0430\u0447\u0438\u0442 \u043a\u043e\u0440\u043d\u0435\u0432\u0443\u044e \u0444\u0430\u0439\u043b\u043e\u0432\u0443\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043d\u0430\u0434\u043e \u0437\u0430\u043f\u0438\u0441\u0430\u0442\u044c \u0432 NAND \u0441\u043e \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u0435\u043c 0x260000. \u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043d\u044f\u0442\u044c, \u0432 \u043a\u0430\u043a\u043e\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0435. \u0412\u0441\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u043c \u043f\u0440\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043e\u043a\u0440\u0443\u0436\u0435\u043d\u0438\u044f U-Boot, \u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u043e \u0432\u043e\u0442 \u044d\u0442\u0443 \u0441\u0442\u0440\u043e\u0447\u043a\u0443:<\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">setbootargsnand=setenv bootargs mem=64M console=ttyS0,${baudrate}n8 root=${autoroot} rw rootfstype=jffs2 ip=off<\/code><\/pre>\n<p>  <\/p>\n<p>\u0417\u043d\u0430\u0447\u0438\u0442, \u043d\u0430\u043c \u043d\u0430\u0434\u043e \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0448 <code>rootfs.tar.gz<\/code>, \u0432\u044b\u0443\u0436\u0435\u043d\u043d\u044b\u0439 \u0438\u0437 \u0444\u0430\u0439\u043b\u0430 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438, \u0432 \u0444\u043e\u0440\u043c\u0430\u0442 JFFS2. \u041f\u043e \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0435 \u0441 <a href=\"http:\/\/processors.wiki.ti.com\/index.php\/Create_a_JFFS2_Target_Image#Making_a_JFFS2_image\">Wiki \u043e\u0442 Texas Instruments<\/a> \u0434\u0435\u043b\u0430\u0435\u043c \u044d\u0442\u043e (<code>sudo<\/code> \u043d\u0443\u0436\u0435\u043d \u0434\u043b\u044f <code>tar<\/code>, \u0442\u0430\u043a \u0431\u0435\u0437 \u043d\u0435\u0433\u043e \u0432\u044b\u0434\u0430\u0451\u0442 \u043e\u0448\u0438\u0431\u043a\u0438 \u043f\u0440\u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b <code>mknod<\/code>):<\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">mkdir rootfs sudo tar -xf rootfs.tar.gz -C rootfs mkfs.jffs2 -n -r rootfs -e 16 -o rootfs.jffs2<\/code><\/pre>\n<p>  <\/p>\n<p>\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u0432 \u043f\u0430\u043c\u044f\u0442\u044c \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u0430 \u0437\u0430\u0442\u0435\u043c \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0432 \u043d\u0443\u0436\u043d\u044b\u0439 \u0443\u0447\u0430\u0441\u0442\u043e\u043a NAND (\u0440\u0430\u0437\u043c\u0435\u0440 \u0442\u0430\u043a\u0436\u0435 \u043e\u043a\u0440\u0443\u0433\u043b\u044f\u0435\u043c \u0434\u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b):<\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">U-Boot &gt; loady   ... U-Boot &gt; nand erase 260000 39f000 U-Boot &gt; nand write 80700000 260000 39f000<\/code><\/pre>\n<p>  <\/p>\n<p>\u0421\u043a\u0440\u0435\u0449\u0438\u0432\u0430\u0435\u043c \u043f\u0430\u043b\u044c\u0446\u044b, \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u0441\u044f, \u043d\u0443 \u0442\u0435\u043f\u0435\u0440\u044c \u0443\u0436 \u0432\u0441\u0451 \u0442\u043e\u0447\u043d\u043e \u0445\u043e\u0440\u043e\u0448\u043e. <\/p>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041e\u0447\u0435\u043d\u044c \u0434\u043b\u0438\u043d\u043d\u044b\u0439 \u043f\u043e\u043b\u043d\u044b\u0439 \u043b\u043e\u0433 \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0439 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"bash\">TI UBL Version: 1.13, Flash type: NAND Booting PSP Boot Loader PSPBootMode = NAND Starting NAND Copy... Initializing NAND flash... Manufacturer ID  = 0x0000002C Device ID        = 0x000000A1 Pages Per Block  = 0x00000040 Number of Blocks = 0x00000400 Bytes Per Page   = 0x00000800 Valid MagicNum found at block 0x00000001, page 0x00000008 NAND Boot success.    DONE  U-Boot 2010.12 (May 09 2012 - 13:10:23)  Cores: ARM 257 MHz, DSP 513 MHz DDR:   162 MHz I2C:   ready DRAM:  256 MiB NAND:  128 MiB MMC:    Bad block table found at page 65472, version 0x01 Bad block table found at page 65408, version 0x01 In:    serial Out:   serial Err:   serial Read USBID pin : DEVICE Read boot progress legacy : 3 Read boot progress : 10 Write boot progress legacy : 2 Write boot progress : 9 Hit any key to stop autoboot:  0   Loading from NAND 128MiB 1,8V 8-bit, offset 0x1260000    Image Name:   Linux-2.6.10_mvl401-xds560    Image Type:   ARM Linux Kernel Image (uncompressed)    Data Size:    1235632 Bytes = 1.2 MiB    Load Address: 80008000    Entry Point:  80008000 ## Booting kernel from Legacy Image at 80700000 ...    Image Name:   Linux-2.6.10_mvl401-xds560    Image Type:   ARM Linux Kernel Image (uncompressed)    Data Size:    1235632 Bytes = 1.2 MiB    Load Address: 80008000    Entry Point:  80008000    Verifying Checksum ... OK    Loading Kernel Image ... OK OK  Starting kernel ...  Uncompressing Linux................................................................................. done, booting thelLinux version 2.6.10_mvl2 CPU: ARM926EJ-Sid(wb) [41069265] revision 5 (ARMv5TEJ) CPU0: D VIVT write-back cache CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets Machine: DaVinci EVM Memory policy: ECC disabled, Data cache writeback Built 1 zonelists Kernel command line: mem=64M console=ttyS0,115200n8 root=\/dev\/mtdblock5 rw rootfstype=jffs2 ip=off PID hash table entries: 512 (order: 9, 8192 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 64MB = 64MB total Memory: 62080KB available (2118K code, 448K data, 136K init) Mount-cache hash table entries: 512 (order: 0, 4096 bytes) CPU: Testing write buffer coherency: ok spawn_desched_task(00000000) desched cpu_callback 3\/00000000 ksoftirqd started up. desched cpu_callback 2\/00000000 desched thread 0 started up. NET: Registered protocol family 16 Registering platform device 'nor_davinci.0'. Parent at platform Registering platform device 'nand_davinci.0'. Parent at platform DaVinci I2C DEBUG: 12:46:30 Mar 29 2012 Registering platform device 'i2c'. Parent at platform musb_hdrc: version 2.2a\/db-0.4.8 [cppi-dma] [peripheral] [debug=0] Registering platform device 'musb_hdrc'. Parent at platform musb_hdrc: USB Peripheral mode controller at c4800000 using DMA, IRQ 12 JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc. yaffs Mar 29 2012 12:46:15 Installing.  Registering platform device 'davincifb.0'. Parent at platform Console: switching to colour frame buffer device 90x30 Serial: 8250\/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled Registering platform device 'serial8250'. Parent at platform ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A io scheduler noop registered io scheduler anticipatory registered RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize Registering platform device 'ti_davinci_emac'. Parent at platform TI DaVinci EMAC: MAC address is 00:00:00:04:12:64 TI DaVinci EMAC Linux version updated 4.0 TI DaVinci EMAC: Installed 1 instances. netconsole: not configured, aborting i2c \/dev entries driver elevator: using anticipatory as default io scheduler NAND device: Manufacturer ID: 0x2c, Chip ID: 0xa1 (Unknown NAND 128MiB 1,8V 8-bit) Scanning device for bad blocks Creating 8 MTD partitions on \"nand_davinci.0\": 0x00000000-0x00020000 : \"params\" 0x00020000-0x00060000 : \"bootloader\" 0x00060000-0x00260000 : \"safekernel\" 0x00260000-0x01260000 : \"saferootfs\" 0x01260000-0x01460000 : \"kernel\" 0x01460000-0x02860000 : \"rootfs\" 0x02860000-0x03860000 : \"application\" 0x03860000-0x03c60000 : \"logging\" nand_davinci: hardware revision: 2.1 mice: PS\/2 mouse device common for all mice NET: Registered protocol family 2 IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 4096 bind 8192) NET: Registered protocol family 1 NET: Registered protocol family 17 mtd-&gt;read(0x400 bytes from 0x0) returned ECC error VFS: Mounted root (jffs2 filesystem). Freeing init memory: 136K INIT: version 2.85 booting 0 Mounting local filesystems: mount none on \/var\/log type tmpfs (rw,size=2M) none on \/var\/lock type tmpfs (rw) none on \/var\/run type tmpfs (rw) INIT: Entering runlevel: 3 \/etc\/rc.d\/rc3.d\/S88davinci_mmc: 69: \/usr\/local\/bin\/sd_app: not found Registering platform device 'mmc0.1'. Parent at platform  : Supporting 4-bit mode \/etc\/rc.d\/rc3.d\/S90fsemulator: 72: \/usr\/local\/bin\/sd_app: not found bh560v2u gadget: Blackhawk USB560v2 System Trace Emulator, version: 1.00 bh560v2u gadget: using musb_hdrc, OUT ep1out IN ep1in bh560v2u gadget: DTC-USB device attached to major\/minor numbers 254 0 \/etc\/rc.d\/rc3.d\/S93dsplink: 69: \/usr\/local\/bin\/sd_app: not found bh560v2u gadget: high speed config #1: High-speed configuration dsplinkk: no version for \"struct_module\" found: kernel tainted. DSPLINK Module (1.51) created on Date: Mar 29 2012 Time: 12:48:55 \/etc\/rc.d\/rc3.d\/S95fpgaprog: 72: \/usr\/local\/bin\/sd_app: not found Device '\/dev\/mem' opened successfully. Turned off Debug Clock Turned off Trace Clock FPGA erased successfully FPGA data length=460284 Device '\/dev\/mem' opened successfully. Programming FPGA: FPGA Image CRC=39550, FPGA programmed CRC=28013 Turned on Debug Clock Turned on Trace Clock Device #1 IDCODE is 020F30DD configuring SRAM device(s)... DONE Exit code = 0... Success \/etc\/rc.d\/rc3.d\/S96dtc_main: 70: \/usr\/local\/bin\/sd_app: not found  MontaVista(R) Linux(R) Professional Edition 4.0.1 (0600980)  (none) login: emac_control:4584[0]ioctl called when device is NOT open&lt;3&gt;ERROR: davinci_emac: eth0 error: Error 3000000E from EMAC TX Channel O) SIOCSIFHWADDR: Input\/output error                                  Failed to reset boot progress: dtc_periph_lock.cpp(78) : timeout : \/var\/lock\/i2c  MontaVista(R) Linux(R) Professional Edition 4.0.1 (0600980)  00:00:00:04:12:64 login: root  Welcome to MontaVista(R) Linux(R) Professional Edition 4.0.1 (0600980).  login[825]: root login  on `console'  # <\/code><\/pre>\n<\/div>\n<\/div>\n<p>  <\/p>\n<h1 id=\"posleslovie\">\u041f\u043e\u0441\u043b\u0435\u0441\u043b\u043e\u0432\u0438\u0435<\/h1>\n<p>  <\/p>\n<p>\u0414\u0430, \u0438\u0442\u043e\u0433\u043e\u0432\u0430\u044f \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0430\u0441\u044c \u043d\u0435 \u043e\u0447\u0435\u043d\u044c-\u0442\u043e \u0441\u043b\u043e\u0436\u043d\u043e\u0439, \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0433\u043e \u0440\u0435\u0432\u0435\u0440\u0441-\u0438\u043d\u0436\u0438\u043d\u0438\u0440\u0438\u043d\u0433\u0430 \u0437\u0434\u0435\u0441\u044c \u0432 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0438 \u043d\u0435\u043c\u043d\u043e\u0433\u043e. \u041d\u043e \u044f \u043b\u0438\u0447\u043d\u043e \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u0443\u0437\u043d\u0430\u043b \u043d\u0435\u043c\u0430\u043b\u043e \u043d\u043e\u0432\u043e\u0433\u043e \u043e \u043d\u0438\u0437\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u0445 \u0432\u0435\u0449\u0430\u0445 \u0432 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u043e\u0433\u043e Linux, \u043d\u0430\u0443\u0447\u0438\u043b\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u043a\u043e\u043d\u0441\u043e\u043b\u044c\u044e U-Boot.<\/p>\n<p>  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0414\u043b\u044f \u043e\u0431\u043b\u0430\u0434\u0430\u0442\u0435\u043b\u0435\u0439 Blackhawk USB560v2<\/b><\/p>\n<div class=\"spoiler_text\">\n<p>\u0412\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u0440\u0435\u0431\u044f\u0442\u0430 \u043e\u0441\u043e\u0431\u043e \u043d\u0435 \u0437\u0430\u043c\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u043b\u0438\u0441\u044c. \u041f\u043e\u0441\u043b\u0435 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0437\u0430\u043b\u043e\u0433\u0438\u043d\u0438\u0442\u044c\u0441\u044f. \u041b\u043e\u0433\u0438\u043d <code>root<\/code> \u0431\u0435\u0437 \u043f\u0430\u0440\u043e\u043b\u044f \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0437\u0430\u0439\u0442\u0438 \u043f\u043e\u0434 \u0440\u0443\u0442\u043e\u043c \u0438 \u0434\u0435\u043b\u0430\u0442\u044c \u0441 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e\u043c \u0432\u0441\u0451 \u0447\u0442\u043e \u0443\u0433\u043e\u0434\u043d\u043e. \u0421\u0430\u043c\u043e\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 <code>\/usr\/local\/bin<\/code>.<\/p>\n<p>  <\/p>\n<p>\u041d\u043e \u044d\u0442\u043e \u0443\u0436\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u0434\u0440\u0443\u0433\u0430\u044f \u0438\u0441\u0442\u043e\u0440\u0438\u044f.<\/p>\n<\/div>\n<\/div>\n<p>  <\/p>\n<p>\u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u0431\u044b\u043b\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e.<\/p>\n<\/div>\n<p>        <script class=\"js-mediator-script\">!function(e){function t(t,n){if(!(n in e)){for(var r,a=e.document,i=a.scripts,o=i.length;o--;)if(-1!==i[o].src.indexOf(t)){r=i[o];break}if(!r){r=a.createElement(\"script\"),r.type=\"text\/javascript\",r.async=!0,r.defer=!0,r.src=t,r.charset=\"UTF-8\";var d=function(){var e=a.getElementsByTagName(\"script\")[0];e.parentNode.insertBefore(r,e)};\"[object Opera]\"==e.opera?a.addEventListener?a.addEventListener(\"DOMContentLoaded\",d,!1):e.attachEvent(\"onload\",d):d()}}}t(\"\/\/mediator.mail.ru\/script\/2820404\/\",\"_mediator\")}(window);<\/script>     <br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/post\/420895\/\"> https:\/\/habr.com\/post\/420895\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div data-io-article-url=\"https:\/\/habr.com\/post\/420895\/\" class=\"post__text post__text-html js-mediator-article\">\n<p>\u0423 \u043c\u0435\u043d\u044f \u0435\u0441\u0442\u044c \u0441\u043e\u043c\u043d\u0435\u043d\u0438\u044f, \u0447\u0442\u043e JTAG-\u044d\u043c\u0443\u043b\u044f\u0442\u043e\u0440 \u0434\u043b\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u043e\u0432 \u0444\u0438\u0440\u043c\u044b Texas Instruments \u2014 \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0451\u043d\u043d\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u0447\u0442\u043e\u0431\u044b \u0435\u0433\u043e \u0440\u0435\u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044f \u0431\u044b\u043b\u0430 \u0431\u044b \u043a\u043e\u043c\u0443-\u0442\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430. \u041e\u0434\u043d\u0430\u043a\u043e \u0441\u0442\u0430\u0442\u044c\u044f \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u0430 \u0442\u0435\u043c, \u043a\u0442\u043e \u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u0440\u0435\u0430\u043d\u0438\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u043d\u0430 \u0431\u0430\u0437\u0435 \u043e\u0434\u043d\u043e\u043f\u043b\u0430\u0442\u043d\u0438\u043a\u0430 \u0441 Linux, \u0438\u043c\u0435\u044f \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u043d\u044b\u0435 \u0440\u0435\u0441\u0443\u0440\u0441\u044b \u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e. \u041c\u043e\u0436\u043d\u043e \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u044d\u0442\u043e \u043a\u0430\u043a \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0443\u043c \u0440\u0430\u0431\u043e\u0442\u044b \u0441 U-Boot.<\/p>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/_p\/ck\/gs\/_pckgs2ll-f4z2l7jonpuotwx4m.jpeg\" alt=\"Blackhawk USB560v2\"><\/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-288542","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/288542","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=288542"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/288542\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=288542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=288542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=288542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}