日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 运维知识 > windows >内容正文

windows

CM3计算板装系统

發(fā)布時(shí)間:2023/12/10 windows 36 豆豆
生活随笔 收集整理的這篇文章主要介紹了 CM3计算板装系统 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

1、CM3計(jì)算板簡(jiǎn)介

把樹莓派搬到自己的產(chǎn)品中,一種和樹莓派基礎(chǔ)功能一模一樣的板卡,并對(duì)相關(guān)管腳擴(kuò)展,完成產(chǎn)品級(jí)的功能設(shè)計(jì)和硬件設(shè)計(jì)。板卡如下圖所示,運(yùn)行的是Linux操作系統(tǒng)。

2、下載鏡像

CM3有多種內(nèi)存搭配,常見的SD卡+EMMC板載存儲(chǔ)設(shè)備。運(yùn)行的Linux鏡像應(yīng)該不超過CM3的存儲(chǔ)容量,并預(yù)留一定的空間,我這塊CM3是常規(guī)的4GB EMMC,因此下載鏡像選擇為L(zhǎng)ite版本。

下載鏡像地址:https://www.raspberrypi.org/downloads/raspbian/

選擇最新的Raspbian Buster Lite。

3、燒寫鏡像

網(wǎng)上購(gòu)買一個(gè)CM3底板,用于燒寫鏡像。例如,微雪的底板:

燒錄鏡像步驟:

3.1、把CM3識(shí)別成存儲(chǔ)設(shè)備

3.1.1 CM3 boot方式配置

The 4GB eMMC Flash device on CM3 is directly connected to the primary BCM2837 SD/eMMC interface. These connections are not accessible on the module pins. On CM3L this SD interface is available on the SDX pins. When initially powered on, or after the RUN pin has been held low and then released, the BCM2837 will try to access the primary SD/eMMC interface. It will then look for a file called bootcode.bin on the primary partition (which must be FAT) to start booting the system. If it cannot access the SD/eMMC device or the boot code cannot be found, it will fall back to waiting for boot code to be written to it over USB; in other words, its USB port is in slave mode waiting to accept boot code from a suitable host.

A USB boot tool is available on Github which allows a host PC running Linux to write the BCM2837 boot code over USB to the module. That boot code then runs and provides access to the SD/eMMC as a USB mass storage device, which can then be read and written using the host PC. Note that a Raspberry Pi can be used as the host machine. For those using Windows a precompiled and packeged tool is available. For more information see here.

The Compute Module has a pin called EMMC_DISABLE_N which when shorted to GND will disable?the SD/eMMC interface (by physically disconnecting the SD_CMD pin), forcing BCM2837 to boot from USB. Note that when the eMMC is disabled in this way, it takes a couple of seconds from powering up for the processor to stop attempting to talk to the SD/eMMC device and fall back to booting from USB.?

意思很明顯了,CM3啟動(dòng)的時(shí)候要去FAT文件系統(tǒng)找bootcode.bin,找不到就等待USB接口接收該文件。當(dāng)前EMMC沒有系統(tǒng),所以不使能EMMC。具體需要將EMMC_DISABLE_N管腳接地。對(duì)應(yīng)下圖則將J4的跳線帽接到GND。

3.1.2 安裝驅(qū)動(dòng)識(shí)別CM3

(1)安裝rpiboot_setup.exe 驅(qū)動(dòng)。

(2)用USB連接CM3底板SLAVE接口。

(3)安裝之后,雙擊打開軟件,自動(dòng)識(shí)別CM3并下發(fā)bootcode.bin。電腦出現(xiàn)外部存儲(chǔ)設(shè)備,此時(shí)CM3已經(jīng)被抽象成存儲(chǔ)設(shè)備。

3.2、SDFormatter格式化CM3

同樹莓派格式步驟。

3.3、Win32DiskImager制作Linux鏡像

同樹莓派格式步驟。

總結(jié)

以上是生活随笔為你收集整理的CM3计算板装系统的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。