Open main menu

Changes

NASPi CM4-M2

5,850 bytes added, 17 April
{{GD Template Impl}}
[[File:01-naspi-cm4-m2.jpg|thumb|NASPi CM4-M2 Front view]]
[[File:Naspi-CM4-m2.jpg|thumb|NASPi CM4-M2 Rear view]]
[[File:NASPi-CM4-M2-Packing-List.jpg|thumb|NASPi CM4-M2 Packing List]]
[[File:X515-Interface-Schematic.jpg|thumb|NASPi CM4-M2 internal view]]
[[File:X515-IMG-5812.jpg|thumb|NASPi CM4-M2 internal view]]
[[File:X515-IMG-5814.jpg|thumb|Supports M2 SSD]]
[[File:X515-IMG-5896-6Pin-Headers.jpg|thumb|X515]]
 
 
 
==Overview==
[[NASPiCM4-M2]] is a member of NASPi family. Click [[GEEKWORM NAS Family]] to know more.  NASPi CM4-M2 provides is a complete NUC-style storage solution kit based on Raspberry Pi Compute Module 4CM4 all series.Its interface is USB 2.0 and supports It has a M2 KEY-M (NVME ) SSD or interface and a M2 SATA SSD. With onboard power switch,the builtKEY-in CM4 aluminum alloy heatsink B (C235NGFF) cools the CPU, and the SSD interface. Its OLED screen can display can monitor the some informations like CPU temperature of the CPU in real time, IP address . Also provides 3 USB 2.the case is made of all aluminum alloy, CNC processing method0 ports and 2 full-size HDMI ports,supports safe shutdown (requires installation script).surface anodizing treatment
NASPi-<span style="color:red>'''Important note:''' </span>* Don't need to use additional SD card and power supply if you are using <span style="color:red>CM4-M2 is composed of three parts:X515 storage expansion with emmc</span>. When burning the system, please <span style="color:red>short the OTG</span> on the X515 board ; at the same time,aluminum alloy heatsink (C235) for CM4:0.96 inch OLED display,and they will be packed into a ALUuse the <span style="color:red>USB-case A to get a complete NASPi-CM4USB-M2* X515:provides a complete storage,supports M2 NVME SSD or M2 SATA SSDC OTG cable (2242 2260 2280prepare it yourself)* C235:powerful aluminum alloy heatsink is used </span> to connect to cool the CPU of CM4* 0computer.96 inch OLED display:Real-time monitoring of the heat dissipation of C235 to CM4, and then displayed on the OLED display
==Features==
* Model: NASPi CM4-M2
* NUC style set-top box, compact design
* All aluminum alloy Case* Ideal storage solution for Raspberry Pi Compute Module 4* compatible Compatible with M2 NVME SSD or M2 SATA SSD(Support 2242 2260 SSD(Only support <span style="color:red;>2280 hard drives, but 2260 has no holes, you need to fix the hard drive by yourself)length SSD</span> installation)* Comes with a super an aluminum alloy heatsink ([[C235)to cool the ]] for CM4 CPUpassive cooling
* Comes with a 0.96 inch OLED display
* Press Support software safe shutdown & auto power on & RTC function* On-board blue light button switch to turn oncontrol power ON/OFF* Press button switch and to turn on, hold for 1~2 seconds to reboot, hold for 3 seconds to safe shutdown, hold for more than 8 seconds to force shutdown
==How to Power NASPi-CM4-M2==Power supply: 5Vdc +/-5% , ≥4A
We recommend that you Recommend to use our 20W 5V 4A Type-C power adapter [[USB C PSUPSU20]]. ==How to Cool==* Comes with a 12mm thickness aluminum alloy heatsink [[C235]]cooler for passive cooling of Raspberry Pi CM4, which can satisfy large file copy and video playback application. And it is recommended to replace the thermal pad with CPU silicone grease for better heat dissipation.
==Packing List==
* 1 x NASPi-CM4-M2 aluminum alloy case
* 1 x X515 storage expansion board
* 1 x C235 alu aluminum alloy heatsink
* 1 x 0.96 inch OLED display
* 1 x Scews pack accessories
'''Additional accessories to purchase yourself:'''
* Raspberry Pi Compute Module 4 CM4
* A minimum 16 Gb class 10 memory card is recommended.(In fact, you don't need Micro SD card if you use CM4 with eMMC, because you can flash the firmware into the eMMC.)
==User Manual==
===Installation Video===
For NASPi CM4-2.5 and NASPi CM4-M2: https://youtu.be/lXBK5-GFQ48
{{#ev:youtube|https://youtu.be/lXBK5-GFQ48}}
 
Please follow the steps below
 
===Flash OS Image===
Due to CM4 has a version with eMMC, micro SD card is optional. If you are using the CM4 with eMMC, you don't need to buy a extra Micro SD card.
 
You flash the OS image into different media according to your own situation.
 
====1. Flash OS into the micro SD card====
:A minimum 16 Gb class 10 memory card is recommended.
 
:Please refer to [https://www.raspberrypi.com/documentation/computers/getting-started.html#installing-the-operating-system Official installation tutorial]
 
====2. Flash OS into the eMMC of CM4(Optional)====
:You can falsh OS into the eMMC if you use the CM4 '''with eMMC''', refer to the following step.
 
:1. Short OTG Pin, refer to the picture below.
 
:[[File:X515-IMG-5890-1.jpg|500px]]
 
:2. Connect a computer that will be used to load the eMMC to the USB C port on the CM4-M2 board. The computer will provide both power and data to the CM4. (Type-A to Type-C OTG cable need to be purchased seperately)
 
:3. Then rerfer to [https://www.jeffgeerling.com/blog/2020/how-flash-raspberry-pi-os-compute-module-4-emmc-usbboot this tutorial] to flash raspberry pi OS
 
:4. Remove the jumper of OTG after flashing is complete, then restart your device;
 
:'''PS:If you use CM4 with eMMC, then SD card cannot be used.'''
 
===3. Preconfigure Device for CM4===
Now we think you have successfully flashed the OS to the storage media (mciro sd card or eMMC of CM4). If you attempt to boot now you will not have working USB ports, ssh, or any wireless configuration, so do not remove your SD card, proceed as follows.
 
We can preconfigure your CM4 device by plugging mico sd via sd reader into a windows computer / Pi. You should see the “boot” volume where we can preconfigure our CM4 to be working right from the start.
 
====3.1 Enable USB Ports====
:When mounted in the IO board the USB ports will not function without making a change to config.txt and adding an overlay.
 
:Add the following line to config.txt:
dtoverlay=dwc2,dr_mode=host
:After adding this line the two USB ports (as well as the “External USB” header) will function the next time the CM4 boots.
 
====3.2 Enable SSH====
:It's very useful to have SSH enabled when working with the Compute Module 4. It is enabled simply by creating an empty file named:
 
touch ssh
 
:in the root folder of the “boot” volume (the top-most folder of the drive where start4x.elf, fixup.dat and those files are located)
 
:Now when the Pi starts up SSH will automatically be enabled!
 
:PS: This step is optional, you can also enable ssh through the <code>raspi-config</code> program after the device boot
 
====3.3 Preconfigure WiFi / Wireless (Optional)====
:You can also preconfigure the Compute Module 4 (and any Pi) by creating wpa-supplicant.conf at the base of the “boot” volume like we did with “ssh” file. In fact, you can setup your wifi after you boot up.
 
:Create a new file named wpa-supplicant.conf that contains the following:
<pre>
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
country=US
update_config=1
 
network={
ssid="YourNetwork"
psk="YourPassword"
}
</pre>
When this file is created in the base of the “boot” volume it will automatically be applied to the Pi upon the next startup. Make sure to adjust your country=US line to your own country as this can impact what channels and functionality are available from your WiFi card!
 
Then you can insert your micro sd card into the device & power on it.
 
===4. Installing script===
After the device is reboot, install the following script to get safe and software shutdown function: refer to [[XScript]]
 
===5. Enable OLED display===
Refer to [[How to enable OLED display]]
 
===6. Flash OS into the NVME SSD(Optional)===
Load OS into ssd and you can get extremely fast running speed, you need to refer to the above steps to flash the OS into the Micro SD card firstly, then insrt the Micro sd card, turn on the device, and then click '''Applications''' =>'''Accessories''' =>'''SD Card Copier''', run the '''SD Card Copier''' program, and copy the OS to the ssd as shown in the figure below.
 
[[File:Sd-copoer-scrot.png]]
 
Click '''Start''' to run. Then shut down, unplug the SD card, and restart the device.
 
==FAQ==
<div class="toccolours mw-collapsible mw-collapsed">
<div style="font-weight:bold;line-height:1.0;">
Q: How to enable the POE option?
</div>
<div class="mw-collapsible-content">
A. The POE header on X515/X510 is reserved to be compatible with the official POE+ HAT. But we don't know if the case will be compatible with the installation of official POE+ HAT.
</div>
</div>
 
==Video==
Thanks for the video from leepspvideo!
https://youtu.be/tgSNGbbFk1c
{{#ev:youtube|https://youtu.be/tgSNGbbFk1c}}
 
<!--Add review function! -->