damiaa 发表于 2022-3-19 22:33

【平头哥Sipeed LicheeRV 86 Panel测评】二 硬件电路和资源

本帖最后由 damiaa 于 2022-3-20 11:10 编辑

<p><span style="font-size:20px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 【平头哥Sipeed LicheeRV 86 Panel测评】+硬件电路和资源</span></p>

<p>最近开始平头哥Sipeed LicheeRV 86 Panel测评评测,发现资料还是很多,<strong>但也很杂</strong>。如是必须要梳理一下,顺便作个记录。</p>

<p><strong><span style="color:#3498db;"><span style="font-size:16px;">全志</span></span></strong>采用基于RISC-V指令集的<span style="color:#3498db;">C906核心</span>的<span style="color:#3498db;"><strong>平头哥</strong></span>的内核,做成了<strong><span style="color:#2980b9;"><span style="font-size:20px;">D1_H</span>芯片&nbsp;和&nbsp; <span style="font-size:20px;">D1_S</span>芯片</span></strong>。</p>

<p>D1_H是<span style="color:#2980b9;"><span style="font-size:20px;">外置DRR3</span>内存</span>的,主要用于外挂内存比较大的liunx等操作系统的应用。</p>

<p></p>

<p></p>

<p>D1_S<span style="color:#2980b9;"><span style="font-size:20px;">内置64M DDR2</span>内存</span>也可以跑linux,主要用于小型嵌入式设备。</p>

<p></p>

<p></p>

<p><span style="color:#27ae60;"><span style="font-size:16px;">矽速科技</span></span>用采用的是<span style="font-size:16px;"><strong><span style="color:#2980b9;">D1_H</span></strong></span>内核做了一块<span style="color:#2980b9;"><span style="font-size:20px;">核心板</span></span>和<strong><span style="color:#2980b9;"><span style="font-size:20px;">主板底板</span></span></strong>,还做了个<span style="color:#2980b9;"><span style="font-size:20px;">86款面板的板子</span></span>。</p>

<p><span style="font-size:20px;"><span style="color:#2ecc71;">Sipeed LicheeRV 86 Panel及(</span></span><span style="color:#2980b9;"><span style="font-size:20px;">核心板+86款面板的板子</span></span><span style="font-size:20px;"><span style="color:#2ecc71;">)</span></span>我们手上的就是。</p>

<p></p>

<p>同样全志自己也出了一款开发板叫<span style="color:#27ae60;"><span style="font-size:20px;">哪吒</span></span>。</p>

<p><span style="color:#993333;"><span style="font-size:20px;">为什么</span></span>要分析对比一下<span style="color:#27ae60;"><span style="font-size:20px;">分析</span></span><span style="color:#2980b9;">LicheeRV和哪吒开发板</span>。因为<span style="font-size:16px;"><strong><span style="color:#27ae60;">全志很多资料都是以哪吒开发板为例子。便于后面查找资料</span></strong></span><strong><span style="color:#27ae60;"><span style="font-size:16px;">和编译软件及配置的理解</span><span style="font-size:20px;">。</span></span></strong></p>

<p><span style="color:#9b59b6;"><span style="font-size:16px;">相反矽速科技资料相对较少</span></span>。</p>

<p>&nbsp; &nbsp; 开发板:D1-H</p>

<p>&nbsp; &nbsp; 原理图:&nbsp;&nbsp;&nbsp;<br />
&nbsp; &nbsp; &nbsp;https://d1.docs.aw-ol.com/d1_dev/</p>

<p>&nbsp; &nbsp; 矽速科技&nbsp; Lichee RV 系列板子:<br />
&nbsp; &nbsp; &nbsp;<span style="color:#27ae60;">Lichee RV - Nezha CM</span> 计算模组 核心 板,其实这个核心板可以单独运行,还可以直接插个液晶。直接跑linux系统。</p>

<p>&nbsp; &nbsp; &nbsp;原理图:<br />
&nbsp; &nbsp; &nbsp;<span style="color:#27ae60;">Lichee RV Dock </span>是为开源开发者而设计的一款功能集成度高、体积小且价格亲民的RISC-V Linux开发板套件。它不仅支持 HDMI 输出,支持以太网。可以有很多玩法。</p>

<p>&nbsp; &nbsp; &nbsp;&nbsp;原理图:&nbsp; &nbsp;<br />
&nbsp; &nbsp; &nbsp;<span style="color:#27ae60;">Lichee RV-86 Panel</span>是为智能家居中控应用场景而设计的开发套件。主要是面向嵌入式IOT,比如智能家居,智能建筑之类的。</p>

<p>&nbsp; &nbsp; &nbsp;&nbsp;原理图:</p>

<p>&nbsp; &nbsp;下面是 矽速科技&nbsp; Lichee RV 系列板子的资料的网址<br />
&nbsp; &nbsp; &nbsp;https://wiki.sipeed.com/hardware/zh/lichee/RV/Dock.html&nbsp;&nbsp;Lichee RV 相关文档<br />
&nbsp; &nbsp; &nbsp;https://dl.sipeed.com/shareURL/LICHEE/D1/Lichee_RV/HDK/7_chip_datasheet&nbsp;&nbsp; &nbsp; Lichee RV &nbsp;硬件方面资料(HDK)</p>

