打开主菜单

Wiki-Orange Pi β

更改

Orange Pi 5 Plus

大小无更改, 2023年5月31日 (三) 20:01
烧录OpenWRT镜像到SPI FLASH中的方法
<big>'''由于开发板上的spi flash只有16MB,所以此系统基本无法安装多少软件,目前只能实现一些基础功能。'''</big>
|}
 
<span id="使用dd命令烧录的方法-1"></span>
 
=== 使用dd命令烧录的方法 ===
<ol style="list-style-type: decimal;">
<li><p>烧录OpenWRT镜像到SPIFlash中需要借助TF卡来完成,所以首先需要将支持TF卡启动的OpenWRT镜像烧录到TF卡上,然后使用TF卡启动开发板进入OpenWRT系统。烧录OpenWRT镜像到TF卡的方法请见[[Orange Pi 5 Plus#基于Ubuntu PC将Linux镜像烧录到TF卡的方法|'''基于Windows PC将Linux镜像烧写到TF卡的方法''']]和[[Orange Pi 5 Plus#基于Ubuntu PC将Linux镜像烧录到TF卡的方法|'''基于Ubuntu PC将Linux镜像烧写到TF卡的方法''']]两小节的说明。</p></li>
<li><p>然后从[http://www.orangepi.cn/html/serviceAndSupport/index.html '''Orange Pi的资料下载页面''']下载能够从'''SPIFlash'''启动的'''OpenWRT'''镜像。打开下载链接后可以看到下面两种类型的OpenWRT镜像,请选择'''SPIFlash启动镜像'''文件夹中的镜像进行下载</p>
<p>[[File:media/image144.png|313x83px]]</p></li>
<li><p>然后把从官网下载的镜像上传到TF卡中。</p></li>
<li><p>然后再执行下面的命令即可将OpenWRT镜像烧写到SPIFlash中。'''<span style="color:#FF0000">注意if=后面需要指定镜像存放的实际路径</span>'''</p></li>
{| class="wikitable" style="width:1000px;"
|-
|
'''<span style="color:#FF0000">root@OpenWrt:~# dd if=openwrt-rockchip-armv8-xunlong_orangepi-5-plus-spi-squashfs-sysupgrade.bin of=/dev/mtdblock0</span>'''
|}
<li><p>然后就可以使用'''poweroff'''命令关机了。然后请拔出TF卡,再短按电源按键开机,此时就会启动SPIFlash中的OpenWRT系统了</p></li></ol>
<span id="使用-rkdevtool-烧录的方法"></span>
<li><p>OpenWRT镜像烧录完后会自动启动,如果没有正常启动,请重新上电试下。</p></li></ol>
</li></ol>
 
<span id="使用dd命令烧录的方法-1"></span>
 
=== 使用dd命令烧录的方法 ===
<ol style="list-style-type: decimal;">
<li><p>烧录OpenWRT镜像到SPIFlash中需要借助TF卡来完成,所以首先需要将支持TF卡启动的OpenWRT镜像烧录到TF卡上,然后使用TF卡启动开发板进入OpenWRT系统。烧录OpenWRT镜像到TF卡的方法请见[[Orange Pi 5 Plus#基于Ubuntu PC将Linux镜像烧录到TF卡的方法|'''基于Windows PC将Linux镜像烧写到TF卡的方法''']]和[[Orange Pi 5 Plus#基于Ubuntu PC将Linux镜像烧录到TF卡的方法|'''基于Ubuntu PC将Linux镜像烧写到TF卡的方法''']]两小节的说明。</p></li>
<li><p>然后从[http://www.orangepi.cn/html/serviceAndSupport/index.html '''Orange Pi的资料下载页面''']下载能够从'''SPIFlash'''启动的'''OpenWRT'''镜像。打开下载链接后可以看到下面两种类型的OpenWRT镜像,请选择'''SPIFlash启动镜像'''文件夹中的镜像进行下载</p>
<p>[[File:media/image144.png|313x83px]]</p></li>
<li><p>然后把从官网下载的镜像上传到TF卡中。</p></li>
<li><p>然后再执行下面的命令即可将OpenWRT镜像烧写到SPIFlash中。'''<span style="color:#FF0000">注意if=后面需要指定镜像存放的实际路径</span>'''</p></li>
{| class="wikitable" style="width:1000px;"
|-
|
'''<span style="color:#FF0000">root@OpenWrt:~# dd if=openwrt-rockchip-armv8-xunlong_orangepi-5-plus-spi-squashfs-sysupgrade.bin of=/dev/mtdblock0</span>'''
|}
<li><p>然后就可以使用'''poweroff'''命令关机了。然后请拔出TF卡,再短按电源按键开机,此时就会启动SPIFlash中的OpenWRT系统了</p></li></ol>
<span id="烧录android镜像到tf卡中的方法"></span>
8,460
个编辑