<?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[新 SDK 平台下载 MR813 SDK]]></title><description><![CDATA[<h1>获取SDK</h1>
<p dir="auto">SDK 使用 Repo 工具管理，拉取 SDK 需要配置安装 Repo 工具。</p>
<blockquote>
<p dir="auto">Repo is a tool built on top of Git. Repo helps manage many Git repositories, does the uploads to revision control systems, and automates parts of the development workflow. Repo is not meant to replace Git, only to make it easier to work with Git. The repo command is an executable Python script that you can put anywhere in your path.</p>
</blockquote>
<p dir="auto">Repo官网：<a href="https://gerrit.googlesource.com/git-repo" target="_blank" rel="noopener noreferrer nofollow ugc">git-repo</a></p>
<h2>安装 Repo 工具</h2>
<p dir="auto">可以用包管理器进行安装：</p>
<pre><code class="language-bash"># Debian/Ubuntu.
$ sudo apt-get install repo

# Gentoo.
$ sudo emerge dev-vcs/repo
</code></pre>
<p dir="auto">也可以手动单独安装：</p>
<pre><code class="language-bash">$ mkdir -p ~/.bin
$ PATH="${HOME}/.bin:${PATH}"
$ curl https://storage.googleapis.com/git-repo-downloads/repo &gt; ~/.bin/repo
$ chmod a+rx ~/.bin/repo
</code></pre>
<p dir="auto">国内镜像源安装：</p>
<pre><code class="language-bash">$ mkdir -p ~/.bin
$ PATH="${HOME}/.bin:${PATH}"
$ curl https://mirrors.bfsu.edu.cn/git/git-repo &gt; ~/.bin/repo
$ chmod a+rx ~/.bin/repo
</code></pre>
<p dir="auto">由于谷歌服务器位于国外，每次运行时Repo会检查更新导致下载较慢，国内用户可以配置镜像源。否则会像下图一样卡住不动然后失败。</p>
<p dir="auto"><img src="/assets/uploads/files/1690526199654-8d60364e-7c3d-42a9-88e8-40778344fee1-image.png" alt="8d60364e-7c3d-42a9-88e8-40778344fee1-image.png" class=" img-responsive img-markdown" width="656" height="88" /> </p>
<h3>更换镜像源</h3>
<p dir="auto">Repo 的运行过程中会尝试访问官方的 git 源更新自己，更换镜像源可以提高下载速度。将如下内容复制到你的<code>~/.bashrc</code> 里</p>
<pre><code class="language-bash">$ echo export REPO_URL='https://mirrors.bfsu.edu.cn/git/git-repo' &gt;&gt; ~/.bashrc
$ source ~/.bashrc
</code></pre>
<p dir="auto">如果您使用的是 dash、hash、 zsh 等 shell，请参照 shell 的文档配置。</p>
<h3>配置保存身份认证</h3>
<p dir="auto">新版本 git 默认加强了安全性，身份认证不会保存，导致拉取 repo 需要多次输入密码，可以用下列命令配置：</p>
<pre><code>git config --global credential.helper store
</code></pre>
<p dir="auto"><img src="/assets/uploads/files/1690526214117-20c115a9-6a4c-40cc-8b35-9d70bc65974e-image.png" alt="20c115a9-6a4c-40cc-8b35-9d70bc65974e-image.png" class=" img-responsive img-markdown" width="754" height="221" /> </p>
<h3>常见问题</h3>
<ul>
<li>
<p dir="auto">卡在<code>Downloading Repo source from https://gerrit.googlesource.com/git-repo</code> 不动。</p>
<ul>
<li>国内网络较慢，参照上面的更换镜像源解决。</li>
</ul>
</li>
<li>
<p dir="auto">配置保存身份认证无效不启用</p>
<ul>
<li>检查是否运行了 <code>sudo git config --global credential.helper store</code> 使用了 <code>sudo</code> 后保存的信息会存储到 <code>root</code> 用户下并非当前用户。</li>
</ul>
</li>
<li>
<p dir="auto">出现错误 <code>fatal: cannot make  directory: File exists</code></p>
<ul>
<li>之前拉取了 repo 但是不完整，需要删除 <code>.repo</code> 文件夹重新拉取</li>
</ul>
</li>
</ul>
<h2>SDK 拉取</h2>
<p dir="auto">以 <code>Tina-MR813-OPEN</code> 为例，讲述如何拉取 SDK。</p>
<h3>新建文件夹保存 SDK</h3>
<p dir="auto">使用 <code>mkdir</code> 命令新建文件夹，保存之后需要拉取的 SDK，然后 <code>cd</code> 进入到刚才新建的文件夹中。</p>
<pre><code class="language-bash">$ mkdir Tina-MR813-OPEN
$ cd Tina-MR813-OPEN
</code></pre>
<h3>初始化 Repo 仓库</h3>
<p dir="auto">使用 <code>repo init</code> 命令初始化仓库，<code>Tina-MR813-OPEN</code> 的仓库地址是 <code>https://sdk.aw-ol.com/git_repo/MR813_Tina_OPEN/manifest.git</code> 需要执行命令：</p>
<pre><code class="language-bash">$ repo init -u https://sdk.aw-ol.com/git_repo/MR813_Tina_OPEN/manifest.git -b master -m Tina-MR813-OPEN.xml
</code></pre>
<p dir="auto">如果提示 <code>Username for 'https://sdk.aw-ol.com':</code> 请输入 <a href="https://bbs.aw-ol.com/">全志在线开发者论坛</a> 的用户名和密码。<strong>（注：需要全志在线开发者论坛LV2等级以上用户才有权限拉取 SDK）</strong></p>
<h3>拉取 SDK</h3>
<p dir="auto">使用命令 <code>repo sync</code> 拉取 SDK</p>
<pre><code class="language-bash">$ repo sync
</code></pre>
<p dir="auto">由于 SDK 普遍较大，拉取可能需要一定的时间。</p>
<h3>创建开发环境</h3>
<p dir="auto">使用命令 <code>repo start</code> 创建开发环境分支</p>
<pre><code class="language-bash">$ repo start smartx-mr813-tina-v1.1 --all
</code></pre>
<p dir="auto">至此，SDK 获取完毕。</p>
]]></description><link>https://bbs.aw-ol.com/topic/3950/新-sdk-平台下载-mr813-sdk</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 15:50:30 GMT</lastBuildDate><atom:link href="https://bbs.aw-ol.com/topic/3950.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 28 Jul 2023 06:43:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 新 SDK 平台下载 MR813 SDK on Sun, 09 Mar 2025 03:55:13 GMT]]></title><description><![CDATA[<p dir="auto">请问Allwinner_MR813_User_Manual在哪里可以下载呢</p>
]]></description><link>https://bbs.aw-ol.com/post/25526</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/25526</guid><dc:creator><![CDATA[ljtty]]></dc:creator><pubDate>Sun, 09 Mar 2025 03:55:13 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 MR813 SDK on Tue, 20 Aug 2024 06:08:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/4426">@khan19882024</a> 我的也是这样，请问有解决吗</p>
]]></description><link>https://bbs.aw-ol.com/post/23683</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/23683</guid><dc:creator><![CDATA[fairy]]></dc:creator><pubDate>Tue, 20 Aug 2024 06:08:40 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 MR813 SDK on Wed, 03 Jan 2024 02:42:34 GMT]]></title><description><![CDATA[<p dir="auto">请问输入开发者论坛密码和 账号之后，为什么会在fetch时候卡住<img src="/assets/uploads/files/1704249751497-e6eeb3ec-6acd-4ea8-bd90-7aa3b7e3302e-1704249736665.png" alt="e6eeb3ec-6acd-4ea8-bd90-7aa3b7e3302e-1704249736665.png" class=" img-responsive img-markdown" width="764" height="94" /></p>
]]></description><link>https://bbs.aw-ol.com/post/20661</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/20661</guid><dc:creator><![CDATA[khan19882024]]></dc:creator><pubDate>Wed, 03 Jan 2024 02:42:34 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 MR813 SDK on Thu, 02 Nov 2023 12:54:46 GMT]]></title><description><![CDATA[<p dir="auto">It seems this SDK is for MR813 not R128.<br />
Maybe mistake?</p>
]]></description><link>https://bbs.aw-ol.com/post/19591</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/19591</guid><dc:creator><![CDATA[bluera1n]]></dc:creator><pubDate>Thu, 02 Nov 2023 12:54:46 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 MR813 SDK on Thu, 02 Nov 2023 11:27:42 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for releasing SDK.<br />
Is this official SDK from Allwinner?</p>
]]></description><link>https://bbs.aw-ol.com/post/19587</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/19587</guid><dc:creator><![CDATA[bluera1n]]></dc:creator><pubDate>Thu, 02 Nov 2023 11:27:42 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 MR813 SDK on Thu, 02 Nov 2023 04:51:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/4018">@yueshuya</a></p>
<p dir="auto">这个是因为python运行版本不对，改成运行python3 /usr/bin/repo ....就可以了</p>
]]></description><link>https://bbs.aw-ol.com/post/19565</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/19565</guid><dc:creator><![CDATA[yueshuya]]></dc:creator><pubDate>Thu, 02 Nov 2023 04:51:11 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 MR813 SDK on Wed, 01 Nov 2023 12:17:59 GMT]]></title><description><![CDATA[<p dir="auto">66666666</p>
]]></description><link>https://bbs.aw-ol.com/post/19535</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/19535</guid><dc:creator><![CDATA[zzaaxx]]></dc:creator><pubDate>Wed, 01 Nov 2023 12:17:59 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 MR813 SDK on Wed, 01 Nov 2023 10:03:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/2123">@whycanservice</a> 请问初始化 REPO 仓库时，显示<br />
File "/home/shuiliu/.repo/repo/main.py", line 94<br />
)<br />
^<br />
SyntaxError: invalid syntax<br />
这是什么问题呀</p>
]]></description><link>https://bbs.aw-ol.com/post/19533</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/19533</guid><dc:creator><![CDATA[yueshuya]]></dc:creator><pubDate>Wed, 01 Nov 2023 10:03:49 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 MR813 SDK on Sat, 29 Jul 2023 06:25:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/3199">@kunyi</a> 现在对于 AWOL 提供的SDK不需要了，企业用户NDA的还是需要的</p>
]]></description><link>https://bbs.aw-ol.com/post/17472</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/17472</guid><dc:creator><![CDATA[WhycanService]]></dc:creator><pubDate>Sat, 29 Jul 2023 06:25:21 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 MR813 SDK on Fri, 28 Jul 2023 07:00:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/2123">@whycanservice</a></p>
<p dir="auto">repo sync<br />
难道不支持 git/ssh keyfile了吗?<br />
只剩下https?</p>
]]></description><link>https://bbs.aw-ol.com/post/17449</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/17449</guid><dc:creator><![CDATA[KunYi]]></dc:creator><pubDate>Fri, 28 Jul 2023 07:00:17 GMT</pubDate></item></channel></rss>