<?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[Topics tagged with debian]]></title><description><![CDATA[A list of topics that have been tagged with debian]]></description><link>http://community.bwbot.org/tags/debian</link><generator>RSS for Node</generator><lastBuildDate>Tue, 10 Mar 2026 09:27:29 GMT</lastBuildDate><atom:link href="http://community.bwbot.org/tags/debian.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 22 Apr 2019 05:11:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[hikey 970 debian 镜像（有opencl 和 tensorflow）]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.bwbot.org/uid/858">@youngestuser</a> 运行clinfo可以查看信息。</p>
]]></description><link>http://community.bwbot.org/topic/547/hikey-970-debian-镜像-有opencl-和-tensorflow</link><guid isPermaLink="true">http://community.bwbot.org/topic/547/hikey-970-debian-镜像-有opencl-和-tensorflow</guid><dc:creator><![CDATA[weijiz]]></dc:creator><pubDate>Mon, 22 Apr 2019 05:11:19 GMT</pubDate></item><item><title><![CDATA[在hikey 970上安装debian并运行ROS]]></title><description><![CDATA[<p dir="auto">经过长时间的等待hikey 970的debian系统终于发布了。</p>
<p dir="auto"><a href="https://www.bwbot.org/s/uxszxd" target="_blank" rel="noopener noreferrer">系统下载地址</a></p>
<p dir="auto">首先保证机器能够正常运行Android,基础固件没有问题。下载完成后解压文件</p>
<h3>设置机器开关</h3>
<p dir="auto">刷系统前需要让板子开机后进入fastboot模式，这个可以通过设置板子上的开关完成。把开关状态设置成On Off  On Off。然后上电启动。</p>
<h3>刷入Debian 系统</h3>
<h4>在Linux下刷入Debian系统</h4>
<p dir="auto">如果你是Linux系统则按照此处的指令刷入Debian系统</p>
<pre><code class="language-bash">#进入解压后的文件夹
fastboot flash xloader sec_xloader.img
fastboot flash ptable prm_ptable.img
fastboot flash fastboot l-loader.bin
fastboot flash fip fip.bin
fastboot flash boot boot2grub.uefi.img
fastboot flash system rootfs.sparse.img
# 注意刷入系统文件的过程需要很多时间，需要耐心等待
# 刷入分区表
wget http://www.bwbot.org/s/uhzKfx -O '64gtoendprm_ptable.img'
fastboot flash ptable 64gtoendprm_ptable.img
</code></pre>
<h4>在Windows 下刷人Debian系统</h4>
<p dir="auto">如果你是在Windows环境下刷入Debian系统则执行下面的指令</p>
<pre><code class="language-bash">#进入解压后的文件夹
.\update_Hikey970.bat
</code></pre>
<p dir="auto">整个刷入时间要很久，需要耐心等待<br />
刷入完成后再次刷入分区表<br />
<a href="https://www.bwbot.org/s/uhzKfx" target="_blank" rel="noopener noreferrer">分区表下载地址</a><br />
下载完成后放入当前文件夹执行下面的指令</p>
<pre><code class="language-bash">fastboot.exe flash ptable 64gtoendprm_ptable.img
</code></pre>
<h3>启动系统</h3>
<p dir="auto">拔掉板子的电源，将开关拨至 On Off Off Off 状态，然后上电。等待板子启动完成。给板子插上网线，这时候可以看到网口的灯在闪烁。说明板子已经正常启动了。</p>
<p dir="auto">在路由器上查找板子的ip</p>
<p dir="auto"><img src="/assets/uploads/files/1528443161888-2018-06-08-15-32-12-%E7%9A%84%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE.png" alt="0_1528443161588_2018-06-08 15-32-12 的屏幕截图.png" class=" img-responsive img-markdown" /></p>
<p dir="auto">正常情况下应该能够看到如图所示的设备。然后通过ssh 连接就可以了。用户名和密码都是hoperun</p>
<pre><code class="language-bash">ssh hoperun@xxx.xxx.xxx.xxx
</code></pre>
<p dir="auto"><img src="/assets/uploads/files/1528443320953-2018-06-08-15-34-58-%E7%9A%84%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE-resized.png" alt="0_1528443320667_2018-06-08 15-34-58 的屏幕截图.png" class=" img-responsive img-markdown" /></p>
<h3>安装常用工具</h3>
<pre><code>sudo apt-get install bash-completion #增加自动补全功能
sudo apt-get install htop #查看系统资源使用情况工具
/bin/bash -c "$(curl -sL https://git.io/vokNn)" #安装apt-fast，安装软件更快
</code></pre>
<h3>安装ROS</h3>
<p dir="auto">ROS的安装过程和一般的ROS版本安装是一样的，但是奇怪的是我的源里面没有找到kinetic版本。下面安装的是melodic版本。可能是这个版本的Debian只支持melodic。</p>
<h4>添加ROS软件源</h4>
<pre><code class="language-bash">sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" &gt; /etc/apt/sources.list.d/ros-latest.list'
</code></pre>
<h4>添加key</h4>
<pre><code class="language-bash">sudo apt-fast update
sudo apt-fast install dirmngr
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
</code></pre>
<h4>开始安装</h4>
<pre><code class="language-bash">sudo apt-fast update
sudo apt-fast install ros-melodic-desktop-full -y
</code></pre>
<h4>配置环境</h4>
<pre><code class="language-bash">sudo rosdep init
rosdep update
echo "source /opt/ros/melodic/setup.bash" &gt;&gt; ~/.bashrc
source ~/.bashrc
</code></pre>
<h4>安装编译软件包依赖</h4>
<pre><code class="language-bash">sudo apt-get install python-rosinstall python-rosinstall-generator python-wstool build-essential
</code></pre>
<p dir="auto">测试一下</p>
<p dir="auto"><img src="/assets/uploads/files/1528444150542-2018-06-08-15-48-51-%E7%9A%84%E5%B1%8F%E5%B9%95%E6%88%AA%E5%9B%BE-resized.png" alt="0_1528444150090_2018-06-08 15-48-51 的屏幕截图.png" class=" img-responsive img-markdown" /></p>
<p dir="auto">成功了！</p>
]]></description><link>http://community.bwbot.org/topic/483/在hikey-970上安装debian并运行ros</link><guid isPermaLink="true">http://community.bwbot.org/topic/483/在hikey-970上安装debian并运行ros</guid><dc:creator><![CDATA[weijiz]]></dc:creator><pubDate>Fri, 08 Jun 2018 07:49:36 GMT</pubDate></item></channel></rss>