﻿{"id":2291,"date":"2021-12-01T11:10:56","date_gmt":"2021-12-01T03:10:56","guid":{"rendered":"http:\/\/nick.txtcc.com\/?p=2291"},"modified":"2021-12-01T15:51:30","modified_gmt":"2021-12-01T07:51:30","slug":"%e6%b5%b7%e6%80%9d%e5%ae%98%e6%96%b9sdk-hi3516ev200_sdk_v1-0-1-0%e7%9a%84%e7%bc%96%e8%af%91%e6%95%99%e7%a8%8b","status":"publish","type":"post","link":"http:\/\/nick.txtcc.com\/index.php\/linux\/2291","title":{"rendered":"\u6d77\u601d\u5b98\u65b9SDK Hi3516EV200_SDK_V1.0.1.0\u7684\u7f16\u8bd1\u6559\u7a0b"},"content":{"rendered":"<h2 id=\"4uhzfl\" class=\"markdown-heading\">\u524d\u8a00\uff1a<\/h2>\n<p class=\"line\">\u5173\u4e8e\u6d77\u601dHI3516EV200\u7684SDK\uff0c\u5b98\u65b9\u67092\u4e2a\u7248\u672c\uff0c\u4e00\u4e2a\u662flinux\uff0c\u4e00\u4e2a\u662fliteos\uff0c\u8fd9\u91cc\u6839\u636e\u4e4b\u524d\u7fa4\u53cb\u63d0\u4f9b\u7684sdk\u6574\u7406\u603b\u7ed3\u4e0b\uff0c\u4ee5\u9632\u5927\u5bb6\u4e0b\u8f7d\u5230\u9519\u8bef\u7684\u7248\u672c<\/p>\n<pre class=\"hljs nginx\"><code class=\"language-bash\">&lt;span class=&quot;hljs-attribute&quot;&gt;linux&lt;\/span&gt; sdk \u7248\u672c\u4e3a Hi3516EV200R001C01SPC010\uff1a\n\u94fe\u63a5\uff1a https:\/\/pan.baidu.com\/s\/1bJRVcm9DLD4RIL4zCzWMXA \n\u63d0\u53d6\u7801\uff1a&lt;span class=&quot;hljs-number&quot;&gt;702k&lt;\/span&gt;<\/code><\/pre>\n<pre class=\"hljs nginx\"><code class=\"language-bash\">&lt;span class=&quot;hljs-attribute&quot;&gt;liteos&lt;\/span&gt; sdk \u7248\u672c\u4e3aHi3516EV200R002C05SPC010\uff1a\n\u94fe\u63a5\uff1a https:\/\/pan.baidu.com\/s\/1LnN-E6ekdS1iryi3x89hNw  \n\u63d0\u53d6\u7801\uff1aprkb<\/code><\/pre>\n<h2 id=\"9ulhn\" class=\"markdown-heading\"><a class=\"reference-link\" name=\"9ulhn\"><\/a>\u73af\u5883<\/h2>\n<ol>\n    <li>\n<p class=\"line\">ubuntu18.04 amd64<\/p>\n\n<pre class=\"hljs ruby\"><code class=\"language-bash\">dopi&lt;a class=&quot;at-link&quot; title=&quot;@ubuntu&quot; href=&quot;https:\/\/github.com\/ubuntu&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;@ubuntu&lt;\/a&gt;\n&lt;span class=&quot;hljs-symbol&quot;&gt;:~&lt;\/span&gt;$ cat \/proc\/version\nLinux version &lt;span class=&quot;hljs-number&quot;&gt;5.3&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-&lt;span class=&quot;hljs-number&quot;&gt;62&lt;\/span&gt;-generic (buildd&lt;a class=&quot;at-link&quot; title=&quot;@lcy01&quot; href=&quot;https:\/\/github.com\/lcy01&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;@lcy01&lt;\/a&gt;-amd64-&lt;span class=&quot;hljs-number&quot;&gt;004&lt;\/span&gt;) (gcc version &lt;span class=&quot;hljs-number&quot;&gt;7.5&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt; (Ubuntu &lt;span class=&quot;hljs-number&quot;&gt;7.5&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;-&lt;span class=&quot;hljs-number&quot;&gt;3&lt;\/span&gt;ubuntu1~&lt;span class=&quot;hljs-number&quot;&gt;18.04&lt;\/span&gt;)) &lt;span class=&quot;hljs-comment&quot;&gt;#56~18.04.1-Ubuntu SMP Wed Jun 24 16:17:03 UTC 2020&lt;\/span&gt;<\/code><\/pre>\n<\/li>\n    <li>\n<p class=\"line\">\u6d77\u601d\u5b98\u65b9Linux SDK<\/p>\n<\/li>\n<\/ol>\n<hr \/>\n<h2 id=\"41a135\" class=\"markdown-heading\"><a class=\"reference-link\" name=\"41a135\"><\/a>\u89e3\u51b3\u95ee\u9898\u7684\u601d\u8def<\/h2>\n<ol>\n    <li>\n<p class=\"line\">\u9047\u5230\u9519\u8bef\u4e0d\u8981\u7740\u6025\u641c\u7d22\u5f15\u64ce\u641c\u7d22\uff0c\u5f80\u5f80\u5728\u51fa\u9519\u6587\u4ef6\u7684\u4f4d\u7f6e\uff0c\u4f1a\u6709\u4e00\u4e2areadme.txt\u3002 \u4f1a\u544a\u8bc9\u4f9d\u8d56\u9879\uff0c\u4ee5\u53ca\u89e3\u51b3\u65b9\u6cd5\u3002<\/p>\n<\/li>\n    <li>\n<p class=\"line\">\u9047\u5230tar\u89e3\u538b\u62a5\u9519\uff0c\u4f30\u8ba1\u4f60\u56fe\u5feb\uff0cwindows\u4e0b\u8f7d\u540e\uff0c\u62f7\u8d1d\u5230ubuntu\u4e2d\uff0c\u6587\u4ef6\u4f1a\u51fa\u9519\uff0cgoogle\u4e5f\u6551\u4e0d\u4e86\uff0c\u8fd9\u65f6\u5019\u9759\u4e0b\u5fc3\u6765\uff0cwget\u91cd\u65b0\u6162\u6162\u4e0b\u8f7d\uff0c\u518d\u7f16\u8bd1\u8bd5\u8bd5\u3002<\/p>\n<\/li>\n    <li>\n<p class=\"line\">\u63d0\u793a\u7cfb\u7edf\u547d\u4ee4\u7f3a\u5931\uff0c\u53ef\u76f4\u63a5\u641c\u7d22\u3002<\/p>\n<\/li>\n<\/ol>\n<hr \/>\n<h2 id=\"2qs5ef\" class=\"markdown-heading\"><a class=\"reference-link\" name=\"2qs5ef\"><\/a>\u53c2\u8003\u6587\u4ef6<\/h2>\n<p class=\"line\">1.Hi3516EV200_SDK_V1.0.1.0\\package\\osdrv\\readme.cn<\/p>\n<pre class=\"hljs coffeescript\"><code class=\"language-bash\">&lt;span class=&quot;hljs-number&quot;&gt;1.&lt;\/span&gt;osdrv \u9876\u5c42 Makefile \u4f7f\u7528\u8bf4\u660e\n\u672c\u76ee\u5f55\u4e0b\u7684\u7f16\u8bd1\u811a\u672c\u652f\u6301 arm-himix100-linux\u5de5\u5177\u94fe\u5bf9\u5e94uclibc\u5e93\u3002\u5177\u4f53\u547d\u4ee4\u5982\u4e0b(\u4ee5hi3516ev200\u4e3e\u4f8b)\n\n\u6ce8\u610f\uff1a\n    \u7531\u4e8e\u5f00\u6e90\u5de5\u5177\u6574\u6539\uff0c\u90e8\u5206\u5f00\u6e90\u5de5\u5177\u4e0d\u518d\u63d0\u4f9b\u6e90\u7801\u5305\uff0c\u5ba2\u6237\u7f16\u8bd1OSDRV\u65f6\u9700\u8981\u81ea\u884c\u4e0b\u8f7d\uff1a\n    a:linux&lt;span class=&quot;hljs-number&quot;&gt;-4.9&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;.37&lt;\/span&gt;.tar.gz (https:&lt;span class=&quot;hljs-regexp&quot;&gt;\/\/&lt;\/span&gt;www.kernel.org&lt;span class=&quot;hljs-regexp&quot;&gt;\/pub\/&lt;\/span&gt;)\n        \u5c06\u4e0b\u8f7d\u7684 linux&lt;span class=&quot;hljs-number&quot;&gt;-4.9&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;.37&lt;\/span&gt;.tar.gz \u5b58\u653e\u5230 osdrv\u7684opensource\/kernel\u76ee\u5f55\u4e2d\n\n    b:yaffs2utils&lt;span class=&quot;hljs-number&quot;&gt;-0.2&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;.9&lt;\/span&gt;.tar.gz (https:&lt;span class=&quot;hljs-regexp&quot;&gt;\/\/gi&lt;\/span&gt;thub.com\/dorigom\/yaffs2utils\/releases)\n        \u5c06\u4e0b\u8f7d\u7684 yaffs2utils&lt;span class=&quot;hljs-number&quot;&gt;-0.2&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;.9&lt;\/span&gt;.tar.gz \u5b58\u653e\u5230osdrv\u7684tools&lt;span class=&quot;hljs-regexp&quot;&gt;\/pc\/mkyaffs2image\/&lt;\/span&gt;\u76ee\u5f55\u4e2d\n\n    c:gdb&lt;span class=&quot;hljs-number&quot;&gt;-7.9&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;.1&lt;\/span&gt;.tar.gz  (http:&lt;span class=&quot;hljs-regexp&quot;&gt;\/\/&lt;\/span&gt;ftp.gnu.org&lt;span class=&quot;hljs-regexp&quot;&gt;\/gnu\/gdb\/&lt;\/span&gt;)\n        \u5c06\u4e0b\u8f7d\u7684 gdb&lt;span class=&quot;hljs-number&quot;&gt;-7.9&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;.1&lt;\/span&gt;.tar.gz \u5b58\u653e\u5230 osdrv\u7684tools&lt;span class=&quot;hljs-regexp&quot;&gt;\/board\/gdb\/&lt;\/span&gt;\u76ee\u5f55\u4e2d\n\n    d:ncurses&lt;span class=&quot;hljs-number&quot;&gt;-6.0&lt;\/span&gt;.tar.gz  ( http:&lt;span class=&quot;hljs-regexp&quot;&gt;\/\/&lt;\/span&gt;ftp.gnu.org&lt;span class=&quot;hljs-regexp&quot;&gt;\/gnu\/ncurses\/&lt;\/span&gt;)\n        \u5c06\u4e0b\u8f7d\u7684 ncurses&lt;span class=&quot;hljs-number&quot;&gt;-6.0&lt;\/span&gt;.tar.gz \u5b58\u653e\u5230 osdrv\u7684tools&lt;span class=&quot;hljs-regexp&quot;&gt;\/board\/gdb\/&lt;\/span&gt;\u76ee\u5f55\u4e2d\n\n    e:util-linux&lt;span class=&quot;hljs-number&quot;&gt;-2.31&lt;\/span&gt;.tar.gz (https:&lt;span class=&quot;hljs-regexp&quot;&gt;\/\/&lt;\/span&gt;www.kernel.org\/pub\/linux\/utils\/util-linux\/v2&lt;span class=&quot;hljs-number&quot;&gt;.31&lt;\/span&gt;)\n\n        \u5c06\u4e0b\u8f7d\u7684 util-linux&lt;span class=&quot;hljs-number&quot;&gt;-2.31&lt;\/span&gt;.tar.gz \u5b58\u653e\u5230 osdrv\u7684tools&lt;span class=&quot;hljs-regexp&quot;&gt;\/pc\/cramfs_tool\/&lt;\/span&gt;\u76ee\u5f55\u4e2d\n\n(&lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt;)\u7f16\u8bd1\u6574\u4e2aosdrv\u76ee\u5f55\uff1a\n    \u6ce8\u610f\uff1a\u9ed8\u8ba4\u4e0d\u53d1\u5e03\u5185\u6838\u6e90\u7801\u5305\uff0c\u53ea\u53d1\u5e03\u8865\u4e01\u6587\u4ef6\u3002\u5185\u6838\u6e90\u7801\u5305\u9700\u81ea\u884c\u4ece\u5f00\u6e90\u793e\u533a\u4e0a\u4e0b\u8f7d\u3002\n          \u4ecelinux\u5f00\u6e90\u793e\u533a\u4e0b\u8f7dv4&lt;span class=&quot;hljs-number&quot;&gt;.9&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;.37&lt;\/span&gt;\u7248\u672c\u7684\u5185\u6838\uff1a\n         &lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt;)\u8fdb\u5165\u7f51\u7ad9\uff1awww.kernel.org\n         &lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;)\u9009\u62e9HTTP\u534f\u8bae\u8d44\u6e90\u7684https:&lt;span class=&quot;hljs-regexp&quot;&gt;\/\/&lt;\/span&gt;www.kernel.org&lt;span class=&quot;hljs-regexp&quot;&gt;\/pub\/&lt;\/span&gt;\u9009\u9879,\u8fdb\u5165\u5b50\u9875\u9762\n         &lt;span class=&quot;hljs-number&quot;&gt;3&lt;\/span&gt;)\u9009\u62e9linux\/\u83dc\u5355\u9879\uff0c\u8fdb\u5165\u5b50\u9875\u9762\n         &lt;span class=&quot;hljs-number&quot;&gt;4&lt;\/span&gt;)\u9009\u62e9kernel\/\u83dc\u5355\u9879\uff0c\u8fdb\u5165\u5b50\u9875\u9762\n         &lt;span class=&quot;hljs-number&quot;&gt;5&lt;\/span&gt;)\u9009\u62e9v4.x\/\u83dc\u5355\u9879\uff0c\u8fdb\u5165\u5b50\u9875\u9762\n         &lt;span class=&quot;hljs-number&quot;&gt;6&lt;\/span&gt;)\u4e0b\u8f7dlinux&lt;span class=&quot;hljs-number&quot;&gt;-4.9&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;.37&lt;\/span&gt;.tar.gz (\u6216\u8005linux&lt;span class=&quot;hljs-number&quot;&gt;-4.9&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;.37&lt;\/span&gt;.tar.xz)\u5230osdrv\/opensource\/kernel\u76ee\u5f55\u4e0b     \n\n    make all\n\n\u6ce8\u610f\uff1a\u7531\u4e8eMakefile\u4e2d\u6587\u4ef6\u7cfb\u7edf\u7f16\u8bd1\u4f9d\u8d56\u7ec4\u4ef6\u8f83\u591a\uff0c\u4e0d\u80fd\u4fdd\u8bc1\u5355\u72ec\u7f16\u8bd1\u7684\u6587\u4ef6\u7cfb\u7edf\u53ef\u7528\uff0c\u5efa\u8bae\u91c7\u7528make all\u7f16\u8bd1\uff1b\n        \u4f46\u53ef\u5355\u72ec\u7f16\u8bd1uboot\uff0ckernel\uff1b\n\n    \u53ef\u4ee5\u4f20\u5982\u4e0b\u53c2\u6570\uff1a\n    a, BOOT_MEDIA:spi(&lt;span class=&quot;hljs-keyword&quot;&gt;default&lt;\/span&gt;) &lt;span class=&quot;hljs-keyword&quot;&gt;or&lt;\/span&gt; emmc\n    b, CHIP:hi3516ev200(&lt;span class=&quot;hljs-keyword&quot;&gt;default&lt;\/span&gt;) &lt;span class=&quot;hljs-keyword&quot;&gt;or&lt;\/span&gt; hi3516ev300 &lt;span class=&quot;hljs-keyword&quot;&gt;or&lt;\/span&gt; hi3518ev300 &lt;span class=&quot;hljs-keyword&quot;&gt;or&lt;\/span&gt; hi3516dv200\n    c, \u5982\u679c\u5ba2\u6237\u60f3\u8981\u66f4\u6362\u53ef\u4ee5\u4f7f\u7528TARGET_XLSM=*.xlsm\u6765\u6307\u5b9a\u6240\u9700\u8981\u7684u-boot\u8868\u683c\u6587\u4ef6\n\n(&lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;)\u6e05\u9664\u6574\u4e2aosdrv\u76ee\u5f55\u7684\u7f16\u8bd1\u6587\u4ef6\uff1a\n\n    make OSDRV_CROSS=arm-himix100-linux clean\n(&lt;span class=&quot;hljs-number&quot;&gt;3&lt;\/span&gt;)\u5f7b\u5e95\u6e05\u9664\u6574\u4e2aosdrv\u76ee\u5f55\u7684\u7f16\u8bd1\u6587\u4ef6\uff0c\u9664\u6e05\u9664\u7f16\u8bd1\u6587\u4ef6\u5916\uff0c\u8fd8\u5220\u9664\u5df2\u7f16\u8bd1\u597d\u7684\u955c\u50cf\uff1a\n\n    make OSDRV_CROSS=arm-himix100-linux distclean\n\n(&lt;span class=&quot;hljs-number&quot;&gt;4&lt;\/span&gt;)\u5355\u72ec\u7f16\u8bd1kernel\uff1a\n    \u6ce8\u610f\uff1a\u5355\u72ec\u7f16\u8bd1\u5185\u6838\u4e4b\u524d\u8bf7\u5148\u9605\u8bfbosdrv\/opensource\/kernel\u4e0b\u7684readme_cn.txt\u8bf4\u660e\u3002\n\n    \u5f85\u8fdb\u5165\u5185\u6838\u6e90\u4ee3\u7801\u76ee\u5f55\u540e\uff0c\u6267\u884c\u4ee5\u4e0b\u64cd\u4f5c\n\n    cp arch\/arm\/configs\/hi3516ev200_full_defconfig  .config\n    (emmc\u542f\u52a8\u65f6\u6267\u884c\u5982\u4e0b\u64cd\u4f5c\uff1acp arch\/arm\/configs\/hi3516ev200_emmc_defconfig  .config)\n    make ARCH=arm CROSS_COMPILE=arm-himix100-linux- menuconfig\n    make ARCH=arm CROSS_COMPILE=arm-himix100-linux- uImage\n\n(&lt;span class=&quot;hljs-number&quot;&gt;5&lt;\/span&gt;)\u5355\u72ec\u7f16\u8bd1\u6a21\u5757\uff1a\n    \u5f85\u8fdb\u5165\u5185\u6838\u6e90\u4ee3\u7801\u76ee\u5f55\u540e\uff0c\u6267\u884c\u4ee5\u4e0b\u64cd\u4f5c\n\n    cp arch\/arm\/configs\/hi3516ev200_full_defconfig  .config\n    (emmc\u542f\u52a8\u65f6\u6267\u884c\u5982\u4e0b\u64cd\u4f5c\uff1acp arch\/arm\/configs\/hi3516ev200_emmc_defconfig  .config)\n    make ARCH=arm CROSS_COMPILE=arm-himix100-linux- menuconfig\n    make ARCH=arm CROSS_COMPILE=arm-himix100-linux- modules\n\n(&lt;span class=&quot;hljs-number&quot;&gt;6&lt;\/span&gt;)\u5355\u72ec\u7f16\u8bd1uboot\uff1a\n    \u6ce8\u610f\uff1a\u53d1\u5e03\u5305\u9ed8\u8ba4\u6309\u7167DMEB\u677f\u7684\u914d\u7f6e\u53d1\u5e03\uff0c\u5982\u679c\u5ba2\u6237\u5355\u677f\u548cDEMB\u677f\u4e0d\u4e00\u81f4\uff0c\u9700\u8981\u6839\u636e\u5ba2\u6237\u81ea\u5df1\u7684\u5355\u677f\u73af\u5883\u4fee\u6539uboot\u8868\u683c\u624d\u80fd\u4f7f\u7528\uff0c\u5426\u5219\u53ef\u80fd\u5bfc\u81f4uboot\u65e0\u6cd5\u542f\u52a8\u6216\u8005\u5176\u4ed6\u95ee\u9898\u3002\n\n    \u5f85\u8fdb\u5165boot\u6e90\u4ee3\u7801\u76ee\u5f55\u540e\uff0c\u6267\u884c\u4ee5\u4e0b\u64cd\u4f5c\n    make ARCH=arm CROSS_COMPILE=arm-himix100-linux- hi3516ev200_defconfig\n    (emmc\u542f\u52a8\u65f6\u6267\u884c\u5982\u4e0b\u64cd\u4f5c\uff1amake ARCH=arm CROSS_COMPILE=arm-himix100-linux- hi3516ev200_emmc_defconfig)\n\n    make ARCH=arm CROSS_COMPILE=arm-himix100-linux- -j &lt;span class=&quot;hljs-number&quot;&gt;20&lt;\/span&gt;\n\n    make -C ..&lt;span class=&quot;hljs-regexp&quot;&gt;\/..\/&lt;\/span&gt;..\/tools\/pc\/hi_gzip\n\n    cp ..&lt;span class=&quot;hljs-regexp&quot;&gt;\/..\/&lt;\/span&gt;..&lt;span class=&quot;hljs-regexp&quot;&gt;\/tools\/pc\/hi_gzip\/bin\/gzip arch\/arm\/cpu\/armv7\/hi3516ev200\/hw_compressed\/&lt;\/span&gt; -rf \n\n    Windowns\u4e0b\u8fdb\u5165\u5230osdrv&lt;span class=&quot;hljs-regexp&quot;&gt;\/tools\/pc\/uboot_tools\/&lt;\/span&gt;\u76ee\u5f55\u4e0b\u6253\u5f00\u5bf9\u5e94\u5355\u677f\u7684Excel\u6587\u4ef6,\u5728main\u6807\u7b7e\u4e2d\u70b9\u51fb&lt;span class=&quot;hljs-string&quot;&gt;&quot;Generate reg bin file&quot;&lt;\/span&gt;\u6309\u94ae,\u751f\u6210reg_info.bin\u5373\u4e3a\u5bf9\u5e94\u5e73\u53f0\u7684\u8868\u683c\u6587\u4ef6\u3002\n    \u4eceosdrv\/tools\/pc\/uboot_tools\u76ee\u5f55\u62f7\u8d1dreg_info.bin\u5230boot\u6e90\u4ee3\u7801\u76ee\u5f55,\u91cd\u547d\u540d\u4e3a.reg\n    cp ..&lt;span class=&quot;hljs-regexp&quot;&gt;\/..\/&lt;\/span&gt;..\/tools\/pc\/uboot_tools\/reg_info.bin .reg\n\n    make ARCH=arm CROSS_COMPILE=arm-himix100-linux- u-boot-z.bin\n\n    opensource\/uboot\/u-boot&lt;span class=&quot;hljs-number&quot;&gt;-2016.11&lt;\/span&gt;\u4e0b\u751f\u6210\u7684u-boot-hi3516ev200.bin\u5373\u4e3a\u53ef\u7528\u7684u-boot\u955c\u50cf\n\n(&lt;span class=&quot;hljs-number&quot;&gt;7&lt;\/span&gt;)\u5236\u4f5c\u6587\u4ef6\u7cfb\u7edf\u955c\u50cf\uff1a\n\u5728osdrv&lt;span class=&quot;hljs-regexp&quot;&gt;\/pub\/&lt;\/span&gt;\u4e2d\u6709\u5df2\u7ecf\u7f16\u8bd1\u597d\u7684\u6587\u4ef6\u7cfb\u7edf\uff0c\u56e0\u6b64\u65e0\u9700\u518d\u91cd\u590d\u7f16\u8bd1\u6587\u4ef6\u7cfb\u7edf\uff0c\u53ea\u9700\u8981\u6839\u636e\u5355\u677f\u4e0aflash\u7684\u89c4\u683c\u578b\u53f7\u5236\u4f5c\u6587\u4ef6\u7cfb\u7edf\u955c\u50cf\u5373\u53ef\u3002\n\n    SPI NOR Flash\u4f7f\u7528jffs2\u683c\u5f0f\u7684\u955c\u50cf\uff0c\u5236\u4f5cjffs2\u955c\u50cf\u65f6\uff0c\u9700\u8981\u7528\u5230SPI NOR Flash\u7684\u5757\u5927\u5c0f\u3002\u8fd9\u4e9b\u4fe1\u606f\u4f1a\u5728uboot\u542f\u52a8\u65f6\n    \u4f1a\u6253\u5370\u51fa\u6765\u3002\u5efa\u8bae\u4f7f\u7528\u65f6\u5148\u76f4\u63a5\u8fd0\u884cmkfs.jffs2\u5de5\u5177\uff0c\u6839\u636e\u6253\u5370\u4fe1\u606f\u586b\u5199\u76f8\u5173\u53c2\u6570\u3002\n    \u4e0b\u9762\u4ee5\u5757\u5927\u5c0f\u4e3a&lt;span class=&quot;hljs-number&quot;&gt;64&lt;\/span&gt;KB\u4e3a\u4f8b\uff1a\n    osdrv\/pub\/bin\/pc\/mkfs.jffs2 -d osdrv\/pub\/rootfs_uclibc -l -e &lt;span class=&quot;hljs-number&quot;&gt;0x10000&lt;\/span&gt; -o osdrv\/pub\/rootfs_uclibc_64k.jffs2\n\n        Nand Flash\u4f7f\u7528yaffs2\u683c\u5f0f\u7684\u955c\u50cf\uff0c\u5236\u4f5cyaffs2\u955c\u50cf\u65f6\uff0c\u9700\u8981\u7528\u5230nand flash\u7684pagesize\u548cecc\u3002\u8fd9\u4e9b\u4fe1\u606f\u4f1a\u5728uboot\u542f\u52a8\u65f6\u4f1a\u6253\n    \u5370\u51fa\u6765\u3002\u5efa\u8bae\u4f7f\u7528\u65f6\u5148\u76f4\u63a5\u8fd0\u884cmkyaffs2image\u5de5\u5177\uff0c\u6839\u636e\u6253\u5370\u4fe1\u606f\u586b\u5199\u76f8\u5173\u53c2\u6570\u3002\n    \u4e0b\u9762\u4ee5SPI NAND\u7684&lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;KB pagesize\u3001&lt;span class=&quot;hljs-number&quot;&gt;4&lt;\/span&gt;bit ecc\u4e3a\u4f8b\uff1a\n        osdrv\/pub\/bin\/pc\/mkyaffs2image100 osdrv\/pub\/rootfs_uclibc osdrv\/pub\/rootfs_uclibc_2k_4bit.yaffs2 &lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;\n\n        Nand Flash\u4f7f\u7528UBI\u6587\u4ef6\u7cfb\u7edf\uff0c\u5728osdrv\/tools\/pc\/ubi_sh\u4e0b\u63d0\u4f9bmkubiimg.sh\u5de5\u5177\u7528\u4e8e\u5236\u4f5cUBI\u6587\u4ef6\u7cfb\u7edf\uff0c\u9700\u8981\u7528\u5230Nand\n    Flash\u7684pagesize\u3001blocksize\u548cUBIFS\u5206\u533a\u7684\u5927\u5c0f\u3002\n    \u4ee5&lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;KB pagesize, &lt;span class=&quot;hljs-number&quot;&gt;128&lt;\/span&gt;KB blocksize\u548cUBI\u6587\u4ef6\u7cfb\u7edf\u5206\u533a\u5927\u5c0f&lt;span class=&quot;hljs-number&quot;&gt;32&lt;\/span&gt;MB\u4e3a\u4f8b\uff1a\n\n    mkubiimg.sh hi3516ev200 &lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;k &lt;span class=&quot;hljs-number&quot;&gt;128&lt;\/span&gt;k osdrv\/pub\/rootfs &lt;span class=&quot;hljs-number&quot;&gt;32&lt;\/span&gt;M osdrv\/pub\/bin\/pc\n\n    osdrv\/pub\/rootfs\u662f\u6839\u6587\u4ef6\u7cfb\u7edf\u6587\u4ef6\u5939\u76ee\u5f55\n    osdrv\/pub\/bin\/pc\u662f\u5236\u4f5cUBI\u6587\u4ef6\u7cfb\u7edf\u955c\u50cf\u7684\u5de5\u5177\u76ee\u5f55\n        \u751f\u6210\u7684rootfs_hi3516ev200_2k_128k_32M.ubifs\uff0c\u5c31\u662f\u6700\u7ec8\u7528\u4e8e\u70e7\u5199\u7684UBI\u6587\u4ef6\u7cfb\u7edf\u955c\u50cf\u3002\n\n&lt;span class=&quot;hljs-number&quot;&gt;2.&lt;\/span&gt; \u955c\u50cf\u5b58\u653e\u76ee\u5f55\u8bf4\u660e\n\u7f16\u8bd1\u5b8c\u7684image\uff0crootfs\u7b49\u5b58\u653e\u5728osdrv\/pub\u76ee\u5f55\u4e0b\npub\n\u251c\u2500 bin\n\n\u2502   \u251c\u2500 board_uclibc -------------------------------------------- himix100\u7f16\u8bd1\u51fa\u7684\u5355\u677f\u7528\u5de5\u5177\n\u2502   \u2502   \u251c\u2500\u2500 ethtool\n\u2502   \u2502   \u251c\u2500\u2500 flashcp\n\u2502   \u2502   \u251c\u2500\u2500 flash_erase\n\u2502   \u2502   \u251c\u2500\u2500 flash_otp_dump\n\u2502   \u2502   \u251c\u2500\u2500 flash_otp_info\n\u2502   \u2502   \u251c\u2500\u2500 gdb-arm-himix100-linux\n\u2502   \u2502   \u251c\u2500\u2500 mtd_debug\n\u2502   \u2502   \u251c\u2500\u2500 mtdinfo\n\u2502   \u2502   \u251c\u2500\u2500 nanddump\n\u2502   \u2502   \u251c\u2500\u2500 nandtest\n\u2502   \u2502   \u251c\u2500\u2500 nandwrite\n\u2502   \u2502   \u251c\u2500\u2500 sumtool\n\u2502   \u2502   \u251c\u2500\u2500 ubiattach\n\u2502   \u2502   \u251c\u2500\u2500 ubicrc32\n\u2502   \u2502   \u251c\u2500\u2500 ubidetach\n\u2502   \u2502   \u251c\u2500\u2500 ubiformat\n\u2502   \u2502   \u251c\u2500\u2500 ubimkvol\n\u2502   \u2502   \u251c\u2500\u2500 ubinfo\n\u2502   \u2502   \u251c\u2500\u2500 ubinize\n\u2502   \u2502   \u251c\u2500\u2500 ubirename\n\u2502   \u2502   \u251c\u2500\u2500 ubirmvol\n\u2502   \u2502   \u251c\u2500\u2500 ubirsvol\n\u2502   \u2502   \u2514\u2500\u2500 ubiupdatevol\n\u2502   \u2514\u2500 pc\n\u2502       \u251c\u2500\u2500 lzma\n\u2502       \u251c\u2500\u2500 mkfs.cramfs\n\u2502       \u251c\u2500\u2500 mkfs.jffs2\n\u2502       \u251c\u2500\u2500 mkfs.ubifs\n\u2502       \u251c\u2500\u2500 mkimage\n\u2502       \u251c\u2500\u2500 mksquashfs\n\u2502       \u2514\u2500\u2500 ubinize\n\u251c\u2500image_uclibc ------------------------------------------------- himix100\u7f16\u8bd1\u51fa\u7684\u955c\u50cf\u6587\u4ef6\n\u2502   \u251c\u2500\u2500 uImage_hi3516ev200 ----------------------------------------- kernel\u955c\u50cf\n\u2502   \u251c\u2500\u2500 u-boot-hi3516ev200.bin ------------------------------------- u-boot\u955c\u50cf\n\u2502   \u251c\u2500\u2500 rootfs_hi3516ev200_64k.jffs2 ------------------------------- &lt;span class=&quot;hljs-number&quot;&gt;64&lt;\/span&gt;K jffs2 \u6587\u4ef6\u7cfb\u7edf\u955c\u50cf\n\u2502   \u251c\u2500\u2500 rootfs_hi3516ev200_128k.jffs2 ------------------------------ &lt;span class=&quot;hljs-number&quot;&gt;128&lt;\/span&gt;K jffs2 \u6587\u4ef6\u7cfb\u7edf\u955c\u50cf\n\u2502   \u251c\u2500\u2500 rootfs_hi3516ev200_256k.jffs2 ------------------------------ &lt;span class=&quot;hljs-number&quot;&gt;256&lt;\/span&gt;K jffs2 \u6587\u4ef6\u7cfb\u7edf\u955c\u50cf\n\u2502   \u251c\u2500\u2500 rootfs_hi3516ev200_2k_4bit.yaffs2 -------------------------- yaffs2 \u6587\u4ef6\u7cfb\u7edf\u955c\u50cf\n\u2502   \u251c\u2500\u2500 rootfs_hi3516ev200_2k_24bit.yaffs2 ------------------------- yaffs2 \u6587\u4ef6\u7cfb\u7edf\u955c\u50cf\n\u2502   \u251c\u2500\u2500 rootfs_hi3516ev200_4k_4bit.yaffs2 -------------------------- yaffs2 \u6587\u4ef6\u7cfb\u7edf\u955c\u50cf\n\u2502   \u251c\u2500\u2500 rootfs_hi3516ev200_4k_24bit.yaffs2 ------------------------- yaffs2 \u6587\u4ef6\u7cfb\u7edf\u955c\u50cf\n\u2502   \u251c\u2500\u2500 rootfs_hi3516ev200_2k_128k_32M.ubifs------------------------ &lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;k &lt;span class=&quot;hljs-number&quot;&gt;128&lt;\/span&gt;k UBI \u6587\u4ef6\u7cfb\u7edf\u955c\u50cf\n\u2502   \u2514\u2500\u2500 rootfs_hi3516ev200_4k_256k_50M.ubifs------------------------ &lt;span class=&quot;hljs-number&quot;&gt;4&lt;\/span&gt;k &lt;span class=&quot;hljs-number&quot;&gt;256&lt;\/span&gt;k UBI \u6587\u4ef6\u7cfb\u7edf\u955c\u50cf\n\u2502\n\u251c\u2500 rootfs.ubiimg ----------------------------------------------- UBIFS\u6839\u6587\u4ef6\u7cfb\u7edf\n\u251c\u2500 rootfs_uclibc.tgz  ------------------------------------------- himix100\u7f16\u8bd1\u51fa\u7684rootfs\u6587\u4ef6\u7cfb\u7edf\n\n&lt;span class=&quot;hljs-number&quot;&gt;3.&lt;\/span&gt;osdrv\u76ee\u5f55\u7ed3\u6784\u8bf4\u660e\uff1a\nosdrv\n\u251c\u2500Makefile ------------------------------ osdrv\u76ee\u5f55\u7f16\u8bd1\u811a\u672c\n\u251c\u2500tools --------------------------------- \u5b58\u653e\u5404\u79cd\u5de5\u5177\u7684\u76ee\u5f55\n\u2502  \u251c\u2500board ------------------------------ \u5404\u79cd\u5355\u677f\u4e0a\u4f7f\u7528\u5de5\u5177\n\u2502  \u2502  \u251c\u2500ethtools ----------------------- ethtools\u5de5\u5177\n\u2502  \u2502  \u251c\u2500reg-tools&lt;span class=&quot;hljs-number&quot;&gt;-1.0&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;.0&lt;\/span&gt; ----------------- \u5bc4\u5b58\u5668\u8bfb\u5199\u5de5\u5177\n\u2502  \u2502  \u251c\u2500eudev&lt;span class=&quot;hljs-number&quot;&gt;-3.2&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;.7&lt;\/span&gt; ------------------------ udev\u5de5\u5177\u96c6\n\u2502  \u2502  \u251c\u2500mtd-utils ----------------------- flash\u88f8\u8bfb\u5199\u5de5\u5177\u96c6\n\u2502  \u2502  \u251c\u2500gdb ----------------------------- gdb\u5de5\u5177\n\u2502  \u2502  \u2514\u2500e2fsprogs ----------------------- mkfs\u5de5\u5177\u96c6\n\u2502  \u2514\u2500pc ---------------------------------- \u5404\u79cdpc\u4e0a\u4f7f\u7528\u5de5\u5177\n\u2502      \u251c\u2500jffs2_tool----------------------- jffs2\u6587\u4ef6\u7cfb\u7edf\u5236\u4f5c\u5de5\u5177\n\u2502      \u251c\u2500cramfs_tool --------------------- cramfs\u6587\u4ef6\u7cfb\u7edf\u5236\u4f5c\u5de5\u5177\n\u2502      \u251c\u2500squashfs4&lt;span class=&quot;hljs-number&quot;&gt;.3&lt;\/span&gt; --------------------- squashfs\u6587\u4ef6\u7cfb\u7edf\u5236\u4f5c\u5de5\u5177\n\u2502      \u251c\u2500nand_production ----------------- nand\u91cf\u4ea7\u5de5\u5177\n\u2502      \u251c\u2500lzma_tool ----------------------- lzma\u538b\u7f29\u5de5\u5177\n\u2502      \u251c\u2500zlib ---------------------------- zlib\u5de5\u5177\n\u2502      \u251c\u2500mkyaffs2image -- ---------------- yaffs2\u6587\u4ef6\u7cfb\u7edf\u5236\u4f5c\u5de5\u5177\n\u2502      \u2514\u2500uboot_tools ----------------------uboot\u955c\u50cf\u5236\u4f5c\u5de5\u5177\u3001xls\u6587\u4ef6\u53caddr\u521d\u59cb\u5316\u811a\u672c\u3001reg_info.bin\u5236\u4f5c\u5de5\u5177\n\u251c\u2500pub ----------------------------------- \u5b58\u653e\u5404\u79cd\u955c\u50cf\u7684\u76ee\u5f55\n\u2502  \u251c\u2500image_uclibc ------------------------ \u57fa\u4e8ehimix100\u5de5\u5177\u94fe\u7f16\u8bd1\uff0c\u53ef\u4f9bFLASH\u70e7\u5199\u7684\u6620\u50cf\u6587\u4ef6\uff0c\u5305\u62ecuboot\u3001\u5185\u6838\u3001\u6587\u4ef6\u7cfb\u7edf\n\u2502  \u251c\u2500bin -------------------------------- \u5404\u79cd\u672a\u653e\u5165\u6839\u6587\u4ef6\u7cfb\u7edf\u7684\u5de5\u5177\n\u2502  \u2502  \u251c\u2500pc ------------------------------ \u5728pc\u4e0a\u6267\u884c\u7684\u5de5\u5177\n\u2502  \u2502  \u251c\u2500board_uclibc --------------------- \u57fa\u4e8ehimix100\u5de5\u5177\u94fe\u7f16\u8bd1\uff0c\u5728\u5355\u677f\u4e0a\u6267\u884c\u7684\u5de5\u5177\n\u2502  \u2514\u2500rootfs_uclibc.tgz ------------------- \u57fa\u4e8ehimix100\u5de5\u5177\u94fe\u7f16\u8bd1\u7684\u6839\u6587\u4ef6\u7cfb\u7edf\n\u251c\u2500opensource----------------------------- \u5b58\u653e\u5404\u79cd\u5f00\u6e90\u6e90\u7801\u76ee\u5f55\n\u2502  \u251c\u2500busybox ---------------------------- \u5b58\u653ebusybox\u6e90\u4ee3\u7801\u7684\u76ee\u5f55\n\u2502  \u251c\u2500uboot ------------------------------ \u5b58\u653euboot\u53ca\u5b89\u5168boot\u6e90\u4ee3\u7801\u7684\u76ee\u5f55\n\u2502  \u2514\u2500kernel ----------------------------- \u5b58\u653ekernel\u6e90\u4ee3\u7801\u7684\u76ee\u5f55\n\u2514\u2500rootfs_scripts ------------------------- \u5b58\u653e\u6839\u6587\u4ef6\u7cfb\u7edf\u5236\u4f5c\u811a\u672c\u7684\u76ee\u5f55\n\n&lt;span class=&quot;hljs-number&quot;&gt;4.&lt;\/span&gt;\u6ce8\u610f\u4e8b\u9879\n(&lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt;)\u5728windows\u4e0b\u590d\u5236\u6e90\u7801\u5305\u65f6\uff0clinux\u4e0b\u7684\u53ef\u6267\u884c\u6587\u4ef6\u53ef\u80fd\u53d8\u4e3a\u975e\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u5bfc\u81f4\u65e0\u6cd5\u7f16\u8bd1\u4f7f\u7528\uff1bu-boot\u6216\u5185\u6838\u4e0b\u7f16\u8bd1\u540e\uff0c\u4f1a\u6709\u5f88\u591a\u7b26\u53f7\u94fe\u63a5\u6587\u4ef6\uff0c\u5728windows\u4e0b\u590d\u5236\u8fd9\u4e9b\u6e90\u7801\u5305, \u4f1a\u4f7f\u6e90\u7801\u5305\u53d8\u7684\u5de8\u5927\uff0c\u56e0\u4e3alinux\u4e0b\u7684\u7b26\u53f7\u94fe\u63a5\u6587\u4ef6\u53d8\u4e3awindows\u4e0b\u5b9e\u5b9e\u5728\u5728\u7684\u6587\u4ef6\uff0c\u56e0\u6b64\u6e90\u7801\u5305\u81a8\u80c0\u3002\u56e0\u6b64\u4f7f\u7528\u65f6\u8bf7\u6ce8\u610f\u4e0d\u8981\u5728windows\u4e0b\u590d\u5236\u6e90\u4ee3\u7801\u5305\u3002\n(&lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;)\u4f7f\u7528\u67d0\u4e00\u5de5\u5177\u94fe\u7f16\u8bd1\u540e\uff0c\u5982\u679c\u9700\u8981\u66f4\u6362\u5de5\u5177\u94fe\uff0c\u8bf7\u5148\u5c06\u539f\u5de5\u5177\u94fe\u7f16\u8bd1\u6587\u4ef6\u6e05\u9664\uff0c\u7136\u540e\u518d\u66f4\u6362\u5de5\u5177\u94fe\u7f16\u8bd1\u3002\n(&lt;span class=&quot;hljs-number&quot;&gt;3&lt;\/span&gt;)\u7f16\u8bd1\u677f\u7aef\u8f6f\u4ef6\n    a.\u6b64\u82af\u7247\u5177\u6709\u6d6e\u70b9\u8fd0\u7b97\u5355\u5143\u548cneon\u3002\u6587\u4ef6\u7cfb\u7edf\u4e2d\u7684\u5e93\u662f\u91c7\u7528\u8f6f\u6d6e\u70b9\u548cneon\u7f16\u8bd1\u800c\u6210\uff0c\u56e0\u6b64\u8bf7\u7528\u6237\u6ce8\u610f\uff0c\u6240\u6709\u6b64\u82af\u7247\u677f\u7aef\u4ee3\u7801\u7f16\u8bd1\u65f6\u9700\u8981\u5728Makefile\u91cc\u9762\u6dfb\u52a0\u9009\u9879-mcpu=cortex-a7\u3001-mfloat-abi=softfp\u548c-mfpu=neon-vfpv4\u3002\n\u5982\uff1a\n\u5bf9\u4e8eA7\uff1a\n    CFLAGS += -mcpu=cortex-a7 -mfloat-abi=softfp -mfpu=neon-vfpv4 -fno-aggressive-&lt;span class=&quot;hljs-keyword&quot;&gt;loop&lt;\/span&gt;-optimizations\n    CXXFlAGS +=-mcpu=cortex-a7 -mfloat-abi=softfp -mfpu=neon-vfpv4 -fno-aggressive-&lt;span class=&quot;hljs-keyword&quot;&gt;loop&lt;\/span&gt;-optimizations\n\u5176\u4e2dCXXFlAGS\u4e2d\u7684XX\u6839\u636e\u7528\u6237Makefile\u4e2d\u6240\u4f7f\u7528\u5b8f\u7684\u5177\u4f53\u540d\u79f0\u6765\u786e\u5b9a\uff0ce.g:CPPFLAGS\u3002\n<\/code><\/pre>\n<ol start=\"2\">\n    <li>\u63d0\u524d\u642d\u5efa\u597d\u4ea4\u53c9\u7f16\u8bd1\u73af\u5883\uff1a<a href=\"https:\/\/blog.csdn.net\/wirner\/article\/details\/106979438\" target=\"_blank\" rel=\"noopener\">arm-himix100-linux-gcc<\/a>\n<h3 id=\"9pys5w\" class=\"markdown-heading\"><a class=\"reference-link\" name=\"9pys5w\"><\/a>kernel \u4e0b\u8f7d<\/h3>\n\u8fdb\u5165\u00a0<code>osdrv\/opensource\/kernel\/<\/code>\u76ee\u4e0b\u8f7dlinuxlinux-4.9.37.tar.gz\n<pre class=\"hljs ruby\"><code class=\"language-bash\">cd osdrv\/opensource\/kernel\/\nwget &lt;span class=&quot;hljs-symbol&quot;&gt;https:&lt;\/span&gt;\/&lt;span class=&quot;hljs-regexp&quot;&gt;\/mirrors.edge.kernel.org\/pub&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/linux\/kernel&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/v4.x\/linux&lt;\/span&gt;-&lt;span class=&quot;hljs-number&quot;&gt;4.9&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;37&lt;\/span&gt;.tar.gz<\/code><\/pre>\n\u8be5\u65b9\u6cd5\u4e0b\u8f7d\u5f88\u6162\uff0c\u5efa\u8bae\u8fc5\u96f7\u4e0b\u8f7d\uff0c\u62f7\u8d1d\u5230<code>osdrv\/opensource\/kernel\/<\/code>\u4e0b\n\u6267\u884clog\uff1a<\/li>\n<\/ol>\n<pre class=\"hljs ruby\"><code class=\"language-bash\">dopi@ubuntu&lt;span class=&quot;hljs-symbol&quot;&gt;:\/usr\/dopi\/Hi3516EV200_SDK_V1&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/package$ cd osdrv\/opensource\/kernel\/\ndopi@ubuntu&lt;span class=&quot;hljs-symbol&quot;&gt;:\/usr\/dopi\/Hi3516EV200_SDK_V1&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/package\/osdrv\/opensource\/kernel$ wget &lt;span class=&quot;hljs-symbol&quot;&gt;https:&lt;\/span&gt;\/&lt;span class=&quot;hljs-regexp&quot;&gt;\/mirrors.edge.kernel.org\/pub&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/linux\/kernel&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/v4.x\/linux&lt;\/span&gt;-&lt;span class=&quot;hljs-number&quot;&gt;4.9&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;37&lt;\/span&gt;.tar.gz\n--&lt;span class=&quot;hljs-number&quot;&gt;2020&lt;\/span&gt;-&lt;span class=&quot;hljs-number&quot;&gt;06&lt;\/span&gt;-&lt;span class=&quot;hljs-number&quot;&gt;29&lt;\/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;06&lt;\/span&gt;\n&lt;span class=&quot;hljs-symbol&quot;&gt;:&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;13&lt;\/span&gt;\n&lt;span class=&quot;hljs-symbol&quot;&gt;:&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;44&lt;\/span&gt;--  &lt;span class=&quot;hljs-symbol&quot;&gt;https:&lt;\/span&gt;\/&lt;span class=&quot;hljs-regexp&quot;&gt;\/mirrors.edge.kernel.org\/pub&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/linux\/kernel&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/v4.x\/linux&lt;\/span&gt;-&lt;span class=&quot;hljs-number&quot;&gt;4.9&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;37&lt;\/span&gt;.tar.gz\nResolving mirrors.edge.kernel.org (mirrors.edge.kernel.org)... &lt;span class=&quot;hljs-number&quot;&gt;147.75&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;95.133&lt;\/span&gt;, &lt;span class=&quot;hljs-number&quot;&gt;2604&lt;\/span&gt;\n&lt;span class=&quot;hljs-symbol&quot;&gt;:&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;1380&lt;\/span&gt;\n&lt;span class=&quot;hljs-symbol&quot;&gt;:&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;3000&lt;\/span&gt;\n&lt;span class=&quot;hljs-symbol&quot;&gt;:&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;1500&lt;\/span&gt;\n&lt;span class=&quot;hljs-symbol&quot;&gt;:&lt;\/span&gt;\n&lt;span class=&quot;hljs-symbol&quot;&gt;:&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt;\nConnecting to mirrors.edge.kernel.org (mirrors.edge.kernel.org)&lt;span class=&quot;hljs-params&quot;&gt;|147.75.95.133|&lt;\/span&gt;\n&lt;span class=&quot;hljs-symbol&quot;&gt;:&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;443&lt;\/span&gt;... connected.\nHTTP request sent, awaiting response... &lt;span class=&quot;hljs-number&quot;&gt;200&lt;\/span&gt; OK\n&lt;span class=&quot;hljs-symbol&quot;&gt;Length:&lt;\/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;141696654&lt;\/span&gt; (&lt;span class=&quot;hljs-number&quot;&gt;135&lt;\/span&gt;M) [application\/x-gzip]\nSaving &lt;span class=&quot;hljs-symbol&quot;&gt;to:&lt;\/span&gt; &lsquo;linux-&lt;span class=&quot;hljs-number&quot;&gt;4.9&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;37&lt;\/span&gt;.tar.gz&rsquo;\n\n&lt;span class=&quot;hljs-meta&quot;&gt;linux-4.9.37.tar.gz                        1%[&gt;&lt;\/span&gt;                                                                                ]   &lt;span class=&quot;hljs-number&quot;&gt;2.32&lt;\/span&gt;M  &lt;span class=&quot;hljs-number&quot;&gt;8.69&lt;\/span&gt;KB\/s    eta &lt;span class=&quot;hljs-number&quot;&gt;4&lt;\/span&gt;h &lt;span class=&quot;hljs-number&quot;&gt;18&lt;\/span&gt;m <\/code><\/pre>\n<h3 id=\"cseuvj\" class=\"markdown-heading\"><a class=\"reference-link\" name=\"cseuvj\"><\/a>\u4e0b\u8f7dyaffs2utils-0.2.9.tar.gz<\/h3>\n<pre class=\"hljs nginx\"><code class=\"language-bash\">&lt;span class=&quot;hljs-attribute&quot;&gt;cd&lt;\/span&gt; osdrv\/tools\/pc\/mkyaffs2image\/\nwget --&lt;span class=&quot;hljs-literal&quot;&gt;no&lt;\/span&gt;-check-certificate https:\/\/codeload.github.com\/dorigom\/yaffs2utils\/tar.gz\/0.2.9 -O yaffs2utils-&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;9&lt;\/span&gt;.tar.gz <\/code><\/pre>\n<p class=\"line\"><strong>PS: wget\u6307\u4ee4\u4e0b\u8f7dhttps\u6709\u4e9bwget\u7248\u672c\u9700\u8981\u8df3\u8fc7https\u624d\u80fd\u4e0b\u8f7d\u6210\u529f\uff0c\u4f7f\u7528&#8211;no-check-certificate \u8df3\u8fc7\uff0c\u9ed8\u8ba4\u4e0b\u8f7d\u7684\u6587\u4ef6\u53ef\u4ee5\u4f7f\u7528-O\u53c2\u6570\u4fee\u6539\u6587\u4ef6\u540d<\/strong>\n\u6267\u884clog\uff1a<\/p>\n<pre class=\"hljs ruby\"><code class=\"language-bash\">$ wget &lt;span class=&quot;hljs-symbol&quot;&gt;https:&lt;\/span&gt;\/&lt;span class=&quot;hljs-regexp&quot;&gt;\/codeload.github.com\/dorigom&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/yaffs2utils\/tar&lt;\/span&gt;.gz\/&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;2.9&lt;\/span&gt;\n--&lt;span class=&quot;hljs-number&quot;&gt;2020&lt;\/span&gt;-&lt;span class=&quot;hljs-number&quot;&gt;06&lt;\/span&gt;-&lt;span class=&quot;hljs-number&quot;&gt;29&lt;\/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;06&lt;\/span&gt;\n&lt;span class=&quot;hljs-symbol&quot;&gt;:&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;23&lt;\/span&gt;\n&lt;span class=&quot;hljs-symbol&quot;&gt;:&lt;\/span&gt;09--  &lt;span class=&quot;hljs-symbol&quot;&gt;https:&lt;\/span&gt;\/&lt;span class=&quot;hljs-regexp&quot;&gt;\/codeload.github.com\/dorigom&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/yaffs2utils\/tar&lt;\/span&gt;.gz\/&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;2.9&lt;\/span&gt;\nResolving codeload.github.com (codeload.github.com)... &lt;span class=&quot;hljs-number&quot;&gt;13.229&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;189.0&lt;\/span&gt;\nConnecting to codeload.github.com (codeload.github.com)&lt;span class=&quot;hljs-params&quot;&gt;|13.229.189.0|&lt;\/span&gt;\n&lt;span class=&quot;hljs-symbol&quot;&gt;:&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;443&lt;\/span&gt;... connected.\nHTTP request sent, awaiting response... &lt;span class=&quot;hljs-number&quot;&gt;200&lt;\/span&gt; OK\n&lt;span class=&quot;hljs-symbol&quot;&gt;Length:&lt;\/span&gt; unspecified [application\/x-gzip]\nSaving &lt;span class=&quot;hljs-symbol&quot;&gt;to:&lt;\/span&gt; &lsquo;&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;2.9&lt;\/span&gt;&rsquo;\n\n&lt;span class=&quot;hljs-meta&quot;&gt;0.2.9                   [   &lt;=&gt;&lt;\/span&gt;              ]  &lt;span class=&quot;hljs-number&quot;&gt;38.95&lt;\/span&gt;K  &lt;span class=&quot;hljs-number&quot;&gt;82.5&lt;\/span&gt;KB\/s    in &lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;5&lt;\/span&gt;s    \n\n&lt;span class=&quot;hljs-number&quot;&gt;2020&lt;\/span&gt;-&lt;span class=&quot;hljs-number&quot;&gt;06&lt;\/span&gt;-&lt;span class=&quot;hljs-number&quot;&gt;29&lt;\/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;06&lt;\/span&gt;\n&lt;span class=&quot;hljs-symbol&quot;&gt;:&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;23&lt;\/span&gt;\n&lt;span class=&quot;hljs-symbol&quot;&gt;:&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;11&lt;\/span&gt; (&lt;span class=&quot;hljs-number&quot;&gt;82.5&lt;\/span&gt; KB\/s) - &lsquo;&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;2.9&lt;\/span&gt;&rsquo; saved [&lt;span class=&quot;hljs-number&quot;&gt;39880&lt;\/span&gt;]\n<\/code><\/pre>\n<h3 id=\"8pyqmu\" class=\"markdown-heading\"><a class=\"reference-link\" name=\"8pyqmu\"><\/a>\u4e0b\u8f7dgdb-7.9.1.tar.gz<\/h3>\n<pre class=\"hljs ruby\"><code class=\"language-bash\">cd osdrv\/tools\/board\/gdb\/\nwget &lt;span class=&quot;hljs-symbol&quot;&gt;http:&lt;\/span&gt;\/&lt;span class=&quot;hljs-regexp&quot;&gt;\/ftp.gnu.org\/gnu&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/gdb\/gdb&lt;\/span&gt;-&lt;span class=&quot;hljs-number&quot;&gt;7.9&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt;.tar.gz<\/code><\/pre>\n<h3 id=\"ckugzt\" class=\"markdown-heading\"><a class=\"reference-link\" name=\"ckugzt\"><\/a>\u4e0b\u8f7dncurses-6.0.tar.gz<\/h3>\n<pre class=\"hljs ruby\"><code class=\"language-bash\">cd osdrv\/tools\/board\/gdb\/\nwget &lt;span class=&quot;hljs-symbol&quot;&gt;http:&lt;\/span&gt;\/&lt;span class=&quot;hljs-regexp&quot;&gt;\/ftp.gnu.org\/gnu&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/ncurses\/ncurses&lt;\/span&gt;-&lt;span class=&quot;hljs-number&quot;&gt;6.0&lt;\/span&gt;.tar.gz<\/code><\/pre>\n<h3 id=\"f6s3mu\" class=\"markdown-heading\"><a class=\"reference-link\" name=\"f6s3mu\"><\/a>\u4e0b\u8f7dutil-linux-2.31.tar.gz<\/h3>\n<pre class=\"hljs ruby\"><code class=\"language-bash\">osdrv\/tools\/pc\/cramfs_tool\/\nwget &lt;span class=&quot;hljs-symbol&quot;&gt;https:&lt;\/span&gt;\/&lt;span class=&quot;hljs-regexp&quot;&gt;\/mirrors.edge.kernel.org\/pub&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/linux\/utils&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/util-linux\/v&lt;\/span&gt;2.&lt;span class=&quot;hljs-number&quot;&gt;31&lt;\/span&gt;\/util-linux-&lt;span class=&quot;hljs-number&quot;&gt;2.31&lt;\/span&gt;.tar.gz<\/code><\/pre>\n<h3 id=\"f8583h\" class=\"markdown-heading\"><a class=\"reference-link\" name=\"f8583h\"><\/a>\u7f16\u8bd1\uff1a<\/h3>\n<pre class=\"hljs ruby\"><code class=\"language-bash\">dopi@ubuntu&lt;span class=&quot;hljs-symbol&quot;&gt;:\/usr\/dopi\/Hi3516EV200_SDK_V1&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/package$ cd osdrv\/\ndopi@ubuntu&lt;span class=&quot;hljs-symbol&quot;&gt;:\/usr\/dopi\/Hi3516EV200_SDK_V1&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/package\/osdrv$ make all<\/code><\/pre>\n<ul>\n    <li>\n<p class=\"line\">\u7f16\u8bd1\u9519\u8bef\uff1a<code>\/bin\/sh: 1: pushd: not found<\/code><\/p>\n<p class=\"line\">\u89e3\u51b3\u65b9\u6cd5\uff1a\n\u5728dash\u6a21\u5f0f\u4e0b\uff0c\u6267\u884c\uff1asudo dpkg-reconfigure dash\uff0c\u5f39\u51fa\u7684\u4e32\u53e3\u9009\u62e9NO\uff0c\u6267\u884c\u5b8c\u6210\u540e\uff0c\u8f93\u5165exit\u9000\u51fa<\/p>\n\n<pre class=\"hljs ruby\"><code class=\"language-bash\">dopi&lt;a class=&quot;at-link&quot; title=&quot;@ubuntu&quot; href=&quot;https:\/\/github.com\/ubuntu&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;@ubuntu&lt;\/a&gt;\n&lt;span class=&quot;hljs-symbol&quot;&gt;:\/usr\/dopi\/Hi3516EV200_SDK_V1&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/package\/osdrv$ cd \/bin\ndopi&lt;a class=&quot;at-link&quot; title=&quot;@ubuntu&quot; href=&quot;https:\/\/github.com\/ubuntu&quot; target=&quot;_blank&quot; rel=&quot;noopener&quot;&gt;@ubuntu&lt;\/a&gt;\n&lt;span class=&quot;hljs-symbol&quot;&gt;:\/bin&lt;\/span&gt;$ sh\n$ sudo dpkg-reconfigure dash \n[sudo] password &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; &lt;span class=&quot;hljs-symbol&quot;&gt;dopi:&lt;\/span&gt; \nRemoving &lt;span class=&quot;hljs-string&quot;&gt;'diversion of \/bin\/sh to \/bin\/sh.distrib by dash'&lt;\/span&gt;\nAdding &lt;span class=&quot;hljs-string&quot;&gt;'diversion of \/bin\/sh to \/bin\/sh.distrib by bash'&lt;\/span&gt;\nRemoving &lt;span class=&quot;hljs-string&quot;&gt;'diversion of \/usr\/share\/man\/man1\/sh.1.gz to \/usr\/share\/man\/man1\/sh.distrib.1.gz by dash'&lt;\/span&gt;\nAdding &lt;span class=&quot;hljs-string&quot;&gt;'diversion of \/usr\/share\/man\/man1\/sh.1.gz to \/usr\/share\/man\/man1\/sh.distrib.1.gz by bash'&lt;\/span&gt;\n$ sh\nsh-&lt;span class=&quot;hljs-number&quot;&gt;4.4&lt;\/span&gt;$ exit<\/code><\/pre>\n<p class=\"line\"><figure id=\"attachment_mmd_2292\" class=\"wp-block-image alignnone\"><img width=\"1472\" height=\"326\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/2021\/12\/20200629220158337.png\" class=\"attachment-full size-full\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" decoding=\"async\" loading=\"lazy\" align=\"none\" width=\"1472\" srcset=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/2021\/12\/20200629220158337.png 1472w, http:\/\/nick.txtcc.com\/wp-content\/uploads\/2021\/12\/20200629220158337-300x66.png 300w, http:\/\/nick.txtcc.com\/wp-content\/uploads\/2021\/12\/20200629220158337-1024x227.png 1024w, http:\/\/nick.txtcc.com\/wp-content\/uploads\/2021\/12\/20200629220158337-768x170.png 768w, http:\/\/nick.txtcc.com\/wp-content\/uploads\/2021\/12\/20200629220158337-830x184.png 830w\" sizes=\"auto, (max-width: 1472px) 100vw, 1472px\" \/><\/figure>\n<\/li>\n<\/ul>\n<ul>\n    <li>\u7f16\u8bd1\u9519\u8bef2\uff1a\u7f3a\u5404\u79cd\u4f9d\u8d56\u9879\u5e93<\/li>\n<\/ul>\n<pre class=\"hljs ruby\"><code class=\"language-bash\">&lt;span class=&quot;hljs-symbol&quot;&gt;configure:&lt;\/span&gt; &lt;span class=&quot;hljs-symbol&quot;&gt;WARNING:&lt;\/span&gt; cannot find uuid library required &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; mkfs.ubifs\n&lt;span class=&quot;hljs-symbol&quot;&gt;configure:&lt;\/span&gt; mtd-utils can optionally be built without mkfs.ubifs\n&lt;span class=&quot;hljs-symbol&quot;&gt;configure:&lt;\/span&gt; &lt;span class=&quot;hljs-symbol&quot;&gt;WARNING:&lt;\/span&gt; cannot find ZLIB library required &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; mkfs programs\n&lt;span class=&quot;hljs-symbol&quot;&gt;configure:&lt;\/span&gt; mtd-utils can optionally be built without mkfs.ubifs\n&lt;span class=&quot;hljs-symbol&quot;&gt;configure:&lt;\/span&gt; mtd-utils can optionally be built without mkfs.jffs2\n&lt;span class=&quot;hljs-symbol&quot;&gt;configure:&lt;\/span&gt; &lt;span class=&quot;hljs-symbol&quot;&gt;error:&lt;\/span&gt; missing one &lt;span class=&quot;hljs-keyword&quot;&gt;or&lt;\/span&gt; more dependencies\n&lt;span class=&quot;hljs-symbol&quot;&gt;Makefile:&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;45&lt;\/span&gt;: recipe &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; target &lt;span class=&quot;hljs-string&quot;&gt;'\/usr\/dopi\/Hi3516EV200_SDK_V1.0.1.0\/package\/osdrv\/tools\/pc\/jffs2_tool\/tmp\/sbin\/mkfs.jffs2'&lt;\/span&gt; failed\nmake[&lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt;]: *** [&lt;span class=&quot;hljs-regexp&quot;&gt;\/usr\/dopi&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/Hi3516EV200_SDK_V1.0.1.0\/package&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/osdrv\/tools&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/pc\/jffs&lt;\/span&gt;2_tool\/tmp\/sbin\/mkfs.jffs2] Error &lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt;\nmake[&lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt;]: Leaving directory &lt;span class=&quot;hljs-string&quot;&gt;'\/usr\/dopi\/Hi3516EV200_SDK_V1.0.1.0\/package\/osdrv\/tools\/pc\/jffs2_tool'&lt;\/span&gt;\n&lt;span class=&quot;hljs-symbol&quot;&gt;Makefile:&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;342&lt;\/span&gt;: recipe &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; target &lt;span class=&quot;hljs-string&quot;&gt;'hipctools'&lt;\/span&gt; failed\n&lt;span class=&quot;hljs-symbol&quot;&gt;make:&lt;\/span&gt; *** [hipctools] Error &lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;\n<\/code><\/pre>\n<p class=\"line\">\u89e3\u51b3\u65b9\u6cd5\uff1a<code>osdrv\/tools\/pc\/jffs2_tool\/<\/code>\u7684readme_cn.txt \uff0c\u5199\u5f97\u7279\u522b\u8be6\u7ec6\uff0c\u4e0d\u5f97\u4e0d\u4f69\u670d\u6d77\u601d\u7684\u5de5\u7a0b\u5e08\u3002<\/p>\n<pre class=\"hljs ruby\"><code class=\"language-bash\">dopi@ubuntu&lt;span class=&quot;hljs-symbol&quot;&gt;:\/usr\/dopi\/Hi3516EV200_SDK_V1&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/package\/osdrv$ cd tools\/pc\/jffs2_tool\/\ndopi@ubuntu&lt;span class=&quot;hljs-symbol&quot;&gt;:\/usr\/dopi\/Hi3516EV200_SDK_V1&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/package\/osdrv\/tools\/pc\/jffs2_tool$ ls\nlzo-&lt;span class=&quot;hljs-number&quot;&gt;2.09&lt;\/span&gt;.tar.gz  Makefile  mtd-utils-&lt;span class=&quot;hljs-number&quot;&gt;2.0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;.tar.bz2  readme_cn.txt  readme_en.txt  tmp\ndopi@ubuntu&lt;span class=&quot;hljs-symbol&quot;&gt;:\/usr\/dopi\/Hi3516EV200_SDK_V1&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/package\/osdrv\/tools\/pc\/jffs2_tool$ cat readme_cn.txt \n\u4e00\u3001mtd-utils2.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;\u4f9d\u8d56\u4ee5\u4e0b\u51e0\u4e2a\u5e93\uff0c\u4ee5ubuntu\u4e3a\u4f8b\uff0c\u5b89\u88c5\u65b9\u5f0f\u8bf7\u53c2\u8003\u4e0b\u9762\u547d\u4ee4\uff1a\n    sudo apt-get install zlib1g-dev liblzo2-dev uuid-dev pkg-config\n\u4e8c\u3001\u7531\u4e8emtd-utils2.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;\u901a\u8fc7pkg-config\u5de5\u5177\u68c0\u67e5\u5404\u4e2a\u5e93\u662f\u5426\u6b63\u5e38\u5b89\u88c5\uff0c\u56e0\u6b64\u8bf7\u53c2\u8003\u5982\u4e0b\u65b9\u5f0f\u8bbe\u7f6epkg-config\u5de5\u5177\u641c\u7d22\u8def\u5f84\uff1a\n    export PKG_CONFIG_PATH=&lt;span class=&quot;hljs-string&quot;&gt;&quot;$PKG_CONFIG_PATH:\/usr\/lib\/x86_64-linux-gnu\/pkgconfig&quot;&lt;\/span&gt;\n\u4e09\u3001mtd-utils2.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;\u4f9d\u8d56\u4e8eautomake1.&lt;span class=&quot;hljs-number&quot;&gt;15.1&lt;\/span&gt;\u7248\u672c\uff0c\u8bf7\u53c2\u8003\u5982\u4e0b\u65b9\u5f0f\u5b89\u88c5automake1.&lt;span class=&quot;hljs-number&quot;&gt;15.1&lt;\/span&gt;\u7248\u672c\uff1a\n    &lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt;\u3001\u5220\u9664\u539f\u6709automake\u7248\u672c\n        sudo apt-get autoremove automake\n    &lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;\u3001\u4e0b\u8f7d&lt;span class=&quot;hljs-number&quot;&gt;1.15&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt;\u7248\u672c\n        &lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt;\uff09Windows\u7cfb\u7edf\u4e2d\u4f7f\u7528\u6d4f\u89c8\u5668\u8bbf\u95eeautomake\u5de5\u7a0burl\u5e76\u4e0b\u8f7d\u5bf9\u5e94\u6e90\u7801\u5305\uff1a\n            &lt;span class=&quot;hljs-symbol&quot;&gt;https:&lt;\/span&gt;\/&lt;span class=&quot;hljs-regexp&quot;&gt;\/lists.gnu.org\/archive&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/html\/info&lt;\/span&gt;-gnu\/&lt;span class=&quot;hljs-number&quot;&gt;2017&lt;\/span&gt;-&lt;span class=&quot;hljs-number&quot;&gt;06&lt;\/span&gt;\/msg00007.html\n        &lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;\uff09linux\u7cfb\u7edf\u4e2d\u53ef\u4ee5\u4f7f\u7528\u4e0b\u9762\u547d\u4ee4\u4e0b\u8f7d\uff1a\n            wget &lt;span class=&quot;hljs-symbol&quot;&gt;ftp:&lt;\/span&gt;\/&lt;span class=&quot;hljs-regexp&quot;&gt;\/ftp.gnu.org\/gnu&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/automake\/automake&lt;\/span&gt;-&lt;span class=&quot;hljs-number&quot;&gt;1.15&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt;.tar.gz\n    &lt;span class=&quot;hljs-number&quot;&gt;3&lt;\/span&gt;\u3001\u7f16\u8bd1\u5b89\u88c5automake1.&lt;span class=&quot;hljs-number&quot;&gt;15.1&lt;\/span&gt;\n        tar zxvf automake-&lt;span class=&quot;hljs-number&quot;&gt;1.15&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt;.tar.gz\n        cd automake-&lt;span class=&quot;hljs-number&quot;&gt;1.15&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt;\/\n        .\/configure\n        make\n        make install\n\u56db\u3001\u7f16\u8bd1mtd-utils2.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;<\/code><\/pre>\n<pre class=\"hljs sql\"><code class=\"language-bash\">\nsudo apt-get &lt;span class=&quot;hljs-keyword&quot;&gt;install&lt;\/span&gt; -y zlib1g-dev liblzo2-dev &lt;span class=&quot;hljs-keyword&quot;&gt;uuid&lt;\/span&gt;-dev pkg-config\n&lt;span class=&quot;hljs-keyword&quot;&gt;export&lt;\/span&gt; PKG_CONFIG_PATH=&lt;span class=&quot;hljs-string&quot;&gt;&quot;$PKG_CONFIG_PATH:\/usr\/lib\/x86_64-linux-gnu\/pkgconfig&quot;&lt;\/span&gt;\nwget &lt;span class=&quot;hljs-keyword&quot;&gt;ftp&lt;\/span&gt;:\/\/ftp.gnu.org\/gnu\/automake\/automake&lt;span class=&quot;hljs-number&quot;&gt;-1.15&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;.1&lt;\/span&gt;.tar.gz\ntar zxvf automake&lt;span class=&quot;hljs-number&quot;&gt;-1.15&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;.1&lt;\/span&gt;.tar.gz\ncd automake&lt;span class=&quot;hljs-number&quot;&gt;-1.15&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;.1&lt;\/span&gt;\nsudo .\/configure\nsudo make \nsudo make &lt;span class=&quot;hljs-keyword&quot;&gt;install&lt;\/span&gt;<\/code><\/pre>\n<ul>\n    <li>\u6267\u884cautomake1.15.1 \u7684.\/configure\u62a5\u9519<\/li>\n<\/ul>\n<pre class=\"hljs sql\"><code class=\"language-bash\">opi@ubuntu:\/usr\/dopi\/Hi3516EV200_SDK_V1.0.1.0\/package\/osdrv\/tools\/pc\/jffs2_tool\/automake-1.15.1$ .\/configure\nchecking whether make supports nested variables... yes\nchecking build system type... x86_64-pc-linux-gnu\nchecking host system type... x86_64-pc-linux-gnu\nchecking for a BSD-compatible install... \/usr\/&lt;span class=&quot;hljs-keyword&quot;&gt;bin&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;install&lt;\/span&gt; -c\nchecking whether &lt;span class=&quot;hljs-keyword&quot;&gt;build&lt;\/span&gt; environment &lt;span class=&quot;hljs-keyword&quot;&gt;is&lt;\/span&gt; sane... yes\nchecking &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; a &lt;span class=&quot;hljs-keyword&quot;&gt;thread&lt;\/span&gt;-&lt;span class=&quot;hljs-keyword&quot;&gt;safe&lt;\/span&gt; mkdir -p... \/&lt;span class=&quot;hljs-keyword&quot;&gt;bin&lt;\/span&gt;\/mkdir -p\nchecking &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; gawk... &lt;span class=&quot;hljs-keyword&quot;&gt;no&lt;\/span&gt;\nchecking &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; mawk... mawk\nchecking whether make &lt;span class=&quot;hljs-keyword&quot;&gt;sets&lt;\/span&gt; $(MAKE)... yes\nchecking whether &lt;span class=&quot;hljs-keyword&quot;&gt;ln&lt;\/span&gt; -s works... yes\nchecking &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; perl... \/usr\/&lt;span class=&quot;hljs-keyword&quot;&gt;bin&lt;\/span&gt;\/perl\nchecking &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; tex... &lt;span class=&quot;hljs-keyword&quot;&gt;no&lt;\/span&gt;\nchecking &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; yacc... &lt;span class=&quot;hljs-keyword&quot;&gt;no&lt;\/span&gt;\nchecking &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; byacc... &lt;span class=&quot;hljs-keyword&quot;&gt;no&lt;\/span&gt;\nchecking &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; bison... &lt;span class=&quot;hljs-keyword&quot;&gt;no&lt;\/span&gt;\nchecking &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; lex... &lt;span class=&quot;hljs-keyword&quot;&gt;no&lt;\/span&gt;\nchecking &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; flex... &lt;span class=&quot;hljs-keyword&quot;&gt;no&lt;\/span&gt;\nchecking whether autoconf &lt;span class=&quot;hljs-keyword&quot;&gt;is&lt;\/span&gt; installed... &lt;span class=&quot;hljs-keyword&quot;&gt;no&lt;\/span&gt;\nconfigure: &lt;span class=&quot;hljs-keyword&quot;&gt;error&lt;\/span&gt;: Autoconf &lt;span class=&quot;hljs-number&quot;&gt;2.65&lt;\/span&gt; &lt;span class=&quot;hljs-keyword&quot;&gt;or&lt;\/span&gt; better &lt;span class=&quot;hljs-keyword&quot;&gt;is&lt;\/span&gt; required.<\/code><\/pre>\n<p class=\"line\">\u89e3\u51b3\u65b9\u6cd5\uff1a<\/p>\n<pre class=\"hljs nginx\"><code class=\"language-bash\">&lt;span class=&quot;hljs-attribute&quot;&gt;wget&lt;\/span&gt; http:\/\/ftp.gnu.org\/gnu\/autoconf\/autoconf-2.65.tar.gz\n\ntar xzf autoconf-&lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;65&lt;\/span&gt;.tar.gz\n\ncd autoconf-&lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;65&lt;\/span&gt;\n\n sudo .\/configure\n\nsudo make \nsudo make install<\/code><\/pre>\n<ul>\n    <li>\u5b89\u88c5autoconf-2.65\u62a5\u9519\uff1a\u7f3a\u5c11\uff1aGNU M4 1.4.6<\/li>\n<\/ul>\n<pre class=\"hljs sql\"><code class=\"language-bash\">dopi@ubuntu:\/usr\/dopi\/Hi3516EV200_SDK_V1.0.1.0\/package\/osdrv\/tools\/pc\/jffs2_tool\/autoconf-2.65$ .\/configure\nchecking for a BSD-compatible install... \/usr\/&lt;span class=&quot;hljs-keyword&quot;&gt;bin&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;install&lt;\/span&gt; -c\nchecking whether &lt;span class=&quot;hljs-keyword&quot;&gt;build&lt;\/span&gt; environment &lt;span class=&quot;hljs-keyword&quot;&gt;is&lt;\/span&gt; sane... yes\nchecking &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; a &lt;span class=&quot;hljs-keyword&quot;&gt;thread&lt;\/span&gt;-&lt;span class=&quot;hljs-keyword&quot;&gt;safe&lt;\/span&gt; mkdir -p... \/&lt;span class=&quot;hljs-keyword&quot;&gt;bin&lt;\/span&gt;\/mkdir -p\nchecking &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; gawk... &lt;span class=&quot;hljs-keyword&quot;&gt;no&lt;\/span&gt;\nchecking &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; mawk... mawk\nchecking whether make &lt;span class=&quot;hljs-keyword&quot;&gt;sets&lt;\/span&gt; $(MAKE)... yes\nchecking whether \/&lt;span class=&quot;hljs-keyword&quot;&gt;bin&lt;\/span&gt;\/sh -n &lt;span class=&quot;hljs-keyword&quot;&gt;is&lt;\/span&gt; known &lt;span class=&quot;hljs-keyword&quot;&gt;to&lt;\/span&gt; work... yes\nchecking &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; &lt;span class=&quot;hljs-keyword&quot;&gt;characters&lt;\/span&gt; that cannot appear &lt;span class=&quot;hljs-keyword&quot;&gt;in&lt;\/span&gt; &lt;span class=&quot;hljs-keyword&quot;&gt;file&lt;\/span&gt; names... &lt;span class=&quot;hljs-keyword&quot;&gt;none&lt;\/span&gt;\nchecking whether directories can have trailing spaces... yes\nchecking &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; expr... \/usr\/&lt;span class=&quot;hljs-keyword&quot;&gt;bin&lt;\/span&gt;\/expr\nchecking &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; GNU M4 that supports accurate traces... configure: &lt;span class=&quot;hljs-keyword&quot;&gt;error&lt;\/span&gt;: &lt;span class=&quot;hljs-keyword&quot;&gt;no&lt;\/span&gt; acceptable m4 could be &lt;span class=&quot;hljs-keyword&quot;&gt;found&lt;\/span&gt; &lt;span class=&quot;hljs-keyword&quot;&gt;in&lt;\/span&gt; $PATH.\nGNU M4 &lt;span class=&quot;hljs-number&quot;&gt;1.4&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;.6&lt;\/span&gt; &lt;span class=&quot;hljs-keyword&quot;&gt;or&lt;\/span&gt; later &lt;span class=&quot;hljs-keyword&quot;&gt;is&lt;\/span&gt; &lt;span class=&quot;hljs-keyword&quot;&gt;required&lt;\/span&gt;; 1.4.13 is recommended<\/code><\/pre>\n<p class=\"line\">\u89e3\u51b3\u65b9\u6cd5\uff1a<\/p>\n<pre class=\"hljs nginx\"><code class=\"language-bash\">&lt;span class=&quot;hljs-attribute&quot;&gt;wget&lt;\/span&gt; http:\/\/ftp.gnu.org\/gnu\/m4\/m4-1.4.13.tar.gz\ntar m4-&lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;4&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;13&lt;\/span&gt;.tar.gz\ncd m4-&lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;4&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;13&lt;\/span&gt;\n sudo .\/configure \n sudo make \n sudo make install<\/code><\/pre>\n<p class=\"line\">\u8fde\u73af\u5d4c\u5957\u62a5\u9519\u89e3\u51b3\u4e4b\u540e\uff0c\u56de\u5934\u91cd\u65b0\u7f16\u8bd1\uff0c\u5b89\u88c5autoconf-2.65\uff0cautomake1.15.1\u3002\u4ee5\u4e0a\u89e3\u51b3\u4e86mtd-utils\u7684\u51e0\u4e2a\u4f9d\u8d56\u9879\u6587\u4ef6\uff0c\u5b89\u88c5\u5b8c\u6210\u3002<\/p>\n<h4 id=\"6h7f4y\" class=\"markdown-heading\"><a class=\"reference-link\" name=\"6h7f4y\"><\/a>\u4e0b\u8f7dmtd-utils2.0.2<\/h4>\n<p class=\"line\">\u8bbf\u95ee\uff1a<a href=\"ftp:\/\/ftp.infradead.xn--org-5w2h\/\">ftp:\/\/ftp.infradead.org\u7684<\/a>\u00a0\/pub\/mtd-utils\/ \u76ee\u5f55\uff0c\u627e\u5230mtd-utils2.0.2.tar\u4e0b\u8f7d\u3002\n\u6267\u884c\u547d\u4ee4\uff1a<\/p>\n<pre class=\"hljs bash\"><code class=\"language-bash\"> tar xjvf mtd-utils-2.0.2.tar.bz2 \n &lt;span class=&quot;hljs-built_in&quot;&gt;cd&lt;\/span&gt; mtd-utils-2.0.2\/\nsudo .\/configure \nsudo make\nsudo make install<\/code><\/pre>\n<p class=\"line\">\u56de\u5934\u56de\u5230\u76ee\u5f55osdrv\u76ee\u5f55\u4e0b\uff0c\u6267\u884c make all \u6587\u4ef6\u3002<\/p>\n<ul>\n    <li>util-linux-2.31\/tar\u9519\u8bef\uff1a\n<pre class=\"hljs ruby\"><code class=\"language-bash\">&lt;span class=&quot;hljs-symbol&quot;&gt;gzip:&lt;\/span&gt; &lt;span class=&quot;hljs-symbol&quot;&gt;stdin:&lt;\/span&gt; decompression OK, trailing garbage ignored\n&lt;span class=&quot;hljs-symbol&quot;&gt;tar:&lt;\/span&gt; Child returned status &lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;\n&lt;span class=&quot;hljs-symbol&quot;&gt;tar:&lt;\/span&gt; Error is &lt;span class=&quot;hljs-keyword&quot;&gt;not&lt;\/span&gt; &lt;span class=&quot;hljs-symbol&quot;&gt;recoverable:&lt;\/span&gt; exiting now\n&lt;span class=&quot;hljs-symbol&quot;&gt;Makefile:&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;71&lt;\/span&gt;: recipe &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; target &lt;span class=&quot;hljs-string&quot;&gt;'\/usr\/dopi\/Hi3516EV200_SDK_V1.0.1.0\/package\/osdrv\/tools\/pc\/cramfs_tool\/tmp\/util-linux-2.31\/tar'&lt;\/span&gt; failed\nmake[&lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt;]: *** [&lt;span class=&quot;hljs-regexp&quot;&gt;\/usr\/dopi&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/Hi3516EV200_SDK_V1.0.1.0\/package&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/osdrv\/tools&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/pc\/cramfs&lt;\/span&gt;_tool\/tmp\/util-linux-&lt;span class=&quot;hljs-number&quot;&gt;2.31&lt;\/span&gt;\/tar] Error &lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;\nmake[&lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt;]: Leaving directory &lt;span class=&quot;hljs-string&quot;&gt;'\/usr\/dopi\/Hi3516EV200_SDK_V1.0.1.0\/package\/osdrv\/tools\/pc\/cramfs_tool'&lt;\/span&gt;\n&lt;span class=&quot;hljs-symbol&quot;&gt;Makefile:&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;342&lt;\/span&gt;: recipe &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; target &lt;span class=&quot;hljs-string&quot;&gt;'hipctools'&lt;\/span&gt; failed\n&lt;span class=&quot;hljs-symbol&quot;&gt;make:&lt;\/span&gt; *** [hipctools] Error &lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;<\/code><\/pre>\n<\/li>\n<\/ul>\n<p class=\"line\">\u89e3\u51b3\u65b9\u6cd5\uff1a\n\u4e0b\u8f7d\u7684\u6587\u4ef6\u51fa\u9519\u4e86\uff0c\u4e0b\u8f7d\u8fc7\u7a0b\u51fa\u9519\uff0c\u6216\u8005\u4ecewindows\u4e0b\u8f7d\uff0c\u62f7\u8d1d\u5230\u865a\u62df\u673a\u7684\uff0c\u4f1a\u6709\u95ee\u9898\u3002\u76f4\u63a5wget\u91cd\u65b0\u4e0b\u8f7d\u3002\n\u53c2\u8003\u94fe\u63a5\uff1a<a href=\"https:\/\/blog.csdn.net\/mengzuchao\/article\/details\/81659971\" target=\"_blank\" rel=\"noopener\">https:\/\/blog.csdn.net\/mengzuchao\/article\/details\/81659971<\/a>\n\u56de\u5934\u56de\u5230\u76ee\u5f55osdrv\u76ee\u5f55\u4e0b\uff0c\u6267\u884c make all \u6587\u4ef6\u3002<\/p>\n<ul>\n    <li>eudev\u9519\u8bef\uff1a\n<pre class=\"hljs ruby\"><code class=\"language-bash\">&lt;span class=&quot;hljs-symbol&quot;&gt;Makefile:&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;36&lt;\/span&gt;: recipe &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; target &lt;span class=&quot;hljs-string&quot;&gt;'\/usr\/dopi\/Hi3516EV200_SDK_V1.0.1.0\/package\/osdrv\/tools\/board\/eudev-3.2.7\/tmp\/eudev-3.2.7\/udevd'&lt;\/span&gt; failed\nmake[&lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt;]: *** [&lt;span class=&quot;hljs-regexp&quot;&gt;\/usr\/dopi&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/Hi3516EV200_SDK_V1.0.1.0\/package&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/osdrv\/tools&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/board\/eudev&lt;\/span&gt;-&lt;span class=&quot;hljs-number&quot;&gt;3.2&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;7&lt;\/span&gt;\/tmp\/eudev-&lt;span class=&quot;hljs-number&quot;&gt;3.2&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;7&lt;\/span&gt;\/udevd] Error &lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt;\nmake[&lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt;]: Leaving directory &lt;span class=&quot;hljs-string&quot;&gt;'\/usr\/dopi\/Hi3516EV200_SDK_V1.0.1.0\/package\/osdrv\/tools\/board\/eudev-3.2.7'&lt;\/span&gt;\n&lt;span class=&quot;hljs-symbol&quot;&gt;Makefile:&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;377&lt;\/span&gt;: recipe &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; target &lt;span class=&quot;hljs-string&quot;&gt;'hiboardtools'&lt;\/span&gt; failed<\/code><\/pre>\n<\/li>\n<\/ul>\n<p class=\"line\">\u89e3\u51b3\u65b9\u6cd5\uff1a<\/p>\n<pre class=\"hljs java\"><code class=\"language-bash\">dopi&lt;span class=&quot;hljs-meta&quot;&gt;@ubuntu&lt;\/span&gt;:\/usr\/dopi\/Hi3516EV200_SDK_V1.0.1.0\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/tools\/board\/eudev-&lt;span class=&quot;hljs-number&quot;&gt;3.2&lt;\/span&gt;.7$ cat readme_cn.txt \n\u6ce8\u610f\uff1a\neudev-&lt;span class=&quot;hljs-number&quot;&gt;3.2&lt;\/span&gt;.7\u5de5\u5177\u7f16\u8bd1\u65f6\u4f9d\u8d56gperf\u5de5\u5177\uff0c\u670d\u52a1\u5668\u4e0a\u9700\u8981\u5b89\u88c5gperf\u5de5\u5177\u3002\n\u4e0b\u8f7d\u7f51\u5740\uff1ahttp:&lt;span class=&quot;hljs-comment&quot;&gt;\/\/ftp.gnu.org\/pub\/gnu\/gperf\/gperf-3.1.tar.gz&lt;\/span&gt;\n\u5b89\u88c5\u8bf4\u660e\uff1a\ntar -xzf gperf-&lt;span class=&quot;hljs-number&quot;&gt;3.1&lt;\/span&gt;.tar.gz\ncd gperf-&lt;span class=&quot;hljs-number&quot;&gt;3.1&lt;\/span&gt;\n.\/configure\nmake \nmake install<\/code><\/pre>\n<ul>\n    <li><code>bison: command not found<\/code>\u9519\u8bef\uff1a<\/li>\n<\/ul>\n<pre class=\"hljs coffeescript\"><code class=\"language-bash\">\/usr\/dopi\/Hi3516EV200_SDK_V1&lt;span class=&quot;hljs-number&quot;&gt;.0&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;.1&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;.0&lt;\/span&gt;\/package\/osdrv\/tools\/board\/gdb\/gdb&lt;span class=&quot;hljs-number&quot;&gt;-7.9&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;.1&lt;\/span&gt;\/missing: line &lt;span class=&quot;hljs-number&quot;&gt;81&lt;\/span&gt;: bison: command &lt;span class=&quot;hljs-keyword&quot;&gt;not&lt;\/span&gt; found\nWARNING: &lt;span class=&quot;hljs-string&quot;&gt;'bison'&lt;\/span&gt; &lt;span class=&quot;hljs-keyword&quot;&gt;is&lt;\/span&gt; missing &lt;span class=&quot;hljs-literal&quot;&gt;on&lt;\/span&gt; your system.<\/code><\/pre>\n<p class=\"line\">\u89e3\u51b3\u65b9\u6cd5\uff1a<\/p>\n<pre class=\"hljs cs\"><code class=\"language-bash\">sudo apt-&lt;span class=&quot;hljs-keyword&quot;&gt;get&lt;\/span&gt; install -y  bison<\/code><\/pre>\n<h4>\u9519\u8bef\u4e00\uff1a<\/h4>\n<pre><code>fseeko.c: In function 'rpl_fseeko':`\n\n`fseeko.c:110:4: error: #error &quot;Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib.&quot;`\n\n `110 |  #error &quot;Please port gnulib fseeko.c to your platform! Look at the code in fseeko.c, then report this to bug-gnulib.&quot;`\n\n   `|  ^~~~~`\n\n `CC    printf-args.o`\n\n `CC    printf.o`\n\n`make[5]: *** [Makefile:1696: fseeko.o] Error 1`\n\n`make[5]: *** Waiting for unfinished jobs....`\n\n `CC    printf-parse.o`\n\n`fseterr.c: In function 'fseterr':`\n\n`fseterr.c:78:3: error: #error &quot;Please port gnulib fseterr.c to your platform! Look at the definitions of ferror and clearerr on your system, then report this to bug-gnulib.&quot;`\n\n  `78 | #error &quot;Please port gnulib fseterr.c to your platform! Look at the definitions of ferror and clearerr on your system, then report this to bug-gnulib.&quot;`\n\n   `|  ^~~~~<\/code><\/pre>\n<h4>\u89e3\u51b3\u65b9\u6cd5\uff1a<\/h4>\n<pre><code>\u4fee\u6539\uff1aosdrv\/tools\/pc\/hi_gzip\/Makefile\uff1a\n\npushd gzip-1.8;patch -p1 &lt; ..\/hi_gzip.patch;.\/configure;make -j12;popd\n\n\u6539\u4e3a\uff1a\n\npushd gzip-1.8;patch -p1 &lt; ..\/hi_gzip.patch;sed -i 's\/IO_ftrylockfile\/IO_EOF_SEEN\/' lib\/*.c;echo &quot;#define _IO_IN_BACKUP 0x100&quot; &gt;&gt; lib\/stdio-impl.h;.\/configure;make -j12;popd<\/code><\/pre>\n<p>&nbsp;<\/p>\n<h4>\u9519\u8bef\u4e8c\uff1a<\/h4>\n<pre><code>mksquashfs.c: In function &lsquo;create_inode&rsquo;:`\n\n`mksquashfs.c:987:24: error: called object &lsquo;major&rsquo; is not a function or function pointer`\n\n `987 |  unsigned int major = major(buf-&gt;st_rdev);`\n\n   `|            ^~~~~`\n\n`mksquashfs.c:987:16: note: declared here`\n\n `987 |  unsigned int major = major(buf-&gt;st_rdev);`\n\n   `|        ^~~~~`\n\n`mksquashfs.c:988:24: error: called object &lsquo;minor&rsquo; is not a function or function pointer`\n\n `988 |  unsigned int minor = minor(buf-&gt;st_rdev);`\n\n   `|            ^~~~~`\n\n`mksquashfs.c:988:16: note: declared here`\n\n `988 |  unsigned int minor = minor(buf-&gt;st_rdev);`\n\n   `|        ^~~~~`\n\n`mksquashfs.c:1011:24: error: called object &lsquo;major&rsquo; is not a function or function pointer`\n\n `1011 |  unsigned int major = major(buf-&gt;st_rdev);`\n\nx   `|            ^~~~~`\n\n`mksquashfs.c:1011:16: note: declared here`\n\n `1011 |  unsigned int major = major(buf-&gt;st_rdev);`\n\n   `|        ^~~~~`\n\n`mksquashfs.c:1012:24: error: called object &lsquo;minor&rsquo; is not a function or function pointer`\n\n `1012 |  unsigned int minor = minor(buf-&gt;st_rdev);`\n\n   `|            ^~~~~`\n\n`mksquashfs.c:1012:16: note: declared here`\n\n `1012 |  unsigned int minor = minor(buf-&gt;st_rdev);<\/code><\/pre>\n<h4>\u89e3\u51b3\u65b9\u6cd5\uff1a<\/h4>\n<pre><code>\u4fee\u6539: osdrv\/tools\/pc\/squashfs4.3\/Makefile\n\nSQUASHFS    := squashfs4.3\n\n\u6539\u4e3a:\n\nSQUASHFS    := squashfs4.4\n\n\u8fd9\u91cc\u5c31\u662f\u811a\u672c\u8865\u4e01\u548creadme\u4e2d\u6709\u5dee\u5f02\u7684\u5730\u65b9\uff0c\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a\u9519\u8bef\uff0c\u6211\u4eec\u4f7f\u7528\u4e86squashfs4.4\u800c\u4e0d\u662fsquashfs4.3\nwget https:\/\/jaist.dl.sourceforge.net\/project\/squashfs\/squashfs\/squashfs4.4\/squashfs4.4.tar.gz<\/code><\/pre>\n<p>\u7ecf\u8fc7\u4ee5\u4e0a\u4e24\u4e2a\u4fee\u6539\uff0c\u5728ubuntu20.04\u4e0a\u5c31\u53ef\u4ee5\u5b8c\u6210\u4e86SDK\u7684\u6574\u5305\u7f16\u8bd1\u4e86\u3002<\/p>\n<figure id=\"attachment_mmd_2298\" class=\"wp-block-image alignnone\"><img width=\"1367\" height=\"258\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/2021\/12\/20200907-143858-887.png\" class=\"attachment-full size-full\" alt=\"\" decoding=\"async\" loading=\"lazy\" align=\"none\" width=\"1367\" srcset=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/2021\/12\/20200907-143858-887.png 1367w, http:\/\/nick.txtcc.com\/wp-content\/uploads\/2021\/12\/20200907-143858-887-300x57.png 300w, http:\/\/nick.txtcc.com\/wp-content\/uploads\/2021\/12\/20200907-143858-887-1024x193.png 1024w, http:\/\/nick.txtcc.com\/wp-content\/uploads\/2021\/12\/20200907-143858-887-768x145.png 768w, http:\/\/nick.txtcc.com\/wp-content\/uploads\/2021\/12\/20200907-143858-887-830x157.png 830w\" sizes=\"auto, (max-width: 1367px) 100vw, 1367px\" \/><\/figure>\n<h2>7.\u5efa\u8bae\uff1a<\/h2>\n<p>\u91cd\u590d\u7f16\u8bd1\u8fc7\u7a0b\u4e2d\u5f88\u53ef\u80fd\u51fa\u73b0\u4ee5\u4e0b\u60c5\u51b5\u3002\u539f\u56e0\u662f\u56e0\u4e3a\u91cd\u590d\u6253\u8865\u4e01\uff0c\u56e0\u6b64\u5efa\u8bae\u5982\u679c\u7f16\u8bd1\u5931\u8d25\u65f6\uff0c\u518d\u6b21\u8fdb\u884c\u7f16\u8bd1\u524d\u5efa\u8bae\u8fdb\u884cmake clean\u4e00\u4e0b\uff0c\u8fd9\u6837\u5c31\u4e0d\u4f1a\u51fa\u73b0\u4e0b\u9762\u8fd9\u79cd\u60c5\u51b5\u4e86\u3002\u5f53\u7136\uff0c\u5728\u51fa\u73b0\u8fd9\u4e2a\u60c5\u51b5\u65f6\u4e5f\u53ef\u4ee5\u9009\u62e9\u8df3\u8fc7\uff0c\u5c0fA\u5c31\u662f\u4e00\u8defEnter\u4e0b\u6765\u7684\u3002<\/p>\n<figure id=\"attachment_mmd_2299\" class=\"wp-block-image alignnone\"><img width=\"1535\" height=\"906\" src=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/2021\/12\/20200907-143912-989.png\" class=\"attachment-full size-full\" alt=\"\" decoding=\"async\" loading=\"lazy\" align=\"none\" width=\"1535\" srcset=\"http:\/\/nick.txtcc.com\/wp-content\/uploads\/2021\/12\/20200907-143912-989.png 1535w, http:\/\/nick.txtcc.com\/wp-content\/uploads\/2021\/12\/20200907-143912-989-300x177.png 300w, http:\/\/nick.txtcc.com\/wp-content\/uploads\/2021\/12\/20200907-143912-989-1024x604.png 1024w, http:\/\/nick.txtcc.com\/wp-content\/uploads\/2021\/12\/20200907-143912-989-768x453.png 768w, http:\/\/nick.txtcc.com\/wp-content\/uploads\/2021\/12\/20200907-143912-989-830x490.png 830w\" sizes=\"auto, (max-width: 1535px) 100vw, 1535px\" \/><\/figure>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p class=\"line\">\u7f16\u8bd1log\uff0c\u592a\u591a\u4e86\uff0c\u62f7\u8d1d\u6700\u540e\u9762\u4e00\u90e8\u5206\uff1a<\/p>\n<pre class=\"hljs perl\"><code class=\"language-bash\">\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/tools\/board\/mtd-utils\ncp -rf \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/tools\/board\/mtd-utils\/mtd-utils-&lt;span class=&quot;hljs-number&quot;&gt;2.0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;\/bin\/sbin\/* bin\/\nmake[&lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt;]: Leaving directory &lt;span class=&quot;hljs-string&quot;&gt;'\/usr\/dopi\/Hi3516EV200_SDK_V1.0.1.0\/package\/osdrv\/tools\/board\/mtd-utils'&lt;\/span&gt;\ncp \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/tools\/board\/mtd-utils\/bin\/* &lt;span class=&quot;hljs-regexp&quot;&gt;\/usr\/dopi&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/Hi3516EV200_SDK_V1.0.1.0\/package&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/osdrv\/pub&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/bin\/board&lt;\/span&gt;_uclibc\n---------task [&lt;span class=&quot;hljs-number&quot;&gt;7&lt;\/span&gt;] build rootfs\n&lt;span class=&quot;hljs-keyword&quot;&gt;chmod&lt;\/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;777&lt;\/span&gt; \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/bin\/board_uclibc\/*\n&lt;span class=&quot;hljs-keyword&quot;&gt;chmod&lt;\/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;777&lt;\/span&gt; \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/bin\/pc\/*\nrm \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/rootfs_uclibc\/dev\/* -rf\nrm \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/rootfs_uclibc\/bin\/himm -rf\nrm \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/rootfs_uclibc\/bin\/himc -rf\nrm \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/rootfs_uclibc\/bin\/himd -rf\nrm \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/rootfs_uclibc\/bin\/himd.l -rf\npushd \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/rootfs_uclibc;ln -&lt;span class=&quot;hljs-keyword&quot;&gt;s&lt;\/span&gt; sbin\/init init;popd\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/rootfs_uclibc \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\npushd \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/rootfs_uclibc; &lt;span class=&quot;hljs-keyword&quot;&gt;chmod&lt;\/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;750&lt;\/span&gt; * -R; &lt;span class=&quot;hljs-keyword&quot;&gt;chmod&lt;\/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;750&lt;\/span&gt; usr\/* -R; popd\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/rootfs_uclibc \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\npushd \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/rootfs_uclibc; &lt;span class=&quot;hljs-keyword&quot;&gt;chmod&lt;\/span&gt; -w usr\/bin -R; &lt;span class=&quot;hljs-keyword&quot;&gt;chmod&lt;\/span&gt; -w usr\/sbin -R; &lt;span class=&quot;hljs-keyword&quot;&gt;chmod&lt;\/span&gt; -w sbin -R; popd\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/rootfs_uclibc \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\npushd \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/bin\/pc;.\/mkfs.jffs2 -d \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/rootfs_uclibc -l -e &lt;span class=&quot;hljs-number&quot;&gt;0x40000&lt;\/span&gt; -o \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/hi3516ev200_spi_image_uclibc\/rootfs_hi3516ev200_256k.jffs2;popd\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/bin\/pc \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\npushd \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/bin\/pc;.\/mkfs.jffs2 -d \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/rootfs_uclibc -l -e &lt;span class=&quot;hljs-number&quot;&gt;0x20000&lt;\/span&gt; -o \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/hi3516ev200_spi_image_uclibc\/rootfs_hi3516ev200_128k.jffs2;popd\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/bin\/pc \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\npushd \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/bin\/pc;.\/mkfs.jffs2 -d \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/rootfs_uclibc -l -e &lt;span class=&quot;hljs-number&quot;&gt;0x10000&lt;\/span&gt; -o \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/hi3516ev200_spi_image_uclibc\/rootfs_hi3516ev200_64k.jffs2;popd\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/bin\/pc \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\ncp \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/tools\/pc\/ubi_sh\/mkubiimg.sh \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/hi3516ev200_spi_image_uclibc\n&lt;span class=&quot;hljs-keyword&quot;&gt;chmod&lt;\/span&gt; +&lt;span class=&quot;hljs-keyword&quot;&gt;x&lt;\/span&gt; \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/hi3516ev200_spi_image_uclibc\/mkubiimg.sh\n&lt;span class=&quot;hljs-comment&quot;&gt;# build the pagesize = 2k, blocksize = 128k, part_size = 32M #&lt;\/span&gt;\npushd \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/hi3516ev200_spi_image_uclibc;.\/mkubiimg.sh hi3516ev20&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;k &lt;span class=&quot;hljs-number&quot;&gt;128&lt;\/span&gt;k \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/rootfs_uclibc &lt;span class=&quot;hljs-number&quot;&gt;32&lt;\/span&gt;M \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/bin\/pc;popd\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/hi3516ev200_spi_image_uclibc \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/bin\/pc\/mkfs.ubifs -F -d \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/rootfs_uclibc -&lt;span class=&quot;hljs-keyword&quot;&gt;m&lt;\/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;2048&lt;\/span&gt; -o rootfs_hi3516ev200_2k_128k_32M.ubiimg -e &lt;span class=&quot;hljs-number&quot;&gt;126976&lt;\/span&gt; -c &lt;span class=&quot;hljs-number&quot;&gt;256&lt;\/span&gt;\n\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/bin\/pc\/ubinize -o rootfs_hi3516ev200_2k_128k_32M.ubifs -&lt;span class=&quot;hljs-keyword&quot;&gt;m&lt;\/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;2048&lt;\/span&gt; -p &lt;span class=&quot;hljs-number&quot;&gt;131072&lt;\/span&gt; rootfs_hi3516ev200_2k_128k_32M.ubicfg\nubinize: volume size was &lt;span class=&quot;hljs-keyword&quot;&gt;not&lt;\/span&gt; specified in section &lt;span class=&quot;hljs-string&quot;&gt;&quot;ubifs-volumn&quot;&lt;\/span&gt;, assume minimum to fit image &lt;span class=&quot;hljs-string&quot;&gt;&quot;rootfs_hi3516ev200_2k_128k_32M.ubiimg&quot;&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;5206016&lt;\/span&gt; bytes (&lt;span class=&quot;hljs-number&quot;&gt;4.9&lt;\/span&gt; MiB)\n--------- rootfs_hi3516ev200_2k_128k_32M.ubifs is prepared !!\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/usr\/dopi&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/Hi3516EV200_SDK_V1.0.1.0\/package&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/osdrv\n# build the pagesize = 4k, blocksize = 256k, part_size = 50M #\npushd \/usr&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/dopi\/&lt;\/span&gt;Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/hi3516ev200_spi_image_uclibc;.\/mkubiimg.sh hi3516ev20&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;4&lt;\/span&gt;k &lt;span class=&quot;hljs-number&quot;&gt;256&lt;\/span&gt;k \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/rootfs_uclibc &lt;span class=&quot;hljs-number&quot;&gt;50&lt;\/span&gt;M \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/bin\/pc;popd\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/hi3516ev200_spi_image_uclibc \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/bin\/pc\/mkfs.ubifs -F -d \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/rootfs_uclibc -&lt;span class=&quot;hljs-keyword&quot;&gt;m&lt;\/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;4096&lt;\/span&gt; -o rootfs_hi3516ev200_4k_256k_50M.ubiimg -e &lt;span class=&quot;hljs-number&quot;&gt;253952&lt;\/span&gt; -c &lt;span class=&quot;hljs-number&quot;&gt;200&lt;\/span&gt;\n\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/bin\/pc\/ubinize -o rootfs_hi3516ev200_4k_256k_50M.ubifs -&lt;span class=&quot;hljs-keyword&quot;&gt;m&lt;\/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;4096&lt;\/span&gt; -p &lt;span class=&quot;hljs-number&quot;&gt;262144&lt;\/span&gt; rootfs_hi3516ev200_4k_256k_50M.ubicfg\nubinize: volume size was &lt;span class=&quot;hljs-keyword&quot;&gt;not&lt;\/span&gt; specified in section &lt;span class=&quot;hljs-string&quot;&gt;&quot;ubifs-volumn&quot;&lt;\/span&gt;, assume minimum to fit image &lt;span class=&quot;hljs-string&quot;&gt;&quot;rootfs_hi3516ev200_4k_256k_50M.ubiimg&quot;&lt;\/span&gt;\n&lt;span class=&quot;hljs-number&quot;&gt;6602752&lt;\/span&gt; bytes (&lt;span class=&quot;hljs-number&quot;&gt;6.2&lt;\/span&gt; MiB)\n--------- rootfs_hi3516ev200_4k_256k_50M.ubifs is prepared !!\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/usr\/dopi&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/Hi3516EV200_SDK_V1.0.1.0\/package&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/osdrv\nrm \/usr&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/dopi\/&lt;\/span&gt;Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/hi3516ev200_spi_image_uclibc\/mkubiimg.sh\npushd \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/bin\/pc;.\/mkyaffs2image10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt; \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/rootfs_uclibc\/ &lt;span class=&quot;hljs-regexp&quot;&gt;\/usr\/dopi&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/Hi3516EV200_SDK_V1.0.1.0\/package&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/osdrv\/pub&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/hi3516ev200_spi_image_uclibc\/rootfs&lt;\/span&gt;_hi3516ev200_2k_4bit.yaffs2 &lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;;popd\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/bin\/pc \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\nmkyaffs2 &lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;2.9&lt;\/span&gt;: image building tool &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; YAFFS2.\nwarning: non-root users.\n\nstage &lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt;: scanning directory &lt;span class=&quot;hljs-string&quot;&gt;'\/usr\/dopi\/Hi3516EV200_SDK_V1.0.1.0\/package\/osdrv\/pub\/rootfs_uclibc\/'&lt;\/span&gt;... [done]\nscanning complete, total &lt;span class=&quot;hljs-number&quot;&gt;466&lt;\/span&gt; objects.\n\nstage &lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;: creating image &lt;span class=&quot;hljs-string&quot;&gt;'\/usr\/dopi\/Hi3516EV200_SDK_V1.0.1.0\/package\/osdrv\/pub\/hi3516ev200_spi_image_uclibc\/rootfs_hi3516ev200_2k_4bit.yaffs2'&lt;\/span&gt;\n[==================================================================================================================================================] &lt;span class=&quot;hljs-number&quot;&gt;467&lt;\/span&gt;\/&lt;span class=&quot;hljs-number&quot;&gt;466&lt;\/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;100&lt;\/span&gt;%\n\noperation complete,\n&lt;span class=&quot;hljs-number&quot;&gt;467&lt;\/span&gt; objects in &lt;span class=&quot;hljs-number&quot;&gt;3772&lt;\/span&gt; NAND pages.\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\n&lt;span class=&quot;hljs-keyword&quot;&gt;chmod&lt;\/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;644&lt;\/span&gt; \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/hi3516ev200_spi_image_uclibc\/rootfs_hi3516ev200_2k_4bit.yaffs2\npushd \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/bin\/pc;.\/mkyaffs2image10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt; \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/rootfs_uclibc\/ &lt;span class=&quot;hljs-regexp&quot;&gt;\/usr\/dopi&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/Hi3516EV200_SDK_V1.0.1.0\/package&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/osdrv\/pub&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/hi3516ev200_spi_image_uclibc\/rootfs&lt;\/span&gt;_hi3516ev200_2k_24bit.yaffs2 &lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;4&lt;\/span&gt;;popd\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/bin\/pc \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\nmkyaffs2 &lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;2.9&lt;\/span&gt;: image building tool &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; YAFFS2.\nwarning: non-root users.\n\nstage &lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt;: scanning directory &lt;span class=&quot;hljs-string&quot;&gt;'\/usr\/dopi\/Hi3516EV200_SDK_V1.0.1.0\/package\/osdrv\/pub\/rootfs_uclibc\/'&lt;\/span&gt;... [done]\nscanning complete, total &lt;span class=&quot;hljs-number&quot;&gt;466&lt;\/span&gt; objects.\n\nstage &lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;: creating image &lt;span class=&quot;hljs-string&quot;&gt;'\/usr\/dopi\/Hi3516EV200_SDK_V1.0.1.0\/package\/osdrv\/pub\/hi3516ev200_spi_image_uclibc\/rootfs_hi3516ev200_2k_24bit.yaffs2'&lt;\/span&gt;\n[==================================================================================================================================================] &lt;span class=&quot;hljs-number&quot;&gt;467&lt;\/span&gt;\/&lt;span class=&quot;hljs-number&quot;&gt;466&lt;\/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;100&lt;\/span&gt;%\n\noperation complete,\n&lt;span class=&quot;hljs-number&quot;&gt;467&lt;\/span&gt; objects in &lt;span class=&quot;hljs-number&quot;&gt;3772&lt;\/span&gt; NAND pages.\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\n&lt;span class=&quot;hljs-keyword&quot;&gt;chmod&lt;\/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;644&lt;\/span&gt; \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/hi3516ev200_spi_image_uclibc\/rootfs_hi3516ev200_2k_24bit.yaffs2\npushd \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/bin\/pc;.\/mkyaffs2image10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt; \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/rootfs_uclibc\/ &lt;span class=&quot;hljs-regexp&quot;&gt;\/usr\/dopi&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/Hi3516EV200_SDK_V1.0.1.0\/package&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/osdrv\/pub&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/hi3516ev200_spi_image_uclibc\/rootfs&lt;\/span&gt;_hi3516ev200_4k_4bit.yaffs2 &lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;;popd\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/bin\/pc \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\nmkyaffs2 &lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;2.9&lt;\/span&gt;: image building tool &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; YAFFS2.\nwarning: non-root users.\n\nstage &lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt;: scanning directory &lt;span class=&quot;hljs-string&quot;&gt;'\/usr\/dopi\/Hi3516EV200_SDK_V1.0.1.0\/package\/osdrv\/pub\/rootfs_uclibc\/'&lt;\/span&gt;... [done]\nscanning complete, total &lt;span class=&quot;hljs-number&quot;&gt;466&lt;\/span&gt; objects.\n\nstage &lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;: creating image &lt;span class=&quot;hljs-string&quot;&gt;'\/usr\/dopi\/Hi3516EV200_SDK_V1.0.1.0\/package\/osdrv\/pub\/hi3516ev200_spi_image_uclibc\/rootfs_hi3516ev200_4k_4bit.yaffs2'&lt;\/span&gt;\n[==================================================================================================================================================] &lt;span class=&quot;hljs-number&quot;&gt;467&lt;\/span&gt;\/&lt;span class=&quot;hljs-number&quot;&gt;466&lt;\/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;100&lt;\/span&gt;%\n\noperation complete,\n&lt;span class=&quot;hljs-number&quot;&gt;467&lt;\/span&gt; objects in &lt;span class=&quot;hljs-number&quot;&gt;2139&lt;\/span&gt; NAND pages.\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\n&lt;span class=&quot;hljs-keyword&quot;&gt;chmod&lt;\/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;644&lt;\/span&gt; \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/hi3516ev200_spi_image_uclibc\/rootfs_hi3516ev200_4k_4bit.yaffs2\npushd \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/bin\/pc;.\/mkyaffs2image10&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt; \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/rootfs_uclibc\/ &lt;span class=&quot;hljs-regexp&quot;&gt;\/usr\/dopi&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/Hi3516EV200_SDK_V1.0.1.0\/package&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/osdrv\/pub&lt;\/span&gt;\n&lt;span class=&quot;hljs-regexp&quot;&gt;\/hi3516ev200_spi_image_uclibc\/rootfs&lt;\/span&gt;_hi3516ev200_4k_24bit.yaffs2 &lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;4&lt;\/span&gt;;popd\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/bin\/pc \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\nmkyaffs2 &lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;2.9&lt;\/span&gt;: image building tool &lt;span class=&quot;hljs-keyword&quot;&gt;for&lt;\/span&gt; YAFFS2.\nwarning: non-root users.\n\nstage &lt;span class=&quot;hljs-number&quot;&gt;1&lt;\/span&gt;: scanning directory &lt;span class=&quot;hljs-string&quot;&gt;'\/usr\/dopi\/Hi3516EV200_SDK_V1.0.1.0\/package\/osdrv\/pub\/rootfs_uclibc\/'&lt;\/span&gt;... [done]\nscanning complete, total &lt;span class=&quot;hljs-number&quot;&gt;466&lt;\/span&gt; objects.\n\nstage &lt;span class=&quot;hljs-number&quot;&gt;2&lt;\/span&gt;: creating image &lt;span class=&quot;hljs-string&quot;&gt;'\/usr\/dopi\/Hi3516EV200_SDK_V1.0.1.0\/package\/osdrv\/pub\/hi3516ev200_spi_image_uclibc\/rootfs_hi3516ev200_4k_24bit.yaffs2'&lt;\/span&gt;\n[==================================================================================================================================================] &lt;span class=&quot;hljs-number&quot;&gt;467&lt;\/span&gt;\/&lt;span class=&quot;hljs-number&quot;&gt;466&lt;\/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;100&lt;\/span&gt;%\n\noperation complete,\n&lt;span class=&quot;hljs-number&quot;&gt;467&lt;\/span&gt; objects in &lt;span class=&quot;hljs-number&quot;&gt;2139&lt;\/span&gt; NAND pages.\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\n&lt;span class=&quot;hljs-keyword&quot;&gt;chmod&lt;\/span&gt; &lt;span class=&quot;hljs-number&quot;&gt;644&lt;\/span&gt; \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/hi3516ev200_spi_image_uclibc\/rootfs_hi3516ev200_4k_24bit.yaffs2\nfind \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/rootfs_uclibc\/ -name &lt;span class=&quot;hljs-string&quot;&gt;'*svn'&lt;\/span&gt; | xargs rm -rf\npushd \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/rootfs_uclibc; &lt;span class=&quot;hljs-keyword&quot;&gt;chmod&lt;\/span&gt; +w usr\/bin -R; &lt;span class=&quot;hljs-keyword&quot;&gt;chmod&lt;\/span&gt; +w usr\/sbin -R; &lt;span class=&quot;hljs-keyword&quot;&gt;chmod&lt;\/span&gt; +w sbin -R; popd\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub\/rootfs_uclibc \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\npushd \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub;tar czf rootfs_uclibc.tgz rootfs_uclibc;rm rootfs_uclibc -rf;popd\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\/pub \/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\n\/usr\/dopi\/Hi3516EV200_SDK_V1.&lt;span class=&quot;hljs-number&quot;&gt;0&lt;\/span&gt;.&lt;span class=&quot;hljs-number&quot;&gt;1.0&lt;\/span&gt;\/&lt;span class=&quot;hljs-keyword&quot;&gt;package&lt;\/span&gt;\/osdrv\n---------finish osdrv work\n<\/code><\/pre>","protected":false},"excerpt":{"rendered":"<p>\u524d\u8a00\uff1a \u5173\u4e8e\u6d77\u601dHI3516EV200\u7684SDK\uff0c\u5b98\u65b9\u67092\u4e2a\u7248\u672c\uff0c\u4e00\u4e2a\u662flinux\uff0c\u4e00\u4e2a\u662fliteos\uff0c\u8fd9\u91cc\u6839\u636e\u4e4b\u524d\u7fa4\u53cb\u63d0\u4f9b\u7684sdk\u6574\u7406\u603b\u7ed3\u4e0b\uff0c\u4ee5\u9632\u5927\u5bb6\u4e0b\u8f7d\u5230\u9519\u8bef\u7684\u7248\u672c <span class=&#038;&#46;&#46;&#46;<\/p>","protected":false},"author":1,"featured_media":2292,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,39],"tags":[],"class_list":["post-2291","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-scm"],"_links":{"self":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/2291","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/comments?post=2291"}],"version-history":[{"count":5,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/2291\/revisions"}],"predecessor-version":[{"id":2302,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/posts\/2291\/revisions\/2302"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/media\/2292"}],"wp:attachment":[{"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/media?parent=2291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/categories?post=2291"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nick.txtcc.com\/index.php\/wp-json\/wp\/v2\/tags?post=2291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}