Open main menu

Changes

NASPi CM4-2.5

538 bytes added, 17 April
:[[File:X515-IMG-5890-1.jpg|500px]]
:2. Connect Typea computer that will be used to load the eMMC to the USB C port on the CM4-C OTG with a M2 board. The computer will provide both power and data to the CM4. (Type-A to Type-C OTG cable need to your computerbe purchased seperately)
:3. Power the device via PWR TypeThen rerfer to [https://www.jeffgeerling.com/blog/2020/how-C with your 5V Power adaperflash-raspberry-pi-os-compute-module-4-emmc-usbboot this tutorial] to flash raspberry pi OS
:4. 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 :5. 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.'''
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
==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==