<?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 平台下载 D1-H&#x2F;D1s SDK]]></title><description><![CDATA[<p dir="auto"><strong>----&gt;&gt;&gt;&gt;&gt;&gt;水经验专帖：<a href="https://bbs.aw-ol.com/topic/4008/----">https://bbs.aw-ol.com/topic/4008/----</a>&lt;&lt;&lt;&lt;&lt;&lt;</strong><br />
<strong>----&gt;&gt;&gt;&gt;&gt;&gt;请不要在本帖回复与技术问题无关的话题----&lt;&lt;&lt;&lt;&lt;&lt;</strong></p>
<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-d1-h</code> 为例，讲述如何拉取 SDK。</p>
<h3>新建文件夹保存 SDK</h3>
<p dir="auto">使用 <code>mkdir</code> 命令新建文件夹，保存之后需要拉取的 SDK，然后 <code>cd</code> 进入到刚才新建的文件夹中。</p>
<pre><code class="language-bash">$ mkdir tina-d1-h
$ cd tina-d1-h
</code></pre>
<h3>初始化 Repo 仓库</h3>
<p dir="auto">使用 <code>repo init</code> 命令初始化仓库，<code>tina-d1-h</code> 的仓库地址是 <code>https://sdk.aw-ol.com/git_repo/D1_Tina_Open/manifest.git</code> 需要执行命令：</p>
<pre><code class="language-bash">$ repo init -u https://sdk.aw-ol.com/git_repo/D1_Tina_Open/manifest.git -b master -m tina-d1-h.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>
<p dir="auto"><strong>LV2 升级需要 49积分，获取积分方法如下：</strong></p>
<p dir="auto"><strong>① 1次主题帖发布（发帖）：50积分</strong><br />
<strong>② 1次有效回帖：25积分</strong><br />
<strong>③ 1次点赞：6积分</strong><br />
<strong>④ 每日登录：6积分</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 product-smartx-d1-h-tina-stable-v2.0 --all
</code></pre>
<p dir="auto">至此，SDK 获取完毕。</p>
]]></description><link>https://bbs.aw-ol.com/topic/3947/新-sdk-平台下载-d1-h-d1s-sdk</link><generator>RSS for Node</generator><lastBuildDate>Thu, 12 Mar 2026 11:02:40 GMT</lastBuildDate><atom:link href="https://bbs.aw-ol.com/topic/3947.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 28 Jul 2023 06:38:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 新 SDK 平台下载 D1-H&#x2F;D1s SDK on Mon, 02 Feb 2026 03:58:23 GMT]]></title><description><![CDATA[<p dir="auto">有没有R528的SDK</p>
]]></description><link>https://bbs.aw-ol.com/post/28127</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/28127</guid><dc:creator><![CDATA[hunter1089]]></dc:creator><pubDate>Mon, 02 Feb 2026 03:58:23 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 D1-H&#x2F;D1s SDK on Sat, 31 Jan 2026 05:41:40 GMT]]></title><description><![CDATA[<p dir="auto">有没有试过V3S跑Tina的大佬</p>
]]></description><link>https://bbs.aw-ol.com/post/28119</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/28119</guid><dc:creator><![CDATA[dsyyds]]></dc:creator><pubDate>Sat, 31 Jan 2026 05:41:40 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 D1-H&#x2F;D1s SDK on Fri, 26 Dec 2025 17:54:46 GMT]]></title><description><![CDATA[<p dir="auto">还没到lv2，烦哦</p>
]]></description><link>https://bbs.aw-ol.com/post/27864</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/27864</guid><dc:creator><![CDATA[Dont_Guess]]></dc:creator><pubDate>Fri, 26 Dec 2025 17:54:46 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 D1-H&#x2F;D1s SDK on Fri, 19 Dec 2025 09:03:48 GMT]]></title><description><![CDATA[<p dir="auto"><img src="/assets/uploads/files/1766135021545-c578c459-4eaf-436d-9621-e2387265a91f-image.png" alt="c578c459-4eaf-436d-9621-e2387265a91f-image.png" class=" img-responsive img-markdown" width="799" height="745" /></p>
]]></description><link>https://bbs.aw-ol.com/post/27817</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/27817</guid><dc:creator><![CDATA[fangjianhua]]></dc:creator><pubDate>Fri, 19 Dec 2025 09:03:48 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 D1-H&#x2F;D1s SDK on Mon, 25 Aug 2025 09:34:54 GMT]]></title><description><![CDATA[<p dir="auto">非常详细，大大简化了开发难度</p>
]]></description><link>https://bbs.aw-ol.com/post/26973</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/26973</guid><dc:creator><![CDATA[jasjac]]></dc:creator><pubDate>Mon, 25 Aug 2025 09:34:54 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 D1-H&#x2F;D1s SDK on Mon, 18 Aug 2025 05:38:58 GMT]]></title><description><![CDATA[<p dir="auto">请问D1-H是否有比2021年版本的编译器更新的版本？我目前使用21年的编译器编译项目，存在编译器兼容性问题，该编译器的cc版本是10.2.0，有点低</p>
]]></description><link>https://bbs.aw-ol.com/post/26921</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/26921</guid><dc:creator><![CDATA[zoone]]></dc:creator><pubDate>Mon, 18 Aug 2025 05:38:58 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 D1-H&#x2F;D1s SDK on Wed, 13 Aug 2025 06:58:12 GMT]]></title><description><![CDATA[<p dir="auto">t113的SDK为什么没有看到 ？？？？</p>
]]></description><link>https://bbs.aw-ol.com/post/26888</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/26888</guid><dc:creator><![CDATA[li_rean]]></dc:creator><pubDate>Wed, 13 Aug 2025 06:58:12 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 D1-H&#x2F;D1s SDK on Sat, 19 Jul 2025 12:51:32 GMT]]></title><description><![CDATA[<p dir="auto"><img src="/assets/uploads/files/1752929470147-eaf60742-cb6c-461f-a70c-72778436e728-image.png" alt="eaf60742-cb6c-461f-a70c-72778436e728-image.png" class=" img-responsive img-markdown" width="752" height="86" /> 有人知道这个要怎么解决吗？</p>
]]></description><link>https://bbs.aw-ol.com/post/26734</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/26734</guid><dc:creator><![CDATA[jowen456]]></dc:creator><pubDate>Sat, 19 Jul 2025 12:51:32 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 D1-H&#x2F;D1s SDK on Mon, 07 Jul 2025 19:31:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/7600">@deeyekftd</a><br />
解决方案发现 <code>repo</code> 由于某些原因不支持交互式登录和密码输入。您需要先运行 <code>git config --global credential.helper store</code> 然后执行 <code>git clone https://sdk.aw-ol.com/git_repo/D1_Tina_Open/manifest.git</code> 并交互式输入登录。然后删除下载的 <code>git clone</code> 并按说明执行 <code>repo init</code></p>
]]></description><link>https://bbs.aw-ol.com/post/26667</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/26667</guid><dc:creator><![CDATA[Deeyekftd]]></dc:creator><pubDate>Mon, 07 Jul 2025 19:31:54 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 D1-H&#x2F;D1s SDK on Fri, 04 Jul 2025 21:59:02 GMT]]></title><description><![CDATA[<p dir="auto">和 <a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/7202">@allwin_user</a> 一样的问题，但 git clone 工作正常。</p>
]]></description><link>https://bbs.aw-ol.com/post/26643</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/26643</guid><dc:creator><![CDATA[Deeyekftd]]></dc:creator><pubDate>Fri, 04 Jul 2025 21:59:02 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 D1-H&#x2F;D1s SDK on Wed, 11 Jun 2025 03:41:16 GMT]]></title><description><![CDATA[<p dir="auto"><img src="/assets/uploads/files/1749613260046-a290e234-5743-41a1-865d-2f0b8ae58c48-image.png" alt="a290e234-5743-41a1-865d-2f0b8ae58c48-image.png" class=" img-responsive img-markdown" width="1933" height="675" /><br />
一直0%正常吗？</p>
]]></description><link>https://bbs.aw-ol.com/post/26451</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/26451</guid><dc:creator><![CDATA[yuwei]]></dc:creator><pubDate>Wed, 11 Jun 2025 03:41:16 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 D1-H&#x2F;D1s SDK on Wed, 07 May 2025 02:31:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/7143">@bian196</a> 可以，使用过全志的T113和rk3562，再wsl-ubuntu22.04平台下可以编译，下载运行，就是编译会有一些错误，需要搜索或者自行解决，不然还是使用供应商教程对应版本。</p>
]]></description><link>https://bbs.aw-ol.com/post/26093</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/26093</guid><dc:creator><![CDATA[jasonzhang]]></dc:creator><pubDate>Wed, 07 May 2025 02:31:22 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 D1-H&#x2F;D1s SDK on Tue, 06 May 2025 17:48:48 GMT]]></title><description><![CDATA[<p dir="auto">特意买了个全志板子，咱练练?</p>
]]></description><link>https://bbs.aw-ol.com/post/26085</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/26085</guid><dc:creator><![CDATA[devVisual]]></dc:creator><pubDate>Tue, 06 May 2025 17:48:48 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 D1-H&#x2F;D1s SDK on Thu, 10 Apr 2025 02:32:10 GMT]]></title><description><![CDATA[<pre><code>repo init -u https://sdk.aw-ol.com/git_repo/D1_Tina_Open/manifest.git -b master -m tina-d1-h.xml
git requires authentication, but repo cannot perform interactive authentication. Check git credentials.
fatal: cannot obtain manifest https://sdk.aw-ol.com/git_repo/D1_Tina_Open/manifest.git
================================================================================
Repo command failed: UpdateManifestError
        Unable to sync manifest tina-d1-h.xml
