<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[YuzuKi X 100ask V851s 上手体验， 编译和烧录系统！]]></title><description><![CDATA[<h2>1 编译环境搭建</h2>
<h3>1.1 开发主机配置</h3>
<p dir="auto"><strong>使用</strong> <strong>Ubuntu 18.04</strong>主机环境进行源码编译</p>
<h3>1.2  软件包配置</h3>
<p dir="auto">编译 Tina Linux SDK 之前，需要先确定编译服务器安装了 gcc，binutils，bzip2，flex，python，perl，make，ia32-libs，find，grep，diff，unzip，gawk，getopt，subversion，libz-dev，libc headers。</p>
<p dir="auto">ubuntu 可直接执行以下命令安装：</p>
<pre><code>sudo apt-get install build-essential subversion git-core libncurses5-dev zlib1g-dev gawk flex quilt libssl-dev xsltproc libxml-parser-perl mercurial bzr ecj cvs unzip ia32-libs lib32z1 lib32z1-dev lib32stdc++6 libstdc++6 -y
</code></pre>
<p dir="auto">ubuntu 16.04 及以上版本，执行下面命令安装软件包：</p>
<pre><code>sudo apt-get install build-essential subversion git-core libncurses5-dev zlib1g-dev gawk flex quilt libssl-dev xsltproc libxml-parser-perl mercurial bzr ecj cvs unzip lib32z1 lib32z1-dev lib32stdc++6 libstdc++6 -y libc6:i386 libstdc++6:i386 lib32ncurses5 lib32z1
</code></pre>
<h2>2 编译打包</h2>
<h3>2.1 编译系统</h3>
<pre><code>(1) source build/envsetup.sh
(2) lunch
(3) make [-jN]
(4) pack [-d]
其中，
步骤(1)建立编译环境，导出编译变量。
步骤(2)提示需要选择你想要编译的方案。
步骤(3)参数N为并行编译进程数量，依赖编译服务器CPU核心数，如4核PC，可"make -j4"
步骤(4)打包固件，-d参数使生成固件包串口信息转到tf卡座输出。
编译完成后系统镜像会打包在out/&lt;board&gt;/目录下
</code></pre>
<p dir="auto">step 1. cd命令跳转到<code>tina-v853</code></p>
<p dir="auto">step 2. source build/envsetup.sh</p>
<p dir="auto"><img src="/assets/uploads/files/1668078876490-d1ac862a-b134-4431-a178-771aec736592-image.png" alt="d1ac862a-b134-4431-a178-771aec736592-image.png" class=" img-responsive img-markdown" width="847" height="54" /></p>
<p dir="auto">step 3.lunch<br />
<img src="/assets/uploads/files/1668078950350-1db92e44-dfab-4fdd-8e57-d265b5ed413e-image.png" alt="1db92e44-dfab-4fdd-8e57-d265b5ed413e-image.png" class=" img-responsive img-markdown" width="788" height="758" /></p>
<p dir="auto">step 4.make -j16</p>
<p dir="auto"><strong>错误 致命</strong>：不安全的存储库由其他人拥有</p>
<p dir="auto"><img src="/assets/uploads/files/1668078970171-567598a1-5d31-49cd-afbd-9e2831b3c556-image.png" alt="567598a1-5d31-49cd-afbd-9e2831b3c556-image.png" class=" img-responsive img-markdown" width="1610" height="348" /></p>
<p dir="auto">解决（该目录每个人都不一样）：</p>
<pre><code>~/tina-v853$ git config --global --add safe.directory ~/tina-v853
</code></pre>
<p dir="auto"><strong>错误 致命</strong>:</p>
<p dir="auto"><img src="/assets/uploads/files/1668078997504-8bfb9c47-6528-4f02-8ffb-e910bbbb3f35-image.png" alt="8bfb9c47-6528-4f02-8ffb-e910bbbb3f35-image.png" class=" img-responsive img-markdown" width="1239" height="507" /></p>
<p dir="auto">解决：<br />
<img src="/assets/uploads/files/1668079019133-3454e237-b10e-432b-b6f4-c179d3079968-image-resized.png" alt="3454e237-b10e-432b-b6f4-c179d3079968-image.png" class=" img-responsive img-markdown" /></p>
<p dir="auto">step 5.pack</p>
<p dir="auto">编译报错：<br />
<img src="/assets/uploads/files/1668079036936-2e55ab30-7990-4baf-9f4f-b0fbf512ac0f-image.png" alt="2e55ab30-7990-4baf-9f4f-b0fbf512ac0f-image.png" class=" img-responsive img-markdown" width="1467" height="1073" /></p>
<p dir="auto">解决：</p>
<p dir="auto">在tina-v853目录下</p>
<pre><code>cd device/config/chips/v851s/configs/perf1/linux/
vim sys_partition.fex
</code></pre>
<p dir="auto">根据报错信息中的rootfs.fex size too large 修改文件中的rootfs的size<br />
<img src="/assets/uploads/files/1668079056592-13d104db-b983-45b7-8c0d-8fa1297fce8b-image.png" alt="13d104db-b983-45b7-8c0d-8fa1297fce8b-image.png" class=" img-responsive img-markdown" width="1031" height="1153" /></p>
<h3>2.2 编译 boot</h3>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>命令</th>
<th>命令有效目录</th>
<th>作用</th>
</tr>
</thead>
<tbody>
<tr>
<td>mboot</td>
<td>tina 下任意目录</td>
<td>编译 boot0 和 uboot</td>
</tr>
<tr>
<td>mboot0</td>
<td>tina 下任意目录</td>
<td>编译 boot0</td>
</tr>
<tr>
<td>muboot</td>
<td>tina 下任意目录</td>
<td>编译 uboot</td>
</tr>
</tbody>
</table>
<h3>2.3 编译内核</h3>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>命令</th>
<th>命令有效目录</th>
<th>作用</th>
</tr>
</thead>
<tbody>
<tr>
<td>mkernel</td>
<td>tina 下任意目录</td>
<td>编译内核</td>
</tr>
</tbody>
</table>
<h2>3 烧写系统</h2>
<h3>3.1 烧写系统到nandflash</h3>
<p dir="auto">注意：type-C接口此时需要反接才能进行烧录<br />
<img src="/assets/uploads/files/1668079112791-4fecec5b-e87d-4638-9175-ceeca127ff35-image.png" alt="4fecec5b-e87d-4638-9175-ceeca127ff35-image.png" class=" img-responsive img-markdown" width="1046" height="457" /></p>
<p dir="auto">打开全志官方烧写工具<br />
<img src="/assets/uploads/files/1668079131042-f9ac4dc5-98b2-4a98-853b-a7e1e00401f0-image.png" alt="f9ac4dc5-98b2-4a98-853b-a7e1e00401f0-image.png" class=" img-responsive img-markdown" width="1192" height="894" /></p>
]]></description><link>https://bbs.aw-ol.com/topic/2514/yuzuki-x-100ask-v851s-上手体验-编译和烧录系统</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Mar 2026 16:50:47 GMT</lastBuildDate><atom:link href="https://bbs.aw-ol.com/topic/2514.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 10 Nov 2022 11:44:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to YuzuKi X 100ask V851s 上手体验， 编译和烧录系统！ on Mon, 22 Jan 2024 06:30:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/1915">@awwwwa</a> 好的, 多谢</p>
]]></description><link>https://bbs.aw-ol.com/post/21003</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/21003</guid><dc:creator><![CDATA[wanghaoran]]></dc:creator><pubDate>Mon, 22 Jan 2024 06:30:46 GMT</pubDate></item><item><title><![CDATA[Reply to YuzuKi X 100ask V851s 上手体验， 编译和烧录系统！ on Mon, 22 Jan 2024 05:52:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/4535">@wanghaoran</a> 有主线Linux</p>
]]></description><link>https://bbs.aw-ol.com/post/21000</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/21000</guid><dc:creator><![CDATA[awwwwa]]></dc:creator><pubDate>Mon, 22 Jan 2024 05:52:19 GMT</pubDate></item><item><title><![CDATA[Reply to YuzuKi X 100ask V851s 上手体验， 编译和烧录系统！ on Mon, 22 Jan 2024 05:36:16 GMT]]></title><description><![CDATA[<p dir="auto">请问 V851s 有主线 uboot 和  Linux 吗?</p>
]]></description><link>https://bbs.aw-ol.com/post/20999</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/20999</guid><dc:creator><![CDATA[wanghaoran]]></dc:creator><pubDate>Mon, 22 Jan 2024 05:36:16 GMT</pubDate></item><item><title><![CDATA[Reply to YuzuKi X 100ask V851s 上手体验， 编译和烧录系统！ on Fri, 17 Mar 2023 00:57:11 GMT]]></title><description><![CDATA[<p dir="auto">我也在这里发一下我的编译出错问题。<br />
AS      arch/arm/boot/compressed/hyp-stub.o<br />
AS      arch/arm/boot/compressed/lib1funcs.o<br />
AS      arch/arm/boot/compressed/ashldi3.o<br />
AS      arch/arm/boot/compressed/bswapsdi2.o<br />
AS      arch/arm/boot/compressed/piggy.o<br />
LD      arch/arm/boot/compressed/vmlinux<br />
OBJCOPY arch/arm/boot/zImage<br />
Kernel: arch/arm/boot/zImage is ready<br />
UIMAGE  arch/arm/boot/uImage<br />
"mkimage" command not found - U-Boot images will not be built<br />
make[1]: *** [arch/arm/boot/Makefile:93：arch/arm/boot/uImage] 错误 1<br />
make: *** [arch/arm/Makefile:331: uImage] Error 2<br />
ERROR: build  Failed<br />
INFO: build kernel failed<br />
解决办法：sudo apt-get install uboot-mkimage<br />
如果uboot-mkimage安装不了说明已弃用<br />
安装：sudo apt-get install u-boot-tools</p>
]]></description><link>https://bbs.aw-ol.com/post/14328</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/14328</guid><dc:creator><![CDATA[fawen]]></dc:creator><pubDate>Fri, 17 Mar 2023 00:57:11 GMT</pubDate></item><item><title><![CDATA[Reply to YuzuKi X 100ask V851s 上手体验， 编译和烧录系统！ on Fri, 13 Jan 2023 07:56:22 GMT]]></title><description><![CDATA[<p dir="auto"><img src="/assets/uploads/files/1673596515836-a6e31dcf-ed2f-49c6-a7eb-87081a4b4122-image.png" alt="a6e31dcf-ed2f-49c6-a7eb-87081a4b4122-image.png" class=" img-responsive img-markdown" width="992" height="1244" /></p>
<p dir="auto">之前的步骤认真检测过了，是一样的。但是我在编译uboot的时候还是报错了。请问这个有办法解决吗。</p>
]]></description><link>https://bbs.aw-ol.com/post/13418</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/13418</guid><dc:creator><![CDATA[y1178427557]]></dc:creator><pubDate>Fri, 13 Jan 2023 07:56:22 GMT</pubDate></item><item><title><![CDATA[Reply to YuzuKi X 100ask V851s 上手体验， 编译和烧录系统！ on Thu, 01 Dec 2022 14:55:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/739">@mysteryli</a> 烧录软件PhoenixSuit建议更新到最新的，但版本如果不是太低的话，也是不会影响正常使用的，驱动要下载全志对应的usb串口驱动，全志官网可以下载</p>
]]></description><link>https://bbs.aw-ol.com/post/12605</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/12605</guid><dc:creator><![CDATA[DAIZEBIN]]></dc:creator><pubDate>Thu, 01 Dec 2022 14:55:31 GMT</pubDate></item><item><title><![CDATA[Reply to YuzuKi X 100ask V851s 上手体验， 编译和烧录系统！ on Thu, 01 Dec 2022 12:16:24 GMT]]></title><description><![CDATA[<p dir="auto">那个PhoenixSuit用1.10可以吗 没看到1.15在哪里下载呢<br />
还有就是需要安装驱动嘛，直接插上板子电脑就会识别到了？</p>
]]></description><link>https://bbs.aw-ol.com/post/12596</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/12596</guid><dc:creator><![CDATA[mysteryli]]></dc:creator><pubDate>Thu, 01 Dec 2022 12:16:24 GMT</pubDate></item></channel></rss>