<p>&nbsp; &nbsp; &nbsp;https://bbs.sipeed.com/cate/2_20_21_29_40_37/seq/1&nbsp;&nbsp;矽速科技BBS<br />
&nbsp; &nbsp; &nbsp;https://bbs.aw-ol.com/recent?cid[]=6&nbsp;&nbsp;&nbsp;矽速科技BBS</p>

<p>&nbsp; &nbsp; &nbsp;</p>

<p>&nbsp; &nbsp; &nbsp;<span style="color:#27ae60;"><span style="font-size:16px;">固件(SD卡)烧录工具</span></span>&nbsp; <span style="color:#2ecc71;">开发的时候主要还是用第1和第2种</span><br />
&nbsp; &nbsp; &nbsp; (1)<span style="color:#2ecc71;">PhoenixSuit</span>:是最常用的烧写工具,通过数据线将PC和开发板连接,把固件烧到开发板上,支持分区</p>

<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 烧写,&nbsp;适用于开发和小规模生产使用。建议开发者开发时使用该工具进行固&nbsp; &nbsp;件升级。<br />
&nbsp; &nbsp; &nbsp; (2)<span style="color:#2ecc71;">LiveSuit</span>:基于Ubuntu的系统的烧写工具,通过数据线将PC和开发板连接,把固件烧到开发板上,即</p>

<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Ubuntu版的PhoenixSuit,适用于Ubuntu系统开发者进行开发烧写<br />
&nbsp; &nbsp; &nbsp; (3)PhoenixUSBpro:基于Windows的系统的烧写工具,通过数据线将PC和开发板连接,把固件烧到开发</p>

<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 板上,一台PC可同时连接8台设备,分别控制其进行烧写,适用于产线批量生产。</p>

<p>&nbsp; &nbsp; &nbsp; (4)PhoenixCard:基于Windows的系统的量产SD卡制作工具,可以将普通的.img固件制作成SD卡量产固</p>

<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 件,生产时在设备端插入量产SD卡即会自动烧写固件,适用于带SD卡卡槽的设备大规模量产。<br />
&nbsp; &nbsp; &nbsp; (5)存储器件批量烧写生产:用专有设备将提前将固件烧写到未贴片的存储器件(如emmc、nand、nor</p>

<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;等)上,再上机贴片,可提高设备生产效率,需要拉通存储器件前才原厂和全志原厂定制设备联调,</p>

<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;适用于超大规模产品的量产。</p>

<p>&nbsp;</p>

<p>&nbsp; &nbsp;<span style="color:#27ae60;"><span style="font-size:16px;"> 开发环境 开发环境主要是两个</span></span></p>

<p>&nbsp; &nbsp; 1,linux开发环境镜像和配置编译镜像的开发环境</p>

<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;全志D1_H芯片的这几款开发板都支持两种linux:都有相应的地方下载。<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#27ae60;">&nbsp;Tina Linux&nbsp;</span> Tina为专用小linux镜像&nbsp; 其实就是openwrt 系统</p>

<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#27ae60;">Debain&nbsp;linux</span>&nbsp;Debian为桌面级系统镜像</p>

<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;两个系统的<span style="font-size:16px;"><span style="color:#2980b9;">镜像有直接下载烧录</span></span>可以用的。直接烧录的找到后用PhoenixSuit或LiveSuit烧录就可</p>

<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 比如:<strong><span style="color:#2980b9;">LicheeRV_Debian_86_480p&nbsp; 跑debian linux系统</span></strong></p>

<p><span style="color:#2980b9;"><strong>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;LicheeRV_Tina_86_480p.img</strong></span>&nbsp; &nbsp;<strong><span style="color:#2980b9;">跑Tina linux系统</span></strong></p>

<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color:#2980b9;">&nbsp;<strong>tina_d1-nezha_uart0.img</strong></span>(为<span style="color:#27ae60;"><span style="font-size:20px;">哪吒板准备的,但跑核心板没问题</span></span>)&nbsp;&nbsp;</p>

<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<span style="color:#27ae60;"><span style="font-size:16px;">也可以自己重新编译定制有些复杂需要下载相应的sdk并且配置和编译,有docker下用的,有</span></span></p>

<p><span style="color:#27ae60;"><span style="font-size:16px;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;linux下用的,有矽速科技做好的,有全志官网的(全志官网的要注意板级配置)</span></span></p>

<p>&nbsp; &nbsp; &nbsp;2,应用程序的交叉编译开发环境</p>

<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Tina Linux 支持<span style="color:#27ae60;"><span style="font-size:16px;">&nbsp;WAFT</span></span>&nbsp; 当然肯定也支持直接gcc&nbsp; g++</p>

<p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Debain&nbsp;linux 肯定是直接支持gcc&nbsp; g++&nbsp; &nbsp;</p>

<p>&nbsp; &nbsp;</p>

<p>&nbsp; &nbsp; &nbsp;其他方面后面逐步了解。先把思路一一理清。 好先到这里。</p>

<p>&nbsp; &nbsp;</p>

<p>&nbsp;</p>

soso 发表于 2022-3-21 09:54

<p>整理的很详细 辛苦了</p>

流行科技 发表于 2022-3-21 10:13

很详细!
页: [1]
查看完整版本: 【平头哥Sipeed LicheeRV 86 Panel测评】二 硬件电路和资源