</code></pre>
<p dir="auto">不提示用户名密码输入<img src="https://bbs.aw-ol.com/plugins/nodebb-plugin-emoji/emoji/android/1f44e.png?v=ksdk82uns70" class="not-responsive emoji emoji-android emoji---1" title=":-1:" alt="👎" /></p>
]]></description><link>https://bbs.aw-ol.com/post/25864</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/25864</guid><dc:creator><![CDATA[allwin_user]]></dc:creator><pubDate>Thu, 10 Apr 2025 02:32:10 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 D1-H&#x2F;D1s SDK on Sun, 30 Mar 2025 09:57:44 GMT]]></title><description><![CDATA[<p dir="auto">厉害啊大佬666</p>
]]></description><link>https://bbs.aw-ol.com/post/25747</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/25747</guid><dc:creator><![CDATA[ghc666]]></dc:creator><pubDate>Sun, 30 Mar 2025 09:57:44 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 D1-H&#x2F;D1s SDK on Fri, 28 Mar 2025 12:24:29 GMT]]></title><description><![CDATA[<p dir="auto">是否可以在WSL下面搭建环境和开发呢？因为在VMware上面跑虚拟机还是有点卡卡的。</p>
]]></description><link>https://bbs.aw-ol.com/post/25739</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/25739</guid><dc:creator><![CDATA[bian196]]></dc:creator><pubDate>Fri, 28 Mar 2025 12:24:29 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 D1-H&#x2F;D1s SDK on Fri, 28 Mar 2025 06:40:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/7138">@work_mo</a> 不通用</p>
]]></description><link>https://bbs.aw-ol.com/post/25732</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/25732</guid><dc:creator><![CDATA[livpo]]></dc:creator><pubDate>Fri, 28 Mar 2025 06:40:30 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 D1-H&#x2F;D1s SDK on Fri, 28 Mar 2025 06:38:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/5561">@zyfl88</a> 初次使用全志，D1s 与 D1 sdk通用吗？</p>
]]></description><link>https://bbs.aw-ol.com/post/25731</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/25731</guid><dc:creator><![CDATA[work_mo]]></dc:creator><pubDate>Fri, 28 Mar 2025 06:38:13 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 D1-H&#x2F;D1s SDK on Fri, 28 Mar 2025 05:57:30 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> 初次使用全志，D1s 与 D1 sdk通用吗？</p>
]]></description><link>https://bbs.aw-ol.com/post/25729</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/25729</guid><dc:creator><![CDATA[work_mo]]></dc:creator><pubDate>Fri, 28 Mar 2025 05:57:30 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 D1-H&#x2F;D1s SDK on Wed, 19 Mar 2025 16:06:49 GMT]]></title><description><![CDATA[<p dir="auto">Get <a href="https://mirrors.bfsu.edu.cn/git/git-repo" target="_blank" rel="noopener noreferrer nofollow ugc">https://mirrors.bfsu.edu.cn/git/git-repo</a><br />
fatal: unable to access '<a href="https://mirrors.bfsu.edu.cn/git/git-repo/" target="_blank" rel="noopener noreferrer nofollow ugc">https://mirrors.bfsu.edu.cn/git/git-repo/</a>': gnutls_handshake() failed: Handshake failed报这个错该如何解决</p>
]]></description><link>https://bbs.aw-ol.com/post/25625</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/25625</guid><dc:creator><![CDATA[Youyf]]></dc:creator><pubDate>Wed, 19 Mar 2025 16:06:49 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 D1-H&#x2F;D1s SDK on Fri, 14 Mar 2025 03:17:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/428">@daizebin</a> 请问nor的固件如何编译</p>
]]></description><link>https://bbs.aw-ol.com/post/25577</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/25577</guid><dc:creator><![CDATA[qidarei]]></dc:creator><pubDate>Fri, 14 Mar 2025 03:17:33 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 D1-H&#x2F;D1s SDK on Wed, 29 Jan 2025 01:23:59 GMT]]></title><description><![CDATA[<p dir="auto">line 0: Bad configuration option: setenv<br />
显示这个是为啥呀</p>
]]></description><link>https://bbs.aw-ol.com/post/25245</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/25245</guid><dc:creator><![CDATA[cabritexy]]></dc:creator><pubDate>Wed, 29 Jan 2025 01:23:59 GMT</pubDate></item><item><title><![CDATA[Reply to 新 SDK 平台下载 D1-H&#x2F;D1s SDK on Sat, 11 Jan 2025 16:39:04 GMT]]></title><description><![CDATA[<p dir="auto">执行下载的时候，提示需要输入密码</p>
]]></description><link>https://bbs.aw-ol.com/post/25108</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/25108</guid><dc:creator><![CDATA[gzxooo]]></dc:creator><pubDate>Sat, 11 Jan 2025 16:39:04 GMT</pubDate></item></channel></rss>