更改

跳转至: 导航搜索

Orange Pi CM4

添加249字节, 2023年9月12日 (二) 13:37
基于Ubuntu PC将Linux镜像烧写到TF卡的方法
== 基于Ubuntu PC将Linux镜像烧写到TF卡的方法 ==
{| class="wikitable" style="background-color:#ffffdc;width:800px;" |-| <big>'''注意,这里说的Linux镜像具体指的是从[http://www.orangepi.cn/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-CM4-1.html Orange Pi资料下载页面]下载的Debian、Ubuntu和OPi OS Arch这样的Linux发行版镜像,Ubuntu PC指的是安装了Ubuntu系统的个人电脑。'''</big>|}
# 首先准备一张16GB或更大容量的TF卡,TF卡的传输速度必须为'''class10'''级或'''class10'''级以上,建议使用闪迪等品牌的TF卡
# 下载balenaEtcher软件,下载地址为
::{| class="wikitable" style="width:800px;"
|-
|
[https://www.balena.io/etcher/ '''https://www.balena.io/etcher/''']
|}
<ol start="4" style="list-style-type: decimal;">
<li><p>从[http://www.orangepi.cn/html/hardWare/computerAndMicrocontrollers/service-and-support/Orange-Pi-CM4-1.html '''Orange Pi的资料下载页面''']下载想要烧录的Linux操作系统镜像文件压缩包,然后使用解压软件解压,解压后的文件中,以”'''.img'''”结尾的文件就是操作系统的镜像文件,大小一般都在2GB以上</p>
<p>7z结尾的压缩包的解压命令如下所示</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>test@test:~$ '''7z x Orangepicm4_1.0.0_debian_bullseye_desktop_xfce_linux5.10.160.7z'''</p>
<p>test@test:~$ '''ls Orangepicm4_1.0.0_debian_bullseye_desktop_xfce_linux5.10.160.*'''</p>
<p>Orangepicm4_1.0.0_debian_bullseye_desktop_xfce_linux5.10.160.7z Orangepicm4_1.0.0_debian_bullseye_desktop_xfce_linux5.10.160.sha #校验和文件</p>
<p>Orangepicm4_1.0.0_debian_bullseye_desktop_xfce_linux5.10.160.img #镜像文件</p>|}</li>
<li><p>解压镜像后可以先用'''sha256sum -c *.sha'''命令计算下校验和是否正确,如果提示'''成功'''说明下载的镜像没有错,可以放心的烧录到TF卡,如果提示'''校验和不匹配'''说明下载的镜像有问题,请尝试重新下载</p>
{| class="wikitable" style="width:800px;"
|-
|
<p>test@test:~$ '''sha256sum -c *.sha'''</p>
<p>Orangepicm4_1.0.0_debian_bullseye_desktop_xfce_linux5.10.160.img: OK</p>|}</li>
<li><p>然后在Ubuntu PC的图形界面双击'''balenaEtcher-1.5.109-x64.AppImage'''即可打开balenaEtcher('''无需安装'''),balenaEtcher打开后的界面显示如下图所示</p>
<p>[[File:media/image60.png|423x251px]]</p></li>
<span id="烧录linux镜像到emmc中的方法"></span>
 
== 烧录Linux镜像到eMMC中的方法 ==
8,460
个编辑

导航菜单